a deatailed tut how to make a new gun for facewound
[u]what you need[/u] -the newest gimp just google it -the gimp dds plugin http://nifelheim.dyndns.org/~cocidius/dds/ -a weapon render or you draw a weapon... google [weaponname] render -a copy of a weapon.xml because its easier to change than make a new one -weapon sounds just google -audacity gooogle -nothing more ^^ lets start
well i always start with making the ingame weapon so search for a weapon render in google or draw your own . Then open gimp and make a new pic with the size 128x64 if we you a render insert it and resize it so that its small enough and if you want to draw your own do this ^^. Ahh yes and the front side of the weapon must be on the right side. Dont forget to put the layers together if you use more than one. And before you save goto layer>fit layer to image size if the layer is bigger than the picture or it will be buggy ingame. Now save your picture as [Weaponname].dds at facewound\fwound\textures\weapons.
Then we should do the gui picture thats the image of the gun when you change your weapon. You can just copy the image from first step or make a new one the size is the same . So save it or copy it as wep_[Weaponname].dds.
Now edit your copy of the xml. I dont want to say much at this part just try the options out .
<WeaponName>437l</WeaponName>
<NiceName>437l rifle</NiceName>
this is a piece of my weapon xml weapon name is for giveweapon command. nice name is just full name ._. .
<HUD slot="3"
screenshake="2" />
hud slot is the number to press to chose this weapon. screenshake is how hard the screen shakes when you shoot
<Info length="64" carryoffset="40" heightoffset="19" bulletoffset="-5"
carryoffset is how he holds the gun. heightoffset is at which height he holds the gun. bulletoffset is at which height the muzzleflash is when you shoot. at this point i skip a bit because the most of it will be clear.
<Anim type="hip"
angledreload="1"/>
<Sound pitchrandom="0.0"
shoot="weapons/437l/shoot.ogg"
reload="weapons/437l/reload.ogg"
spin=""
pump=""
addbullet="" />
at texture gun just give in the name of the ingameimage file. at gui the other one from step 2. you dont need to change pitchrandom . at shoot you can put a path to weaponsounds from the other ones or you make your own ogg with audacity just make a reload and a shoot .ogg and make a new folder in facewound\fwound\sound\weapons with the name of your weapon and put your shoot.ogg and reload.ogg in there and put the paths of them in. phew long sentence^^". you dont need to change the rest. now save the xml.
before we put it into the buymenu we will test the weapon, go ingame, press ~ and give in giveweapon [name you typed in your xml] if everything work go on if not just try other options or you did something wrong.
goto facewound\fwound\data and edit menus then copy a weapon button and past it at the bottom
id 32 parent 2 name 437l x -64 y -80 width 256 height 16 command giveweapon 437l unlock 0 cost 7 parentopen 1 onceonly
id just take the next one 31->32. parent im not sure i just took the same number than the minigun to get the wep into the third weapon folder.(just take the same like one weapon which is in the folder you want to have your weapon) name the displayed name in the shop x and y the coordinates of the button to buy this gun width and height size of the button command the command the button does here you type giveweapon [weaponname] unlock how much it costs to unlock usually for guns 0 cost how much it costs to activate this buttton parentopen you dont need to change this onceonly you can just press it one time.
ingame there should be a new button in one of the weaponfolders in the shop if not u did something wrong sorry. if the button is at wrong place just change x and y
THE END

