Jump to content

Home

.dat help


watr

Recommended Posts

hey yall

i need some help and i know some of you code heads can give me some

 

ok

i wanna make a mod that changes default ammo consumption for certain weapons

like my fav, the disruptor

so

// WP_DISRUPTOR
{
weapontype       WP_DISRUPTOR
weaponclass      weapon_disruptor
weaponmodel      models/weapons2/disruptor/disruptor.md3
weaponIcon       gfx/hud/w_icon_disruptor
ammotype         3
ammolowcount     15
energypershot    1  //default 3
barrelcount		 1
firetime         600
range            8192
altenergypershot 1  //default 3
altfiretime      1300
altrange         8192
muzzleEffect		disruptor/muzzle_flash
altmuzzleEffect		disruptor/altmuzzle_flash
selectSound			sound/weapons/disruptor/select.wav
selectforce      fffx/weapons/disruptor/select
altchargesound	sound/weapons/disruptor/altCharge.wav
altchargeforce   fffx/weapons/disruptor/altcharge
}

as you can see, the default ammo consumption is 3

so i changed values, not hard...

 

now(this being edited with notepad), i saved, put in a ext_data folder, added ext_data folder (with weapons.dat inside) to gunmod.zip, renamed to gunmod.pk3

put in base

and

and!

nothing

didn't work

 

what did i do wrong?

is there some compiling to be done or something?

(i do have visual studio)

 

anyway

thanks for any help you can give me :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...