PDA

View Full Version : No ammo at playerspawn



mika057
27th December 2012, 14:49
Hi,

I need a bashmod and asked many modders and players who have it, and some say I need to do no ammo at playerspawn.
But I have no idea how to do that.
If someone has a bashmode, please give me.
Cause I have many servers that need one...

Grtzz Mika

EvoloZz
27th December 2012, 15:04
Go to weapons\mp\yourweapon_mp. Then open that file with some text editor. Find \maxAmmo\60\startAmmo\60\clipSize\5\shotCount\1\dr opAmmoMin\15\dropAmmoMax\20\reloadAmmoAdd\0\.
And change all you want to 0, so it looks like this:
\maxAmmo\0\startAmmo\0\0\shotCount\0\dropAmmoMin\0 \dropAmmoMax\0\reloadAmmoAdd\0\

mika057
27th December 2012, 15:07
So I can't do it during the game? Cause sometimes we want to have a little bash fight, but when I read that, I think it is for bash-only server?

IzNoGoD
27th December 2012, 15:11
Have you looked at the spawnPlayer() function?
It has some ammo-related commands there. Try to modify them, and observe results.

kung foo man
27th December 2012, 15:24
the spawnPlayer-function for 1.2 is in the file /main/iw_07.iwd/maps/mp/gametypes/tdm.gsc


same file for 1.3 is in /main/iw_15.iwd/maps/mp/gametypes/tdm.gsc