UGX-Mods

Call of Duty: Black Ops 3 => General => Topic started by: jwest9451 on July 27, 2017, 07:49:47 pm

Title: Need help with a Black Ops 3 mod tools error
Post by: jwest9451 on July 27, 2017, 07:49:47 pm
I keep trying to install a claymore script for my map on Black Ops 3 mod tools, but i keep getting this error -

Code Snippet
Plaintext
********************************************************************************
UNRECOVERABLE ERROR:
  ^1SCRIPT ERROR: No generated data for 'scripts/zm/zm_devils_realm.gsc'



Linker will now terminate.
********************************************************************************

==================================================
Linker summary:

There were no errors or warnings.

==================================================

^1#using scripts
^1-------------^
^1ERR(0) scripts/zm/zm_devils_realm.gsc (53,14)  : syntax error, unexpected TOKEN_IDENTIFIER, expecting TOKEN_FILENAME : #using scripts

Here is my .gsc file that it says i have a error in -

Code Snippet
Plaintext
#using scripts\codescripts\struct;

#using scripts\shared\array_shared;
#using scripts\shared\callbacks_shared;
#using scripts\shared\clientfield_shared;
#using scripts\shared\compass;
#using scripts\shared\exploder_shared;
#using scripts\shared\flag_shared;
#using scripts\shared\laststand_shared;
#using scripts\shared\math_shared;
#using scripts\shared\scene_shared;
#using scripts\shared\util_shared;

#insert scripts\shared\shared.gsh;
#insert scripts\shared\version.gsh;

#insert scripts\zm\_zm_utility.gsh;

#using scripts\zm\_load;
#using scripts\zm\_zm;
#using scripts\zm\_zm_audio;
#using scripts\zm\_zm_powerups;
#using scripts\zm\_zm_utility;
#using scripts\zm\_zm_weapons;
#using scripts\zm\_zm_zonemgr;

#using scripts\shared\ai\zombie_utility;

//Perks
#using scripts\zm\_zm_pack_a_punch;
#using scripts\zm\_zm_pack_a_punch_util;
#using scripts\zm\_zm_perk_additionalprimaryweapon;
#using scripts\zm\_zm_perk_doubletap2;
#using scripts\zm\_zm_perk_deadshot;
#using scripts\zm\_zm_perk_juggernaut;
#using scripts\zm\_zm_perk_quick_revive;
#using scripts\zm\_zm_perk_sleight_of_hand;
#using scripts\zm\_zm_perk_staminup;

//Powerups
#using scripts\zm\_zm_powerup_double_points;
#using scripts\zm\_zm_powerup_carpenter;
#using scripts\zm\_zm_powerup_fire_sale;
#using scripts\zm\_zm_powerup_free_perk;
#using scripts\zm\_zm_powerup_full_ammo;
#using scripts\zm\_zm_powerup_insta_kill;
#using scripts\zm\_zm_powerup_nuke;
//#using scripts\zm\_zm_powerup_weapon_minigun;

//Traps
#using scripts\zm\_zm_trap_electric;

#using scripts/zm/zm_claymore;

#using scripts\zm\zm_usermap;

//*****************************************************************************
// MAIN
//*****************************************************************************

function main()
{
zm_usermap::main();

level._zombie_custom_add_weapons =&custom_add_weapons;

//Setup the levels Zombie Zone Volumes
level.zones = [];
level.zone_manager_init_func =&usermap_test_zone_init;
init_zones[0] = "start_zone";
level thread zm_zonemgr::manage_zones( init_zones );

thread zm_claymore::init();

level.default_laststandpistol = GetWeapon( "pistol_revolver38" );
level.default_solo_laststandpistol = GetWeapon( "ray_gun_upgraded" );
level.laststandpistol = level.default_laststandpistol;
level.start_weapon = level.default_laststandpistol;

level.pathdist_type = PATHDIST_ORIGINAL;
}

function usermap_test_zone_init()
{
level flag::init( "always_on" );
level flag::set( "always_on" );
}

function custom_add_weapons()
{
zm_weapons::load_weapon_spec_from_table("gamedata/weapons/zm/zm_levelcommon_weapons.csv", 1);
}
Title: Re: Need help with a Black Ops 3 mod tools error
Post by: Ping998 on August 16, 2017, 11:51:23 am
Code Snippet
Plaintext
#using scripts/zm/zm_claymore;

Pretty sure that's the line it's talking about. Are you sure the / is the right way? (Should it be \ ?)

Let me know if this helps!