PDA

View Full Version : Help needed for simple mod.


KiDD
05-19-2004, 08:41 PM
I'm planning on running a new server with a mod I made myself, and all I want this mod to do is change the starting ammo of all weapons. I want every weapon to just start with one clip of ammo. I'm sure this is very easy, I just need to know where the files I need to modify are located. ANY help appreciated.
:edit: I forgot to mention this is for a bash server, to encourage bashing and ammo conservation.

jdwright
05-20-2004, 01:40 AM
One way would be to edit the weapons files to only allow 1 clip maximum.

I think you could also just script how much ammo is given to a player when he spawns, but im not sure of the syntax to do that. (or if its possible).

To get the weapons files you'll need to look in pak8.pk3 in weapons/mp/ and grab all those, then grab the few updated ones in pak9.pk3 and overwrite the old ones.

You can open the weapons in notepad, or there are weapons file editors as well. The variables (for what you need) are self explanatory, just search for 'clip' and/or 'ammo' and you should find the relevant ones.

Then just add a weapons/mp/ folder to your mod's pk3 and put the new weapons files in there.

KiDD
05-20-2004, 04:04 AM
Thanks, I think found all of them.

KiDD
05-20-2004, 11:17 PM
Were would I find the file for the grenades?