Modme Forums

Custom Weapons

Game Modding | Call of Duty: Black Ops 3 | Scripting


TheJuk46:

How do I get my map to read custom weapons from a different .csv file? I tried changing it in my usermap.gsc, usermap.csc., my map .gsc and .csc but it still doesn't load from my new table. I'm testing this by hitting the box and I'm still pulling weapons I either don't have in that table or weapons that I specifically stated not to be in the box.

I put:
function custom_add_weapons()
{
zm_weapons::load_weapon_spec_from_table("gamedata/weapons/zm/zm_wonderbox_weapons.csv", 1);
}
in my zm_usermap.gsc
zm_usermap.csc
zm_house.gsc
zm_house.csc

and added "stringtable,gamedata/weapons/zm/zm_wonderbox_weapons.csv" to my zone file

and it's still not reading that one.