Page 1 of 1

upgrading weapons

PostPosted: Sat Dec 05, 09 10:32 am
by CvendaCZ
how i can change damege and max bullets of weapons ?

PostPosted: Wed Dec 09, 09 6:17 pm
by ~ô¿ô~Nobody~
By making a new class basing on the weapon class you want to upgrade
and changing the default properties there


property for damage should be

HitDamage or mpHitDamage

but I don't know the max bullets

PostPosted: Wed Dec 09, 09 6:23 pm
by Allan
ReloadCount is max bullets in one clip.

For max bullets of an ammo type however, you'd need to sub-class the ammo-type the same way that Nobody said you would the weapon, and edit its' MaxAmmo value.

PostPosted: Wed Dec 09, 09 6:34 pm
by ~ô¿ô~Nobody~
Yea, or if you're 1337 you write some hax script into the weapon class that increases the ammo amount when picking up the weapon. :lol: