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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Zrokz

if you look at share/raw/scripts/zm/

then at date modified. _zm_usermap.gsc was one that was modified on 10-17-16

There are also many more that have been modified, so if  this isn't your problem perhaps its another one that is out of date, and you need the fresh file.
8 years ago
if you look at share/raw/scripts/zm/

then at date modified. _zm_usermap.gsc was one that was modified on 10-17-16

There are also many more that have been modified, so if  this isn't your problem perhaps its another one that is out of date that you've added, and you need the fresh file.
8 years ago
-copied sorry.
I was dealing with this all day today, it was fine when I went to bed yesterday and today same error constantly, only thing that changed was there was an update today, after 6 hours of playing with my file's, finally I deleted the zm_usermap.gsc, I put in and haven't touched since weeks ago. Removed it from my usermap/youmapname/zone_source/yourmapname. zone

scriptparsetree,scripts/zm/zm_usermap.gsc

but the only thing I touched in there was disabling dogs, perhaps something with the update changed that and it was conflicting without a linking error.

I hope I was understood that I removed the line scriptparsetree,scripts/zm/zm_usermap.gsc from within my zone file that I had put in manually before.

Not deleted my zone file lol.

If its something you never did, then this probably doesn't apply as you're issue.
8 years ago
I hope I was understood that I removed the line scriptparsetree,scripts/zm/zm_usermap.gsc from within my zone file that I had put in manually before.

Not deleted my zone file lol.

If its something you never did, then this probably doesn't apply as you're issue.
8 years ago
I was dealing with this all day today, it was fine when I went to bed yesterday and today same error constantly, only thing that changed was there was an update today, after 6 hours of playing with my file's, finally I deleted the zm_usermap.gsc, I put in and haven't touched since weeks ago. Removed it from my usermap/youmapname/zone_source/yourmapname. zone

scriptparsetree,scripts/zm/zm_usermap.gsc

but the only thing I touched in there was disabling dogs, perhaps something with the update changed that and it was conflicting without a linking error.
8 years ago
I take back everything I said, it is a problem yes, but the problem is ONLY when you've added weapon attachments it seems to conflict somehow. I removed all my weapon attachments and I can now buy pack a punch ammo from wall buy. blah.
8 years ago
I've come to realize there is an error in this method, it works perfect, you have the gun on the wall (The Model), you can buy ammo like a normal wall buy.

prefab > spawnable_weapon_lmg_dingo.map copied from another wallbuy prefab and edited these.

// entity 1
{
guid "{3E2736E2-8C12-11E6-81F6-001BDC0FFAB5}"
"classname" "script_struct"
"angles" "0 360 0"
"origin" "0 0 46"
"target" "auto38"
"targetname" "weapon_upgrade"
"zombie_weapon_upgrade" "lmg_cqb"
"_color" "1 0 0"
}
// entity 2
{
guid "{3E2736E3-8C12-11E6-81F6-001BDC0FFAB5}"
"classname" "script_struct"
"angles" "0 360 0"
"model" "wpn_t7_lmg_dingo_world"
"origin" "0 0 46"
"targetname" "auto38"
"_color" "1 0 0"
}
// entity 3
{
guid "{3E2736E4-8C12-11E6-81F6-001BDC0FFAB5}"
"classname" "script_model"
"model" "wpn_t7_lmg_dingo_world"
"origin" "0 0 46"
"_color" "1 0 0"
"client_server" "ServerSide"
"lightingstate1" "1"
"lightingstate2" "1"
"lightingstate3" "1"
"lightingstate4" "1"
"modelscale" "1"
"shadow_casting" "1"


After you Pack o Punch said gun you have on the wall. The ammo for the wall buy is now by auto 4,500 refill on the wall buy like it should and here's the problem, you can buy it but it doesn't refill your ammo.

so I thought to look at the weapon table which I have made in my > Call of Duty Black Ops III\usermaps\zm_yourmapname\gamedata\weapons\zm\zm_levelcommon_weapons.csv

+

Also stringed in my zone folder > Call of Duty Black Ops III\usermaps\zm_yourmapname\zone_source\zm_youmapname.zone
I added at the bottom
stringtable,gamedata/weapons/zm/zm_levelcommon_weapons.csv

I just used it to change the cost of the guns and add att's but anyways in there is a row for wallbuy_autospawn true or false... but they are all already True.

So if anyone knows how to fix this so when buying ammo for added wall gun pack o punched actually fills you're ammo.

If its scripting something, I don't have a clue. Perhaps its scripting the "targetname" "weapon_upgrade" to some how add these weapon upgrades to the list?


Double Post Merge: October 17, 2016, 02:42:05 pm
Could it be this?

share\raw\scripts\zm\_zm_weapons.gsc

line 833 in the file

function init_spawnable_weapon_upgrade()
{
 
   // spawn_list construction must be matched in _zm_weapons.csc function init() or your level will not load.
   
   spawn_list = [];
   spawnable_weapon_spawns = struct::get_array( "weapon_upgrade", "targetname" );
   spawnable_weapon_spawns = ArrayCombine( spawnable_weapon_spawns, struct::get_array( "bowie_upgrade", "targetname" ), true, false );
   spawnable_weapon_spawns = ArrayCombine( spawnable_weapon_spawns, struct::get_array( "sickle_upgrade", "targetname" ), true, false );
   spawnable_weapon_spawns = ArrayCombine( spawnable_weapon_spawns, struct::get_array( "tazer_upgrade", "targetname" ), true, false );
   spawnable_weapon_spawns = ArrayCombine( spawnable_weapon_spawns, struct::get_array( "buildable_upgrade", "targetname" ), true, false );
   
   if ( IS_TRUE( level.use_autofill_wallbuy ) )
   {
      spawnable_weapon_spawns = ArrayCombine( spawnable_weapon_spawns, level.active_autofill_wallbuys, true, false );
   }


if so how I would I use it?
8 years ago
Please Note what i said about changing the prefab is unrelated to the question! Thank you Xylozi for solving this!
8 years ago
I think we can consider this Solved, works perfect for changing any standard gun cost. Thank you so much! Now that dingo wall buy doesn't have to be $5000 anymore =].

For now I just made a copy & edited one of the wall buy pre fabs to dingo

Call of Duty Black Ops III\map_source\_prefabs\zm\zm_core\spawnable_weapon_smg_versatile - Copy

// entity 1
{
guid "{B479F444-882B-11E6-81F5-001BDC0FFAB5}"
"classname" "script_struct"
"angles" "0 360 0"
"origin" "0 0 56"
"target" "auto38"
"targetname" "weapon_upgrade"
"zombie_weapon_upgrade" "lmg_cqb"
"_color" "1 0 0"
}
// entity 2
{
guid "{B479F445-882B-11E6-81F5-001BDC0FFAB5}"
"classname" "script_struct"
"angles" "0 360 0"
"model" "wpn_t7_lmg_dingo_world"
"origin" "-2 0 54"
"targetname" "auto38"
"_color" "1 0 0"
}

works perfect, changed price to 2000, ammo buy is by auto half already = 1000 for ammo.
8 years ago
Is there a simplified way of doing this, changing the cost of any gun standard cost

the script in mymap.csv says >

function include_weapons()
{
   zm_weapons::load_weapon_spec_from_table("gamedata/weapons/zm/zm_levelcommon_weapons.csv", 1);
}

Call of Duty Black Ops III\share\raw\gamedata\weapons\zm\zm_levelcommon_weapons.csv

Ive changed the cost in there and nothing happens.
8 years ago
Loading ...