Adding Extra Weapons To Zombie Mode

From CustomCoD Wiki

Jump to: navigation, search

Contents

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.

Raw/Maps

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);
Image:Note.pngNote: You can change the cost of the weapon by changing the 1750 on the string to the price you want.

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.

Strings

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]"
Image:Note.pngNote: You can change the cost of the weapon by changing the 1750 in the string to the cost you want.

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

Add

include_weapon( "shotgun_bayonet_mp" );
Image:Note.pngNote: Make sure that the weapon inside the () is the same as the weapon in your _zombiemode_weapons.gsc.

Zone Source

Now go to YOURMAPNAME.csv file and add this string

weapon,sp/shotgun_bayonet_mp

Mods Folder

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

weapons

and inside of that make a folder called

sp

Now go to your[Root]raw/weapons folder and look for your weapons file, mine's name is

shotgun_bayonet_mp

Add that in your[Root]mods/YOURMAPNAME/weapons/sp folder.

Radiant

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

Key

targetname

Value

weapon_upgrade

Key

zombie_weapon_upgrade

Value

shotgun_bayonet_mp

The same as the string in the _zombiemode_weapons and YOURMAPS .csv and .gsc

Mine would be shotgun_bayonet_mp

Compile

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 (~)

devmap nazi_zombie_YOURMAP

Now go to your weapon, buy it, and kill some zombies with it!

Hope this adds some variety to your map.

Der Riese

If you wanna add an extra weapon to your map and it's Der Riese style, follow this tutorial by Crackshot,

Extra Der Riese Weapons

You can even upgrade it!

Tutorial by, CoDMapper

Personal tools
Call of Duty: Black Ops
Call of Duty: World at War