Game Modding | Call of Duty: Black Ops 3 | Radiant
NatureNorman78:
I do not know how to solve the script below, please help
ERR(0) scripts/zm/zm_da_room.csc (49,6) : syntax error, unexpected TOKEN_USING, expecting $end : #using
Magicman:
I do not know how to solve the script below, please help
ERR(0) scripts/zm/zm_da_room.csc (49,6) : syntax error, unexpected TOKEN_USING, expecting $end : #using
NatureNorman78:
can you show the script?
Magicman:
#insert scripts\shared\version.gsh;
#using scripts\zm\_load;
#using scripts\zm\_zm_weapons;
//Perks
#using scripts\zm\_zm_pack_a_punch;
#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;
#using scripts\zm\_zm_perk_widows_wine;
//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;
//Traps
#using scripts\zm\_zm_trap_electric;
#using scripts\zm\zm_usermap;
//Frost Iceforge's custom eye color
#define RED_EYE_FX "frost_iceforge/red_zombie_eyes"
#define ORANGE_EYE_FX "frost_iceforge/orange_zombie_eyes"
#define GREEN_EYE_FX "frost_iceforge/green_zombie_eyes"
#define BLUE_EYE_FX "frost_iceforge/blue_zombie_eyes"
#define PURPLE_EYE_FX "frost_iceforge/purple_zombie_eyes"
#define PINK_EYE_FX "frost_iceforge/pink_zombie_eyes"
#define WHITE_EYE_FX "frost_iceforge/white_zombie_eyes"
#precache( "client_fx", RED_EYE_FX );
#precache( "client_fx", ORANGE_EYE_FX );
#precache( "client_fx", GREEN_EYE_FX );
#precache( "client_fx", BLUE_EYE_FX );
#precache( "client_fx", PURPLE_EYE_FX );
#precache( "client_fx", PINK_EYE_FX );
#precache( "client_fx", WHITE_EYE_FX );
//// WARDOGSK93: Start
// 3arc Perks
#using scripts\zm\_zm_perk_electric_cherry;
#using scripts\zm\_zm_perk_widows_wine;
#using scripts\wardog\perk\_wardog_perk_phd;
#using scripts\wardog\perk\_wardog_perk_tombstone;
#using scripts\wardog\perk\_wardog_perk_vulture;
#using scripts\wardog\perk\_wardog_perk_fizz;
// Core
#insert scripts\zm\_zm_perks.gsh;
#using scripts\wardog\wardog_addon;
//// WARDOGSK93: End
//// xSanchez78: Start
// Whos Who
#using scripts\zm\_zm_perk_chugabud;
//// xSanchez78: End
function main()
{
luiLoad( "ui.uieditor.menus.hud.t7hud_zm_custom" );
zm_usermap::main();
//Frost Iceforge's custom eye color
set_eye_color();
include_weapons();
util::waitforclient( 0 );
}
function include_weapons()
{
zm_weapons::load_weapon_spec_from_table("gamedata/weapons/zm/zm_levelcommon_weapons.csv", 1);
}
//Frost Iceforge's custom eye color
function set_eye_color()
{
level._override_eye_fx = BLUE_EYE_FX; //Change "BLUE" to any of the other colors.
}
NatureNorman78:
try moving the lines from :
//// WARDOGSK93: Start --> //// xSanchez78: End
to just below: #using scripts\zm\zm_usermap;