Adding Extra Weapons To Zombie Mode
From CustomCoD Wiki
Adding Any Weapon Into Zombie Mode
This tutorial will show you how to add non-stock zombie weapons and mp weapons to your zombie map. This is great for weapons with attachments.
First you want to go to your _zombiemode_weapons.gsc located in your raw/maps folder. And make sure your weapon string is in there, for example I will use a trenchgun with a bayonet.
Since this is the original weapon string.
add_zombie_weapon( "shotgun", &"ZOMBIE_WEAPON_SHOTGUN_1500", 1500, "vox_shotgun", 4);
I will add _bayonet_mp on it, (it has mp on the end because in the raw/weapons folder the name of the weapon is shotgun_bayonet_mp)
So this will be my new string
add_zombie_weapon( "shotgun_bayonet_mp", &"ZOMBIE_WEAPON_SHOTGUN_B_1750", 1750, "vox_shotgun", 4);
Notice that I added the _B_ on the end of the weapon string that corresponds with the [Root]raw/english/localizedstrings zombie.str file. I did this because I want a new hint string to appear when I go to buy it.
Now go to your [Root]raw/english/localizedstrings folder and open up your zombie.str Add this string.
REFERENCE WEAPON_SHOTGUN_B_1750 LANG_ENGLISH "Press & hold &&1 to buy M1897 Trench Gun + Bayonet [Cost: 1750]"
Notice that the REFERENCE is the same as the end of the string in the _zombiemode_weapons.gsc You can change the LANG_ENGLISH to whatever you want, the &&1 means your [USE] hotkey.
Now go to your [Root]raw/maps YOURMAPNAME.gsc file. Go to your include_weapons() function
include_weapon( "shotgun_bayonet_mp" );
Now go to YOURMAPNAME.csv file and add this string
Make sure the portion of the string after the / is the same in your _zombiemode_weapons.gsc and YOURMAPNAME.gsc
Now go to YOURMAPNAME'S mod folder in the [Root]mods/ YOURMAPNAME folder and add a folder in it named
and inside of that make a folder called
Now go to your[Root]raw/weapons folder and look for your weapons file, mine's name is
Add that in your[Root]mods/YOURMAPNAME/weapons/sp folder.
Now go to radiant and open up yourmap Right click on 2-D and go to script>model Go to [Root]raw/xmodel and pick your weapon.
Make a trigger by right clicking on 2-D grid and going to trigger>use Shift-LeftClick your trigger_use FIRST and then your script model and hit W.
Now give your trigger use some kvps by Shift-LeftClicking your trigger use and hitting N.
Now give it
The same as the string in the _zombiemode_weapons and YOURMAPS .csv and .gsc
Mine would be shotgun_bayonet_mp
Now compile your map And go to the Mod Builder Tab in Launcher
Scroll down and select your map
Check off Build IWD File and Build mod.ff Fastfiles (Not sure if you have to check of IWD but just do it in case)
Now launch your map in game by typing this into console (~)
Now go to your weapon, buy it, and kill some zombies with it!
Hope this adds some variety to your map.
If you wanna add an extra weapon to your map and it's Der Riese style, follow this tutorial by Crackshot,
You can even upgrade it!
Tutorial by, CoDMapper