Copy weapon in custom map
Posted: Thu Dec 17, 2009 12:35 am
Hey,
I want to use the weapon from a mod in my custom map.
I've extracted all Files from this mod & looked up wich files are used for this weapon. Standarmesh, sounds, animations projectiles etc.
So I build the same folders and copied everything into this folders in my custom map.
Which step is the next?
I want to change the soldier kit by replacing a standard weapon with the new one.
And do I need to activate the new weapon like staic objects by writing: run example_m1/example_m1 in the objects.con in my objects folder ?
eg:
run HandWeapons/Pistol/Objects
€
Okay, I saw it at a map with a custom weapon. I started in the objects folder:
run items/init
In Items:
run IraqKit/init
in IraqKit:
run Assault/objects
I don't know if it's a bit absurd on that way...
But anyway it's not working. There is no Weapon etc:
http://www.abload.de/img/bf19422009-12-1700-55-ifc0.jpg
http://www.abload.de/img/bf19422009-12-1700-55-1eca.jpg
€²
Okay I had forgotten to activate the pistol geometries.
But still the same more or less. No animation, nothing.
http://www.abload.de/img/bf19422009-12-1701-05-kh0k.jpg
http://www.abload.de/img/bf19422009-12-1701-06-vdsy.jpg
Any tips?
I want to use the weapon from a mod in my custom map.
I've extracted all Files from this mod & looked up wich files are used for this weapon. Standarmesh, sounds, animations projectiles etc.
So I build the same folders and copied everything into this folders in my custom map.
Which step is the next?
I want to change the soldier kit by replacing a standard weapon with the new one.
And do I need to activate the new weapon like staic objects by writing: run example_m1/example_m1 in the objects.con in my objects folder ?
eg:
run HandWeapons/Pistol/Objects
€
Okay, I saw it at a map with a custom weapon. I started in the objects folder:
run items/init
In Items:
run IraqKit/init
in IraqKit:
run Assault/objects
I don't know if it's a bit absurd on that way...
But anyway it's not working. There is no Weapon etc:
http://www.abload.de/img/bf19422009-12-1700-55-ifc0.jpg
http://www.abload.de/img/bf19422009-12-1700-55-1eca.jpg
€²
Okay I had forgotten to activate the pistol geometries.
But still the same more or less. No animation, nothing.
http://www.abload.de/img/bf19422009-12-1701-05-kh0k.jpg
http://www.abload.de/img/bf19422009-12-1701-06-vdsy.jpg
Any tips?