UGX-Mods

Call of Duty 5: World at War => Tutorial Desk => Modding => Topic started by: Rollonmath42 on August 10, 2014, 05:45:10 am

Title: [User Tutorial] How to Make a Mod for Black Ops Zombies
Post by: Rollonmath42 on August 10, 2014, 05:45:10 am
Introduction
Basically, you can create mods for Black Ops Zombie Maps through this method. You can only create however weapon/scripted mods, but not maps. Please be sure to follow ALL instructions provided, as you can cause your game to be stuck on your mod unless you do a Verify Integrity of Game Cache through Steam.

I have to give thanks to DidUKnowIPwn for discovering this method.
Update: Thanks to ConvictioNDR for finding the fix for the files for Kino; the mod.csv for it has been updated.

What You'll Need
~Call of Duty: Black Ops on Steam
~Call of Duty: Black Ops Mod Tools BETA
~An FF Extractor (Tom_Bmx's works perfect for this http://tom-crowley.co.uk/downloads/?id=11 (http://tom-crowley.co.uk/downloads/?id=11) )

Before Starting
BEFORE you begin, you will want to go to your Black Ops directory, then go to zone, then Common and create a backup of the _patch.ff of the map you want to create your mod for. If you want to make your mod for multiple maps, then you will have to make backups of each one.

(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FSDqEOra.png&hash=f90411c572d112777bcce8b419a4cd2085cd6204)

These are the files that I am referring to above. The maps are as follows:
Code Snippet
Plaintext
zombie_coast ~ Call of the Dead
zombie_cod5_asylum ~ Verruct
zombie_cod5_factory ~ Der Riese
zombie_cod5_prototype ~ Nacht Der Untoten
zombie_cod5_sumpf ~ Shi No Numa
zombie_cosmodrome ~ Ascension
zombie_moon ~ Moon
zombie_pentagon ~ FIVE
zombie_temple ~ Shangri-La
zombie_theater ~ Kino Der Toten

ALSO, if you have not used the Mod Tools before and have just installed it, make sure to click on the Converter button in Launcher to convert any assets that may be necessary.

Creating the Mod
First thing you will want to do is open your FF Extractor (in this case I'm using Tom's) and extract the contents of the _patch.ff of the map you want to do your mod for. [NOTE: If you want to make your mod for more than one map, you will have to extract the files from each map's _patch.ff and do this process for each one separately.] For this example I am doing this for Kino Der Untoten, so I would extract the files from zombie_theater_patch.ff. When extracted, you should have a folder (if using Tom's) in the same directory as the _patch.ff that you extracted with its name, as shown here:
(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FpPIh4Ap.png&hash=e4cc5b85272f506a4a3174ecc58c6992fc566781)

Next, copy the folders extracted and go to your "mods" folder and create a new folder called whatever you want. For this example, I was working on a mod with Titanfall weapons, so I called mine "zm_titanfall" as shown here:
(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2Fy0P32K2.png&hash=7ceb34fd7ad095c3d34845b46e6145d1c931821f)

From here, you create your mod as you normally would on Black Ops Multiplayer. For those of you who have done work on World at War (which I'm guessing most reading this have) it is fairly similar, although there are some differences. I'm planning on covering weapon porting/converting in a separate tutorial. Whenever you go to put your weapon files in your mod's folder, be sure to name them something that will be loaded in game without having to use some sort of external console (which is not allowed, and can risk a VAC ban, though I am not sure of Singleplayer having it). For this example, I decided to replace the wall weapons and beginning pistol, like this:
(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FtDnjRuj.png&hash=4f1086f852acbe255265f7344649404b86c30a5f)

If you don't know the name of the weapon files for the weapons on the wall for Black Ops, they are as follow (NOTE: This list is for Kino Der Toten. Most of the other maps have the same ones or a few removed.):
Code Snippet
Plaintext
ak74u_zm ~ AK74u
claymore_zm ~ Claymore
ithaca_zm ~ Stakeout
m14_zm ~ M14
m16_zm ~ M16
m1911_zm ~ M1911
mp5k_zm ~ MP5K
mp40_zm ~ MP40
mpl_zm ~ MPL
pm63_zm ~ PM63
rottweil72_zm ~ Olympia

Once you are ready to compile your mod, open up Launcher (either from Steam or from the "bin" folder inside of the Black Ops Directory) and switch the mod to yours. Click on Zone Source. Notepad should open up with no text (if you have not created one/modified it yet). Here, include the weapon files and sound alias you are using (if needed). THEN YOU MUST also include the scripts that were extracted earlier at the beginning of the file. To make this easier for you, I went through each map and made a list of each script you need for whichever map you are doing your mod for:

zombie_coast
Code Snippet
Plaintext
rawfile,clientscripts\_zombiemode_ai_director.csc
rawfile,clientscripts\zombie_coast_ffotd.csc
rawfile,maps\_zombiemode_ai_director.gsc
rawfile,maps\_zombiemode_player_zipline.gsc
rawfile,maps\zombie_coast.gsc
rawfile,maps\zombie_coast_achievement.gsc
rawfile,maps\zombie_coast_ai_director.gsc
rawfile,maps\zombie_coast_amb.gsc
rawfile,maps\zombie_coast_eggs.gsc
rawfile,maps\zombie_coast_ffotd.gsc
rawfile,maps\zombie_coast_flinger.gsc

zombie_cod5_asylum
Code Snippet
Plaintext
rawfile,maps\zombie_cod5_asylum.gsc

zombie_cod5_factory
Code Snippet
Plaintext
rawfile,maps\zombie_cod5_factory_teleporter.gsc

zombie_cod5_prototype
Code Snippet
Plaintext
rawfile,maps\zombie_cod5_prototype.gsc

zombie_cod5_sumpf
Code Snippet
Plaintext
rawfile,animscripts\traverse\crouch_jump_down_40.gsc
rawfile,maps\zombie_cod5_sumpf.gsc
rawfile,maps\zombie_cod5_sumpf_magic_box.gsc
rawfile,maps\zombie_cod5_sumpf_perks.gsc
rawfile,maps\zombie_cod5_sumpf_zipline.gsc

zombie_cosmodrome
Code Snippet
Plaintext
rawfile,clientscripts\_zombiemode_weap_black_hole_bomb.csc
rawfile,clientscripts\zombie_cosmodrome.csc
rawfile,clientscripts\zombie_cosmodrome_ffotd.csc
rawfile,maps\_zombiemode_weap_black_hole_bomb.gsc
rawfile,maps\zombie_cosmodrome.gsc
rawfile,maps\zombie_cosmodrome_ai_monkey.gsc
rawfile,maps\zombie_cosmodrome_ffotd.gsc
rawfile,maps\zombie_cosmodrome_lander.gsc
rawfile,maps\zombie_cosmodrome_magic_box.gsc

zombie_moon
Code Snippet
Plaintext
rawfile,clientscripts\_zombiemode_equip_gasmask.csc
rawfile,clientscripts\_zombiemode_weap_black_hole_bomb.csc
rawfile,clientscripts\zombie_moon_fx.csc
rawfile,maps\_zombiemode_ai_astro.gsc
rawfile,maps\_zombiemode_ai_faller.gsc
rawfile,maps\_zombiemode_ai_quad.gsc
rawfile,maps\_zombiemode_equip_gasmask.gsc
rawfile,maps\_zombiemode_jump_pad.gsc
rawfile,maps\_zombiemode_weap_black_hole_bomb.gsc
rawfile,maps\zombie_moon.gsc
rawfile,maps\zombie_moon_achievement.gsc
rawfile,maps\zombie_moon_digger.gsc
rawfile,maps\zombie_moon_ffotd.gsc
rawfile,maps\zombie_moon_gravity.gsc
rawfile,maps\zombie_moon_teleporter.gsc
rawfile,maps\zombie_moon_wasteland.gsc

zombie_pentagon
Code Snippet
Plaintext
rawfile,clientscripts\zombie_pentagon_ffotd.csc
rawfile,maps\_zombiemode_ai_thief.gsc
rawfile,maps\zombie_pentagon.gsc
rawfile,maps\zombie_pentagon_elevators.gsc
rawfile,maps\zombie_pentagon_ffotd.gsc
rawfile,maps\zombie_pentagon_teleporter.gsc

zombie_temple
Code Snippet
Plaintext
rawfile,clientscripts\zombie_temple.csc
rawfile,maps\zombie_temple_ai_monkey.gsc
rawfile,maps\zombie_temple_elevators.gsc
rawfile,maps\zombie_temple_ffotd.gsc
rawfile,maps\zombie_temple_pack_a_punch.gsc
rawfile,maps\zombie_temple_spawning.gsc
rawfile,maps\zombie_temple_sq.gsc
rawfile,maps\zombie_temple_sq_brock.gsc
rawfile,maps\zombie_temple_sq_ptt.gsc

zombie_theater
Code Snippet
Plaintext
rawfile,clientscripts\zombie_theater_ffotd.csc
rawfile,clientscripts\zombie_theater_fx.csc
rawfile,maps\createart\zombie_theater_art.gsc
rawfile,maps\zombie_theater.gsc
rawfile,maps\zombie_theater_ffotd.gsc
rawfile,maps\zombie_theater_magic_box.gsc
rawfile,maps\zombie_theater_movie_screen.gsc
rawfile,maps\zombie_theater_teleporter.gsc

All you have to do is copy the lines of code from whichever map you are doing this mod for and paste it into your mod.csv, as shown here:
(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FXSXXcyC.png&hash=aaf31ce10a6ecf73c1b1038ce303c0965027306d)

Save the mod.csv, and close it. Then tick in the IWD File List ONLY the "images" folder, "sound" folder, and "weapons" folder. Then tick under Build Mod "Link FastFile" and "Build IWD" and hit the "Build Mod" button. Once it finishes compiling, go to your mod's folder and make a copy of both the mod.ff and your IWD, as shown here:
(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FvwheWZ3.png&hash=6aea08242551a0019685198a183d7f67cf814d6b)

Rename the copy of the mod.ff (mod - Copy.ff) to the map that your are modding's _patch.ff, so in my case I would use "zombie_theater_patch.ff". Rename your IWD to "iw_xx.iwd" (NOTE: xx represents any number past 41. The first 42 numbers [00 to 41] are used for the base game and DLC's IWDs, and you don't want to replace them.) BEFORE CONTINUING: Make sure you have made the backup of the _patch.ff of the map you are doing this mod for in your Black Ops Directory/zone/Common folder, or else your game will only load your .ff and will not let you play with others online.

Installing the Mod
First copy the IWD to your Black Ops Directory/main folder. It SHOULD NOT replace any IWDs that are in there already if named correctly. Then copy the _patch.ff from your mod's folder to your Black Ops Directory/zone/Common folder. It SHOULD replace the _patch.ff in there. Now simply run the game and your mod should now load when you play the game! Here are some screenshots of my mod and a video from DidUKnowIPwn's perspective, which I will link below. To install, you simply do what I said here in this section.
(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2Fz4D3Btb.png&hash=82019111dd179970e3b61ffa8098f06c8891ab95)
(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2Fh9Q50VU.png&hash=1ec4e53720183de7b46b76433c1ef6fb4bd02885)
(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FKAlQfGk.png&hash=b81bdc3ca6d1e0c3fbfa77edcff4a55b3d6ad656)

https://www.youtube.com/watch?v=uDbyryhWN8I (https://www.youtube.com/watch?v=uDbyryhWN8I)

Download link for my mod used in tutorial:
https://www.mediafire.com/?2sc69dq44if03fo (https://www.mediafire.com/?2sc69dq44if03fo)
Title: Re: [User Tutorial] How to Make a Mod for Black Ops Zombies
Post by: SoulTaker on August 10, 2014, 06:28:21 am
Nice...this could bring some new life into Black Ops.
Title: Re: [User Tutorial] How to Make a Mod for Black Ops Zombies
Post by: sal24r on August 13, 2014, 10:02:10 pm
Very interesting, good!
Title: Re: [User Tutorial] How to Make a Mod for Black Ops Zombies
Post by: Gabrielle on August 16, 2014, 10:30:37 pm
Sadly there's no way to create custom maps... would've been cool.

Anyways, it looks cool. What are those guns? Are they ghost guns?
Title: Re: [User Tutorial] How to Make a Mod for Black Ops Zombies
Post by: Rollonmath42 on August 16, 2014, 10:48:53 pm
Sadly there's no way to create custom maps... would've been cool.

Anyways, it looks cool. What are those guns? Are they ghost guns?

Titanfall.

Double Post Merge: August 16, 2014, 10:55:34 pm
Forgot about it before, I just added a co-op gameplay video DidUKnowIPwn did awhile back with me on the mod linked at the bottom. http://www.youtube.com/watch?v=uDbyryhWN8I (http://www.youtube.com/watch?v=uDbyryhWN8I)
Title: Re: [User Tutorial] How to Make a Mod for Black Ops Zombies
Post by: Nosfrat on August 25, 2014, 04:17:22 pm
Hey guys. I can't believe that slowly but surely, BO zombies is becoming moddable... So I've tried this tutorial to change a weapon's stats, and nothing else. The only file in my mod is m1911_zm, which I tweaked to make fully automatic and start with full ammo, as a simple test. I followed the steps of the tutorial to the letter, and when I try to play the game, I get an error message during the loading screens, which tells me "server script compil error" or something like that without any additional information as to which file(s) cause a problem, and it tells me to "see console for details", which is obviously impossible as BO doesn't have a console.

I've downloaded this WIP mod and it works fine, so I'm obviously doing something wrong.

I'm guessing that I need other files to go along with the stat file, maybe sounds or .iwi's or whatever (I don't know anything about modding beyond changing values), similar to Der Riese, where simply making a mod containing only weapons\sp\ would result in most weapons being replaced by the default weapon thing ingame... but which files, and where are they?

So my question is, what do I need to make and successfully load a mod that simply alters values in the weapons' stat files (like damage, firetime and such), without anything else (no custom sounds, no custom anims, no custom anything)?
Title: Re: [User Tutorial] How to Make a Mod for Black Ops Zombies
Post by: Rollonmath42 on September 02, 2014, 01:12:13 pm
Hey guys. I can't believe that slowly but surely, BO zombies is becoming moddable... So I've tried this tutorial to change a weapon's stats, and nothing else. The only file in my mod is m1911_zm, which I tweaked to make fully automatic and start with full ammo, as a simple test. I followed the steps of the tutorial to the letter, and when I try to play the game, I get an error message during the loading screens, which tells me "server script compil error" or something like that without any additional information as to which file(s) cause a problem, and it tells me to "see console for details", which is obviously impossible as BO doesn't have a console.

I've downloaded this WIP mod and it works fine, so I'm obviously doing something wrong.

I'm guessing that I need other files to go along with the stat file, maybe sounds or .iwi's or whatever (I don't know anything about modding beyond changing values), similar to Der Riese, where simply making a mod containing only weapons\sp\ would result in most weapons being replaced by the default weapon thing ingame... but which files, and where are they?

So my question is, what do I need to make and successfully load a mod that simply alters values in the weapons' stat files (like damage, firetime and such), without anything else (no custom sounds, no custom anims, no custom anything)?

Sorry for the late reply, didn't notice the post and my phone has been acting up lately .-.

Another person seems to have the same issue, so if I can fix it with them then I'll send you what is needed to fix the issue. If you just want to modify the weapon settings in the weapon file then you don't need anything other than the weapon file included in the mod.csv.

This is what I have used in the mod I linked:
Code Snippet
Plaintext
//EVA8
weapon,sp\rottweil72_zm
//G2A4
weapon,sp\m14_zm
//Hammond
weapon,sp\m1911_zm

//Soundalias
sound,default_rollonsguns

//Required Scripts - Kino Der Untoten
rawfile,clientscripts\zombie_theater_ffotd.csc
rawfile,clientscripts\zombie_theater_fx.csc
rawfile,maps\createart\zombie_theater_art.gsc
rawfile,maps\zombie_theater.gsc
rawfile,maps\zombie_theater_ffotd.gsc
rawfile,maps\zombie_theater_magic_box.gsc
rawfile,maps\zombie_theater_movie_screen.gsc
rawfile,maps\zombie_theater_teleporter.gsc
rawfile,maps\_zombiemode_weapons.gsc
Title: Re: [User Tutorial] How to Make a Mod for Black Ops Zombies
Post by: IHammY/ on September 02, 2014, 01:18:56 pm
this kinda makes me curious... whered you get the anims and models for those guns?
Title: Re: [User Tutorial] How to Make a Mod for Black Ops Zombies
Post by: ConvictioNDR on September 02, 2014, 02:11:49 pm
So my question is, what do I need to make and successfully load a mod that simply alters values in the weapons' stat files (like damage, firetime and such), without anything else (no custom sounds, no custom anims, no custom anything)?
As the other person that was having the problem, I found that deleting
Code Snippet
Plaintext
rawfile,maps\_zombiemode_weapons.gsc
from the csv made it work.

this kinda makes me curious... whered you get the anims and models for those guns?
Models are from Titanfall. Anims look like a mix between BO anims and some custom anims. Maybe even BO2 anims. Reload on the shotgun looks a lot like the HAMR.
Title: Re: [User Tutorial] How to Make a Mod for Black Ops Zombies
Post by: Nosfrat on September 02, 2014, 03:22:04 pm
As the other person that was having the problem, I found that deleting
Code Snippet
Plaintext
rawfile,maps\_zombiemode_weapons.gsc
from the csv made it work.

Yep, it worked, thanks a lot everyone.
Title: Re: [User Tutorial] How to Make a Mod for Black Ops Zombies
Post by: Rollonmath42 on September 02, 2014, 10:09:17 pm
I went ahead and updated the topic with the fix, thanks for the find ConvictioNDR.

this kinda makes me curious... whered you get the anims and models for those guns?

I got the models from Titanfall Beta (I got the chance to partake in it) and the anims I modified original BO2/BO1 animations to use the sound and correct hand positions (EVA-8 using HAMR, G2A4 using M14, and Hammond using M1911). I've been planning for awhile to make a tutorial on how to get the models, but haven't gotten around to it .-.
Title: Re: [User Tutorial] How to Make a Mod for Black Ops Zombies
Post by: MAK911 on September 03, 2014, 12:56:20 am
Psssttt.... You already have one. Quick, shamelessly plug your channel!
Title: Re: [User Tutorial] How to Make a Mod for Black Ops Zombies
Post by: Gabrielle on September 13, 2014, 08:36:58 pm
What the *************** is this?

(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FYTHPzBs.png&hash=9254771acf4e763c902972ed117c75da0ef2aad3)

It only happens if I put this in:

weapon,sp\stoner63_zm
weapon,sp\stoner63_upgraded_zm
Title: Re: [User Tutorial] How to Make a Mod for Black Ops Zombies
Post by: ConvictioNDR on September 13, 2014, 09:21:52 pm
What the *************** is this?

(http://i.imgur.com/YTHPzBs.png)

It only happens if I put this in:

weapon,sp\stoner63_zm
weapon,sp\stoner63_upgraded_zm
This tutorial only shows how to replace weapons already referenced by the scripts for the map. Last I checked, the stoner isn't in any zombie maps so you're going to have some extra steps to add it as it own weapon instead of replacing a weapon.
Title: Re: [User Tutorial] How to Make a Mod for Black Ops Zombies
Post by: Gabrielle on September 13, 2014, 09:36:33 pm
This tutorial only shows how to replace weapons already referenced by the scripts for the map. Last I checked, the stoner isn't in any zombie maps so you're going to have some extra steps to add it as it own weapon instead of replacing a weapon.

I added it in _zombiemode_weapons.gsc and zombie_theater.gsc file, so I don't know why it wouldn't work..
Title: Re: [User Tutorial] How to Make a Mod for Black Ops Zombies
Post by: Rorke on September 13, 2014, 09:41:07 pm
wow looks sweet man, but can you do a tutorial on making a weapons mod for world at war?
Title: Re: [User Tutorial] How to Make a Mod for Black Ops Zombies
Post by: mrpeanut188 on September 15, 2014, 03:35:33 am
wow looks sweet man, but can you do a tutorial on making a weapons mod for world at war?
Because that tutorial hasn't ever been done before.  :poker:
Title: Re: [User Tutorial] How to Make a Mod for Black Ops Zombies
Post by: Rorke on September 15, 2014, 12:25:52 pm
Because that tutorial hasn't ever been done before.  :poker:
not as far as i know no