UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

CGFFactory BO2 guns

broken avatar :(
Created 6 years ago
by isaacscott935
0 Members and 1 Guest are viewing this topic.
4,526 views
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 24 September 2016
Last active: 3 years ago
Posts
144
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
ZombieSlayerr115
Signature
Please. Save me.
×
isaacscott935's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
isaacscott935's Contact & Social LinksZombieSlayerr115isaac935
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.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 24 May 2016
Last active: 3 years ago
Posts
32
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Strangers are just friends you haven’t met yet.
Signature
I don't post often but when I do I probably make myself seem like an idiot. Also, I don't need people to help me grow up! I drink milk.
×
Fancygamer1738's Contact & Social LinksH3X-4h3x_4H3X--4
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.
Code Snippet
Plaintext
include_weapons()
{
// Limited weapons
maps\_zombiemode_weapons::add_limited_weapon( "zombie_colt", 0 );
//maps\_zombiemode_weapons::add_limited_weapon( "zombie_gewehr43", 0 );
//maps\_zombiemode_weapons::add_limited_weapon( "zombie_m1garand", 0 );

//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
Code Snippet
Plaintext
//include_zombie_weapon_ugx(weapon_name, 				string name, 					weight	cost, 	elementType, 	weaponVO alias, isBurstFire );
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.
broken avatar :(
×
broken avatar :(
Location: deDortmund
Date Registered: 20 December 2015
Last active: 5 months ago
Posts
307
Respect
Forum Rank
Perk Hacker
Primary Group
Community Scripter
My Groups
More
Personal Quote
Payback
Signature
Tears Of The Fallen | Join the project https://discord.gg/8gDNQRj
×
fanmagic's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
fanmagic's Contact & Social LinksTears Of The Fallen
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

Code Snippet
Plaintext
sound,msmc_sfx,,all_sp
weapon,sp/msmc
weapon,sp/msmc_upgraded

Add the weapons into dlc3_code.gsc and _zombiemode_weapons.gsc.
Done. ;)
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 24 May 2016
Last active: 3 years ago
Posts
32
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Strangers are just friends you haven’t met yet.
×
Fancygamer1738's Contact & Social LinksH3X-4h3x_4H3X--4
Quote
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

Code Snippet
Plaintext
sound,msmc_sfx,,all_sp
weapon,sp/msmc
weapon,sp/msmc_upgraded

Add the weapons into dlc3_code.gsc and _zombiemode_weapons.gsc.
Done. ;)
Really? Never knew that. Guess you learn something new every day.  :D
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 24 September 2016
Last active: 3 years ago
Posts
144
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
ZombieSlayerr115
×
isaacscott935's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
isaacscott935's Contact & Social LinksZombieSlayerr115isaac935
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 :D
broken avatar :(
×
broken avatar :(
Location: deDortmund
Date Registered: 20 December 2015
Last active: 5 months ago
Posts
307
Respect
Forum Rank
Perk Hacker
Primary Group
Community Scripter
My Groups
More
Personal Quote
Payback
×
fanmagic's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
fanmagic's Contact & Social LinksTears Of The Fallen
Make sure that you typed in the adjacent zone correctly.
Have you set the right flag?
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 24 September 2016
Last active: 3 years ago
Posts
144
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
ZombieSlayerr115
×
isaacscott935's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
isaacscott935's Contact & Social LinksZombieSlayerr115isaac935
Yes it works fine now. First of all, I didn’t put in the script_flag, and secondly, I didn’t build my mod after editing the mapname.gsc file.
broken avatar :(
  • DeletedUser
  • Deleted Member
×
broken avatar :(
DeletedUser
This user is deleted :(
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 ;)
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 24 September 2016
Last active: 3 years ago
Posts
144
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
ZombieSlayerr115
×
isaacscott935's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
isaacscott935's Contact & Social LinksZombieSlayerr115isaac935
Although I have now got lots of bo2 weapons in my map, I would love some wonder weapons like the ray gun mark 2. Thanks

 
Loading ...