UGX-Mods

Call of Duty: Black Ops 3 => Tutorial Desk => Scripting => Topic started by: X0master on October 07, 2016, 02:17:10 am

Title: How to add custom weapons to the mystery box
Post by: X0master on October 07, 2016, 02:17:10 am
1. Go to Share/raw/gamedata/weapons/zm/zm_levelcommon_weapons.csv

2. Copy zm_levelcommon_weapons.csv. Paste the file here --> Usermaps/YOURMAPNAME/gamedata/weapons/zm/
   look like this

(https://i.gyazo.com/a484e9a0d3ee47b39fc54425fee72401.png)

3. Now go to Usermaps/YOURMAPNAME/zone_source/zm_test_map.zone.

4.Open zm_test_map.zone with notepad or notepad++ or you can just edit the zone file with the launcher. Then add
Code Snippet
Plaintext
stringtable,gamedata/weapons/zm/zm_levelcommon_weapons.csv


5. Add the custom weapons you want in Usermaps/YOURMAPNAME/gamedata/weapons/zm/zm_levelcommon_weapons.csv

(https://i.gyazo.com/29670c322f9a9c250a90401e25829eb7.png)

6. Lastly Compile and now you should be able to have your own custom weapons in your mystery box.

(https://i.gyazo.com/688fd40e727a490cbd08f2e89483cabb.png)
Title: Re: How to add custom weapons to the box[tut]
Post by: M0ul3_G4m3r on October 08, 2016, 04:08:15 pm
Nice tutorial ! Can you put link too Download the file ? Beacause my file is corrupted by NotePad++ !  :please:
Title: Re: How to add custom weapons to the box[tut]
Post by: reckfullies on October 08, 2016, 10:57:25 pm
Notepad shouldn't corrupt it because it is just a text file used by xml.

Anyways here is the file:
www.mediafire.com
Title: Re: How to add custom weapons to the box[tut]
Post by: M0ul3_G4m3r on October 09, 2016, 08:12:27 am
Thanks !  :D

Edit: Not work for me !  :'(
Title: Re: How to add custom weapons to the box[tut]
Post by: IronJaws2 on October 09, 2016, 07:17:53 pm
can i put weapons that are exclusive from shadows and the other maps into this code for it to be able to be in my map or no?
Title: Re: How to add custom weapons to the box[tut]
Post by: X0master on October 09, 2016, 07:24:17 pm
can i put weapons that are exclusive from shadows and the other maps into this code for it to be able to be in my map or no?
Possible, im not so sure about it because we might not have the assets files for the weapons from what i believe. I maybe wrong though
Title: Re: How to add custom weapons to the box[tut]
Post by: animallover on October 09, 2016, 07:30:57 pm
is this for multiplayer weapons? Or custom made ones?
Title: Re: How to add custom weapons to the box[tut]
Post by: X0master on October 09, 2016, 07:46:45 pm
is this for multiplayer weapons? Or custom made ones?
It should work for any weapon you try to add. Its similar how you would add weapons to the mystery box for codwaw except its only relying on zm_levelcommon_weapons.csv.

Double Post Merge: October 09, 2016, 07:49:36 pm
Nice tutorial ! Can you put link too Download the file ? Beacause my file is corrupted by NotePad++ !  :please:
What do you mean your file is corrupted by notepad++?  ???
Title: Re: How to add custom weapons to the box[tut]
Post by: animallover on October 09, 2016, 09:58:09 pm
is there a way we can look at the names for the other weapons in multiplayer? Or do we have to port guns
Title: Re: How to add custom weapons to the box[tut]
Post by: X0master on October 09, 2016, 10:06:08 pm
is there a way we can look at the names for the other weapons in multiplayer? Or do we have to port guns
so far i don't know any ways to get the names for other weapons. maybe by using the console command? But mostly i just port the weapons. I haven't add any multiplayer weapons to the box.
Title: Re: How to add custom weapons to the box[tut]
Post by: M0ul3_G4m3r on October 10, 2016, 01:15:03 pm
It's doesn't work for me i want too add PPsh and other gun...  :'(
Title: Re: How to add custom weapons to the mystery box
Post by: xxdastormxx on October 11, 2016, 03:55:24 am
is the script supposed to say "stringtable" or "stringable"??
Title: Re: How to add custom weapons to the mystery box
Post by: zeroy on October 11, 2016, 08:31:52 am
Whatever is in the file already is all we can call into the game ZM wise. This file is for adding custom weapon - those that you have full source asset for and therefore added to your Zone File using the weaponfull,my_weapon.

So if you wanted a specific weapon from say SoE you would need to get the assets (models, anims, fxs, sounds, weapon file) and add to zone file via wepoan file as you would a custom weapon.

This has to do with how the levels are loaded, we use zm_levelcommon which doesnt contain all ZM weapons
Title: Re: How to add custom weapons to the mystery box
Post by: X0master on October 11, 2016, 08:30:33 pm
is the script supposed to say "stringtable" or "stringable"??
stringtable
Title: Re: How to add custom weapons to the mystery box
Post by: DragonGJY on October 13, 2016, 09:42:57 am
So may somebody write an example of how to use a map-exclusive weapon like bloodhond in SOE in another map?
I roughly understand that you have to tell the game that you want it to load to the map too but I don't know how to script it:(
Title: Re: How to add custom weapons to the mystery box
Post by: ModRoach on October 13, 2016, 02:46:59 pm
So may somebody write an example of how to use a map-exclusive weapon like bloodhond in SOE in another map?
I roughly understand that you have to tell the game that you want it to load to the map too but I don't know how to script it:(
Rig it from BO3 with Wraith.
Port it.
Create the weapon asset yourself.
Add to the box.
Done.
Title: Re: How to add custom weapons to the mystery box
Post by: Haatis on October 27, 2016, 05:51:35 pm
So where do i put my custom weapon files?
Title: Re: How to add custom weapons to the mystery box
Post by: Harry Bo21 on October 27, 2016, 06:09:49 pm
all bo3 guns bar a few are "already" loaded

including the bloodhound
Title: Re: How to add custom weapons to the mystery box
Post by: DeletedUser on October 27, 2016, 06:10:26 pm
So where do i put my custom weapon files?
you actually dont need to port the Bloodhound or Bootlegger since they added them to the modtools recently
Title: Re: How to add custom weapons to the mystery box
Post by: Harry Bo21 on October 27, 2016, 06:34:21 pm
you actually dont need to port the Bloodhound or Bootlegger since they added them to the modtools recently
echo echo echo
Title: Re: How to add custom weapons to the mystery box
Post by: DeletedUser on October 27, 2016, 07:02:47 pm
echo echo echo
Yeah sorry i posted mine like right as the other comment did probably
Title: Re: How to add custom weapons to the mystery box
Post by: HitmanVere on October 27, 2016, 10:59:38 pm
Yeah sorry i posted mine like right as the other comment did probably

Pretty much

(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fimage.prntscr.com%2Fimage%2F84cdc8f2a03b46e6b35a1860e78321b1.png&hash=f914c55977edf71d1051a4e690f50c5ddd7a39de)
Title: Re: How to add custom weapons to the mystery box
Post by: Sidzzz on November 19, 2016, 02:58:05 am
Keep in mind for future reference that you can use the Image tags, which will need Direct Image Links, to better incorporate images to your post. You can find mentioned option amid the Post Formatting options.
Title: Re: How to add custom weapons to the mystery box
Post by: X0master on November 19, 2016, 03:01:01 am
Keep in mind for future reference that you can use the Image tags, which will need Direct Image Links, to better incorporate images to your post. You can find mentioned option amid the Post Formatting options.
alright thank you  :)
Title: Re: How to add custom weapons to the mystery box
Post by: AirforceTurtle7 on August 03, 2018, 06:34:08 am
How do you do this in world at war