Zombie Survival is a modification of Counter-Strike Source, which is very customisable, even enabling you to add new and custom guns for the humans to earn! It introduces a zombie game-mode, where the humans have to survive the round against the zombies, who are made up of their dead team-mates. Humans earn better guns by killing zombies. Zombies can choose from 5 classes, including the explosive chem-zombie, to the strong poison zombie.

Report article RSS Feed Adding or modifying guns

Learn how to add or modify the weapons in Zombie Survival

Posted by Carbon-14 on Jan 4th, 2008
Basic Server Side Coding.

Adding or changing weapons in Zombie Survival

Adding guns in Zombie Survival is easy. You need to edit one or two files, and you are done!

ZombieSurvival reads the weapon names, damages and actual weapons from a keygroup file,
called zs_human_weapons_db.txt. Inside this file are basic instructions on how to add weapons.
I suggest you use WordPad to open them, as NotePad sometimes screws up.

Firstly, open zs_human_weapons_db.txt. The numbers you see are the number of kills you need to get the gun. The "name" section inside that number 'key' is the name of your gun. It can be anything. The "weapon" key is the actual weapon you are giving them. It MUST be a REAL CSS weapon. The "Damage" key is the damage the gun deals each shot. Change and modify these at will. You can add grenades (weapon_hegrenade), and every time a players grenade explodes he will be given a new one. You cannot modify a grenades damage. Set the damage to 0!

To add a heal or a armor upgrade to the group, do the following:

Add a normal gun to the list. Change the name to +X Health/armor (Where X is the ammount of health/armor). Change the "Weapon" number to _heal or _shell, for Healing a player or giving them some armor. Change the "Damage" number to how much health/armor you want to add.

To add more than 1 weapon keygroup, you need to make a new text file, in the following way:
zs_human_weapons(NUMBER)_db.txt. The Number must be in order (You cant have a keygroup with the number 10 in it without having all of the numbers below it). Remember, you cant have a
zs_human_weapons1_db.txt, because ZombieSurvival wont read it!
After you have made your weapons, go into your CFG folder and select zsconfig.cfg. Open it
and find the section dealing with weapons. Make sure "Use random weapon keygroups" is set to 1
and you have set how many weapon keygroups you are using in the setting below it.
When you are done, restart your server and away you go!

Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Icon
Counter-Strike: Source Icon
Platform
Windows
Developed By
Carbon-14
Contact
Send Message
Release Date
TBD
Mod Watch
Track this mod
Tutorial
Browse
Tutorials
Report Abuse
Report article
Related Mods
Zombie Survival (Counter-Strike: Source)
Zombie Survival Counter-Strike: Source - Single & Multiplayer First Person Shooter
Related Games
Counter-Strike: Source
Counter-Strike: Source Single & Multiplayer First Person Shooter