Hey, I am new to modding in WAW custom zombies and I was wondering how to add this pack of Black Ops 2 weapons to my custom zombies map. I will provide a link to the download. It contains all of the files such as weapons, sounds, soundaliases, images etc, but I don't know where to put them in my mod's folder and how to add the necessary things to my mod.csv file. Download to weapons: http://cfgfactory.com/downloads/show/5429f2586ab8d Any help would be appreciated. Thanks.
This belongs in the "Help Desk Section" just so you know next time. Anyway, the readme says that the view hands are optional so I won't go into detail about that unless you ask. I use the MSMC in the file as an example. First, select a weapon folder. Then, you should a bunch of other folders. Copy the "images", "sound", and "weapons" folders to your mod directory (root/mods/mapname). Now take the "images", "materials", "material_properties", "soundaliases", xanim", "xmodel", "xmodelparts", and "xmodelsurfs" and copy them too your raw folder (root/raw). That's it for the files part. Now, here comes the scripting part. This part depends on if you are using UGX Mod or Not.
First, open dlc3_code.gsc (if for some reason you don't have it get from raw/maps and put it in mods/mapname/maps). Look for "include_weapons" (without the quotes) and add your weapons under the last one like so.
//Customs include_weapon( "ray_gun2", true, ::factory_ray_gun_weighting_func ); include_weapon( "ray_gun2_upgraded", false ); include_weapon( "mp7_bo2" ); include_weapon( "mp7_bo2_upgraded", false ); //include_weapon( "weapon_file" ); // For non-upgraded weapons you usually just type this //include_weapon( "weapon_file_upgraded", false ); // Notice how the upgraded weapons all have "false", this is so they dont appear in the box include_weapon( "msmc" ); include_weapon( "msmc_upgraded", false ); include_weapon( "purifier" ); include_weapon( "purifier_upgraded", false ); include_weapon( "vector_bo2" ); include_weapon( "vector_bo2_upgraded", false ); include_weapon( "wvl" ); include_weapon( "wvl_upgraded", false ); include_weapon( "zombie_thundergun" ); include_weapon( "zombie_thundergun_upgraded", false ); include_weapon( "msr" ); include_weapon( "msr_upgraded", false ); }
Now, open "_zombiemode_weapons.gsc" (Again don't have it, get it.) If you have UGX scroll down to line 252 you should see "init_weapons()" Under it there are pretty good instructions as to what you do, but follow this template
You're done. Open Launcher and tick everything unticked the new images, sounds, weapon files, etc. then compile.
If you have stock zombies, it's a bit different. Again, open "_zombiemode_weapons.gsc". Find "init_weapons()" again use this as a template:
Code Snippet
Plaintext
//add_zombie_weapon( "weapon_file", "Press & hold &&1 to buy weapon_name [Cost: xxx]", price, "vox_", 0 ); //vox_ is type of voice to play when gun is picked up, if no voice use "". The number is how likely it is to occur in the box.
You're done. Open Launcher and tick everything unticked the new images, sounds, weapon files, etc. then compile.
You don't have to copy the sounds into your mods folder. They will be added via the soundalias in the mod.csv. You also have to add the weaponfiles into it. I basicly copy all files into raw. After that i copy the images and weaponfiles into the folder of my mod. Then i add the soundalias and weaponfiles into my mod.csv like this
You don't have to copy the sounds into your mods folder. They will be added via the soundalias in the mod.csv. You also have to add the weaponfiles into it. I basicly copy all files into raw. After that i copy the images and weaponfiles into the folder of my mod. Then i add the soundalias and weaponfiles into my mod.csv like this
Thank you, I now have the M1911 in my map Also, I added another zone into my map, and the rounds are skipping when I enter the second zone. The zombies spawn fine in the first room, but it is just when I enter my second zone. I have the KVPs and the edited nazi_zombie_mapname.gsc that states the adjacent zones. I can't figure out what's wrong. Any help would be appreciated. Thanks
Hey, I am new to modding in WAW custom zombies and I was wondering how to add this pack of Black Ops 2 weapons to my custom zombies map. I will provide a link to the download. It contains all of the files such as weapons, sounds, soundaliases, images etc, but I don't know where to put them in my mod's folder and how to add the necessary things to my mod.csv file. Download to weapons: http://cfgfactory.com/downloads/show/5429f2586ab8d Any help would be appreciated. Thanks.
I have some BO2 weapons that are way better than the ones on CFG factory. I'll send you a pm to them. They include staffs, slipgun, jetgun, raygun, raygun MKII and other fun stuff