Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \raw\maps\mp\mp_array.gsc
- level.noTurretPlacementTriggers[level.noTurretPlacementTriggers.size] = trigger;
- \raw\maps\mp\mp_array_amb.gsc
- level.pbuzz = spawn ("script_origin", (172, -1242.5, 740.5));
- level.data_1 = getent ("satellite_dish_1", "targetname");
- level.data_2 = getent ("satellite_dish_2", "targetname");
- level.data_3 = getent ("satellite_dish_3", "targetname");
- level.satnum = randomintrange(1,4);
- \raw\maps\mp\mp_array_fx.gsc
- level._effect["fx_snow_fog_field_sm"] = loadfx("env/weather/fx_snow_fog_field_sm");
- \raw\maps\mp\mp_berlinwall2.gsc
- level._berlin_firing_delay = 0.1;
- level._berlin_firing_start_z = -60;
- level._berlin_firing_end_z = 30;
- level._berlin_firing_increment_z = 10;
- level._berlin_firing_spread = 15;
- level._berlin_firing_delay = GetDvarFloat( #"scr_berlin_firing_delay" );
- level._berlin_firing_start_z = GetDvarFloat( #"scr_berlin_firing_start_z" );
- level._berlin_firing_end_z = GetDvarFloat( #"scr_berlin_firing_end_z" );
- level._berlin_firing_increment_z = GetDvarFloat( #"scr_berlin_firing_increment_z" );
- level._berlin_firing_spread = GetDvarFloat( #"scr_berlin_firing_spread" );
- level.play_nomansland_alarm = true;
- level.play_nomansland_alarm = false;
- level.play_nomansland_alarm = false;
- \raw\maps\mp\mp_berlinwall2_amb.gsc
- level.alarm_sound = "off";
- level.trespassers = 0;
- level.alarm_sound = "on";
- level.alarm_sound = "off";
- level.alarm_sound = "off";
- \raw\maps\mp\mp_berlinwall2_fx.gsc
- level._effect["fx_mp_berlin_snow"] = loadfx("maps/mp_maps/fx_mp_berlin_snow");
- level._effect["fx_mp_snow_gust_street"] = loadfx("maps/mp_maps/fx_mp_snow_gust_street");
- level._effect["fx_mp_berlin_smk_smolder_sm"] = loadfx("maps/mp_maps/fx_mp_berlin_smk_smolder_sm");
- level._effect["fx_smk_building_chimney_wht"] = loadfx("maps/mp_maps/fx_mp_smk_building_chimney_wht");
- level._effect["fx_fog_large_slow"] = loadfx("env/smoke/fx_fog_large_slow");
- level._effect["fx_smk_vent"] = loadfx("env/smoke/fx_smk_vent");
- level._effect["fx_mp_berlin_pipe_steam_md"] = loadfx("maps/mp_maps/fx_mp_berlin_pipe_steam_md");
- level._effect["fx_mp_berlin_pipe_steam_sm"] = loadfx("maps/mp_maps/fx_mp_berlin_pipe_steam_sm");
- level._effect["fx_light_floodlight_dim"] = loadfx("env/light/fx_light_floodlight_dim");
- level._effect["fx_light_overhead_sm_warm"] = loadfx("env/light/fx_light_overhead_sm_warm");
- level._effect["fx_light_beacon_red_distant_slw"] = loadfx("env/light/fx_light_beacon_red_distant_slw");
- level._effect["fx_debris_papers"] = loadfx("env/debris/fx_debris_papers");
- level._effect["fx_mp_berlin_smoke_stack"] = loadfx("maps/mp_maps/fx_mp_berlin_smoke_stack");
- level._effect["fx_mp_berlin_fog_int"] = loadfx("maps/mp_maps/fx_mp_berlin_fog_int");
- level._effect["fx_mp_berlin_smk_vent"] = loadfx("maps/mp_maps/fx_mp_berlin_smk_vent");
- level._effect["fx_mp_berlin_smk_smolder_md"] = loadfx("maps/mp_maps/fx_mp_berlin_smk_smolder_md");
- \raw\maps\mp\mp_cairo_fx.gsc
- level.cairo_fxanims = [];
- level.cairo_fxanims["fxanim_cuba_line_flag01_anim"] = %fxanim_cuba_line_flag01_anim;
- level._effect["fx_mp_light_dust_motes_md"] = loadfx("maps/mp_maps/fx_mp_light_dust_motes_md");
- level._effect["fx_light_godray_lrg_warm"] = loadfx("env/light/fx_light_godray_lrg_warm");
- level._effect["fx_light_office_light_03"] = loadfx("env/light/fx_light_office_light_03");
- level._effect["fx_light_overhead_sm_warm"] = loadfx("env/light/fx_light_overhead_sm_warm");
- level._effect["fx_debris_papers"] = loadfx("env/debris/fx_debris_papers");
- level._effect["fx_water_splash_fountain"] = loadfx("env/water/fx_water_splash_fountain");
- level._effect["fx_insects_swarm_md_light"] = loadfx("bio/insects/fx_insects_swarm_md_light");
- level._effect["fx_mp_fumes_vent_sm"] = loadfx("maps/mp_maps/fx_mp_fumes_vent_sm");
- level._effect["fx_mp_fumes_haze_md"] = loadfx("maps/mp_maps/fx_mp_fumes_haze_md");
- \raw\maps\mp\mp_cosmodrome.gsc
- level.onSpawnIntermission = ::cosmodrome_intermission;
- level.const_fx_exploder_rocket_coolant = 2;
- level.rocket_camera = false;
- level.rocket_base = rocket_base;
- level.rocket_camera = true;
- level.rocket_camera = false;
- \raw\maps\mp\mp_cracked_fx.gsc
- level._effect["fx_rotor_main"] = LoadFx( "vehicle/props/fx_cobra_rotor_main_run_mp" );
- level._effect["fx_rotor_tail"] = LoadFx( "vehicle/props/fx_cobra_rotor_small_run_mp" );
- \raw\maps\mp\mp_crisis_fx.gsc
- level._effect["fx_light_office_light_03"] = loadfx("env/light/fx_light_office_light_03");
- level._effect["fx_smk_smolder_rubble_md"] = loadfx("env/smoke/fx_smk_smolder_rubble_md");
- \raw\maps\mp\mp_discovery.gsc
- level.destroyed_paths = [];
- level.destroyed_paths[ level.destroyed_paths.size ] = client_notify + "_delete";
- \raw\maps\mp\mp_discovery_fx.gsc
- level.discovery_fxanims = [];
- level.discovery_fxanims["icebridge01_back_anim"] = %fxanim_mp_icebridge01_back_anim;
- level.discovery_fxanims["icebridge01_front_anim"] = %fxanim_mp_icebridge01_front_anim;
- level.discovery_fxanims["icebridge02_anim"] = %fxanim_mp_icebridge02_anim;
- level.discovery_fxanims["icebridge03_anim"] = %fxanim_mp_icebridge03_anim;
- level.discovery_fxanims["icebridge04_anim"] = %fxanim_mp_icebridge04_anim;
- level.discovery_fxanims["icebridge05_anim"] = %fxanim_mp_icebridge05_anim;
- \raw\maps\mp\mp_duga.gsc
- level._transformer_array = [];
- level._transformer_array = add_to_array(level._transformer_array, current_struct);
- level._transformer_array = add_to_array(level._transformer_array, current_struct);
- \raw\maps\mp\mp_duga_fx.gsc
- level._effect["fx_snow_fog_field_sm"] = loadfx("env/weather/fx_snow_fog_field_sm");
- level._effect["fx_snow_fog_field_lg"] = loadfx("env/weather/fx_snow_fog_field_lg");
- \raw\maps\mp\mp_firingrange.gsc
- level.const_fx_exploder_red_light_1 = 1001;
- level.const_fx_exploder_red_light_2 = 1002;
- \raw\maps\mp\mp_hanoi_fx.gsc
- level._effect["spotlight"] = LoadFX( "maps/mp_maps/fx_mp_light_hanoi_searchlight" );
- \raw\maps\mp\mp_kowloon_fx.gsc
- level.kowloon_fxanims = [];
- level.kowloon_fxanims[ "mp_fish_tank01_anim" ] = %fxanim_mp_fish_tank01_anim;
- \raw\maps\mp\mp_mountain_fx.gsc
- level.mountain_fxanims = [];
- \raw\maps\mp\mp_nuked.gsc
- level.onSpawnIntermission = ::nuked_intermission;
- level.const_fx_exploder_end_game_glass_shatter = 5001;
- level.disableOutroVisionSet = true;
- level.mannequin_count = 0;
- level.mannequin_time = GetTime();
- \raw\maps\mp\mp_nuked_fx.gsc
- level.nuked_fxanims = [];
- \raw\maps\mp\mp_radiation.gsc
- level._digger_fx = LoadFX( "maps/mp_maps/fx_mp_sand_digger_radiation" );
- level._door_switch_trig1 = getent_and_assert("switch_trigger1");
- level._door_switch_trig2 = getent_and_assert("switch_trigger2");
- level._door1 = getent_and_assert("big_door1_clip");
- level._door2 = getent_and_assert("big_door2_clip");
- level.const_fx_exploder_switch_green_light = 2001;
- level.const_fx_exploder_switch_red_light = 2002;
- level.noTurretPlacementTriggers[level.noTurretPlacementTriggers.size] = trigger;
- \raw\maps\mp\mp_radiation_fx.gsc
- level._effect["blink_light"] = loadfx( "weapon/crossbow/fx_trail_crossbow_blink_red_os" );
- level._effect["red_light"] = loadfx( "env/light/fx_light_incandescent" );
- level._effect["green_light"] = loadfx( "weapon/crossbow/fx_trail_crossbow_blink_grn_os" );
- \raw\maps\mp\mp_russianbase_fx.gsc
- level._effect["fx_light_godray_wmd_md"] = loadfx("maps/wmd/fx_light_godray_wmd_md");
- \raw\maps\mp\mp_stadium_fx.gsc
- level._effect["fx_debris_papers"] = loadfx("env/debris/fx_debris_papers");
- level._effect["fx_mp_fumes_vent_sm"] = loadfx("maps/mp_maps/fx_mp_fumes_vent_sm");
- level._effect["fx_mp_fumes_haze_md"] = loadfx("maps/mp_maps/fx_mp_fumes_haze_md");
- level._effect["fx_mp_light_dust_motes_md"] = loadfx("maps/mp_maps/fx_mp_light_dust_motes_md");
- level._effect["fx_insects_swarm_md_light"] = loadfx("bio/insects/fx_insects_swarm_md_light");
- level._effect["fx_water_splash_fountain_lg"] = loadfx("env/water/fx_water_splash_fountain_lg2");
- level._effect["fx_water_river_fountain_side"] = loadfx("env/water/fx_water_river_fountain_side");
- level._effect["fx_water_river_fountain_side2"] = loadfx("env/water/fx_water_river_fountain_side2");
- level._effect["fx_water_river_fountain_center"] = loadfx("env/water/fx_water_river_fountain_center");
- level._effect["fx_light_godray_lrg_warm"] = loadfx("env/light/fx_light_godray_lrg_warm");
- level._effect["fx_light_office_light_03"] = loadfx("env/light/fx_light_office_light_03");
- level._effect["fx_mp_stadium_light_wide_cone"] = loadfx("maps/mp_maps/fx_mp_stadium_light_wide_cone");
- level._effect["fx_light_overhead_sm_cool"] = loadfx("env/light/fx_light_overhead_sm_cool");
- level._effect["fx_light_overhead_sm_warm"] = loadfx("env/light/fx_light_overhead_sm_warm");
- level._effect["fx_mp_stadium_light_int_amber"] = loadfx("maps/mp_maps/fx_mp_stadium_light_int_amber");
- level._effect["fx_mp_stadium_light_fluorecent"] = loadfx("maps/mp_maps/fx_mp_stadium_light_fluorecent");
- level.stadium_fxanims = [];
- level.stadium_fxanims[ "mp_sdm_pennant_anim" ] = %fxanim_mp_sdm_pennant_anim;
- \raw\maps\mp\mp_villa_fx.gsc
- level._effect["fx_water_splash_fountain"] = loadfx("env/water/fx_water_splash_fountain_lg");
- \raw\maps\mp\_ac130.gsc
- level.ac130 = spawn( "script_model", ac130Origin );
- level.ac130.angles = (0,75,0);
- level.gunReady["ac130_25mm"] = true;
- level.gunReady["ac130_40mm"] = true;
- level.ac130_rotationSpeed = 150;
- level.ac130Player = self;
- level.ac130_overlay = newClientHudElem( self );
- level.ac130_overlay.x = 0;
- level.ac130_overlay.y = 0;
- level.ac130_overlay.alignX = "center";
- level.ac130_overlay.alignY = "middle";
- level.ac130_overlay.horzAlign = "center";
- level.ac130_overlay.vertAlign = "middle";
- level.ac130_overlay.foreground = true;
- level.currentWeapon = weapon[currentWeapon].name;
- level.currentWeapon = weapon[currentWeapon].name;
- level.gunReady[weaponName] = false;
- level.gunReady[weaponName] = true;
- \raw\maps\mp\_acousticsensor.gsc
- level._effect["acousticsensor_enemy_light"] = loadfx( "misc/fx_equip_light_red" );
- level._effect["acousticsensor_friendly_light"] = loadfx( "misc/fx_equip_light_green" );
- \raw\maps\mp\_airstrike.gsc
- level.airstrikeModel = "t5_veh_air_b52";
- level.airstrikeBombCount = 15;
- level.airstrikeDangerMaxRadius = 750;
- level.airstrikeDangerMinRadius = 300;
- level.airstrikeDangerForwardPush = 1.5;
- level.airstrikeDangerOvalScale = 6.0;
- level.airstrikeMapRange = level.airstrikeDangerMinRadius * .3 + level.airstrikeDangerMaxRadius * .7;
- level.airstrikeDangerMaxRadiusSq = level.airstrikeDangerMaxRadius * level.airstrikeDangerMaxRadius;
- level.fx_jet_trail = loadfx("trail/fx_geotrail_jet_contrail");
- level.fx_airstrike_afterburner = loadfx("vehicle/exhaust/fx_exhaust_jet_afterburner");
- level.fx_airstrike_bomb = loadfx ("weapon/bombing_run/fx_mp_bombing_run_bomb");
- level.fx_airstrike_bomb = loadfx ("vehicle/exhaust/fx_exhaust_b52_bomber");
- level.airstrikeDamagedEnts = [];
- level.airstrikeDamagedEntsCount = 0;
- level.airstrikeDamagedEntsIndex = 0;
- level.airstrikeDamagedEnts = [];
- level.airstrikeDamagedEntsCount = 0;
- level.airstrikeDamagedEntsIndex = 0;
- level.airstrikeDamagedEnts[level.airstrikeDamagedEntsIndex] = undefined;
- level.airstrikeDamagedEnts[level.airstrikeDamagedEntsIndex] = undefined;
- level.airstrikeDamagedEnts[level.airstrikeDamagedEntsCount] = ents[i];
- \raw\maps\mp\_airsupport.gsc
- level.airsupportHeightScale = 1;
- level.airsupportHeightScale = getDvarIntDefault( #"scr_airsupportHeightScale", level.airsupportHeightScale );
- level.noFlyZones = [];
- level.noFlyZones = GetEntArray("no_fly_zone","targetname");
- level.airsupportHeightScale = getDvarIntDefault( #"scr_airsupportHeightScale", level.airsupportHeightScale );
- level.bomberDamagedEnts = [];
- level.bomberDamagedEntsCount = 0;
- level.bomberDamagedEntsIndex = 0;
- \raw\maps\mp\_art.gsc
- level.dofDefault["nearStart"] = 0;
- level.dofDefault["nearEnd"] = 1;
- level.dofDefault["farStart"] = 8000;
- level.dofDefault["farEnd"] = 10000;
- level.dofDefault["nearBlur"] = 6;
- level.dofDefault["farBlur"] = 0;
- level.curDoF = ( level.dofDefault["farStart"] - level.dofDefault["nearEnd"] ) / 2;
- level.script = tolower( GetDvar( "mapname" ) );
- level.dofDefault["nearStart"] = level.dofDefault["nearEnd"] - 1;
- level.dofDefault["nearEnd"] = level.dofDefault["nearStart"] + 1;
- level.dofDefault["farStart"] = level.dofDefault["farEnd"] - 1;
- level.dofDefault["farEnd"] = level.dofDefault["farStart"] + 1;
- level.dofDefault["farBlur"] = level.dofDefault["nearBlur"] - .1;
- level.dofDefault["farStart"] = level.dofDefault["nearEnd"] + 1;
- \raw\maps\mp\_artillery.gsc
- level.artilleryDangerMaxRadius = 750;
- level.artilleryDangerMinRadius = 300;
- level.artilleryDangerForwardPush = 1.5;
- level.artilleryDangerOvalScale = 6.0;
- level.artilleryCanonShellCount = maps\mp\gametypes\_tweakables::getTweakableValue( "killstreak", "artilleryCanonShellCount" );
- level.artilleryCanonCount = maps\mp\gametypes\_tweakables::getTweakableValue( "killstreak", "artilleryCanonCount" );
- level.artilleryShellsInAir = 0;
- level.artilleryMapRange = level.artilleryDangerMinRadius * .3 + level.artilleryDangerMaxRadius * .7;
- level.artilleryDangerMaxRadiusSq = level.artilleryDangerMaxRadius * level.artilleryDangerMaxRadius;
- level.artilleryDangerCenters = [];
- level.artilleryInProgress = true;
- level.artilleryDamagedEnts = [];
- level.artilleryDamagedEntsCount = 0;
- level.artilleryDamagedEntsIndex = 0;
- level.artilleryKillcamModelCounts = 0;
- level.artilleryDamagedEnts[level.artilleryDamagedEntsIndex] = undefined;
- level.artilleryDamagedEnts[level.artilleryDamagedEntsIndex] = undefined;
- level.artilleryInProgress = undefined;
- level.artilleryShellsInAir = undefined;
- level.artilleryDangerCenters[ level.artilleryDangerCenters.size ] = dangerCenter;
- level.artilleryShellsInAir = level.artilleryCanonCount * level.artilleryCanonShellCount;
- level.artilleryDangerCenters = newarray;
- level.artilleryInProgress = undefined;
- level.artilleryShellsInAir = level.artilleryShellsInAir - 1;
- \raw\maps\mp\_bomber.gsc
- level.debugPlaneModel = alliesplaneModel;
- level.bomberDangerMaxRadius = 750;
- level.bomberDangerMinRadius = 300;
- level.bomberDangerForwardPush = 1.5;
- level.bomberDangerOvalScale = 6.0;
- level.bomberMapRange = level.bomberDangerMinRadius * .3 + level.bomberDangerMaxRadius * .7;
- level.bomberDangerMaxRadiusSq = level.bomberDangerMaxRadius * level.bomberDangerMaxRadius;
- level.fx_jet_trail = loadfx("trail/fx_geotrail_jet_contrail");
- level.fx_bomber_afterburner = loadfx("vehicle/exhaust/fx_exhaust_jet_afterburner");
- level.fx_jet_bomb = loadfx ("weapon/clusterbomb/fx_clusterbomb_mp");
- level.fx_bomb_explosion = loadfx ("weapon/clusterbomb/fx_clusterbomb_exp_mp");
- level.airSupportInProgress = true;
- level.bomberPlanes = [];
- level.bomberPlanes[level.bomberPlanes.size] = self;
- level.bomberDamagedEnts[level.bomberDamagedEntsIndex] = undefined;
- level.bomberDamagedEnts[level.bomberDamagedEntsIndex] = undefined;
- level.airSupportInProgress = undefined;
- level.bomberFlightPlan = SpawnStruct();
- level.bomberFlightPlan.distance = getDvarIntDefault( #"scr_bomber_distance", 48000 );
- level.bomberFlightPlan.height = getDvarIntDefault( #"scr_bomber_height", 4000 );
- level.bomberFlightPlan.speed = getDvarIntDefault( #"scr_bomber_speed", 2000 );
- level.bomberFlightPlan.bombSpeedScale = getDvarIntDefault( #"scr_bomber_bomb_speed_scale", 1 );
- level.bomberFlightPlan.target = targetPoint;
- level.bomberFlightPlan.owner = owner;
- level.bomberFlightPlan.yaw = "random";
- level.bomberFlightPlan.planeSpawnCallback = ::planeSpawnedCallback;
- level.bomberFlightPlan.planeSpacing = ( calculateFallTime( level.bomberFlightPlan.height ) + 1 );
- level.airSupportInProgress = undefined;
- \raw\maps\mp\_burnplayer.gsc
- level.flameDamage = 15;
- level.flameBurnTime = 1.5;
- \raw\maps\mp\_busing.gsc
- level.busState = "";
- level.busState = state;
- \raw\maps\mp\_cameraspike.gsc
- level._effect["cameraspike_enemy_light"] = loadfx( "misc/fx_equip_light_red" );
- level._effect["cameraspike_friendly_light"] = loadfx( "misc/fx_equip_light_green" );
- \raw\maps\mp\_challenges.gsc
- level.ChallengesCallbacks = [];
- level.ChallengesCallbacks[callback] = [];
- level.ChallengesCallbacks[callback][level.ChallengesCallbacks[callback].size] = func;
- \raw\maps\mp\_clientflags.gsc
- level.const_flag_rocket_fx = 1;
- level.const_flag_police_car = 1;
- level.const_flag_elevator_fx = 1;
- level.const_flag_tactical_insertion = 2;
- level.const_flag_flag_away = 3;
- level.const_flag_stunned = 9;
- level.const_flag_camera_spike = 10;
- level.const_flag_counteruav = 11;
- level.const_flag_destructible_car = 12;
- level.const_flag_copterrotor = 13;
- level.const_flag_copterdamaged = 14;
- level.const_flag_elevator_floor_fx = 15;
- level.const_flag_scrambler = 3;
- level.const_flag_stunned = 9;
- level.const_flag_warn_targeted = 3;
- level.const_flag_warn_locked = 4;
- level.const_flag_warn_fired = 5;
- level.const_flag_outofbounds = 6;
- level.const_flag_choppergunner = 7;
- level.const_flag_opendoor = 8;
- level.const_flag_crashing = 9;
- level.const_flag_player_helicopter = 10;
- level.const_flag_countdown = 1;
- level.const_flag_timeout = 2;
- level.const_flag_stunned = 9;
- level.const_flag_ctfcarrier = 0;
- level.const_flag_bombing = 1;
- level.const_flag_airstrike = 2;
- level.const_flag_napalm = 3;
- \raw\maps\mp\_createfx.gsc
- level.createFX = [];
- level.callbackPlayerDisconnect = ::void;
- level.callbackPlayerDamage = ::void;
- level.callbackPlayerKilled = ::void;
- level.callbackPlayerConnect = ::Callback_PlayerConnect;
- level.exploderFunction = maps\mp\_utility::exploder_before_load;
- level.exploderFunction = maps\mp\_utility::exploder_after_load;
- level.fxanims = [];
- level._effect = [];
- level._effect[ name ] = loadfx( effect );
- level.createFX_enabled = ( GetDvar( #"createfx" ) != "" );
- level._fake_createfx_struct = SpawnStruct();
- level.createFXent = [];
- level.createFXent[level.createFXent.size] = ent;
- level.createFXent = [];
- level.createFXent[level.createFXent.size] = ent;
- level.createFXent = [];
- level.createFXent[ level.createFXent.size ] = ent;
- level._effect = [];
- level.createFxHudElements = [];
- level.createFx_hudElements = 30;
- level.clearTextMarker = newDebugHudElem();
- level.clearTextMarker.alpha = 0;
- level.createFxHudElements[i] = newStrArray;
- level.selectedMove_up = 0;
- level.selectedMove_forward = 0;
- level.selectedMove_right = 0;
- level.selectedRotate_pitch = 0;
- level.selectedRotate_roll = 0;
- level.selectedRotate_yaw = 0;
- level.selected_fx = [];
- level.selected_fx_ents = [];
- level.createfx_lockedList = [];
- level.createfx_lockedList["escape"] = true;
- level.createfx_lockedList["BUTTON_LSHLDR"] = true;
- level.createfx_lockedList["BUTTON_RSHLDR"] = true;
- level.createfx_lockedList["mouse1"] = true;
- level.createfx_lockedList["ctrl"] = true;
- level.createfx_draw_enabled = true;
- level.buttonIsHeld = [];
- level.fx_rotating = false;
- level.createfx_selecting = false;
- level.createfx_last_player_origin = (0,0,0);
- level.createfx_last_player_forward = (0,0,0);
- level.createfx_last_view_change_test = 0;
- level.createfx_inputlocked = false;
- level.createfxCursor = bullettrace(player geteye(), player geteye() + placeEnt_vector, false, undefined);
- level.buttonClick = [];
- level.button_is_kb = [];
- level.cfx_selected_prop = undefined;
- level.write_error = "";
- level.fx_highLightedEnt = highLightedEnt;
- level.createfx_last_player_origin = player.origin;
- level.createfx_last_player_forward = forward;
- level.createfx_last_view_change_test = GetTime();
- level.effect_list_offset = 0;
- level.createfx_draw_enabled = !level.createfx_draw_enabled;
- level.createfx_manipulate_offset = 0;
- level.createfx_manipulate_offset = ( level.createfx_manipulate_offset + 1 ) % print_frames;
- level.createfx_selecting = !entWasSelected;
- level.createfx_inputlocked = false;
- level.selected_fx_option_index = undefined;
- level.createFxHudElements[ i ][0].color = (1,1,1);
- level.selected_fx[index] = true;
- level.selected_fx_ents[level.selected_fx_ents.size] = ent;
- level.selected_fx[index] = undefined;
- level.selected_fx_ents = newArray;
- level.selected_fx = [];
- level.selected_fx_ents = [];
- level.draw_axis_models = [];
- level.draw_axis_models[level.draw_axis_models.size] = self.draw_axis_model;
- level.draw_axis_models = array_removeUndefined( level.draw_axis_models );
- level.draw_axis_models[level.draw_axis_models.size] = axis_model;
- level.draw_axis_models = array_removeUndefined( level.draw_axis_models );
- level.fxHudElements = 0;
- level.selectedMove_forward = 0;
- level.selectedMove_forward = level.selectedMove_forward + rate;
- level.selectedMove_forward = 0;
- level.selectedMove_forward = level.selectedMove_forward - rate;
- level.selectedMove_forward = 0;
- level.selectedMove_right = 0;
- level.selectedMove_right = level.selectedMove_right + rate;
- level.selectedMove_right = 0;
- level.selectedMove_right = level.selectedMove_right - rate;
- level.selectedMove_right = 0;
- level.selectedMove_up = 0;
- level.selectedMove_up = level.selectedMove_up + rate;
- level.selectedMove_up = 0;
- level.selectedMove_up = level.selectedMove_up - rate;
- level.selectedMove_up = 0;
- level.buttonIsHeld[ name ] = true;
- level.buttonClick[ name ] = true;
- level.buttonIsHeld[name] = undefined;
- level.button_is_kb[ name ] = true;
- level.selectedRotate_pitch = 0;
- level.selectedRotate_pitch = level.selectedRotate_pitch + rate;
- level.selectedRotate_pitch = 0;
- level.selectedRotate_pitch = level.selectedRotate_pitch - rate;
- level.selectedRotate_pitch = 0;
- level.selectedRotate_yaw = 0;
- level.selectedRotate_yaw = level.selectedRotate_yaw + rate;
- level.selectedRotate_yaw = 0;
- level.selectedRotate_yaw = level.selectedRotate_yaw - rate;
- level.selectedRotate_yaw = 0;
- level.selectedRotate_roll = 0;
- level.selectedRotate_roll = level.selectedRotate_roll + rate;
- level.selectedRotate_roll = 0;
- level.selectedRotate_roll = level.selectedRotate_roll - rate;
- level.selectedRotate_roll = 0;
- level.fx_rotating = true;
- level.fx_rotating = false;
- level.createFXent = newArray;
- level.selected_fx = [];
- level.selected_fx_ents = [];
- level.effect_list_offset = 0;
- level.cfx_center_text = [];
- level.cfx_center_text_index = 0;
- level.cfx_center_text_max = 3;
- level.cfx_center_text = new_array;
- level.cfx_center_text_index = level.cfx_center_text_max - 1;
- level.cfx_center_text_index = 0;
- level.write_error = "";
- level.stored_ents = array;
- level.stored_ents = [];
- level.createFXent[level.createFXent.size] = ent;
- level.cfx_next_ent = get_next_ent_with_same_id( index, ent.v["fxid"] );
- level.cfx_next_ent = undefined;
- level.cfx_next_ent = get_next_ent_with_same_id( i, ent.v["fxid"] );
- level.cfx_next_ent = get_next_ent_with_same_id( i, ent.v["fxid"] );
- level.last_ent_moved_to = ent;
- level.player = self;
- level.hasSpawned = true;
- \raw\maps\mp\_createfxMenu.gsc
- level.create_fx_menu = name;
- level.effect_list_offset = 0;
- level.createFX_options = [];
- level.effect_list_offset = 0;
- level.effect_list_offset_max = 9;
- level.createfxMasks = [];
- level.createfxMasks["all"] = [];
- level.createfxMasks["all"]["exploder"] = true;
- level.createfxMasks["all"]["oneshotfx"] = true;
- level.createfxMasks["all"]["loopfx"] = true;
- level.createfxMasks["all"]["soundfx"] = true;
- level.createfxMasks["fx"] = [];
- level.createfxMasks["fx"]["exploder"] = true;
- level.createfxMasks["fx"]["oneshotfx"] = true;
- level.createfxMasks["fx"]["loopfx"] = true;
- level.createfxMasks["exploder"] = [];
- level.createfxMasks["exploder"]["exploder"] = true;
- level.createfxMasks["loopfx"] = [];
- level.createfxMasks["loopfx"]["loopfx"] = true;
- level.createfxMasks["oneshotfx"] = [];
- level.createfxMasks["oneshotfx"]["oneshotfx"] = true;
- level.createfxMasks["soundfx"] = [];
- level.createfxMasks["soundfx"]["soundalias"] = true;
- level.createfx_inputlocked = true;
- level.createFxHudElements[ drawnCount+3 ][0].color = (1,1,0);
- level.cfx_selected_prop = prop_name;
- level.effect_list_offset = 0;
- level.selected_fx_option_index = i;
- level.createFX_options[level.createFX_options.size] = option;
- level.createFxHudElements[ 0 ][0].color = (1,1,0);
- level.createFxHudElements[ 0 ][0].color = (1,1,0);
- level.effect_list_offset = 0;
- level.effect_list_offset = 0;
- level.effect_list_offset = 0;
- level.effect_list_offset = int( floor( keys.size / level.effect_list_offset_max ) * level.effect_list_offset_max );
- level.cfx_next_ent = ent;
- level.effect_list_offset = 0;
- level._effect_keys = [];
- level._effect_keys[k] = keys[i];
- level._effect_keys = keys;
- \raw\maps\mp\_decoy.gsc
- level.decoyWeapons = [];
- level.decoyWeapons["fullauto"] = [];
- level.decoyWeapons["semiauto"] = [];
- level.decoyWeapons["fullauto"][level.decoyWeapons["fullauto"].size] = "uzi_mp";
- level.decoyWeapons["semiauto"][level.decoyWeapons["semiauto"].size] = "m1911_mp";
- level.decoyWeapons["semiauto"][level.decoyWeapons["semiauto"].size] = "python_mp";
- level.decoyWeapons["semiauto"][level.decoyWeapons["semiauto"].size] = "cz75_mp";
- level.decoyWeapons["semiauto"][level.decoyWeapons["semiauto"].size] = "m14_mp";
- level.decoyWeapons["semiauto"][level.decoyWeapons["semiauto"].size] = "fnfal_mp";
- \raw\maps\mp\_demo.gsc
- level.bookmark["kill"] = 0;
- level.bookmark["event"] = 1;
- level.demorecord_minplayers = max( 1, GetDvarInt( #"scr_demorecord_minplayers" ) );
- \raw\maps\mp\_destructible.gsc
- level.destructible_callbacks = [];
- level.const_flag_destructable_destroyed = 3;
- \raw\maps\mp\_dogs.gsc
- level.friendlyDogModel = "german_shepherd";
- level.enemyDogModel = "german_shepherd_black";
- level.maxDogsAttackingPerPlayer = 2;
- level.spawnTimeWaitMin = 2;
- level.spawnTimeWaitMax = 5;
- level.no_dogs = false;
- level.no_dogs = true;
- level.dogHealth_RegularRegenDelay = regenTime * 1000;
- level.dogHealthRegenDisabled = (level.dogHealth_RegularRegenDelay <= 0);
- level.no_pathnodes = true;
- level.no_pathnodes = false;
- level.patrolnodes = [];
- level.patrolnodes = pick_random_nodes( pathnodes, 200 );
- level.dogspawnnodes = [];
- level.dogspawnnodes = getnodearray( "spawn", "script_noteworthy");
- level.dogspawnnodes = pick_random_nodes( pathnodes, 20 );
- level.dogexitnodes = [];
- level.dogexitnodes = getnodearray( "exit", "script_noteworthy");
- level.dogexitnodes = pick_random_nodes( pathnodes, 20 );
- level.dog_time = dog_get_dvar_int("scr_dog_time", "60" );
- level.dog_health = dog_get_dvar_int("scr_dog_health", "100" );
- level.dog_count = dog_get_dvar_int("scr_dog_count", "8" );
- level.dog_count_max_at_once = dog_get_dvar_int("scr_dog_max_at_once", "4" );
- level.dog_count_max_at_once = level.dog_count;
- level.dog_debug = dog_get_dvar_int("debug_dogs", "0" );
- level.dog_debug_sound = dog_get_dvar_int("debug_dog_sound", "0" );
- level.dog_debug_anims = dog_get_dvar_int("debug_dog_anims", "0" );
- level.dog_debug_anims_ent = dog_get_dvar_int("debug_dog_anims_ent", "0" );
- level.dog_debug_turns = dog_get_dvar_int("debug_dog_turns", "0" );
- level.dog_debug_orient = dog_get_dvar_int("debug_dog_orient", "0" );
- level.dog_debug_usage = dog_get_dvar_int("debug_dog_usage", "1" );
- level.dog_count = 16 - dogs_in_the_bsp;
- level.dog_spawner = getent("dog_spawner","targetname" );
- level.dogs = [];
- level.dogs[i] = dog_manager_spawn_dog( self, team, node, i, requiredDeathCount );
- level.dogs[level.dogs.size] = dog_manager_spawn_dog( owner, team, node, level.dogs.size );
- level.dogs = undefined;
- level.dog_usage = [];
- level.dog_usage[index] = spawnStruct();
- level.dog_usage[index].spawn_time = 0;
- level.dog_usage[index].death_time = 0;
- level.dog_usage[index].kills = 0;
- level.dog_usage[index].died = false;
- level.dog_usage[index].spawn_time = GetTime();
- level.dog_usage[index].death_time = 0;
- level.dog_usage[index].kills = 0;
- level.dog_usage[index].died = false;
- level.dog_usage[index].death_time = GetTime();
- level.dog_usage[index].died = true;
- \raw\maps\mp\_door_breach.gsc
- level._effect["hinge_door_bash"] = loadfx("destructibles/fx_feature_door_break_reg");
- \raw\maps\mp\_entityheadicons.gsc
- level.initedEntityHeadIcons = true;
- level.entitiesWithHeadIcons = [];
- \raw\maps\mp\_flare.gsc
- level.flareVisionEffectRadius = flare_get_dvar_int( "flare_effect_radius", "400" );
- level.flareVisionEffectHeight = flare_get_dvar_int( "flare_effect_height", "65" );
- level.flareDuration = flare_get_dvar_int( "flare_duration", "8");
- level.flareDistanceScale = flare_get_dvar_int( "flare_distance_scale", "16");
- level.flareLookAwayFadeWait = flare_get_dvar( "flareLookAwayFadeWait", "0.45" );
- level.flareBurnOutFadeWait = flare_get_dvar( "flareBurnOutFadeWait", "0.65" );
- level.flareVisionEffectRadius = flare_get_dvar_int( "flare_effect_radius", level.flareVisionEffectRadius );
- level.flareVisionEffectHeight = flare_get_dvar_int( "flare_effect_height", level.flareVisionEffectHeight );
- level.flareDistanceScale = flare_get_dvar_int( "flare_distance_scale", level.flareDistanceScale);
- level.flareVisionEffectRadius = int(level.flareVisionEffectRadius * 0.5);
- level.flareVisionEffectHeight = int(level.flareVisionEffectHeight * 0.5);
- \raw\maps\mp\_flashgrenades.gsc
- level.sound_flash_start = "";
- level.sound_flash_loop = "";
- level.sound_flash_stop = "";
- \raw\maps\mp\_fx.gsc
- level._script_exploders = [];
- level._script_exploders[level._script_exploders.size] = fx;
- level.fxfireloopmod = 1/value;
- \raw\maps\mp\_gib.gsc
- level._effect["animscript_gib_fx"] = LoadFx( "weapon/bullet/fx_flesh_gib_fatal_01_mp" );
- level._effect["animscript_gibtrail_fx"] = LoadFx( "trail/fx_trail_blood_streak_mp" );
- level._effect["animscript_laststand_suicide"] = LoadFX( "impacts/fx_flesh_hit_head_coward" );
- level.lastGibTime = GetTime();
- level.totalGibs = RandomIntRange( level.minGibs, level.maxGibs );
- level.lastGibTime = GetTime();
- \raw\maps\mp\_global_fx.gsc
- level._effect = [];
- \raw\maps\mp\_helicopter.gsc
- level.vehicle_deathmodel[model] = model;
- level.cobra_missile_models = [];
- level.cobra_missile_models["cobra_Hellfire"] = "projectile_hellfire_missile";
- level.heli_sound["allies"]["hit"] = "evt_helicopter_hit";
- level.heli_sound["allies"]["hitsecondary"] = "evt_helicopter_hit";
- level.heli_sound["allies"]["damaged"] = "null";
- level.heli_sound["allies"]["spinloop"] = "evt_helicopter_spin_loop";
- level.heli_sound["allies"]["spinstart"] = "evt_helicopter_spin_start";
- level.heli_sound["allies"]["crash"] = "evt_helicopter_midair_exp";
- level.heli_sound["allies"]["missilefire"] = "wpn_hellfire_fire_npc";
- level.heli_sound["axis"]["hit"] = "evt_helicopter_hit";
- level.heli_sound["axis"]["hitsecondary"] = "evt_helicopter_hit";
- level.heli_sound["axis"]["damaged"] = "null";
- level.heli_sound["axis"]["spinloop"] = "evt_helicopter_spin_loop";
- level.heli_sound["axis"]["spinstart"] = "evt_helicopter_spin_start";
- level.heli_sound["axis"]["crash"] = "evt_helicopter_midair_exp";
- level.heli_sound["axis"]["missilefire"] = "wpn_hellfire_fire_npc";
- level.fx_heli_dust = loadfx ("vehicle/treadfx/fx_heli_dust_default");
- level.fx_heli_water = loadfx ("vehicle/treadfx/fx_heli_water_spray");
- level.fx_heli_flare = loadfx ("vehicle/vexplosion/fx_hind_chaff");
- level.fx_heli_chaff = loadfx ("vehicle/vexplosion/fx_heli_chaff");
- level._effect["chinook_light"]["friendly"] = loadfx( "vehicle/light/fx_chinook_exterior_lights_grn_mp" );
- level._effect["chinook_light"]["enemy"] = loadfx( "vehicle/light/fx_chinook_exterior_lights_red_mp" );
- level._effect["cobra_light"]["friendly"] = loadfx( "vehicle/light/fx_cobra_exterior_lights_red_mp" );
- level._effect["cobra_light"]["enemy"] = loadfx( "vehicle/light/fx_cobra_exterior_lights_red_mp" );
- level._effect["hind_light"]["friendly"] = loadfx( "vehicle/light/fx_hind_exterior_lights_grn_mp" );
- level._effect["hind_light"]["enemy"] = loadfx( "vehicle/light/fx_hind_exterior_lights_red_mp" );
- level._effect["huey_light"]["friendly"] = loadfx( "vehicle/light/fx_huey_exterior_lights_grn_mp" );
- level._effect["huey_light"]["enemy"] = loadfx( "vehicle/light/fx_huey_exterior_lights_red_mp" );
- level.heli_primary_path = startnode_array;
- level.heli_paths[level.heli_paths.size] = startnode_array;
- level.heli_loop_paths[level.heli_loop_paths.size] = startnode;
- level.heli_loop_paths[level.heli_loop_paths.size] = startnode;
- level.heli_leavenodes[level.heli_leavenodes.size] = leave_nodes[i];
- level.heli_crash_paths[level.heli_crash_paths.size] = crash_start_node;
- level.chaff_offset["attack"] = ( -130, 0, -140 );
- level.chopperComlinkFriendly = "vehicle_cobra_helicopter_mp_light";
- level.chopperComlinkEnemy = "vehicle_cobra_helicopter_mp_dark";
- level.chopperRegular = "t5_veh_helo_hind_killstreak";
- level.heli_paths = [];
- level.heli_loop_paths = [];
- level.heli_leavenodes = [];
- level.heli_crash_paths = [];
- level.chopper_fx["explode"]["death"] = loadfx ("vehicle/vexplosion/fx_vexplode_helicopter_exp_mp");
- level.chopper_fx["explode"]["large"] = loadfx ("vehicle/vexplosion/fx_vexplode_heli_killstreak_exp_sm");
- level.chopper_fx["explode"]["medium"] = loadfx ("explosions/fx_exp_aerial");
- level.chopper_fx["damage"]["light_smoke"] = loadfx ("trail/fx_trail_heli_killstreak_engine_smoke_33");
- level.chopper_fx["damage"]["heavy_smoke"] = loadfx ("trail/fx_trail_heli_killstreak_engine_smoke_66");
- level.chopper_fx["smoke"]["trail"] = loadfx ("trail/fx_trail_heli_killstreak_tail_smoke");
- level.chopper_fx["fire"]["trail"]["medium"] = loadfx ("trail/fx_trail_heli_black_smoke");
- level.chopper_fx["fire"]["trail"]["large"] = loadfx ("trail/fx_trail_heli_killstreak_engine_smoke");
- level.coptermainrotor_fx = loadfx ("vehicle/props/fx_cobra_rotor_main_run_mp");
- level.coptertailrotor_fx = loadfx ("vehicle/props/fx_cobra_rotor_small_run_mp");
- level.coptertailrotordamaged_fx = loadfx ("vehicle/props/fx_huey_small_blade_dmg");
- level.heli_loopmax = heli_get_dvar_int( "scr_heli_loopmax", "2" );
- level.heli_missile_rof = heli_get_dvar_int( "scr_heli_missile_rof", "2" );
- level.heli_armor = heli_get_dvar_int( "scr_heli_armor", "500" );
- level.heli_maxhealth = heli_get_dvar_int( "scr_heli_maxhealth", "1500" );
- level.heli_amored_maxhealth = heli_get_dvar_int( "scr_heli_armored_maxhealth", "1500" );
- level.heli_missile_max = heli_get_dvar_int( "scr_heli_missile_max", "20" );
- level.heli_dest_wait = heli_get_dvar_int( "scr_heli_dest_wait", "8" );
- level.heli_debug = heli_get_dvar_int( "scr_heli_debug", "0" );
- level.heli_debug_crash = heli_get_dvar_int( "scr_heli_debug_crash", "0" );
- level.heli_targeting_delay = heli_get_dvar( "scr_heli_targeting_delay", "0.5" );
- level.heli_turretReloadTime = heli_get_dvar( "scr_heli_turretReloadTime", "1.5" );
- level.heli_turretClipSize = heli_get_dvar_int( "scr_heli_turretClipSize", "20" );
- level.heli_visual_range = heli_get_dvar_int( "scr_heli_visual_range", "3500" );
- level.heli_missile_range = heli_get_dvar_int( "scr_heli_missile_range", "100000" );
- level.heli_health_degrade = heli_get_dvar_int( "scr_heli_health_degrade", "0" );
- level.heli_turret_angle_tan = heli_get_dvar_int( "scr_heli_turret_angle_tan", "1" );
- level.heli_turret_target_cone = heli_get_dvar( "scr_heli_turret_target_cone", "0.6" );
- level.heli_target_spawnprotection = heli_get_dvar_int( "scr_heli_target_spawnprotection", "5" );
- level.heli_missile_regen_time = heli_get_dvar( "scr_heli_missile_regen_time", "10" );
- level.heli_turret_spinup_delay = heli_get_dvar( "scr_heli_turret_spinup_delay", "0.75" );
- level.heli_target_recognition = heli_get_dvar( "scr_heli_target_recognition", "0.5" );
- level.heli_missile_friendlycare = heli_get_dvar_int( "scr_heli_missile_friendlycare", "512" );
- level.heli_missile_target_cone = heli_get_dvar( "scr_heli_missile_target_cone", "0.6" );
- level.heli_valid_target_cone = heli_get_dvar( "scr_heli_missile_valid_target_cone", "0.7" );
- level.heli_armor_bulletdamage = heli_get_dvar( "scr_heli_armor_bulletdamage", "0.3" );
- level.heli_attract_strength = heli_get_dvar( "scr_heli_attract_strength", "1000" );
- level.heli_attract_range = heli_get_dvar( "scr_heli_attract_range", "20000" );
- level.helicopterTurretMaxAngle = heli_get_dvar_int( "scr_helicopterTurretMaxAngle", "35" );
- level.heli_protect_time = heli_get_dvar( "scr_heli_protect_time", "60" );
- level.heli_protect_pos_time = heli_get_dvar( "scr_heli_protect_pos_time", "12" );
- level.heli_protect_radius = heli_get_dvar_int( "scr_heli_protect_radius", "2000" );
- level.heli_missile_reload_time = heli_get_dvar( "scr_heli_missile_reload_time", "5.0" );
- level.heli_warning_distance = heli_get_dvar_int( "scr_heli_warning_distance", "500" );
- level.chopper = chopper;
- level.helilocation = location;
- \raw\maps\mp\_helicopter_player.gsc
- level.chopper_defs["player"] = "heli_player_controlled_mp";
- level.chopper_defs["gunner"] = "heli_gunner_mp";
- level.chopper_defs["player_firstperson"] = "heli_player_controlled_firstperson_mp";
- level.chopper_models["player"]["friendly"] = "t5_veh_helo_hind_killstreak_light";
- level.chopper_models["player"]["enemy"] = "t5_veh_helo_hind_killstreak";
- level.chopper_models["player_firstperson"]["friendly"] = "t5_veh_helo_hind_killstreak_light";
- level.chopper_models["player_firstperson"]["enemy"] = "t5_veh_helo_hind_killstreak";
- level.chopper_models["gunner"]["friendly"] = "t5_veh_helo_huey_mp_light";
- level.chopper_models["gunner"]["enemy"] = "t5_veh_helo_huey_mp";
- level.chaff_offset["gunner"] = ( -100, 0, -115 );
- level.chaff_offset["player"] = ( -185, 0, -85 );
- level.chaff_offset["player_firstperson"] = ( -185, 0, -85 );
- level.chopper_death_models["player"]["allies"] = "t5_veh_helo_hind_dead";
- level.chopper_death_models["player"]["axis"] = "t5_veh_helo_hind_dead";
- level.chopper_death_models["player_firstperson"]["allies"] = "t5_veh_helo_hind_dead";
- level.chopper_death_models["player_firstperson"]["axis"] = "t5_veh_helo_hind_dead";
- level.chopper_death_models["gunner"]["allies"] = "t5_veh_helo_hind_dead";
- level.chopper_death_models["gunner"]["axis"] = "t5_veh_helo_hind_dead";
- level.chopper_sounds["player"]["allies"] = "mpl_kls_cobra_helicopter";
- level.chopper_sounds["player"]["axis"] = "mpl_kls_hind_helicopter";
- level.chopper_sounds["player_firstperson"]["allies"] = "mpl_kls_cobra_helicopter";
- level.chopper_sounds["player_firstperson"]["axis"] = "mpl_kls_hind_helicopter";
- level.chopper_sounds["gunner"]["allies"] = "mpl_kls_cobra_helicopter";
- level.chopper_sounds["gunner"]["axis"] = "mpl_kls_hind_helicopter";
- level.chopper_sounds["missile_reload"] = "wpn_rocket_reload_heli";
- level.fx_heli_warning = loadfx( "vehicle/light/fx_cobra_interior_blinking_light" );
- level.fx_hind_warning = loadfx( "vehicle/light/fx_heli_hind_interior_red_dlight" );
- level.fx_door_closed = loadfx( "vehicle/light/fx_heli_interior_red_dlight" );
- level.fx_door_open = loadfx( "vehicle/light/fx_heli_interior_green_dlight" );
- level.fx_door_ambient = loadfx( "vehicle/treadfx/fx_heli_clouds_chopper_gunner" );
- level.chopper_player_get_on_gun = %int_huey_gunner_on;
- level.chopper_door_open = %v_huey_door_open;
- level.chopper_door_open_state = %v_huey_door_open_state;
- level.chopper_door_closed_state = %v_huey_door_close_state;
- \raw\maps\mp\_interactive_objects.gsc
- level.barrelExplodingThisFrame = false;
- level.barrelBurn = 100;
- level.barrelHealth = 250;
- level.barrelIngSound = "exp_redbarrel_ignition";
- level.barrelExpSound = "exp_redbarrel";
- level.crateBurn = 100;
- level.crateHealth = 200;
- level.breakables_fx["ammo_crate"]["burn"] = loadfx ("destructibles/fx_ammobox_fire_top");
- level.breakables_fx["ammo_crate"]["explode"] = loadfx ("destructibles/fx_ammoboxExp");
- level.crateIgnSound = "Ignition_ammocrate";
- level.crateExpSound = "Explo_ammocrate";
- level.barrelExplodingThisFrame = true;
- level.lastExplodingBarrel[ "time" ] = getTime();
- level.lastExplodingBarrel[ "origin" ] = self.origin + (0, 0, 30);
- level.barrelExplodingThisFrame = false;
- level.barrelExplodingThisFrame = true;
- level.barrelExplodingThisFrame = false;
- level.breakables_clip = array_remove (level.breakables_clip , self.remove);
- \raw\maps\mp\_killstreakrules.gsc
- level.killstreakrules = [];
- level.killstreaktype = [];
- level.killstreakrules[rule] = spawnstruct();
- level.killstreakrules[rule].cur = 0;
- level.killstreakrules[rule].curTeam = [];
- level.killstreakrules[rule].max = maxAllowable;
- level.killstreakrules[rule].maxPerTeam = maxAllowablePerTeam;
- level.killstreaktype[hardpointType] = [];
- level.killstreaktype[hardpointType][rule] = spawnstruct();
- level.killstreaktype[hardpointType][rule].counts = countTowards;
- level.killstreaktype[hardpointType][rule].checks = checkAgainst;
- level.killstreakrules[keys[ i ]].curTeam[team] = 0;
- level.killstreakrules[keys[ i ]].curTeam[team] = 0;
- \raw\maps\mp\_laststand.gsc
- level.reviveTriggerRadius = GetDvarFloat( #"player_reviveTriggerRadius");
- level.howLongToDoLastStandForWithRevive = GetDvarFloat( #"player_lastStandBleedoutTime");
- level.howLongToDoLastStandForWithoutRevive = GetDvarFloat( #"player_lastStandBleedoutTimeNoRevive" );
- level.aboutToBleedOutTime = 5;
- level.amountOfLastStandPistolAmmoInClip = 0;
- level.amountOfLastStandPistolAmmoInStock = 0;
- level.lastStandCount = undefined;
- level.laststandpistol = "m1911_mp";
- level.allies_needs_revive = false;
- level.axis_needs_revive = false;
- level.allies_needs_revive = teammateNeedsRevive;
- level.axis_needs_revive = teammateNeedsRevive;
- level.allies_needs_revive = needsRevive;
- level.axis_needs_revive = needsRevive;
- \raw\maps\mp\_load.gsc
- level.script_gen_dump_reasons = [];
- level.script_gen_dump_reasons[ level.script_gen_dump_reasons.size ] = "First run";
- level.bCSVgened = bCSVgened;
- level.bScriptgened = bScriptgened;
- level._loadStarted = true;
- level.clientscripts = (GetDvar( #"cg_usingClientScripts") != "" );;
- level.flag = [];
- level.flags_lock = [];
- level.timeofday = "day";
- level.script_gen_dump_reasons = [];
- level.script_gen_dump = [];
- level.script_gen_dump_reasons[ 0 ] = "First run";
- level.script_gen_dump2 = [];
- level.aiTriggerSpawnFlags = getaitriggerflags();
- level.vehicleTriggerSpawnFlags = getvehicletriggerflags();
- level.PhysicsTraceMaskPhysics = (1 << 0);
- level.PhysicsTraceMaskVehicle = (1 << 1);
- level.PhysicsTraceMaskWater = (1 << 2);
- level.createFX_enabled = ( GetDvar( #"createfx" ) != "" );
- level._effect["flak20_fire_fx"] = loadFX("weapon/tracer/fx_tracer_flak_single_noExp");
- level._effect["flak38_fire_fx"] = loadFX("weapon/tracer/fx_tracer_quad_20mm_Flak38_noExp");
- level._effect["distant_muzzleflash"] = loadFX("weapon/muzzleflashes/heavy");
- level._effect["spotlight_beam"] = loadFX( "env/light/fx_ray_spotlight_md" );
- level.createFXent = [];
- level.script_gen_dump[ signatures[ i ] ] = undefined;
- level.script_gen_dump_reasons[ level.script_gen_dump_reasons.size ] = "Signature unmatched( removed feature ): " + signatures[ i ];
- level.nodesMins = ( 0, 0, 0 );
- level.nodesMaxs = ( 0, 0, 0 );
- level.mapCenter = maps\mp\gametypes\_spawnlogic::findBoxCenter( level.nodesMins, level.nodesMaxs );
- \raw\maps\mp\_medals.gsc
- level.medalInfo = [];
- level.medalCallbacks = [];
- level.numKills = 0;
- level.medalSettings = spawnstruct();
- level.medalSettings.teamColumn = 4;
- level.medalSettings.playerColumn = 5;
- level.medalSettings.hardcoreMedalPopup = 6;
- level.medalInfo[refString] = [];
- level.medalInfo[refString]["index"] = idx;
- level.medalInfo[refString]["xp"] = spawnstruct();
- level.medalInfo[refString]["xp"].team = int( tableLookup( tableName, 0, idx, level.medalSettings.teamColumn ) );
- level.medalInfo[refString]["xp"].player = int( tableLookup( tableName, 0, idx, level.medalSettings.playerColumn ) );
- level.medalInfo[refString]["hardcore"] = int( tableLookup( tableName, 0, idx, level.medalSettings.hardcoreMedalPopup ) );
- level.medalCallbacks[callback] = [];
- level.medalCallbacks[callback][level.medalCallbacks[callback].size] = func;
- \raw\maps\mp\_mgturret.gsc
- level.magic_distance = 24;
- level.mgTurretSettings["easy"]["convergenceTime"] = 2.5;
- level.mgTurretSettings["easy"]["suppressionTime"] = 3.0;
- level.mgTurretSettings["easy"]["accuracy"] = 0.38;
- level.mgTurretSettings["easy"]["aiSpread"] = 2;
- level.mgTurretSettings["easy"]["playerSpread"] = 0.5;
- level.mgTurretSettings["medium"]["convergenceTime"] = 1.5;
- level.mgTurretSettings["medium"]["suppressionTime"] = 3.0;
- level.mgTurretSettings["medium"]["accuracy"] = 0.38;
- level.mgTurretSettings["medium"]["aiSpread"] = 2;
- level.mgTurretSettings["medium"]["playerSpread"] = 0.5;
- level.mgTurretSettings["hard"]["convergenceTime"] = .8;
- level.mgTurretSettings["hard"]["suppressionTime"] = 3.0;
- level.mgTurretSettings["hard"]["accuracy"] = 0.38;
- level.mgTurretSettings["hard"]["aiSpread"] = 2;
- level.mgTurretSettings["hard"]["playerSpread"] = 0.5;
- level.mgTurretSettings["fu"]["convergenceTime"] = .4;
- level.mgTurretSettings["fu"]["suppressionTime"] = 3.0;
- level.mgTurretSettings["fu"]["accuracy"] = 0.38;
- level.mgTurretSettings["fu"]["aiSpread"] = 2;
- level.mgTurretSettings["fu"]["playerSpread"] = 0.5;
- \raw\maps\mp\_minefields.gsc
- level._effect["mine"] = LoadFX( "weapon/satchel/fx_explosion_satchel_generic" );
- level._effect["splash"] = LoadFX( "bio/player/fx_player_water_splash_impact" );
- \raw\maps\mp\_mortar.gsc
- level.mortarSelectionCount = 3;
- level.mortarDangerMaxRadius = 300;
- level.mortarDangerMinRadius = 200;
- level.mortarSelectorRadius = 800;
- level.mortarDangerForwardPush = 1.5;
- level.mortarDangerOvalScale = 6.0;
- level.mortarCanonShellCount = maps\mp\gametypes\_tweakables::getTweakableValue( "killstreak", "mortarCanonShellCount" );
- level.mortarCanonCount = maps\mp\gametypes\_tweakables::getTweakableValue( "killstreak", "mortarCanonCount" );
- level.mortarShellsInAir = 0;
- level.mortarMapRange = level.mortarDangerMinRadius * .3 + level.mortarDangerMaxRadius * .7;
- level.mortarDangerMaxRadiusSq = level.mortarDangerMaxRadius * level.mortarDangerMaxRadius;
- level.mortarDangerCenters = [];
- level.mortarInProgress = true;
- level.mortarCanonShellCount = maps\mp\gametypes\_tweakables::getTweakableValue( "killstreak", "mortarCanonShellCount" );
- level.mortarDamagedEnts = [];
- level.mortarDamagedEntsCount = 0;
- level.mortarDamagedEntsIndex = 0;
- level.mortarKillcamModelCounts = 0;
- level.mortarDamagedEnts[level.mortarDamagedEntsIndex] = undefined;
- level.mortarDamagedEnts[level.mortarDamagedEntsIndex] = undefined;
- level.mortarInProgress = undefined;
- level.mortarShellsInAir = undefined;
- level.mortarDangerCenters[ level.mortarDangerCenters.size ] = dangerCenter;
- level.mortarCanonShellCount = maps\mp\gametypes\_tweakables::getTweakableValue( "killstreak", "mortarCanonShellCount" );
- level.mortarShellsInAir = level.mortarCanonCount * level.mortarCanonShellCount;
- level.mortarDangerCenters[i] = level.mortarDangerCenters[level.mortarDangerCenters.size - 1];
- level.mortarDangerCenters[level.mortarDangerCenters.size - 1] = undefined;
- level.mortarInProgress = undefined;
- level.mortarShellsInAir = level.mortarShellsInAir - 1;
- \raw\maps\mp\_music.gsc
- level.musicState = "";
- level.musicState = state;
- \raw\maps\mp\_napalm.gsc
- level.napalmDangerMaxRadius = 750;
- level.napalmDangerMaxRadiusSq = level.napalmDangerMaxRadius * level.napalmDangerMaxRadius;
- level.alliesplaneModel = "t5_veh_jet_f4_gearup";
- level.fx_napalm_bomb = loadfx ("weapon/napalm/fx_napalm_drop_mp");
- level.fx_flame_lg = "napalmground_lg_mp";
- level.fx_flame_sm = "napalmground_sm_mp";
- level.napalmImpactDamageRadius = getDvarIntDefault( #"scr_napalmImpactDamageRadius", 512);
- level.burnNapalmEffectRadiusSmall = 100;
- level.burnNapalmEffectRadiusLarge = 200;
- level.burnNapalmDuration = 13;
- level.napalmGroundDamage = 51;
- level.groundBurnTime = 3;
- level.napalm_spawnprotection = getDvarIntDefault( "scr_napalm_spawnprotection", 5 );
- level.napalmDamagedEnts = [];
- level.napalmDamagedEntsCount = 0;
- level.napalmDamagedEntsIndex = 0;
- level.napalmGroundFlameEnts = [];
- level.napalmGroundFlameCount = 0;
- level.napalmDamagedEnts = [];
- level.napalmDamagedEntsCount = 0;
- level.napalmDamagedEntsIndex = 0;
- level.napalmGroundFlameEnts = [];
- level.napalmGroundFlameCount = 0;
- level.napalmDamagedEnts[level.napalmDamagedEntsIndex] = undefined;
- level.napalmDamagedEnts[level.napalmDamagedEntsIndex] = undefined;
- level.napalmGroundFlameEnts[index] = undefined;
- level.napalmGroundFlameEnts[level.napalmGroundFlameCount] = self;
- level.napalmDamagedEnts[level.napalmDamagedEntsCount] = ents[i];
- \raw\maps\mp\_panzeriv.gsc
- level.vehicles_damage_treadfx[vehicle_name] = [];
- level.vehicles_husk_effects[ vehicle_name ] = default_husk_effects;
- \raw\maps\mp\_pipes.gsc
- level._pipe_methods = [];
- level.pipe_breaks = breaks;
- level.pipe_breaks = array_remove(level.pipe_breaks, sample);
- level.pipe_breaks = array_remove(level.pipe_breaks, family[i]);
- \raw\maps\mp\_pipes_mp.gsc
- level._pipe_methods = [];
- level.pipe_breaks = breaks;
- level.pipe_breaks = array_remove(level.pipe_breaks, sample);
- level.pipe_breaks = array_remove(level.pipe_breaks, family[i]);
- \raw\maps\mp\_popups.gsc
- level.medalSettings.waitTime = 1.25;
- level.contractSettings = spawnstruct();
- level.contractSettings.waitTime = 4.2;
- level.killstreakSettings = spawnstruct();
- level.killstreakSettings.waitTime = 3;
- level.rankSettings = spawnstruct();
- level.rankSettings.waitTime = 3;
- level.startMessage = spawnstruct();
- level.startMessageDefaultDuration = 2.0;
- level.endMessageDefaultDuration = 2.0;
- level.challengeSettings = spawnstruct();
- level.challengeSettings.waitTime = 3;
- level.teamMessage = spawnstruct();
- level.teamMessage.waittime = 3;
- level.regularGameMessages = spawnstruct();
- level.regularGameMessages.waittime = 6;
- level.wagerSettings = spawnstruct();
- level.wagerSettings.waittime = 3;
- \raw\maps\mp\_properks.gsc
- level.ProPerkCallbacks = [];
- level.ProPerkCallbacks[callback] = [];
- level.ProPerkCallbacks[callback][level.ProPerkCallbacks[callback].size] = func;
- \raw\maps\mp\_radar.gsc
- level.spyplane = [];
- level.counterspyplane = [];
- level.satellite = [];
- level.spyplaneType = [];
- level.satelliteType = [];
- level.radarTimers = [];
- level.radarTimers["allies"] = getTime();
- level.radarTimers["axis"] = getTime();
- level.spyplaneViewTime = 20;
- level.radarViewTime = 30;
- level.radarLongViewTime = 45;
- level.spyplaneType[team] = 0;
- level.satelliteType[team] = 0;
- \raw\maps\mp\_rcbomb.gsc
- level._effect["rcbombexplosion"] = loadfx("maps/mp_maps/fx_mp_exp_rc_bomb");
- \raw\maps\mp\_satchel_charge.gsc
- level._effect["satchel_charge_enemy_light"] = loadfx( "misc/fx_equip_light_red" );
- level._effect["satchel_charge_friendly_light"] = loadfx( "misc/fx_equip_light_green" );
- \raw\maps\mp\_scrambler.gsc
- level._effect["scrambler_enemy_light"] = loadfx( "misc/fx_equip_light_red" );
- level._effect["scrambler_friendly_light"] = loadfx( "misc/fx_equip_light_green" );
- level.scramblerWeapon = "scrambler_mp";
- level.scramblerLength = 30.0;
- level.scramblerOuterRadiusSq = 1000 * 1000;
- level.scramblerInnerRadiusSq = 600 * 600;
- \raw\maps\mp\_serverfaceanim_mp.gsc
- level.face_event_handler = SpawnStruct();
- level.face_event_handler.events = [];
- level.face_event_handler.events["death"] = "face_death";
- level.face_event_handler.events["grenade danger"] = "face_alert";
- level.face_event_handler.events["bulletwhizby"] = "face_alert";
- level.face_event_handler.events["projectile_impact"] = "face_alert";
- level.face_event_handler.events["explode"] = "face_alert";
- level.face_event_handler.events["alert"] = "face_alert";
- level.face_event_handler.events["shoot"] = "face_shoot_single";
- level.face_event_handler.events["melee"] = "face_melee";
- level.face_event_handler.events["damage"] = "face_pain";
- \raw\maps\mp\_shutter.gsc
- level.inc = 0;
- \raw\maps\mp\_smokegrenade.gsc
- level.willyPeteDamageRadius = 300;
- level.willyPeteDamageHeight = 128;
- level.sound_smoke_start = "wpn_smoke_hiss_start";
- level.sound_smoke_loop = "wpn_smoke_hiss_lp";
- level.sound_smoke_stop = "wpn_smoke_hiss_end";
- level.smokeSoundDuration = 8;
- level.fx_smokegrenade_single = "smoke_center_mp";
- \raw\maps\mp\_spyplane.gsc
- level.spyplanemodel = "t5_veh_jet_u2";
- level.u2_maxhealth = 700;
- level.spyplane = [];
- level.spyplaneEntranceTime = 5;
- level.spyplaneExitTime = 20;
- level.counteruavWeapon = "counteruav_mp";
- level.counteruavLength = 25.0;
- level.counteruavplaneEntranceTime = 5;
- level.counteruavplaneExitTime = 20;
- level.fx_sr71_trail = loadfx("misc/fx_equip_sr71_contrail");
- level.fx_sr71_glint = loadfx("misc/fx_equip_sr71_sky_glint");
- level.fx_spyplane_afterburner = loadfx("vehicle/exhaust/fx_exhaust_u2_spyplane_afterburner");
- level.satelliteHeight = 10000;
- level.satelliteFlyDistance = 10000;
- level.fx_u2_damage_trail = loadfx("trail/fx_trail_u2_plane_damage_mp");
- level.fx_u2_explode = loadfx("vehicle/vexplosion/fx_vexplode_u2_exp_mp");
- level.activeUAVs["allies"] = 0;
- level.activeUAVs["axis"] = 0;
- level.activeCounterUAVs["allies"] = 0;
- level.activeCounterUAVs["axis"] = 0;
- level.activeSatellites["allies"] = 0;
- level.activeSatellites["axis"] = 0;
- level.activeUAVs = [];
- level.activeCounterUAVs = [];
- level.activeSatellites = [];
- level.UAVRig = spawn( "script_model", uavOrigin );
- level.UAVRig.angles = (0,115,0);
- level.CounterUAVRig = spawn( "script_model", uavOrigin );
- level.CounterUAVRig.angles = (0,115,0);
- level.activeUAVs[ player.entnum ] = 0;
- level.activeCounterUAVs[ player.entnum ] = 0;
- level.activeSatellites[ player.entnum ] = 0;
- level.activeUAVs[self.team] = 0;
- level.activeUAVs[self.owner.entnum] = 0;
- level.activeCounterUAVs[self.team] = 0;
- level.activeCounterUAVs[self.owner.entnum] = 0;
- level.activeSatellites[self.team] = 0;
- level.activeSatellites[self.owner.entnum] = 0;
- level.plane[self.team] = plane;
- \raw\maps\mp\_supplystation.gsc
- level.supplyStationModelFriendly = "mp_supplydrop_ally";
- level.supplyStationHelicopter = "vehicle_ch46e";
- \raw\maps\mp\_t34.gsc
- level.vehicles_damage_treadfx[vehicle_name] = [];
- level.vehicles_husk_effects[ vehicle_name ] = default_husk_effects;
- \raw\maps\mp\_tabun.gsc
- level.tabunInitialGasShockDuration = weapons_get_dvar_int( "scr_tabunInitialGasShockDuration", "7");
- level.tabunWalkInGasShockDuration = weapons_get_dvar_int( "scr_tabunWalkInGasShockDuration", "4");
- level.tabunGasShockRadius = weapons_get_dvar_int( "scr_tabun_shock_radius", "185" );
- level.tabunGasShockHeight = weapons_get_dvar_int( "scr_tabun_shock_height", "20" );
- level.tabunGasPoisonRadius = weapons_get_dvar_int( "scr_tabun_effect_radius", "185" );
- level.tabunGasPoisonHeight = weapons_get_dvar_int( "scr_tabun_shock_height", "20" );
- level.tabunGasDuration = weapons_get_dvar_int( "scr_tabunGasDuration", "8" );
- level.poisonDuration = weapons_get_dvar_int( "scr_poisonDuration", "8" );
- level.poisonDamage = weapons_get_dvar_int( "scr_poisonDamage", "13" );
- level.poisonDamageHardcore = weapons_get_dvar_int( "scr_poisonDamageHardcore", "5" );
- level.fx_tabun_0 = "tabun_tiny_mp";
- level.fx_tabun_1 = "tabun_small_mp";
- level.fx_tabun_2 = "tabun_medium_mp";
- level.fx_tabun_3 = "tabun_large_mp";
- level.fx_tabun_single = "tabun_center_mp";
- level.fx_tabun_radius0 = weapons_get_dvar_int( "scr_fx_tabun_radius0", 55 );
- level.fx_tabun_radius1 = weapons_get_dvar_int( "scr_fx_tabun_radius1", 55 );
- level.fx_tabun_radius2 = weapons_get_dvar_int( "scr_fx_tabun_radius2", 50 );
- level.fx_tabun_radius3 = weapons_get_dvar_int( "scr_fx_tabun_radius3", 25 );
- level.sound_tabun_start = "wpn_gas_hiss_start";
- level.sound_tabun_loop = "wpn_gas_hiss_lp";
- level.sound_tabun_stop = "wpn_gas_hiss_end";
- level.sound_shock_tabun_start = "";
- level.sound_shock_tabun_loop = "";
- level.sound_shock_tabun_stop = "";
- level.tabunGasPoisonRadius = weapons_get_dvar_int( "scr_tabun_effect_radius", level.tabunGasPoisonRadius );
- level.tabunGasPoisonHeight = weapons_get_dvar_int( "scr_tabun_shock_height", level.tabunGasPoisonHeight );
- level.tabunGasShockRadius = weapons_get_dvar_int( "scr_tabun_shock_radius", level.tabunGasShockRadius );
- level.tabunGasShockHeight = weapons_get_dvar_int( "scr_tabun_shock_height", level.tabunGasShockHeight );
- level.tabunInitialGasShockDuration = weapons_get_dvar_int( "scr_tabunInitialGasShockDuration", level.tabunInitialGasShockDuration);
- level.tabunWalkInGasShockDuration = weapons_get_dvar_int( "scr_tabunWalkInGasShockDuration", level.tabunWalkInGasShockDuration);
- level.tabunGasDuration = weapons_get_dvar_int( "scr_tabunGasDuration", level.tabunGasDuration);
- level.poisonDuration = weapons_get_dvar_int( "scr_poisonDuration", level.poisonDuration );
- level.poisonDamage = weapons_get_dvar_int( "scr_poisonDamage", level.poisonDamage );
- level.poisonDamageHardcore = weapons_get_dvar_int( "scr_poisonDamageHardcore", level.poisonDamageHardcore );
- level.fx_tabun_radius0 = weapons_get_dvar_int( "scr_fx_tabun_radius0", level.fx_tabun_radius0 );
- level.fx_tabun_radius1 = weapons_get_dvar_int( "scr_fx_tabun_radius1", level.fx_tabun_radius1 );
- level.fx_tabun_radius2 = weapons_get_dvar_int( "scr_fx_tabun_radius2", level.fx_tabun_radius2 );
- level.fx_tabun_radius3 = weapons_get_dvar_int( "scr_fx_tabun_radius3", level.fx_tabun_radius3 );
- \raw\maps\mp\_tacticalinsertion.gsc
- level.tacticalInsertionWeapon = "tactical_insertion_mp";
- level._effect["tacticalInsertionFizzle"] = LoadFX( "misc/fx_flare_tac_dest_mp" );
- \raw\maps\mp\_teargrenades.gsc
- level.tearradius = 170;
- level.tearheight = 128;
- level.teargasfillduration = 7;
- level.teargasduration = 23;
- level.tearsufferingduration = 3;
- level.teargrenadetimer = 4;
- \raw\maps\mp\_turret_killstreak.gsc
- level.auto_turret_timeout = 90.0;
- level.auto_turret_settings = [];
- level.auto_turret_settings["sentry"] = spawnStruct();
- level.auto_turret_settings["sentry"].hintString = &"KILLSTREAK_SENTRY_TURRET_PICKUP";
- level.auto_turret_settings["sentry"].hackerHintString = &"KILLSTREAK_TURRET_HACKING";
- level.auto_turret_settings["sentry"].hintIcon = "hud_ks_auto_turret";
- level.auto_turret_settings["sentry"].modelBase = "t5_weapon_minigun_turret";
- level.auto_turret_settings["sentry"].modelGoodPlacement = "t5_weapon_minigun_turret_yellow";
- level.auto_turret_settings["sentry"].modelBadPlacement = "t5_weapon_minigun_turret_red";
- level.auto_turret_settings["sentry"].stunFX = loadfx("weapon/grenade/fx_spark_disabled_weapon_lg");
- level.auto_turret_settings["sentry"].stunFXFrequencyMin = 0.1;
- level.auto_turret_settings["sentry"].stunFXFrequencyMax = 0.75;
- level.auto_turret_settings["sentry"].turretInitDelay = 1.0;
- level.auto_turret_settings["tow"] = spawnStruct();
- level.auto_turret_settings["tow"].hintString = &"KILLSTREAK_TOW_TURRET_PICKUP";
- level.auto_turret_settings["tow"].hackerHintString = &"KILLSTREAK_TURRET_HACKING";
- level.auto_turret_settings["tow"].hintIcon = "hud_ks_sam_turret";
- level.auto_turret_settings["tow"].modelBase = "t5_weapon_sam_turret";
- level.auto_turret_settings["tow"].modelGoodPlacement = "t5_weapon_sam_turret_yellow";
- level.auto_turret_settings["tow"].modelBadPlacement = "t5_weapon_sam_turret_red";
- level.auto_turret_settings["tow"].stunFX = loadfx("weapon/grenade/fx_spark_disabled_weapon_lg");
- level.auto_turret_settings["tow"].stunFXFrequencyMin = 0.1;
- level.auto_turret_settings["tow"].stunFXFrequencyMax = 0.75;
- level.auto_turret_settings["tow"].turretInitDelay = 1.0;
- level.auto_turret_settings["tow"].turretFireDelay = 5.0;
- level._turret_explode_fx = loadfx( "explosions/fx_exp_equipment_lg" );
- level.fatal_triggers = array_combine( minefields, hurt_triggers );
- level.noTurretPlacementTriggers = getEntArray( "no_turret_placement", "targetname" );
- level.killStreakIcons["autoturret_mp"] = "hud_ks_auto_turret";
- level.killStreakIcons["auto_tow_mp"] = "hud_ks_sam_turret";
- level.turrets_headicon_offset = [];
- level.turrets_headicon_offset["default"] = (0, 0, 70);
- level.turrets_headicon_offset["sentry"] = (0, 0, 70);
- level.turrets_headicon_offset["tow"] = (0, 0, 65);
- level.turrets_hacker_trigger_width = 72;
- level.turrets_hacker_trigger_height = 96;
- \raw\maps\mp\_tutorial.gsc
- level.tips = [];
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_ADS";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_SPRINT";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_KILLSTREAK";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_SWITCH_WEAPON";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_NEW_WEAPON";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_MINIMAP";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_STANCE";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_SKULLS";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_GRENADES";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_SMG";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_RIFLE";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_SHOTGUN";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_MACHINE_GUN";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_SNIPER";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_EQUIPMENT";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_PERKS";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_JUMP";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_THEATER";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_SPYPLANE";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_CAREPACKAGE";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_ATTACHMENT";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_KILLSTREAK_UNLOCK";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_LAUNCHERS";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_SPYPLANE2";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_TV_MISSILE";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_MELEE";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_CONTROLS";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_LIGHTWEIGHT";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_STEADYAIM";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_PERKS2";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_MARATHON";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_GRENADE_COOK";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_GRENADE_SMOKE";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_PRONE";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_OPTIONS";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_INSIDE";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_ASSIST";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_XP_TIP";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_FOOTSTEPS";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_SECOND_CHANCE";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_SECONDARY_WEAPON";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_TACTICAL";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_SMG_CLASS";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_CQB_CLASS";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_ASSAULT_CLASS";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_LMG_CLASS";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_SNIPER_CLASS";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_HARDLINE";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_TACTICAL_MASK";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_SCAVENGER";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_FLAK_JACKET";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_DEEP_IMPACT";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_HACKER";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_SCOUT";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_NINJA";
- level.tips[ level.tips.size ] = &"MPTIP_TRAINING_SLEIGHT_OF_HAND";
- level.tips[ 2 ] = &"MPTIP_TRAINING_KILLSTREAK_PC";
- level.tips[ 3 ] = &"MPTIP_TRAINING_SWITCH_WEAPON_PC";
- level.tips[ 4 ] = &"MPTIP_TRAINING_NEW_WEAPON_PC";
- level.tips[ 6 ] = &"MPTIP_TRAINING_STANCE_PC";
- level.tips[ 14 ] = &"MPTIP_TRAINING_EQUIPMENT_PC";
- level.tips[ 19 ] = &"MPTIP_TRAINING_CAREPACKAGE_PC";
- level.tips[ 23 ] = &"MPTIP_TRAINING_SPYPLANE2_PC";
- level.tips[ 24 ] = &"MPTIP_TRAINING_TV_MISSILE_PC";
- level.tips[ 26 ] = &"MPTIP_TRAINING_CONTROLS_PC";
- level.tips[ 40 ] = &"MPTIP_TRAINING_SECONDARY_WEAPON_PC";
- \raw\maps\mp\_tvguidedmissile.gsc
- level.GuidedMissileMaxHight = getDvarIntDefault( "scr_guidedMissileMaxHeight", 4000 );
- \raw\maps\mp\_utility.gsc
- level._clientSys = [];
- level._clientSys[sSysName] = spawnstruct();
- level._clientSys[sSysName].sysID = ClientSysRegister(sSysName);
- level._clientSys[sSysName].sysState = sSysState;
- \raw\maps\mp\_vehicles.gsc
- level.vehicle_drivers_are_invulnerable = GetDvarInt( #"scr_veh_driversareinvulnerable" );
- level.onEjectOccupants = ::vehicle_eject_all_occupants;
- level.vehicleHealths[ "panzer4_mp" ] = 2600;
- level.vehicleHealths[ "t34_mp" ] = 2600;
- level.veh_husk_models = [];
- level.veh_husk_models[ "t34_mp" ] = "veh_t34_destroyed_mp";
- level._effect["tanksquish"] = loadfx("maps/see2/fx_body_blood_splat");
- level.k_mild_damage_health_percentage = k_mild_damage_health_percentage;
- level.k_moderate_damage_health_percentage = k_moderate_damage_health_percentage;
- level.k_severe_damage_health_percentage = k_severe_damage_health_percentage;
- level.k_total_damage_health_percentage = k_total_damage_health_percentage;
- level.vehicles_husk_effects = [];
- level.vehicles_damage_treadfx = [];
- level.vehicles_damage_treadfx[vehicle_name] = [];
- level.vehicles_husk_effects[ vehicle_name ] = default_husk_effects;
- level.vehicles_list = [];
- level.vehicles_list[ level.vehicles_list.size ] = self;
- level.vehicles_list = newArray;
- level.vehicles_list = newArray;
- level.vehicle_death_fx = [];
- level.vehicle_death_fx[ type ] = [];
- level.vehicle_compassicon[ type ] = false;
- level.vehicle_team[ type ] = "axis";
- level.vehicle_life[ type ] = 999;
- level.vehicle_hasMainTurret[ model ] = false;
- level.vehicle_mainTurrets[ model ] = [];
- level.vtmodel = model;
- level.vttype = type;
- level.vehicle_rumble = [];
- level.vehicle_rumble[ level.vttype ] = struct;
- level.vehicle_exhaust[ level.vtmodel ] = loadfx( effect );
- level.vehicle_drivers_are_invulnerable = false;
- \raw\maps\mp\animscripts\dog_combat.gsc
- level.lastDogMeleePlayerTime = getTime();
- level.dogMeleeBiteAttackTime = GetTime() - level.dogMeleeBiteAttackTimeStart;
- level.dogMeleeBiteAttackTimeStart = GetTime();
- level.dogMeleeFinishAttackTime = GetTime() - level.dogMeleeFinishAttackTimeStart;
- level.dogMeleeFinishAttackTimeStart = GetTime();
- level.dog_death_quote = &"SCRIPT_PLATFORM_DOG_DEATH_DO_NOTHING";
- level.dogMeleePlayerCounter = 0;
- level.dog_death_quote = &"SCRIPT_PLATFORM_DOG_DEATH_TOO_LATE";
- level.dog_death_quote = &"SCRIPT_PLATFORM_DOG_DEATH_TOO_SOON";
- \raw\maps\mp\animscripts\dog_init.gsc
- level.dog_debug_orient = 0;
- level.dog_debug_anims = 0;
- level.dog_debug_anims_ent = 0;
- level.dog_debug_turns = 0;
- level.dogAttackPlayerDist = 102;
- level.dogAttackPlayerCloseRangeDist = 102;
- level.dogRunTurnSpeed = 20;
- level.dogRunPainSpeed = 20;
- level.dogStoppingDistSq = 3416.82;
- level.lastDogMeleePlayerTime = 0;
- level.dogMeleePlayerCounter = 0;
- level.dog_hits_before_kill = 1;
- level.lastPlayerSighted = 100;
- \raw\maps\mp\animscripts\dog_move.gsc
- level.dog_sounds["far"] = spawnstruct();
- level.dog_sounds["close"] = spawnstruct();
- level.dog_sounds["close"].minRange = 0;
- level.dog_sounds["close"].maxRange = 500;
- level.dog_sounds["close"].sound = "aml_dog_bark_close";
- level.dog_sounds["close"].soundLengthPlaceholder = 0.2;
- level.dog_sounds["close"].afterSoundWaitMin = 0.1;
- level.dog_sounds["close"].afterSoundWaitMax = 0.3;
- level.dog_sounds["close"].minRangeSqr = level.dog_sounds["close"].minRange * level.dog_sounds["close"].minRange;
- level.dog_sounds["close"].maxRangeSqr = level.dog_sounds["close"].maxRange * level.dog_sounds["close"].maxRange;
- level.dog_sounds["far"].minRange = 500;
- level.dog_sounds["far"].maxRange = 0;
- level.dog_sounds["far"].sound = "aml_dog_bark";
- level.dog_sounds["far"].soundLengthPlaceholder = 0.2;
- level.dog_sounds["far"].afterSoundWaitMin = 0.1;
- level.dog_sounds["far"].afterSoundWaitMax = 0.3;
- level.dog_sounds["far"].minRangeSqr = level.dog_sounds["far"].minRange * level.dog_sounds["far"].minRange;
- level.dog_sounds["far"].maxRangeSqr = level.dog_sounds["far"].maxRange * level.dog_sounds["far"].maxRange;
- \raw\maps\mp\animscripts\utility.gsc
- level._effect["step_" + name] = fx;
- \raw\maps\mp\createart\mp_array_art.gsc
- level.tweakfile = true;
- \raw\maps\mp\createart\mp_cairo_art.gsc
- level.tweakfile = true;
- \raw\maps\mp\createart\mp_cosmodrome_art.gsc
- level.tweakfile = true;
- \raw\maps\mp\createart\mp_cracked_art.gsc
- level.tweakfile = true;
- \raw\maps\mp\createart\mp_crisis_art.gsc
- level.tweakfile = true;
- \raw\maps\mp\createart\mp_duga_art.gsc
- level.tweakfile = true;
- \raw\maps\mp\createart\mp_firingrange_art.gsc
- level.tweakfile = true;
- \raw\maps\mp\createart\mp_hanoi_art.gsc
- level.tweakfile = true;
- \raw\maps\mp\createart\mp_havoc_art.gsc
- level.tweakfile = true;
- \raw\maps\mp\createart\mp_mountain_art.gsc
- level.tweakfile = true;
- \raw\maps\mp\createart\mp_nuked_art.gsc
- level.tweakfile = true;
- \raw\maps\mp\createart\mp_radiation_art.gsc
- level.tweakfile = true;
- \raw\maps\mp\createart\mp_russianbase_art.gsc
- level.tweakfile = true;
- \raw\maps\mp\createart\mp_villa_art.gsc
- level.tweakfile = true;
- \raw\maps\mp\gametypes\ctf.gsc
- level.scorelimitMin = 1;
- level.scorelimitMax = 1;
- level.teamBased = true;
- level.overrideTeamScore = true;
- level.onStartGameType = ::onStartGameType;
- level.onSpawnPlayer = ::onSpawnPlayer;
- level.onSpawnPlayerUnified = ::onSpawnPlayerUnified;
- level.onPrecacheGameType = ::onPrecacheGameType;
- level.onPlayerKilled = ::onPlayerKilled;
- level.onRoundSwitch = ::onRoundSwitch;
- level.onRoundEndGame = ::onRoundEndGame;
- level.gamemodeSpawnDvars = ::ctf_gamemodeSpawnDvars;
- level.getTeamKillPenalty = ::ctf_getTeamKillPenalty;
- level.getTeamKillScore = ::ctf_getTeamKillScore;
- level.scoreRoundBased = true;
- level.lastDialogTime = getTime();
- level.spawnMins = ( 0, 0, 0 );
- level.spawnMaxs = ( 0, 0, 0 );
- level.mapCenter = maps\mp\gametypes\_spawnlogic::findBoxCenter( level.spawnMins, level.spawnMaxs );
- level.spawn_axis = maps\mp\gametypes\_spawnlogic::getSpawnpointArray( "mp_ctf_spawn_axis" );
- level.spawn_allies = maps\mp\gametypes\_spawnlogic::getSpawnpointArray( "mp_ctf_spawn_allies" );
- level.spawn_axis_start = maps\mp\gametypes\_spawnlogic::getSpawnpointArray( "mp_ctf_spawn_axis_start" );
- level.spawn_allies_start = maps\mp\gametypes\_spawnlogic::getSpawnpointArray( "mp_ctf_spawn_allies_start" );
- level.halftimeSubCaption = "";
- level.halftimeType = "overtime";
- level.forcedEnd = true;
- level.halftimeType = "halftime";
- level.idleFlagReturnTime = dvarFloatValue( "idleflagreturntime", 30, 0, 120 );
- level.flagRespawnTime = dvarIntValue( "flagrespawntime", 0, 0, 120 );
- level.touchReturn = dvarIntValue( "touchreturn", 0, 0, 1 );
- level.enemyCarrierVisible = dvarIntValue( "enemycarriervisible", 0, 0, 2 );
- level.teamKillPenaltyMultiplier = dvarFloatValue( "teamkillpenalty", 2, 0, 10 );
- level.teamKillScoreMultiplier = dvarFloatValue( "teamkillscore", 20, 0, 40 );
- level.touchReturn = 1;
- level.flags = [];
- level.teamFlags = [];
- level.flagZones = [];
- level.teamFlagZones = [];
- level.iconCapture3D = "waypoint_grab_red";
- level.iconCapture2D = "waypoint_grab_red";
- level.iconDefend3D = "waypoint_defend_flag";
- level.iconDefend2D = "waypoint_defend_flag";
- level.iconDropped3D = "waypoint_defend_flag";
- level.iconDropped2D = "waypoint_defend_flag";
- level.iconReturn3D = "waypoint_return_flag";
- level.iconReturn2D = "waypoint_return_flag";
- level.iconBase3D = "waypoint_defend_flag";
- level.iconEscort3D = "waypoint_escort";
- level.iconEscort2D = "waypoint_escort";
- level.iconKill3D = "waypoint_kill";
- level.iconKill2D = "waypoint_kill";
- level.iconWaitForFlag3D = "waypoint_waitfor_flag";
- level.flagBaseFXid = [];
- level.flagBaseFXid[ "allies" ] = loadfx( "misc/fx_ui_flagbase_gold_t5" );
- level.flagBaseFXid[ "axis" ] = loadfx( "misc/fx_ui_flagbase_gold_t5" );
- level.flags[level.flags.size] = flag;
- level.teamFlags[team] = flag;
- level.flagZones[level.flagZones.size] = flagZone;
- level.teamFlagZones[team] = flagZone;
- level.flagHints[team] = createFlagHint( team, trigger.origin );
- level.lastDialogTime = getTime();
- level.lastDialogTime = getTime();
- level.lastDialogTime = getTime();
- level.lastDialogTime = getTime();
- level.ReturnMessageElems = [];
- level.ReturnMessageElems["allies"]["axis"] = createServerTimer( "objective", 1.4, "allies" );
- level.ReturnMessageElems["allies"]["axis"].label = &"MP_ENEMY_FLAG_RETURNING_IN";
- level.ReturnMessageElems["allies"]["axis"].alpha = 0;
- level.ReturnMessageElems["allies"]["axis"].archived = false;
- level.ReturnMessageElems["allies"]["allies"] = createServerTimer( "objective", 1.4, "allies" );
- level.ReturnMessageElems["allies"]["allies"].label = &"MP_YOUR_FLAG_RETURNING_IN";
- level.ReturnMessageElems["allies"]["allies"].alpha = 0;
- level.ReturnMessageElems["allies"]["allies"].archived = false;
- level.ReturnMessageElems["axis"]["allies"] = createServerTimer( "objective", 1.4, "axis" );
- level.ReturnMessageElems["axis"]["allies"].label = &"MP_ENEMY_FLAG_RETURNING_IN";
- level.ReturnMessageElems["axis"]["allies"].alpha = 0;
- level.ReturnMessageElems["axis"]["allies"].archived = false;
- level.ReturnMessageElems["axis"]["axis"] = createServerTimer( "objective", 1.4, "axis" );
- level.ReturnMessageElems["axis"]["axis"].label = &"MP_YOUR_FLAG_RETURNING_IN";
- level.ReturnMessageElems["axis"]["axis"].alpha = 0;
- level.ReturnMessageElems["axis"]["axis"].archived = false;
- level.ReturnMessageElems["axis"][ownerteam].alpha = 1;
- level.ReturnMessageElems["allies"][ownerteam].alpha = 1;
- level.ReturnMessageElems["allies"][ownerteam].alpha = 0;
- level.ReturnMessageElems["axis"][ownerteam].alpha = 0;
- \raw\maps\mp\gametypes\dem.gsc
- level.teamBased = true;
- level.overrideTeamScore = true;
- level.onPrecacheGameType = ::onPrecacheGameType;
- level.onStartGameType = ::onStartGameType;
- level.onSpawnPlayer = ::onSpawnPlayer;
- level.onSpawnPlayerUnified = ::onSpawnPlayerUnified;
- level.playerSpawnedCB = ::dem_playerSpawnedCB;
- level.onPlayerKilled = ::onPlayerKilled;
- level.onDeadEvent = ::onDeadEvent;
- level.onOneLeftEvent = ::onOneLeftEvent;
- level.onTimeLimit = ::onTimeLimit;
- level.onRoundSwitch = ::onRoundSwitch;
- level.getTeamKillPenalty = ::dem_getTeamKillPenalty;
- level.getTeamKillScore = ::dem_getTeamKillScore;
- level.gamemodeSpawnDvars = ::gamemodeSpawnDvars;
- level.getTimeLimitDvarValue = ::getTimeLimitDvarValue;
- level.ddBombModel = [];
- level.endGameOnScoreLimit = false;
- level.halftimeSubCaption = "";
- level.halftimeType = "overtime";
- level.halftimeType = "halftime";
- level.usingExtraTime = false;
- level.spawnsystem.unifiedSideSwitching = 0;
- level._effect["bombexplosion"] = loadfx("maps/mp_maps/fx_mp_exp_bomb");
- level.spawnMins = ( 0, 0, 0 );
- level.spawnMaxs = ( 0, 0, 0 );
- level.mapCenter = maps\mp\gametypes\_spawnlogic::findBoxCenter( level.spawnMins, level.spawnMaxs );
- level.demBombzoneName = "bombzone_dem";
- level.demBombzoneName = "bombzone";
- level.spawn_axis_start = maps\mp\gametypes\_spawnlogic::getSpawnpointArray( "mp_dem_spawn_defender_start" );
- level.spawn_allies_start = maps\mp\gametypes\_spawnlogic::getSpawnpointArray( "mp_dem_spawn_attacker_start" );
- level.spectateOverride[game["attackers"]].allowEnemySpectate = 1;
- level.spectateOverride[game["defenders"]].allowEnemySpectate = 1;
- level.warnedLastPlayer = [];
- level.warnedLastPlayer[team] = true;
- level.plantTime = dvarFloatValue( "planttime", 5, 0, 20 );
- level.defuseTime = dvarFloatValue( "defusetime", 5, 0, 20 );
- level.bombTimer = dvarFloatValue( "bombtimer", 45, 1, 300 );
- level.extraTime = dvarFloatValue( "extratime", 2.5, 0, 300 );
- level.teamKillPenaltyMultiplier = dvarFloatValue( "teamkillpenalty", 2, 0, 10 );
- level.teamKillScoreMultiplier = dvarFloatValue( "teamkillscore", 4, 0, 40 );
- level.playerEventsMax = dvarFloatValue( "maxPlayerEvents", 1000, 0, 1000 );
- level.playerEventsLPM = dvarFloatValue( "maxPlayerEventsPerMinute", 2, 0, 15 );
- level.bombEventsLPM = dvarFloatValue( "maxBombEventsPerMinute", 4, 0, 15 );
- level.bombAPlanted = false;
- level.bombBPlanted = false;
- level.bombPlanted = false;
- level.bombDefused = false;
- level.bombExploded = false;
- level.bombZones = [];
- level.bombZones[level.bombZones.size] = bombZone;
- level.bombZones[index].otherBombZones = array;
- level.bombAPlanted = false;
- level.bombBPlanted = false;
- level.ddBombModel[ site ] = spawn( "script_model", trace["position"] );
- level.ddBombModel[ site ].angles = dropAngles;
- level.usingExtraTime = true;
- level.bombAPlanted = true;
- level.bombBPlanted = true;
- level.grenadeLauncherDudTimeDvar = dvarString;
- level.grenadeLauncherDudTimeMin = minValue;
- level.grenadeLauncherDudTimeMax = maxValue;
- level.grenadeLauncherDudTime = getDvarInt( level.grenadeLauncherDudTimeDvar );
- level.thrownGrenadeDudTimeDvar = dvarString;
- level.thrownGrenadeDudTimeMin = minValue;
- level.thrownGrenadeDudTimeMax = maxValue;
- level.thrownGrenadeDudTime = getDvarInt( level.thrownGrenadeDudTimeDvar );
- \raw\maps\mp\gametypes\dm.gsc
- level.scoreRoundBased = true;
- level.resetPlayerScoreEveryRound = true;
- level.onStartGameType = ::onStartGameType;
- level.onSpawnPlayer = ::onSpawnPlayer;
- level.onSpawnPlayerUnified = ::onSpawnPlayerUnified;
- level.disable_tacinsert = true;
- level.spawnMins = ( 0, 0, 0 );
- level.spawnMaxs = ( 0, 0, 0 );
- level.mapCenter = maps\mp\gametypes\_spawnlogic::findBoxCenter( level.spawnMins, level.spawnMaxs );
- level.useStartSpawns = false;
- level.displayRoundEndText = false;
- level.displayRoundEndText = true;
- \raw\maps\mp\gametypes\dom.gsc
- level.scoreRoundBased = true;
- level.teamBased = true;
- level.overrideTeamScore = true;
- level.onStartGameType = ::onStartGameType;
- level.onSpawnPlayer = ::onSpawnPlayer;
- level.onSpawnPlayerUnified = ::onSpawnPlayerUnified;
- level.onPlayerKilled = ::onPlayerKilled;
- level.onPrecacheGameType = ::onPrecacheGameType;
- level.gamemodeSpawnDvars = ::dom_gamemodeSpawnDvars;
- level.onRoundEndGame = ::onRoundEndGame;
- level.lastDialogTime = 0;
- level.flagBaseFXid = [];
- level.flagBaseFXid[ "allies" ] = loadfx( "misc/fx_ui_flagbase_gold_t5" );
- level.flagBaseFXid[ "axis" ] = loadfx( "misc/fx_ui_flagbase_gold_t5" );
- level.spawnMins = ( 0, 0, 0 );
- level.spawnMaxs = ( 0, 0, 0 );
- level.mapCenter = maps\mp\gametypes\_spawnlogic::findBoxCenter( level.spawnMins, level.spawnMaxs );
- level.spawn_all = maps\mp\gametypes\_spawnlogic::getSpawnpointArray( "mp_dom_spawn" );
- level.spawn_axis_start = maps\mp\gametypes\_spawnlogic::getSpawnpointArray( "mp_dom_spawn_axis_start" );
- level.spawn_allies_start = maps\mp\gametypes\_spawnlogic::getSpawnpointArray( "mp_dom_spawn_allies_start" );
- level.startPos["allies"] = level.spawn_allies_start[0].origin;
- level.startPos["axis"] = level.spawn_axis_start[0].origin;
- level.bestSpawnFlag[ self.pers["team"] ] = bestFlag;
- level.flagCaptureTime = dvarFloatValue( "flagcapturetime", 10, 0, 30 );
- level.flagCaptureLPM = dvarFloatValue( "maxFlagCapturePerMinute", 3, 0, 10 );
- level.playerCaptureLPM = dvarFloatValue( "maxPlayerCapturePerMinute", 2, 0, 10 );
- level.playerCaptureMax = dvarFloatValue( "maxPlayerCapture", 1000, 0, 1000 );
- level.playerOffensiveMax = dvarFloatValue( "maxPlayerOffensive", 16, 0, 1000 );
- level.playerDefensiveMax = dvarFloatValue( "maxPlayerDefensive", 16, 0, 1000 );
- level.lastStatus["allies"] = 0;
- level.lastStatus["axis"] = 0;
- level.flags = [];
- level.flags[level.flags.size] = primaryFlags[index];
- level.flags[level.flags.size] = secondaryFlags[index];
- level.domFlags = [];
- level.flags[index].useObj = domFlag;
- level.flags[index].adjflags = [];
- level.flags[index].nearbyspawns = [];
- level.domFlags[level.domFlags.size] = domFlag;
- level.bestSpawnFlag = [];
- level.bestSpawnFlag[ "allies" ] = getUnownedFlagNearestStart( "allies", undefined );
- level.bestSpawnFlag[ "axis" ] = getUnownedFlagNearestStart( "axis", level.bestSpawnFlag[ "allies" ] );
- level.lastDialogTime = getTime();
- level.lastDialogTime = getTime();
- level.lastDialogTime = getTime();
- level.lastStatus[team] = getTime();
- level.useStartSpawns = false;
- level.bestSpawnFlag[ oldTeam ] = self.levelFlag;
- level.endGameOnScoreLimit = false;
- level.endGameOnScoreLimit = true;
- level.endGameOnScoreLimit = false;
- level.playingActionMusic = false;
- \raw\maps\mp\gametypes\gun.gsc
- level.onStartGameType = ::onStartGameType;
- level.onSpawnPlayer = ::onSpawnPlayer;
- level.onSpawnPlayerUnified = ::onSpawnPlayerUnified;
- level.onPlayerKilled = ::onPlayerKilled;
- level.onWagerAwards = ::onWagerAwards;
- level.giveCustomLoadout = ::giveCustomLoadout;
- level.gunProgression = [];
- level.gunProgression[level.gunProgression.size] = newWeapon;
- level.killstreaksenabled = 0;
- level.hardpointsenabled = 0;
- level.spawnMins = ( 0, 0, 0 );
- level.spawnMaxs = ( 0, 0, 0 );
- level.mapCenter = maps\mp\gametypes\_spawnlogic::findBoxCenter( level.spawnMins, level.spawnMaxs );
- level.useStartSpawns = false;
- level.displayRoundEndText = false;
- level.QuickMessageToAll = true;
- \raw\maps\mp\gametypes\hlnd.gsc
- level.onStartGameType = ::onStartGameType;
- level.onSpawnPlayer = ::onSpawnPlayer;
- level.onSpawnPlayerUnified = ::onSpawnPlayerUnified;
- level.onPlayerDamage = ::onPlayerDamage;
- level.onPlayerKilled = ::onPlayerKilled;
- level.onWagerAwards = ::onWagerAwards;
- level.giveCustomLoadout = ::giveCustomLoadout;
- level.spawnMins = ( 0, 0, 0 );
- level.spawnMaxs = ( 0, 0, 0 );
- level.mapCenter = maps\mp\gametypes\_spawnlogic::findBoxCenter( level.spawnMins, level.spawnMaxs );
- level.useStartSpawns = false;
- level.displayRoundEndText = false;
- \raw\maps\mp\gametypes\koth.gsc
- level.teamBased = true;
- level.doPrematch = true;
- level.overrideTeamScore = true;
- level.onStartGameType = ::onStartGameType;
- level.onSpawnPlayer = ::onSpawnPlayer;
- level.onSpawnPlayerUnified = ::onSpawnPlayerUnified;
- level.playerSpawnedCB = ::koth_playerSpawnedCB;
- level.onPlayerKilled = ::onPlayerKilled;
- level.gamemodeSpawnDvars = ::koth_gamemodeSpawnDvars;
- level.hqAutoDestroyTime = GetDvarInt( #"koth_autodestroytime");
- level.hqSpawnTime = GetDvarInt( #"koth_spawntime");
- level.kothMode = GetDvarInt( #"koth_kothmode");
- level.captureTime = GetDvarInt( #"koth_captureTime");
- level.destroyTime = GetDvarInt( #"koth_destroyTime");
- level.delayPlayer = GetDvarInt( #"koth_delayPlayer");
- level.spawnDelay = GetDvarInt( #"koth_spawnDelay");
- level.iconoffset = (0,0,32);
- level.onRespawnDelay = ::getRespawnDelay;
- level.lastDialogTime = 0;
- level.objectiveHintPrepareHQ = &"MP_CONTROL_HQ";
- level.objectiveHintCaptureHQ = &"MP_CAPTURE_HQ";
- level.objectiveHintDestroyHQ = &"MP_DESTROY_HQ";
- level.objectiveHintDefendHQ = &"MP_DEFEND_HQ";
- level.objectiveHintDestroyHQ = level.objectiveHintCaptureHQ;
- level.spawnMins = ( 0, 0, 0 );
- level.spawnMaxs = ( 0, 0, 0 );
- level.mapCenter = maps\mp\gametypes\_spawnlogic::findBoxCenter( level.spawnMins, level.spawnMaxs );
- level.spawn_all = maps\mp\gametypes\_spawnlogic::getSpawnpointArray( "mp_tdm_spawn" );
- level.useStartSpawns = false;
- level.hqRevealTime = -100000;
- level.hqRevealTime = gettime();
- level.radio.gameobject.onUse = ::onRadioCapture;
- level.radio.gameobject.onBeginUse = ::onBeginUse;
- level.radio.gameobject.onEndUse = ::onEndUse;
- level.hqDestroyedByTimer = false;
- level.radio.gameobject.onUse = ::onRadioDestroy;
- level.hqDestroyTime = gettime() + time * 1000;
- level.hqDestroyedByTimer = false;
- level.hqDestroyedByTimer = true;
- level.radios = radios;
- level.prevradio = undefined;
- level.prevradio2 = undefined;
- level.prevradio2 = level.prevradio;
- level.prevradio = radio;
- level.prevradio2 = level.prevradio;
- level.prevradio = radio;
- level.prevradio2 = level.prevradio;
- level.prevradio = bestradio;
- \raw\maps\mp\gametypes\oic.gsc
- level.onStartGameType = ::onStartGameType;
- level.onSpawnPlayer = ::onSpawnPlayer;
- level.onSpawnPlayerUnified = ::onSpawnPlayerUnified;
- level.giveCustomLoadout = ::giveCustomLoadout;
- level.onPlayerKilled = ::onPlayerKilled;
- level.onPlayerDamage = ::onPlayerDamage;
- level.onWagerAwards = ::onWagerAwards;
- level.spawnMins = ( 0, 0, 0 );
- level.spawnMaxs = ( 0, 0, 0 );
- level.mapCenter = maps\mp\gametypes\_spawnlogic::findBoxCenter( level.spawnMins, level.spawnMaxs );
- level.useStartSpawns = false;
- level.displayRoundEndText = false;
- level.overridePlayerScore = true;
- level.displayRoundEndText = true;
- level.onEndGame = ::onEndGame;
- level.killstreaksenabled = 0;
- level.hardpointsenabled = 0;
- \raw\maps\mp\gametypes\sab.gsc
- level.teamBased = true;
- level.overrideTeamScore = true;
- level.onStartGameType = ::onStartGameType;
- level.onSpawnPlayer = ::onSpawnPlayer;
- level.onSpawnPlayerUnified = ::onSpawnPlayerUnified;
- level.gamemodeSpawnDvars = ::sab_gamemodeSpawnDvars;
- level.onRoundEndGame = ::onRoundEndGame;
- level.onPrecacheGameType = ::onPrecacheGameType;
- level.onTimeLimit = ::onTimeLimit;
- level.onDeadEvent = ::onDeadEvent;
- level.onRoundSwitch = ::onRoundSwitch;
- level.onPlayerKilled = ::onPlayerKilled;
- level.endGameOnScoreLimit = false;
- level.onEndGame = ::onEndGame;
- level.endGameOnScoreLimit = false;
- level.lastDialogTime = 0;
- level.halftimeType = "overtime";
- level.halftimeSubCaption = &"MP_TIE_BREAKER";
- level.halftimeType = "halftime";
- level.spawnMins = ( 0, 0, 0 );
- level.spawnMaxs = ( 0, 0, 0 );
- level.mapCenter = maps\mp\gametypes\_spawnlogic::findBoxCenter( level.spawnMins, level.spawnMaxs );
- level.spawn_axis = maps\mp\gametypes\_spawnlogic::getSpawnpointArray( "mp_sab_spawn_axis" );
- level.spawn_allies = maps\mp\gametypes\_spawnlogic::getSpawnpointArray( "mp_sab_spawn_allies" );
- level.spawn_axis_start = maps\mp\gametypes\_spawnlogic::getSpawnpointArray( "mp_sab_spawn_axis_start" );
- level.spawn_allies_start = maps\mp\gametypes\_spawnlogic::getSpawnpointArray( "mp_sab_spawn_allies_start" );
- level.timeLimitOverride = true;
- level.inOvertime = true;
- level.plantingTeamDead = true;
- level.plantTime = dvarFloatValue( "planttime", 5, 0, 20 );
- level.defuseTime = dvarFloatValue( "defusetime", 5, 0, 20 );
- level.bombTimer = dvarFloatValue( "bombtimer", 45, 1, 300 );
- level.hotPotato = dvarIntValue( "hotpotato", 1, 0, 1 );
- level.bombPlanted = false;
- level.bombExploded = false;
- level._effect["bombexplosion"] = loadfx("maps/mp_maps/fx_mp_exp_bomb");
- level.sabBomb = maps\mp\gametypes\_gameobjects::createCarryObject( "neutral", trigger, visuals, (0,0,32) );
- level.sabBomb.objIDPingEnemy = true;
- level.sabBomb.onPickup = ::onPickup;
- level.sabBomb.onDrop = ::onDrop;
- level.sabBomb.allowWeapons = true;
- level.sabBomb.objPoints["allies"].archived = true;
- level.sabBomb.objPoints["axis"].archived = true;
- level.sabBomb.autoResetTime = 60.0;
- level.bombZones["allies"] = createBombZone( "allies", getEnt( "sab_bomb_axis", "targetname" ) );
- level.bombZones["axis"] = createBombZone( "axis", getEnt( "sab_bomb_allies", "targetname" ) );
- level.bombZones["allies"] = createBombZone( "allies", getEnt( "sab_bomb_allies", "targetname" ) );
- level.bombZones["axis"] = createBombZone( "axis", getEnt( "sab_bomb_axis", "targetname" ) );
- level.useStartSpawns = false;
- level.lastDialogTime = getTime();
- level.bombOwner = player;
- level.sabBomb.autoResetTime = undefined;
- level.bombPlanted = true;
- level.bombPlantedBy = team;
- level.timeLimitOverride = true;
- level.bombExploded = true;
- level.bombPlanted = false;
- level.timeLimitOverride = false;
- \raw\maps\mp\gametypes\sd.gsc
- level.teamBased = true;
- level.overrideTeamScore = true;
- level.onPrecacheGameType = ::onPrecacheGameType;
- level.onStartGameType = ::onStartGameType;
- level.onSpawnPlayer = ::onSpawnPlayer;
- level.onSpawnPlayerUnified = ::onSpawnPlayerUnified;
- level.playerSpawnedCB = ::sd_playerSpawnedCB;
- level.onPlayerKilled = ::onPlayerKilled;
- level.onDeadEvent = ::onDeadEvent;
- level.onOneLeftEvent = ::onOneLeftEvent;
- level.onTimeLimit = ::onTimeLimit;
- level.onRoundSwitch = ::onRoundSwitch;
- level.getTeamKillPenalty = ::sd_getTeamKillPenalty;
- level.getTeamKillScore = ::sd_getTeamKillScore;
- level.isKillBoosting = ::sd_isKillBoosting;
- level.onRoundEndGame = ::onRoundEndGame;
- level.endGameOnScoreLimit = false;
- level.halftimeSubCaption = "";
- level.halftimeType = "overtime";
- level.halftimeType = "halftime";
- level._effect["bombexplosion"] = loadfx("maps/mp_maps/fx_mp_exp_bomb");
- level.spawnMins = ( 0, 0, 0 );
- level.spawnMaxs = ( 0, 0, 0 );
- level.mapCenter = maps\mp\gametypes\_spawnlogic::findBoxCenter( level.spawnMins, level.spawnMaxs );
- level.spawn_axis_start = maps\mp\gametypes\_spawnlogic::getSpawnpointArray( "mp_sd_spawn_defender" );
- level.spawn_allies_start = maps\mp\gametypes\_spawnlogic::getSpawnpointArray( "mp_sd_spawn_attacker" );
- level.spectateOverride[game["attackers"]].allowEnemySpectate = 1;
- level.spectateOverride[game["defenders"]].allowEnemySpectate = 1;
- level.warnedLastPlayer = [];
- level.warnedLastPlayer[team] = true;
- level.plantTime = dvarFloatValue( "planttime", 5, 0, 20 );
- level.defuseTime = dvarFloatValue( "defusetime", 5, 0, 20 );
- level.bombTimer = dvarFloatValue( "bombtimer", 45, 1, 300 );
- level.multiBomb = dvarIntValue( "multibomb", 0, 0, 1 );
- level.teamKillPenaltyMultiplier = dvarFloatValue( "teamkillpenalty", 2, 0, 10 );
- level.teamKillScoreMultiplier = dvarFloatValue( "teamkillscore", 4, 0, 40 );
- level.playerKillsMax = dvarIntValue( "playerKillsMax", 6, 0, 9 );
- level.totalKillsMax = dvarIntValue( "totalKillsMax", 11, 0, 18 );
- level.bombPlanted = false;
- level.bombDefused = false;
- level.bombExploded = false;
- level.sdBomb = maps\mp\gametypes\_gameobjects::createCarryObject( game["attackers"], trigger, visuals, (0,0,32) );
- level.sdBomb.allowWeapons = true;
- level.sdBomb.onPickup = ::onPickup;
- level.sdBomb.onDrop = ::onDrop;
- level.bombZones = [];
- level.bombZones[level.bombZones.size] = bombZone;
- level.bombZones[index].otherBombZones = array;
- level.bombPlanted = true;
- level.tickingObject = destroyedObj.visuals[0];
- level.timeLimitOverride = true;
- level.sdBombModel = level.sdBomb.visuals[0];
- level.sdBombModel = spawn( "script_model", trace["position"] );
- level.sdBombModel.angles = dropAngles;
- level.bombExploded = true;
- level.bombDefused = true;
- \raw\maps\mp\gametypes\shrp.gsc
- level.onStartGameType = ::onStartGameType;
- level.onSpawnPlayer = ::onSpawnPlayer;
- level.onSpawnPlayerUnified = ::onSpawnPlayerUnified;
- level.onPlayerKilled = ::onPlayerKilled;
- level.onWagerAwards = ::onWagerAwards;
- level.giveCustomLoadout = ::giveCustomLoadout;
- level.killstreaksenabled = 0;
- level.hardpointsenabled = 0;
- level.spawnMins = ( 0, 0, 0 );
- level.spawnMaxs = ( 0, 0, 0 );
- level.mapCenter = maps\mp\gametypes\_spawnlogic::findBoxCenter( level.spawnMins, level.spawnMaxs );
- level.useStartSpawns = false;
- level.displayRoundEndText = false;
- level.QuickMessageToAll = true;
- level.gunProgression = [];
- level.gunProgression[level.gunProgression.size] = newWeapon;
- level.usedBaseWeapons = [];
- level.usedBaseWeapons[0] = "strela";
- level.usedBaseWeapons[level.usedBaseWeapons.size] = baseWeaponName;
- level.shrpRandomWeapon = getRandomGunFromProgression();
- level.shrpRandomWeapon = getRandomGunFromProgression();
- level.sharpshooterMultiplier = 2;
- level.sharpshooterMultiplier = 2;
- level.sharpshooterMultiplier = 1;
- \raw\maps\mp\gametypes\sur.gsc
- level.teamBased = true;
- level.doPrematch = true;
- level.overrideTeamScore = true;
- level.onStartGameType = ::onStartGameType;
- level.onSpawnPlayer = ::onSpawnPlayer;
- level.onSpawnPlayerUnified = ::onSpawnPlayerUnified;
- level.playerSpawnedCB = ::sur_playerSpawnedCB;
- level.onPlayerKilled = ::onPlayerKilled;
- level.safeZoneAutoDestroyTime = GetDvarInt( #"sur_autodestroytime");
- level.captureTime = GetDvarInt( #"sur_captureTime");
- level.destroyTime = GetDvarInt( #"sur_destroyTime");
- level.delayPlayer = GetDvarInt( #"sur_delayPlayer");
- level.spawnDelay = GetDvarInt( #"sur_spawnDelay");
- level.iconoffset = (0,0,32);
- level.onRespawnDelay = ::getRespawnDelay;
- level.spawnMins = ( 0, 0, 0 );
- level.spawnMaxs = ( 0, 0, 0 );
- level.mapCenter = maps\mp\gametypes\_spawnlogic::findBoxCenter( level.spawnMins, level.spawnMaxs );
- level.spawn_all = getentarray( "mp_tdm_spawn", "classname" );
- level.safeZoneRevealTime = -100000;
- level.timerDisplay = [];
- level.timerDisplay["allies"] = createServerTimer( "objective", 1.4, "allies" );
- level.timerDisplay["allies"].label = &"MP_SAFEZONE_AVAILABLE_IN";
- level.timerDisplay["allies"].alpha = 0;
- level.timerDisplay["allies"].archived = false;
- level.timerDisplay["allies"].hideWhenInMenu = true;
- level.timerDisplay["axis" ] = createServerTimer( "objective", 1.4, "axis" );
- level.timerDisplay["axis" ].label = &"MP_SAFEZONE_AVAILABLE_IN";
- level.timerDisplay["axis" ].alpha = 0;
- level.timerDisplay["axis" ].archived = false;
- level.timerDisplay["axis" ].hideWhenInMenu = true;
- level.cargoTouched = false;
- level.surGameState = "spawnCargo";
- level.cargoObject = undefined;
- level.safeZoneObject = undefined;
- level.cargoObject = undefined;
- level.safeZoneObject = undefined;
- level.surGameState = "spawnCargo";
- level.cargoObject = spawnCargo();
- level.safeZoneObject = spawnSafeZone();
- level.cargoTouched = false;
- level.timerDisplay["allies"].alpha = 0;
- level.timerDisplay["axis" ].alpha = 0;
- level.safeZoneObject = undefined;
- level.surGameState = "spawnSafeZone";
- level.safeZoneObject = safeZoneObject;
- level.safeZoneRevealTime = gettime();
- level.timerDisplay["allies"].alpha = 0;
- level.timerDisplay["axis" ].alpha = 0;
- level.timerDisplay["allies"].label = &"MP_SAFEZONE_DESPAWN_IN";
- level.timerDisplay["allies"].alpha = 1;
- level.timerDisplay["axis" ].label = &"MP_SAFEZONE_DESPAWN_IN";
- level.timerDisplay["axis" ].alpha = 1;
- level.surGameState = "resetCargo";
- level.cargoTouched = true;
- level.safeZoneDestroyTime = gettime() + time * 1000;
- level.safeZoneDestroyedByTimer = false;
- level.safeZoneDestroyedByTimer = true;
- level.cargoSpots = cargoSpots;
- level.prevCargoSpot = undefined;
- level.prevCargoSpot2 = undefined;
- level.safeZones = safeZones;
- level.prevSafeZone = undefined;
- level.prevSafeZone2 = undefined;
- level.prevCargoSpot2 = level.prevCargoSpot;
- level.prevCargoSpot = cargoSpot;
- level.prevCargoSpot2 = level.prevCargoSpot;
- level.prevCargoSpot = bestCargoSpot;
- level.prevSafeZone2 = level.prevSafeZone;
- level.prevSafeZone = safeZone;
- level.prevSafeZone2 = level.prevSafeZone;
- level.prevSafeZone = bestSafeZone;
- \raw\maps\mp\gametypes\tdm.gsc
- level.scoreRoundBased = true;
- level.teamBased = true;
- level.onStartGameType = ::onStartGameType;
- level.onSpawnPlayer = ::onSpawnPlayer;
- level.onSpawnPlayerUnified = ::onSpawnPlayerUnified;
- level.onRoundEndGame = ::onRoundEndGame;
- level.spawnMins = ( 0, 0, 0 );
- level.spawnMaxs = ( 0, 0, 0 );
- level.mapCenter = maps\mp\gametypes\_spawnlogic::findBoxCenter( level.spawnMins, level.spawnMaxs );
- level.displayRoundEndText = false;
- level.displayRoundEndText = true;
- level.useStartSpawns = false;
- \raw\maps\mp\gametypes\twar.gsc
- level.teamBased = true;
- level.overrideTeamScore = true;
- level.onStartGameType = ::onStartGameType;
- level.onSpawnPlayer = ::onSpawnPlayer;
- level.onSpawnPlayerUnified = ::onSpawnPlayerUnified;
- level.onSpawnSpectator = ::onSpawnSpectator;
- level.playerSpawnedCB = ::twar_playerSpawnedCB;
- level.onPlayerKilled = ::onPlayerKilled;
- level.onPrecacheGameType = ::onPrecacheGameType;
- level.onTimeLimit = ::onTimeLimit;
- level.onRespawnDelay = ::getRespawnDelay;
- level.onRoundSwitch = ::onRoundSwitch;
- level.onTeamOutcomeNotify = ::onTeamOutcomeNotify;
- level.onEndGame = ::onEndGame;
- level.getTimeLimitDvarValue = ::getTimeLimitDvarValue;
- level.gamemodeSpawnDvars = ::twar_gamemodeSpawnDvars;
- level.endGameOnScoreLimit = false;
- level.flagSetupComplete = false;
- level.captureTime = GetDvarInt( #"twar_captureTime");
- level.objectiveFX = "waypoint_objpoint";
- level.objectiveCompassFX = "objective";
- level.flagHudFX = [];
- level.flagHudFX["marines"] = "hudicon_american_war";
- level.flagHudFX["marines_neutral"] = "hudicon_american_war_grey";
- level.flagHudFX["nva"] = "hudicon_japanese_war";
- level.flagHudFX["nva_neutral"] = "hudicon_japanese_war_grey";
- level.flagHudFX["german"] = "hudicon_german_war";
- level.flagHudFX["german_neutral"] = "hudicon_german_war_grey";
- level.flagHudFX["russian"] = "hudicon_russian_war";
- level.flagHudFX["russian_neutral"] = "hudicon_russian_war_grey";
- level.flagHudFX["neutral"] = "hudicon_american_war_grey";
- level.hudImageSize = 32;
- level.hudImageSpacing = 8;
- level.hudImageIncrease = 10;
- level.lastDialogTime = getTime();
- level.lastProgress = 0;
- level.isLastFlag = false;
- level.halftimeType = "finalfight";
- level.halftimeSubCaption = &"MP_ONEFLAGWINS";
- level.timeLimitOverride = true;
- level.inFinalFight = false;
- level.inFinalFight = true;
- level.spawnMins = ( 0, 0, 0 );
- level.spawnMaxs = ( 0, 0, 0 );
- level.mapCenter = maps\mp\gametypes\_spawnlogic::findBoxCenter( level.spawnMins, level.spawnMaxs );
- level.startPos["allies"] = level.spawn_allies_start[0].origin;
- level.startPos["axis"] = level.spawn_axis_start[0].origin;
- level.spawnDelay = [];
- level.spawnDelay["axis"] = 0;
- level.spawnDelay["allies"] = 0;
- level.flagBaseFXid = [];
- level.flagBaseFXid["allies"] = loadfx( flagBaseFX[ game["allies"] ] );
- level.flagBaseFXid["axis"] = loadfx( flagBaseFX[ game["axis"] ] );
- level.flagBaseFXid["neutral"] = loadfx( flagBaseFX["neutral"] );
- level.flagBaseFXid["spectator"] = loadfx( flagBaseFX[ game["allies"] ] );
- level.objpoint_alpha_default = 0.75;
- level.forcedEnd = true;
- level.roundLimit = 0;
- level.players[i].touchingContestedFlag = false;
- level.bestSpawnFlag[ self.pers["team"] ] = bestFlag;
- level.lastStatus["allies"] = 0;
- level.lastStatus["axis"] = 0;
- level.flags = [];
- level.flags[level.flags.size] = refWrapper.primaryFlags[index];
- level.flags[level.flags.size - 1].descriptor = closestdesc;
- level.flagOrder["_a"] = 0;
- level.flagOrder["_b"] = 1;
- level.flagOrder["_c"] = 2;
- level.flagOrder["_d"] = 3;
- level.flagOrder["_e"] = 4;
- level.twarFlags = [];
- level.flags[index].useObj = twarFlag;
- level.flags[index].adjflags = [];
- level.flags[index].nearbyspawns = [];
- level.twarFlags[level.twarFlags.size] = twarFlag;
- level.flagSetupComplete = true;
- level.bestSpawnFlag = [];
- level.bestSpawnFlag[ "allies" ] = getUnownedFlagNearestStart( "allies", undefined );
- level.bestSpawnFlag[ "axis" ] = getUnownedFlagNearestStart( "axis", level.bestSpawnFlag[ "allies" ] );
- level.flags[j] = level.flags[j + 1];
- level.flags[j + 1] = temp;
- level.isLastFlag = true;
- level.lastProgress = 0;
- level.isLastFlag = false;
- level.lastDialogTime = getTime();
- level.lastDialogTime = getTime();
- level.lastDialogTime = getTime();
- level.lastProgress = progress;
- level.lastStatus[team] = getTime();
- level.useStartSpawns = false;
- level.bestSpawnFlag[ oldTeam ] = self.levelFlag;
- level.forcedEnd = true;
- level.roundLimit = 0;
- level.flags[i].adjflags[level.flags[i].adjflags.size] = adjflag;
- level.twar_influencers[level.twar_influencers.size] = maps\mp\gametypes\_spawning::create_map_placed_influencer(influencer_entity, influencer_score);
- level.twar_influencers = [];
- level.twar_influencers[level.twar_influencers.size] = twar_create_contested_objective_influencer(contested_flag);
- level.twar_influencers = [];
- level.warHudColumnOffset = ( ( int( numColumns / 2 ) * level.hudImageSize ) + ( int( ( numColumns - 1 ) / 2 ) * level.hudImageSpacing ) ) * -1;
- \raw\maps\mp\gametypes\_armor.gsc
- level.cac_attributes = [];
- level.cac_attributes[ "mobility" ] = [];
- level.cac_attributes[ "armor_bullet" ] = [];
- level.cac_attributes[ "armor_explosive" ] = [];
- level.cac_attributes[ "sprint_time_total" ] = [];
- level.cac_attributes[ "sprint_time_cooldown" ] = [];
- level.cac_functions = [];
- level.cac_functions[ "precache" ] = [];
- level.cac_functions[ "set_body_model" ] = [];
- level.cac_functions[ "set_head_model" ] = [];
- level.cac_functions[ "set_hat_model" ] = [];
- level.cac_functions[ "set_specialties" ] = [];
- level.cac_functions[ "get_default_head" ] = [];
- level.cac_assets = [];
- \raw\maps\mp\gametypes\_battlechatter_mp.gsc
- level.isTeamSpeaking["allies"] = false;
- level.isTeamSpeaking["axis"] = false;
- level.speakers["allies"] = [];
- level.speakers["axis"] = [];
- level.bcSounds = [];
- level.bcSounds["reload"] = "inform_reloading";
- level.bcSounds["frag_out"] = "inform_attack_grenade";
- level.bcSounds["smoke_out"] = "inform_attack_smoke";
- level.bcSounds["conc_out"] = "inform_attack_stun";
- level.bcSounds["satchel_plant"] = "inform_attack_throwsatchel";
- level.bcSounds["kill"] = "inform_kill";
- level.bcSounds["casualty"] = "inform_casualty_gen";
- level.bcSounds["flare_out"] = "inform_attack_flare";
- level.bcSounds["gas_out"] = "inform_attack_gas";
- level.bcSounds["betty_plant"] = "inform_plant";
- level.bcSounds["landmark"] = "landmark";
- level.bcSounds["taunt"] = "taunt";
- level.bcSounds["killstreak_enemy"] = "kls_enemy";
- level.bcSounds["killstreak_taunt"] = "taunt_kls";
- level.bcSounds["kill_killstreak"] = "kill_killstreak";
- level.bcSounds["destructible"] = "destructible_near";
- level.bcSounds["teammate"] = "teammate_near";
- level.bcSounds["grenade_incoming"] = "inform_incoming";
- level.bcSounds["gametype"] = "gametype";
- level.bcSounds["squad"] = "squad";
- level.bcSounds["enemy"] = "threat";
- level.bcSounds["sniper"] = "sniper";
- level.bcSounds["gametype"] = "gametype";
- level.bcSounds["perk"] = "perk_equip";
- level.bcSounds["pain"] = "pain";
- level.bcSounds["death"] = "death";
- level.bcSounds["breathing"] = "breathing";
- level.bcSounds["inform_attack"] = "inform_attack";
- level.bcSounds["inform_need"] = "inform_need";
- level.bcSounds["revive"] = "revive";
- level.bcSounds["scream"] = "scream";
- level.bcSounds["fire"] = "fire";
- level.bcWeaponDelay = GetDvarInt( #"bcmp_weapon_delay" );
- level.bcWeaponFireProbability = GetDvarInt( #"bcmp_weapon_fire_probability" );
- level.bcWeaponReloadProbability = GetDvarInt( #"bcmp_weapon_reload_probability" );
- level.bcWeaponFireThreatProbability = GetDvarInt( #"bcmp_weapon_fire_threat_probability" );
- level.bcSniperKillProbability = GetDvarInt( #"bcmp_sniper_kill_probability" );
- level.bcAllyKillProbability = GetDvarInt( #"bcmp_ally_kill_probability" );
- level.bcKillstreakIncomingProbability = GetDvarInt( #"bcmp_killstreak_incoming_probability" );
- level.bcPerkCallProbability = GetDvarInt( #"bcmp_perk_call_probability" );
- level.bcIncomingGrenadeProbability = GetDvarInt( #"bcmp_incoming_grenade_probability" );
- level.bcTossGrenadeProbability = GetDvarInt( #"bcmp_toss_grenade_probability" );
- level.bcKillInformProbability = GetDvarInt( #"bcmp_kill_inform_probability" );
- level.bcPainSmallProbability = GetDvarInt( #"bcmp_pain_small_probability" );
- level.bcPainDelay = GetDvarInt( #"bcmp_pain_delay" );
- level.bcLastStandDelay = GetDvarInt ( #"bcmp_last_stand_delay" );
- level.bcmp_breathing_delay = GetDvarInt ( #"bcmp_breathing_delay" );
- level.bcmp_enemy_contact_delay = GetDvarInt ( #"bcmp_enemy_contact_delay" );
- level.bcmp_enemy_contact_level_delay = GetDvarInt ( #"bcmp_enemy_contact_level_delay" );
- level.bcmp_breathing_probability = GetDvarInt( #"bcmp_breathing_probability" );
- level.bcGlobalProbability = GetDvarInt( #"scr_"+level.gametype+"_globalbattlechatterprobability" );
- level.allowBattleChatter = GetDvarInt( #"scr_allowbattlechatter" );
- level.landmarks = getentarray ("trigger_landmark", "targetname");
- level.enemySpottedDialog = true;
- level.bcWeaponDelay = getdvarint ( "bcmp_weapon_delay" );
- level.bcKillInformProbability = getdvarint ( "bcmp_kill_inform_probability" );
- level.bcWeaponFireProbability = getdvarint ( "bcmp_weapon_fire_probability" );
- level.bcSniperKillProbability = getdvarint ( "bcmp_sniper_kill_probability" );
- level.enemySpottedDialog = false;
- level.enemySpottedDialog = true;
- level.speakers[team][level.speakers[team].size] = player;
- level.speakers[team] = newSpeakers;
- \raw\maps\mp\gametypes\_bot.gsc
- level.bot_offline = false;
- level.bot_weapon_ids = [];
- level.bot_offline = true;
- level.autoassign = ::basic_training_auto_assign;
- level.bot_weapon_ids[ slot ] = [];
- level.bot_weapon_ids[ slot ][ level.bot_weapon_ids[ slot ].size ] = id;
- \raw\maps\mp\gametypes\_callbacksetup.gsc
- level.gametypestarted = true;
- level.iDFLAGS_NO_TEAM_PROTECTION = 16;
- level.callbackStartGameType = maps\mp\gametypes\_globallogic::Callback_StartGameType;
- level.callbackPlayerConnect = maps\mp\gametypes\_globallogic_player::Callback_PlayerConnect;
- level.callbackPlayerDisconnect = maps\mp\gametypes\_globallogic_player::Callback_PlayerDisconnect;
- level.callbackPlayerDamage = maps\mp\gametypes\_globallogic_player::Callback_PlayerDamage;
- level.callbackPlayerKilled = maps\mp\gametypes\_globallogic_player::Callback_PlayerKilled;
- level.callbackPlayerLastStand = maps\mp\gametypes\_globallogic_player::Callback_PlayerLastStand;
- level.callbackActorDamage = maps\mp\gametypes\_globallogic_actor::Callback_ActorDamage;
- level.callbackActorKilled = maps\mp\gametypes\_globallogic_actor::Callback_ActorKilled;
- level.callbackVehicleDamage = maps\mp\gametypes\_globallogic_vehicle::Callback_VehicleDamage;
- level.callbackVehicleRadiusDamage = maps\mp\gametypes\_globallogic_vehicle::Callback_VehicleRadiusDamage;
- level.callbackPlayerMigrated = maps\mp\gametypes\_globallogic_player::Callback_PlayerMigrated;
- level.callbackHostMigration = maps\mp\gametypes\_hostmigration::Callback_HostMigration;
- level.callbackHostMigrationSave = maps\mp\gametypes\_hostmigration::Callback_HostMigrationSave;
- level.callbackStartGameType = ::callbackVoid;
- level.callbackPlayerConnect = ::callbackVoid;
- level.callbackPlayerDisconnect = ::callbackVoid;
- level.callbackPlayerDamage = ::callbackVoid;
- level.callbackPlayerKilled = ::callbackVoid;
- level.callbackPlayerLastStand = ::callbackVoid;
- level.callbackActorDamage = ::callbackVoid;
- level.callbackActorKilled = ::callbackVoid;
- level.callbackVehicleDamage = ::callbackVoid;
- \raw\maps\mp\gametypes\_class.gsc
- level.classMap["smg_mp"] = "CLASS_SMG";
- level.classMap["cqb_mp"] = "CLASS_CQB";
- level.classMap["assault_mp"] = "CLASS_ASSAULT";
- level.classMap["lmg_mp"] = "CLASS_LMG";
- level.classMap["sniper_mp"] = "CLASS_SNIPER";
- level.classMap["offline_class1_mp"] = "OFFLINE_CLASS1";
- level.classMap["offline_class2_mp"] = "OFFLINE_CLASS2";
- level.classMap["offline_class3_mp"] = "OFFLINE_CLASS3";
- level.classMap["offline_class4_mp"] = "OFFLINE_CLASS4";
- level.classMap["offline_class5_mp"] = "OFFLINE_CLASS5";
- level.classMap["offline_class6_mp"] = "OFFLINE_CLASS6";
- level.classMap["offline_class7_mp"] = "OFFLINE_CLASS7";
- level.classMap["offline_class8_mp"] = "OFFLINE_CLASS8";
- level.classMap["offline_class9_mp"] = "OFFLINE_CLASS9";
- level.classMap["offline_class10_mp"] = "OFFLINE_CLASS10";
- level.classMap["custom1"] = "CLASS_CUSTOM1";
- level.classMap["custom2"] = "CLASS_CUSTOM2";
- level.classMap["custom3"] = "CLASS_CUSTOM3";
- level.classMap["custom4"] = "CLASS_CUSTOM4";
- level.classMap["custom5"] = "CLASS_CUSTOM5";
- level.classMap["prestige1"] = "CLASS_CUSTOM6";
- level.classMap["prestige2"] = "CLASS_CUSTOM7";
- level.classMap["prestige3"] = "CLASS_CUSTOM8";
- level.classMap["prestige4"] = "CLASS_CUSTOM9";
- level.classMap["prestige5"] = "CLASS_CUSTOM10";
- level.PrestigeNumber = 5;
- level.defaultClass = "CLASS_ASSAULT";
- level.weapons["frag"] = "frag_grenade_mp";
- level.weapons["frag"] = "";
- level.weapons["smoke"] = "smoke_grenade_mp";
- level.weapons["smoke"] = "";
- level.weapons["flash"] = "flash_grenade_mp";
- level.weapons["flash"] = "";
- level.weapons["concussion"] = "concussion_grenade_mp";
- level.weapons["satchel_charge"] = "satchel_charge_mp";
- level.weapons["satchel_charge"] = "";
- level.weapons["betty"] = "mine_bouncing_betty_mp";
- level.weapons["betty"] = "";
- level.weapons["rpg"] = "rpg_mp";
- level.weapons["rpg"] = "";
- level.primary_weapon_array = [];
- level.side_arm_array = [];
- level.grenade_array = [];
- level.inventory_array = [];
- level.itemExclusions = [];
- level.itemExclusions[ currentDvar ] = GetDvarInt( "item_exclusion_" + currentDvar );
- level.attachmentExclusions = [];
- level.attachmentExclusions[ currentDvar ] = GetDvar( "attachment_exclusion_" + currentDvar );
- level.classWeapons[team][class][0] = getDefaultClassSlotWithExclusions( class, "primary" ) + "_mp";
- level.classSidearm[team][class] = getDefaultClassSlotWithExclusions( class, "secondary" ) + "_mp";
- level.classGrenades[class]["primary"]["type"] = primaryGrenadeRef + "_mp";
- level.classGrenades[class]["primary"]["count"] = get_item_count( primaryGrenadeRef );
- level.classGrenades[class]["secondary"]["type"] = secondaryGrenadeRef + "_mp";
- level.classGrenades[class]["secondary"]["count"] = get_item_count( secondaryGrenadeRef );
- level.default_equipment[ class ][ "type" ] = equipmentRef + "_mp";
- level.default_equipment[ class ][ "count" ] = get_item_count( secondaryGrenadeRef );
- level.default_perk[class] = [];
- level.default_perk[class][currentSpecialty] = "specialty_null";
- level.default_perkIcon[class][ currentSpecialty ] = level.tbl_PerkData[ specialty ][ "reference_full" ];
- level.default_perk[class][0] = "specialty_null";
- level.default_perk[class][1] = "specialty_null";
- level.classGrenades[class]["primary"]["count"] = 1;
- level.classGrenades[class]["secondary"]["count"] = 1;
- level.classItem[team][class]["type"] = "";
- level.classItem[team][class]["count"] = 0;
- level.default_armor[class] = [];
- level.default_armor[class]["body"] = getDefaultClassSlotWithExclusions( class, "body" );
- level.default_armor[class]["head"] = getDefaultClassSlotWithExclusions( class, "head" );
- level.primary_weapon_array[weapon] = 1;
- level.side_arm_array[weapon] = 1;
- level.grenade_array[weapon] = 1;
- level.inventory_array[weapon] = 1;
- level.inventory_array[weapon] = 1;
- level.cac_size = 5;
- level.cac_max_item = 256;
- level.cac_numbering = 0;
- level.cac_cstat = 1;
- level.cac_cgroup = 2;
- level.cac_cname = 3;
- level.cac_creference = 4;
- level.cac_ccount = 5;
- level.cac_cimage = 6;
- level.cac_cdesc = 7;
- level.cac_cstring = 8;
- level.cac_cint = 9;
- level.cac_cunlock = 10;
- level.cac_cint2 = 11;
- level.cac_cost = 12;
- level.cac_slot = 13;
- level.cac_classified = 15;
- level.tbl_WeaponAttachment[i]["reference"] = tableLookup( "mp/attachmentTable.csv", 9, i, 4 );
- level.tbl_weaponIDs = [];
- level.tbl_weaponIDs[i]["reference"] = reference_s;
- level.tbl_weaponIDs[i]["group"] = group_s;
- level.tbl_weaponIDs[i]["count"] = int( tableLookupColumnForRow( "mp/statstable.csv", itemRow, level.cac_ccount ) );
- level.tbl_weaponIDs[i]["attachment"] = tableLookupColumnForRow( "mp/statstable.csv", itemRow, level.cac_cstring );
- level.tbl_weaponIDs[i]["slot"] = tablelookup( "mp/statstable.csv", 0, i, level.cac_slot );
- level.tbl_weaponIDs[i]["cost"] = tablelookup( "mp/statstable.csv", 0, i, level.cac_cost );
- level.tbl_weaponIDs[i]["unlock_level"] = tablelookup( "mp/statstable.csv", 0, i, level.cac_cunlock );
- level.tbl_weaponIDs[i]["classified"] = int( tablelookup( "mp/statstable.csv", 0, i, level.cac_classified ) );
- level.armor_index_start = i;
- level.armor_index_end = i;
- level.armor_index_end = i;
- level.tbl_armor[i] = item;
- level.perkReferenceToIndex = [];
- level.perkNames = [];
- level.perkIcons = [];
- level.PerkData = [];
- level.allowedPerks[0] = [];
- level.allowedPerks[1] = [];
- level.allowedPerks[2] = [];
- level.allowedPerks[3] = [];
- level.tbl_PerkData[i]["reference"] = reference_s;
- level.tbl_PerkData[i]["reference_full"] = tableLookupColumnForRow( "mp/statsTable.csv", itemRow, level.cac_cimage );
- level.tbl_PerkData[i]["count"] = int( tableLookupColumnForRow( "mp/statsTable.csv", itemRow, level.cac_ccount ) );
- level.tbl_PerkData[i]["cost"] = int( tableLookupColumnForRow( "mp/statsTable.csv", itemRow, level.cac_cost ) );
- level.tbl_PerkData[i]["group"] = group_s;
- level.tbl_PerkData[i]["name"] = tableLookupIString( "mp/statsTable.csv", level.cac_numbering, i, level.cac_cname );
- level.tbl_PerkData[i]["slot"] = tablelookup( "mp/statstable.csv", 0, i, level.cac_slot );
- level.perkReferenceToIndex[ level.tbl_PerkData[i]["reference"] ] = i;
- level.allowedPerks[0][ level.allowedPerks[0].size ] = i;
- level.allowedPerks[1][ level.allowedPerks[1].size ] = i;
- level.allowedPerks[2][ level.allowedPerks[2].size ] = i;
- level.allowedPerks[3][ level.allowedPerks[3].size ] = i;
- level.perkNames[level.tbl_PerkData[i]["reference_full"]] = level.tbl_PerkData[i]["name"];
- level.perkIcons[level.tbl_PerkData[i]["reference_full"]] = level.tbl_PerkData[i]["reference_full"];
- level.killStreakNames = [];
- level.killStreakIcons = [];
- level.KillStreakData = [];
- level.killStreakBaseValue = 202;
- level.allowedKillStreak[0] = [];
- level.allowedKillStreak[1] = [];
- level.allowedKillStreak[2] = [];
- level.allowedKillStreak[3] = [];
- level.allowedKillStreak[4] = [];
- level.allowedKillStreak[i][0] = level.killStreakBaseValue;
- level.killStreakBaseValue = undefined;
- level.totalKillStreaks = 0;
- level.killStreakBaseValue = i;
- level.tbl_KillStreakData[i]["reference"] = reference_s;
- level.tbl_KillStreakData[i]["tableNumber"] = i ;
- level.tbl_KillStreakData[i]["icon"] = tableLookupColumnForRow( "mp/statsTable.csv", itemRow, level.cac_cimage );
- level.tbl_KillStreakData[i]["name"] = tableLookupIString( "mp/statsTable.csv", level.cac_numbering, i, level.cac_cname );
- level.tbl_KillStreakData[i]["reference"] ] = i;
- level.allowedKillStreak[0][j] = i;
- level.allowedKillStreak[1][j] = i;
- level.allowedKillStreak[2][j] = i;
- level.killStreakNames[level.tbl_KillStreakData[i]["reference"]] = level.tbl_KillStreakData[i]["name"];
- level.killStreakIcons[level.tbl_KillStreakData[i]["reference"]] = level.tbl_KillStreakData[i]["icon"];
- level.default_perk[className][index] = specialty[i];
- level.default_perk[className][index] = level.tbl_PerkData[specialty[i]]["reference_full"];
- level.specialtyToPerkIndex = [];
- level.specialtyToPerkIndex[ perks[ i ] ] = perkIndex;
- level.cac_armorpiercing_data = cac_get_dvar_int( "perk_armorpiercing", "40" ) / 100;
- level.cac_bulletdamage_data = cac_get_dvar_int( "perk_bulletDamage", "35" );
- level.cac_fireproof_data = cac_get_dvar_int( "perk_fireproof", "95" );
- level.cac_armorvest_data = cac_get_dvar_int( "perk_armorVest", "80" );
- level.cac_explosivedamage_data = cac_get_dvar_int( "perk_explosiveDamage", "25" );
- level.cac_flakjacket_data = cac_get_dvar_int( "perk_flakJacket", "35" );
- level.cac_flakjacket_hardcore_data = cac_get_dvar_int( "perk_flakJacket_hardcore", "9" );
- level.cac_fireproof_data = cac_get_dvar_int( "perk_fireproof", level.cac_fireproof_data );
- level.cac_flakjacket_data = cac_get_dvar_int( "perk_flakJacket", level.cac_flakjacket_data );
- level.cac_flakjacket_data = cac_get_dvar_int( "perk_flakJacket_hardcore", level.cac_flakjacket_hardcore_data );
- \raw\maps\mp\gametypes\_clientids.gsc
- level.clientid = 0;
- \raw\maps\mp\gametypes\_copter.gsc
- level.coptermodel = "vehicle_cobra_helicopter_fly";
- level.copter_maxaccel = 200;
- level.copter_maxvel = 700;
- level.copter_rotspeed = 90;
- level.copter_accellookahead = 2;
- level.copterCenterOffset = (0,0,72);
- level.copterTargetOffset = (0,0,45);
- level.copterexplosion = loadfx("explosions/fx_default_explosion");
- level.copterfinalexplosion = loadfx("explosions/fx_large_vehicle_explosion");
- \raw\maps\mp\gametypes\_friendicons.gsc
- level.drawfriend = GetDvarInt( #"scr_drawfriend");
- level.drawfriend = drawfriend;
- \raw\maps\mp\gametypes\_gameobjects.gsc
- level.numGametypeReservedObjectives = 0;
- level.releasedObjectives = [];
- level.releasedObjectives[ level.releasedObjectives.size - 1 ] = undefined;
- level.releasedObjectives[ level.releasedObjectives.size ] = objID;
- \raw\maps\mp\gametypes\_gametype_variants.gsc
- level.gametypeEvents = [];
- level.gametypeEvents["OnKill"] = [];
- level.gametypeEvents["OnPlayerElimination"] = [];
- level.gametypeEvents["OnTimeReached"] = [];
- level.gametypeEvents["OnRoundBegin"] = [];
- level.gametypeEvents["OnRoundEnd"] = [];
- level.gametypeEvents["OnPlayerSpawn"] = [];
- level.gametypeEvents["OnPlayerTakeDamage"] = [];
- level.gametypeEvents["OnPlayerTeamChange"] = [];
- level.gametypeEvents["OnPlayerClassChange"] = [];
- level.gametypeEvents["OnPlayerKillstreakEarned"] = [];
- level.gametypeEvents["OnPlayerKillstreakActivated"] = [];
- level.gametypeEvents[eventName][level.gametypeEvents[eventName].size] = newRule;
- level.gametypeEvents[rule.eventName] = array_remove( level.gametypeEvents[rule.eventName], rule );
- level.gametypeEvents[ eventName ] = array_exclude( level.gametypeEvents[ eventName ], rulesToRemove );
- \raw\maps\mp\gametypes\_globallogic.gsc
- level.splitscreen = isSplitScreen();
- level.xenon = (GetDvar( #"xenonGame") == "true");
- level.ps3 = (GetDvar( #"ps3Game") == "true");
- level.onlineGame = GetDvarInt( #"onlinegame" );
- level.console = (level.xenon || level.ps3);
- level.rankedMatch = ( level.onlineGame && !GetDvarInt( #"xblive_privatematch" ) && !GetDvarInt( #"xblive_wagermatch" ) && !isPreGame() );
- level.contractsEnabled = !GetDvarInt( #"scr_disable_contracts" );
- level.rankedMatch = false;
- level.contractsEnabled = false;
- level.rankedMatch = true;
- level.contractsEnabled = false;
- level.disable_tacinsert = GetDvarInt( #"scr_disable_tacinsert" );
- level.script = toLower( GetDvar( #"mapname" ) );
- level.gametype = toLower( GetDvar( #"g_gametype" ) );
- level.otherTeam["allies"] = "axis";
- level.otherTeam["axis"] = "allies";
- level.teamBased = false;
- level.overrideTeamScore = false;
- level.overridePlayerScore = false;
- level.displayHalftimeText = false;
- level.displayRoundEndText = true;
- level.endGameOnScoreLimit = true;
- level.endGameOnTimeLimit = true;
- level.scoreRoundBased = false;
- level.resetPlayerScoreEveryRound = false;
- level.halftimeType = "halftime";
- level.halftimeSubCaption = &"MP_SWITCHING_SIDES_CAPS";
- level.lastStatusTime = 0;
- level.wasWinning = "none";
- level.lastSlowProcessFrame = 0;
- level.placement["allies"] = [];
- level.placement["axis"] = [];
- level.placement["all"] = [];
- level.postRoundTime = 7.0;
- level.inOvertime = false;
- level.defaultOffenseRadius = 140;
- level.dropTeam = GetDvarInt( #"sv_maxclients" );
- level.inFinalKillcam = false;
- level.oldschool = ( GetDvarInt( #"scr_oldschool" ) == 1 );
- level.vehicleDamageScalar = GetDvarFloat( #"scr_vehicle_damage_scalar");
- level.fire_audio_repeat_duration = GetDvarInt( #"fire_audio_repeat_duration" );
- level.fire_audio_random_max_duration = GetDvarInt( #"fire_audio_random_max_duration" );
- level.spawnPlayer = maps\mp\gametypes\_globallogic_spawn::spawnPlayer;
- level.spawnClient = maps\mp\gametypes\_globallogic_spawn::spawnClient;
- level.spawnSpectator = maps\mp\gametypes\_globallogic_spawn::spawnSpectator;
- level.spawnIntermission = maps\mp\gametypes\_globallogic_spawn::spawnIntermission;
- level.onPlayerScore = maps\mp\gametypes\_globallogic_score::default_onPlayerScore;
- level.onTeamScore = maps\mp\gametypes\_globallogic_score::default_onTeamScore;
- level.onXPEvent = maps\mp\gametypes\_globallogic_score::onXPEvent;
- level.waveSpawnTimer = ::waveSpawnTimer;
- level.onSpawnPlayer = ::blank;
- level.onSpawnPlayerUnified = ::blank;
- level.onSpawnSpectator = maps\mp\gametypes\_globallogic_defaults::default_onSpawnSpectator;
- level.onSpawnIntermission = maps\mp\gametypes\_globallogic_defaults::default_onSpawnIntermission;
- level.onRespawnDelay = ::blank;
- level.onForfeit = maps\mp\gametypes\_globallogic_defaults::default_onForfeit;
- level.onTimeLimit = maps\mp\gametypes\_globallogic_defaults::default_onTimeLimit;
- level.onScoreLimit = maps\mp\gametypes\_globallogic_defaults::default_onScoreLimit;
- level.onDeadEvent = maps\mp\gametypes\_globallogic_defaults::default_onDeadEvent;
- level.onOneLeftEvent = maps\mp\gametypes\_globallogic_defaults::default_onOneLeftEvent;
- level.giveTeamScore = maps\mp\gametypes\_globallogic_score::giveTeamScore;
- level.givePlayerScore = maps\mp\gametypes\_globallogic_score::givePlayerScore;
- level.getTimeLimitDvarValue = maps\mp\gametypes\_globallogic_defaults::default_getTimeLimitDvarValue;
- level.getTeamKillPenalty = maps\mp\gametypes\_globallogic_defaults::default_getTeamKillPenalty;
- level.getTeamKillScore = maps\mp\gametypes\_globallogic_defaults::default_getTeamKillScore;
- level.isKillBoosting = maps\mp\gametypes\_globallogic_score::default_isKillBoosting;
- level._setTeamScore = maps\mp\gametypes\_globallogic_score::_setTeamScore;
- level._setPlayerScore = maps\mp\gametypes\_globallogic_score::_setPlayerScore;
- level._getTeamScore = maps\mp\gametypes\_globallogic_score::_getTeamScore;
- level._getPlayerScore = maps\mp\gametypes\_globallogic_score::_getPlayerScore;
- level.onPrecacheGametype = ::blank;
- level.onStartGameType = ::blank;
- level.onPlayerConnect = ::blank;
- level.onPlayerDisconnect = ::blank;
- level.onPlayerDamage = ::blank;
- level.onPlayerKilled = ::blank;
- level.onPlayerKilledExtraUnthreadedCBs = [];
- level.onTeamOutcomeNotify = maps\mp\gametypes\_hud_message::teamOutcomeNotify;
- level.onOutcomeNotify = maps\mp\gametypes\_hud_message::outcomeNotify;
- level.onTeamWagerOutcomeNotify = maps\mp\gametypes\_hud_message::teamWagerOutcomeNotify;
- level.onWagerOutcomeNotify = maps\mp\gametypes\_hud_message::wagerOutcomeNotify;
- level.onEndGame = ::blank;
- level.onRoundEndGame = maps\mp\gametypes\_globallogic_defaults::default_onRoundEndGame;
- level.onMedalAwarded = ::blank;
- level.forcedEnd = true;
- level.hostForcedEnd = true;
- level.forcedEnd = true;
- level.hostForcedEnd = true;
- level.killserver = true;
- level.lastWave["allies"] = time;
- level.wavePlayerSpawnIndex["allies"] = 0;
- level.lastWave["axis"] = time;
- level.wavePlayerSpawnIndex["axis"] = 0;
- level.allowBattleChatter = GetDvarInt( #"scr_allowbattlechatter" );
- level.gameEndTime = getTime();
- level.gameEnded = true;
- level.inGracePeriod = false;
- level.allowBattleChatter = false;
- level.intermission = true;
- level.roundlimit = roundlimit;
- level.timeLimit = timeLimit;
- level.scoreLimit = scoreLimit;
- level.placement["all"][i] = level.placement["all"][ i + 1 ];
- level.placement["all"][ numPlayers - 1 ] = undefined;
- level.placement["all"] = [];
- level.placement["all"][level.placement["all"].size] = level.players[index];
- level.placement["all"] = placementAll;
- level.placement["allies"] = placement["allies"];
- level.placement["axis"] = placement["axis"];
- level.playerCount["allies"] = 0;
- level.playerCount["axis"] = 0;
- level.botsCount["allies"] = 0;
- level.botsCount["axis"] = 0;
- level.lastAliveCount["allies"] = level.aliveCount["allies"];
- level.lastAliveCount["axis"] = level.aliveCount["axis"];
- level.aliveCount["allies"] = 0;
- level.aliveCount["axis"] = 0;
- level.playerLives["allies"] = 0;
- level.playerLives["axis"] = 0;
- level.alivePlayers["allies"] = [];
- level.alivePlayers["axis"] = [];
- level.activePlayers = [];
- level.squads["allies"] = [];
- level.squads["axis"] = [];
- level.alivePlayers[team][level.alivePlayers[team].size] = player;
- level.activeplayers[ level.activeplayers.size ] = player;
- level.maxPlayerCount = level.aliveCount["allies"] + level.aliveCount["axis"];
- level.everExisted["allies"] = true;
- level.everExisted["axis"] = true;
- level.timerStopped = false;
- level.inPrematchPeriod = false;
- level.inGracePeriod = false;
- level.prematchPeriod = 0;
- level.intermission = false;
- level.prematchPeriod = maps\mp\gametypes\_tweakables::getTweakableValue( "game", "prematchperiod" );
- level.prematchPeriod = 10;
- level.skipVote = false;
- level.gameEnded = false;
- level.teamSpawnPoints["axis"] = [];
- level.teamSpawnPoints["allies"] = [];
- level.spawn_point_team_class_names["axis"] = [];
- level.spawn_point_team_class_names["allies"] = [];
- level.objIDStart = 0;
- level.forcedEnd = false;
- level.hostForcedEnd = false;
- level.hardcoreMode = GetDvarInt( #"scr_hardcore" );
- level.friendlyFireDelayTime = 0;
- level.rankCap = GetDvarInt( #"scr_max_rank" );
- level.minPrestige = GetDvarInt( #"scr_min_prestige" );
- level.useStartSpawns = true;
- level.minimumAllowedTeamKills = GetDvarInt( #"scr_teamKillPunishCount" ) - 1;
- level.maxPlayerCount = 0;
- level.playerCount["allies"] = 0;
- level.playerCount["axis"] = 0;
- level.aliveCount["allies"] = 0;
- level.aliveCount["axis"] = 0;
- level.playerLives["allies"] = 0;
- level.playerLives["axis"] = 0;
- level.lastAliveCount["allies"] = 0;
- level.lastAliveCount["axis"] = 0;
- level.everExisted["allies"] = false;
- level.everExisted["axis"] = false;
- level.waveDelay["allies"] = 0;
- level.waveDelay["axis"] = 0;
- level.lastWave["allies"] = 0;
- level.lastWave["axis"] = 0;
- level.wavePlayerSpawnIndex["allies"] = 0;
- level.wavePlayerSpawnIndex["axis"] = 0;
- level.alivePlayers["allies"] = [];
- level.alivePlayers["axis"] = [];
- level.activePlayers = [];
- level.squads["allies"] = [];
- level.squads["axis"] = [];
- level.allowAnnouncer = GetDvarInt( #"scr_allowannouncer" );
- level.waveDelay["allies"] = waveDelay;
- level.waveDelay["axis"] = waveDelay;
- level.lastWave["allies"] = 0;
- level.lastWave["axis"] = 0;
- level.inPrematchPeriod = true;
- level.prematchPeriod = level.prematchPeriod + (randomFloat( 4 ) - 2);
- level.gracePeriod = 15;
- level.gracePeriod = 5;
- level.inGracePeriod = true;
- level.roundEndDelay = 5;
- level.halftimeRoundEndDelay = 3;
- level.killstreaksenabled = GetDvarInt( #"scr_game_killstreaks" );
- level.hardpointsenabled = GetDvarInt( #"scr_game_hardpoints" );
- level.rankEnabled = GetDvarInt( #"scr_game_rankenabled" );
- level.medalsEnabled = GetDvarInt( #"scr_game_medalsenabled" );
- level.friendlyFireDelay = GetDvarInt( #"scr_game_friendlyFireDelay" );
- level.killstreaksenabled = 0;
- level.hardpointsenabled = 0;
- level.skipGameEnd = true;
- level.roundLimit = 1;
- level.friendlyFireDelayTime = getDvarInt( dvarString );
- level.skipVote = true;
- level.hostForcedEnd = true;
- level.teamchange_graceperiod = 0;
- level.teamchange_graceperiod = 0;
- \raw\maps\mp\gametypes\_globallogic_audio.gsc
- level.playingActionMusic = true;
- level.playingActionMusic = false;
- \raw\maps\mp\gametypes\_globallogic_defaults.gsc
- level.forcedEnd = true;
- \raw\maps\mp\gametypes\_globallogic_player.gsc
- level.players[level.players.size] = self;
- level.players[entry] = level.players[entry+1];
- level.players[entry] = undefined;
- level.players[entry].pers["killed_players"][self.name] = undefined;
- level.players[entry].killedPlayersCurrent[self.name] = undefined;
- level.players[entry].pers["killed_by"][self.name] = undefined;
- level.players[entry].pers["nemesis_tracking"][self.name] = undefined;
- level.players[entry] = level.players[entry+1];
- level.players[entry] = undefined;
- level.lastLegitimateAttacker = eAttacker;
- level.useStartSpawns = false;
- \raw\maps\mp\gametypes\_globallogic_score.gsc
- level.wasWinning = team;
- level.wasWinning = otherTeam;
- level.lastStatusTime = getTime();
- level.wasWinning = isWinning;
- \raw\maps\mp\gametypes\_globallogic_spawn.gsc
- level.playedStartingMusic = true;
- level.playedStartingMusic = true;
- \raw\maps\mp\gametypes\_globallogic_ui.gsc
- level.autoassign = ::menuAutoAssign;
- level.spectator = ::menuSpectator;
- level.class = ::menuClass;
- level.allies = ::menuAllies;
- level.axis = ::menuAxis;
- \raw\maps\mp\gametypes\_globallogic_utils.gsc
- level.lastSlowProcessFrame = gettime();
- level.roundswitchDvar = dvarString;
- level.roundswitchMin = minValue;
- level.roundswitchMax = maxValue;
- level.roundswitch = getDvarInt( level.roundswitchDvar );
- level.roundLimitDvar = dvarString;
- level.roundLimitMin = minValue;
- level.roundLimitMax = maxValue;
- level.roundLimit = getDvarInt( level.roundLimitDvar );
- level.roundWinLimitDvar = dvarString;
- level.roundWinLimitMin = minValue;
- level.roundWinLimitMax = maxValue;
- level.roundWinLimit = getDvarInt( level.roundWinLimitDvar );
- level.scoreLimitDvar = dvarString;
- level.scorelimitMin = minValue;
- level.scorelimitMax = maxValue;
- level.scoreLimit = getDvarInt( level.scoreLimitDvar );
- level.timeLimitDvar = dvarString;
- level.timelimitMin = minValue;
- level.timelimitMax = maxValue;
- level.timelimit = getDvarFloat( level.timeLimitDvar );
- level.numLivesDvar = dvarString;
- level.numLivesMin = minValue;
- level.numLivesMax = maxValue;
- level.numLives = getDvarInt( level.numLivesDvar );
- level.postRoundEvents = [];
- level.postRoundEvents[level.postRoundEvents.size] = eventFunc;
- level.startTime = getTime();
- level.discardTime = 0;
- level.timerStopped = true;
- level.timerPauseTime = gettime();
- level.timerStopped = false;
- \raw\maps\mp\gametypes\_gv_actions.gsc
- level.gametypeActions = [];
- level.gametypeActions[ "SideBets" ] = ::DoSideBets;
- level.gametypeActions[ "GiveAmmo" ] = ::DoGiveAmmo;
- level.gametypeActions[ "RemoveAmmo" ] = ::DoRemoveAmmo;
- level.gametypeActions[ "PlaySound" ] = ::DoPlaySound;
- level.gametypeActions[ "EnableUAV" ] = ::DoEnableUAV;
- level.gametypeActions[ "GiveScore" ] = ::DoGiveScore;
- level.gametypeActions[ "RemoveScore" ] = ::DoRemoveScore;
- level.gametypeActions[ "SetHeader" ] = ::DoSetHeader;
- level.gametypeActions[ "SetSubHeader" ] = ::DoSetSubHeader;
- level.gametypeActions[ "DisplayMessage" ] = ::DoDisplayMessage;
- level.gametypeActions[ "GiveHealth" ] = ::DoGiveHealth;
- level.gametypeActions[ "RemoveHealth" ] = ::DoRemoveHealth;
- level.gametypeActions[ "SetHealthRegen" ] = ::DoSetHealthRegen;
- level.gametypeActions[ "ChangeClass" ] = ::DoChangeClass;
- level.gametypeActions[ "ChangeTeam" ] = ::DoChangeTeam;
- level.gametypeActions[ "GivePerk" ] = ::DoGivePerk;
- level.gametypeActions[ "RemovePerk" ] = ::DoRemovePerk;
- level.gametypeActions[ "GiveInvuln" ] = ::DoGiveInvuln;
- level.gametypeActions[ "RemoveInvuln" ] = ::DoRemoveInvuln;
- level.gametypeActions[ "SetDamageModifier" ] = ::DoSetDamageModifier;
- level.gametypeActions[ "GiveKillstreak" ] = ::DoGiveKillstreak;
- level.gametypeActions[ "RemoveKillstreak" ] = ::DoRemoveKillstreak;
- level.gametypeActions[ "GiveLives" ] = ::DoGiveLives;
- level.gametypeActions[ "RemoveLives" ] = ::DoRemoveLives;
- level.gametypeActions[ "ScaleMoveSpeed" ] = ::DoScaleMoveSpeed;
- level.gametypeActions[ "ShowOnRadar" ] = ::DoShowOnRadar;
- level.gametypeActions[ "ScaleReloadSpeed" ] = ::DoScaleReloadSpeed;
- level.conditionals = [];
- level.conditionals[ "Equals" ] = ::Equals;
- level.conditionals[ "==" ] = ::Equals;
- level.conditionals[ "!=" ] = ::NotEquals;
- level.conditionals[ "<" ] = ::LessThan;
- level.conditionals[ "<=" ] = ::LessThanEquals;
- level.conditionals[ ">" ] = ::GreaterThan;
- level.conditionals[ ">=" ] = ::GreaterThanEquals;
- level.conditionals[ "InPlace" ] = ::InPlace;
- level.conditionalLeftHandSide = [];
- level.conditionalLeftHandSide[ "PlayersLeft" ] = ::PlayersLeft;
- level.conditionalLeftHandSide[ "RoundsPlayed" ] = ::RoundsPlayed;
- level.conditionalLeftHandSide[ "HitBy" ] = ::HitBy;
- level.conditionalLeftHandSide[ "PlayersClass" ] = ::PlayersClass;
- level.conditionalLeftHandSide[ "VictimsClass" ] = ::PlayersClass;
- level.conditionalLeftHandSide[ "AttackersClass" ] = ::AttackersClass;
- level.conditionalLeftHandSide[ "PlayersPlace" ] = ::PlayersPlace;
- level.conditionalLeftHandSide[ "VictimsPlace" ] = ::PlayersPlace;
- level.conditionalLeftHandSide[ "AttackersPlace" ] = ::AttackersPlace;
- level.targets = [];
- level.targets[ "Everyone" ] = ::GetTargetEveryone;
- level.targets[ "PlayersLeft" ] = ::GetTargetPlayersLeft;
- level.targets[ "PlayersEliminated" ] = ::GetTargetPlayersEliminated;
- level.targets[ "PlayersTeam" ] = ::GetTargetPlayersTeam;
- level.targets[ "VictimsTeam" ] = ::GetTargetPlayersTeam;
- level.targets[ "OtherTeam" ] = ::GetTargetOtherTeam;
- level.targets[ "AttackersTeam" ] = ::GetTargetOtherTeam;
- level.targets[ "PlayersLeftOnPlayersTeam" ] = ::GetTargetPlayersLeftOnPlayersTeam;
- level.targets[ "PlayersLeftOnOtherTeam" ] = ::GetTargetPlayersLeftOnOtherTeam;
- level.targets[ "PlayersLeftOnVictimsTeam" ] = ::GetTargetPlayersLeftOnPlayersTeam;
- level.targets[ "PlayersLeftOnAttackersTeam" ] = ::GetTargetPlayersLeftOnOtherTeam;
- level.targets[ "PlayersEliminatedOnPlayersTeam" ] = ::GetTargetPlayersEliminatedOnPlayersTeam;
- level.targets[ "PlayersEliminatedOnOtherTeam" ] = ::GetTargetPlayersEliminatedOnOtherTeam;
- level.targets[ "PlayersEliminatedOnVictimsTeam" ] = ::GetTargetPlayersEliminatedOnPlayersTeam;
- level.targets[ "PlayersEliminatedOnAttackersTeam" ] = ::GetTargetPlayersEliminatedOnOtherTeam;
- level.targets[ "AssistingPlayers" ] = ::GetAssistingPlayers;
- level.halftimeType = "halftime";
- level.sidebet = true;
- level.sideBetPlayers = [];
- level.sideBetPlayers[level.sideBetPlayers.size] = players[playerIndex];
- level.sideBetPlayers = SortPlayersByLivesDescending( level.sideBetPlayers );
- level.sideBetPlayers[playerIndex].sideBetNumber = playerIndex + 1;
- level.sideBetPlayers[playerIndex] = spawnstruct();
- level.sideBetPlayers[playerIndex].name = "@MPUI_NONE";
- level.sideBetPlayers[playerIndex].pers = [];
- level.sideBetPlayers[playerIndex].pers["lives"] = 0;
- level.sideBetEndTime = GetTime() + GetDvarInt( #"scr_sideBetTimer" ) * 1000;
- level.sidebet = false;
- \raw\maps\mp\gametypes\_hardpoints.gsc
- level.killstreaks = [];
- level.killstreakWeapons = [];
- level.menuReferenceForKillStreak = [];
- level.numKillstreakReservedObjectives = 0;
- level.killstreakCounter = 0;
- level.killstreakRoundDelay = 0;
- level.killstreaks[killstreakType] = SpawnStruct();
- level.killstreaks[killstreakType].killstreakLevel = int( tablelookup( "mp/statstable.csv", level.cac_creference, killstreakMenuName, level.cac_ccount ) );
- level.killstreaks[killstreakType].usageKey = killstreakUsageKey;
- level.killstreaks[killstreakType].useFunction = killstreakUseFunction;
- level.killstreaks[killstreakType].menuName = killstreakMenuName;
- level.killstreaks[killstreakType].delayStreak = killstreakDelayStreak;
- level.killstreaks[killstreakType].allowAssists = false;
- level.killstreaks[killstreakType].weapon = killstreakWeapon;
- level.killstreakWeapons[killstreakWeapon] = killstreakType;
- level.killstreaks[killstreakType].killstreakStatsName = killstreakStatsName;
- level.killstreaks[killstreakType].weaponHoldAllowed = weaponHoldAllowed;
- level.menuReferenceForKillStreak[killstreakMenuName] = killstreakType;
- level.killstreaks[killstreakType].receivedText = receivedText;
- level.killstreaks[killstreakType].notAvailableText = notUsableText;
- level.killstreaks[killstreakType].inboundText = inboundText;
- level.killstreaks[killstreakType].inboundNearPlayerText = inboundNearPlayerText;
- level.killstreaks[killstreakType].informDialog = receivedDialog;
- level.killstreaks[killstreakType].altWeapons = [];
- level.killstreakWeapons[weapon] = killstreakType;
- level.killstreaks[killstreakType].altWeapons[level.killstreaks[killstreakType].altWeapons.size] = weapon;
- level.killstreaks[killstreakType].devDvar = dvar;
- level.killstreaks[killstreakType].allowAssists = allow;
- level.killstreaks[killstreakType].usageKey] = 0;
- level.radarTimers[team] = getTime();
- \raw\maps\mp\gametypes\_healthoverlay.gsc
- level.healthOverlayCutoff = 0.55;
- level.playerHealth_RegularRegenDelay = regenTime * 1000;
- level.healthRegenDisabled = (level.playerHealth_RegularRegenDelay <= 0);
- \raw\maps\mp\gametypes\_hostmigration.gsc
- level.timerStopped = true;
- level.timerPauseTime = gettime();
- level.timerStopped = false;
- level.migrationTimerPauseTime = gettime();
- level.hostMigrationReturnedPlayerCount = 0;
- level.hostMigrationTimer = true;
- level.hostMigrationTimer = undefined;
- \raw\maps\mp\gametypes\_hud.gsc
- level.uiParent = spawnstruct();
- level.uiParent.horzAlign = "left";
- level.uiParent.vertAlign = "top";
- level.uiParent.alignX = "left";
- level.uiParent.alignY = "top";
- level.uiParent.x = 0;
- level.uiParent.y = 0;
- level.uiParent.width = 0;
- level.uiParent.height = 0;
- level.uiParent.children = [];
- level.fontHeight = 12;
- level.hud["allies"] = spawnstruct();
- level.hud["axis"] = spawnstruct();
- level.primaryProgressBarY = -61;
- level.primaryProgressBarX = 0;
- level.primaryProgressBarHeight = 9;
- level.primaryProgressBarWidth = 120;
- level.primaryProgressBarTextY = -75;
- level.primaryProgressBarTextX = 0;
- level.primaryProgressBarFontSize = 1.4;
- level.primaryProgressBarX = 20;
- level.primaryProgressBarTextX = 20;
- level.primaryProgressBarY = 15;
- level.primaryProgressBarTextY = 0;
- level.primaryProgressBarHeight = 2;
- level.secondaryProgressBarY = -85;
- level.secondaryProgressBarX = 0;
- level.secondaryProgressBarHeight = 9;
- level.secondaryProgressBarWidth = 120;
- level.secondaryProgressBarTextY = -100;
- level.secondaryProgressBarTextX = 0;
- level.secondaryProgressBarFontSize = 1.4;
- level.secondaryProgressBarX = 20;
- level.secondaryProgressBarTextX = 20;
- level.secondaryProgressBarY = 15;
- level.secondaryProgressBarTextY = 0;
- level.secondaryProgressBarHeight = 2;
- level.teamProgressBarY = 32;
- level.teamProgressBarHeight = 14;
- level.teamProgressBarWidth = 192;
- level.teamProgressBarTextY = 8;
- level.teamProgressBarFontSize = 1.65;
- level.lowerTextYAlign = "BOTTOM";
- level.lowerTextY = -42;
- level.lowerTextFontSize = 1.4;
- level.lowerTextYAlign = "CENTER";
- level.lowerTextY = 70;
- level.lowerTextFontSize = 2;
- \raw\maps\mp\gametypes\_killcam.gsc
- level.killcam = maps\mp\gametypes\_tweakables::getTweakableValue( "game", "allowkillcam" );
- level.finalkillcam = maps\mp\gametypes\_tweakables::getTweakableValue( "game", "allowfinalkillcam" );
- level.inFinalKillcam = true;
- level.inFinalKillcam = false;
- level.lastKillCam = SpawnStruct();
- level.lastKillCam.spectatorclient = spectatorclient;
- level.lastKillCam.weapon = sWeapon;
- level.lastKillCam.deathTime = deathTime;
- level.lastKillCam.deathTimeOffset = deathTimeOffset;
- level.lastKillCam.offsettime = offsettime;
- level.lastKillCam.entityindex = entityindex;
- level.lastKillCam.targetentityindex = targetentityindex;
- level.lastKillCam.entitystarttime = entitystarttime;
- level.lastKillCam.perks = perks;
- level.lastKillCam.killstreaks = killstreaks;
- level.lastKillCam.attacker = attacker;
- \raw\maps\mp\gametypes\_killstreak_weapons.gsc
- level.killStreakIcons["killstreak_minigun"] = "hud_ks_minigun";
- level.killStreakIcons["killstreak_m202_flash_mp"] = "hud_ks_m202";
- level.killStreakIcons["killstreak_m220_tow_drop_mp"] = "hud_ks_tv_guided_marker";
- level.killStreakIcons["killstreak_m220_tow_mp"] = "hud_ks_tv_guided_missile";
- \raw\maps\mp\gametypes\_menus.gsc
- level.skipVote = true;
- \raw\maps\mp\gametypes\_missions.gsc
- level.missionCallbacks = [];
- level.missionCallbacks[callback] = [];
- level.missionCallbacks[callback][level.missionCallbacks[callback].size] = func;
- \raw\maps\mp\gametypes\_objpoints.gsc
- level.objPointNames = [];
- level.objPoints = [];
- level.objPointSize = 15;
- level.objPointSize = 8;
- level.objpoint_alpha_default = .5;
- level.objPointScale = 1.0;
- level.objPoints[name] = objPoint;
- level.objPointNames[level.objPointNames.size] = name;
- level.objPoints[name] = objPoint;
- level.objPointNames[level.objPointNames.size] = name;
- level.objPoints = [];
- level.objPointNames = [];
- level.objPointNames[newIndex] = objPoint.name;
- level.objPointNames[oldIndex] = undefined;
- level.objPoints[oldObjPoint.name] = undefined;
- \raw\maps\mp\gametypes\_oldschool.gsc
- level.pickupWeaponRespawnTime = GetDvarFloat( #"scr_os_pickupweaponrespawntime" );
- level.pickupPerkRespawnTime = GetDvarFloat( #"scr_os_pickupperkrespawntime" );
- level.oldschoolLoadout = oldschoolLoadout;
- level.oldschoolPickupSound = "oldschool_pickup";
- level.oldschoolRespawnSound = "oldschool_return";
- level.validPerks = [];
- level.validPerks[ level.validPerks.size ] = perk;
- level.perkPickupHints = [];
- level.perkPickupHints[ "specialty_bulletdamage" ] = &"PLATFORM_PICK_UP_STOPPING_POWER";
- level.perkPickupHints[ "specialty_armorvest" ] = &"PLATFORM_PICK_UP_JUGGERNAUT";
- level.perkPickupHints[ "specialty_rof" ] = &"PLATFORM_PICK_UP_DOUBLE_TAP";
- level.perkPickupHints[ "specialty_pistoldeath" ] = &"PLATFORM_PICK_UP_LAST_STAND";
- level.perkPickupHints[ "specialty_grenadepulldeath" ] = &"PLATFORM_PICK_UP_MARTYRDOM";
- level.perkPickupHints[ "specialty_fastreload" ] = &"PLATFORM_PICK_UP_SLEIGHT_OF_HAND";
- level.pickupAvailableEffect = loadfx( "misc/ui_pickup_available" );
- level.pickupUnavailableEffect = loadfx( "misc/ui_pickup_unavailable" );
- \raw\maps\mp\gametypes\_perplayer.gsc
- level.handlerGlobalFlagVal = 0;
- \raw\maps\mp\gametypes\_persistence.gsc
- level.persistentDataInfo = [];
- level.maxRecentStats = 10;
- level.maxHitLocations = 19;
- level.globalExecutions = 0;
- level.globalChallenges = 0;
- level.globalSharePackages = 0;
- level.globalContractsFailed = 0;
- level.globalContractsPassed = 0;
- level.globalContractsCPPaid = 0;
- level.globalKillstreaksCalled = 0;
- level.globalKillstreaksDestroyed = 0;
- level.globalKillstreaksDeathsFrom = 0;
- level.globalLarrysKilled = 0;
- level.globalBuzzKills = 0;
- level.globalRevives = 0;
- level.globalAfterlifes = 0;
- level.globalComebacks = 0;
- level.globalPaybacks = 0;
- level.globalBackstabs = 0;
- level.globalBankshots = 0;
- level.globalSkewered = 0;
- level.globalTeamMedals = 0;
- level.globalFeetFallen = 0;
- level.globalDistanceSprinted = 0;
- level.globalDemBombsProtected = 0;
- level.globalDemBombsDestroyed = 0;
- level.globalBombsDestroyed = 0;
- level.globalBombsDestroyedByOps = 0;
- level.globalBombsDestroyedByCommunists = 0;
- level.globalFragGrenadesFired = 0;
- level.globalSatchelChargeFired = 0;
- level.globalShotsFired = 0;
- level.globalCrossbowFired = 0;
- level.globalCarsDestroyed = 0;
- level.globalBarrelsDestroyed = 0;
- level.fullGameTypeName = toLower( prefix + level.gametype );
- \raw\maps\mp\gametypes\_pregame.gsc
- level.pregame = true;
- level.onStartGameType = ::onStartGameType;
- level.onSpawnPlayer = ::onSpawnPlayer;
- level.onSpawnPlayerUnified = ::onSpawnPlayerUnified;
- level.onEndGame = ::onEndGame;
- level.onTimeLimit = ::onTimeLimit;
- level.teamBased = false;
- level.onOutcomeNotify = ::PregameoutcomeNotify;
- level.pregame_minplayers = GetDvarInt( "party_minplayers" );
- level.spawnMins = ( 0, 0, 0 );
- level.spawnMaxs = ( 0, 0, 0 );
- level.mapCenter = maps\mp\gametypes\_spawnlogic::findBoxCenter( level.spawnMins, level.spawnMaxs );
- level.useStartSpawns = false;
- level.overrideTeamScore = true;
- level.rankEnabled = false;
- level.medalsEnabled = false;
- level.killcam = false;
- level.finalkillcam = false;
- level.killstreaksenabled = 0;
- level.hardpointsenabled = 0;
- level.pregameTitle = createServerFontString( font, titleSize );
- level.pregameTitle.glowAlpha = 1;
- level.pregameTitle.foreground = true;
- level.pregameTitle.hideWhenInMenu = true;
- level.pregameTitle.archived = false;
- level.pregameTitle.color = red;
- level.pregameSubTitle = createServerFontString( font, 2.0 );
- level.pregameSubTitle.glowAlpha = 1;
- level.pregameSubTitle.foreground = false;
- level.pregameSubTitle.hideWhenInMenu = true;
- level.pregameSubTitle.archived = true;
- level.pregameSubTitle.color = red;
- level.pregamePlayerCount = createServerFontString( font, 2.2 );
- level.pregameSubTitle.glowAlpha = 1;
- level.pregamePlayerCount.sort = 1001;
- level.pregamePlayerCount.foreground = false;
- level.pregamePlayerCount.hidewheninmenu = true;
- level.pregamePlayerCount.archived = true;
- level.pregamePlayerCount.color = yellow;
- \raw\maps\mp\gametypes\_rank.gsc
- level.scoreInfo = [];
- level.xpScale = GetDvarInt( #"scr_xpscale" );
- level.codPointsXpScale = GetDvarFloat( #"scr_codpointsxpscale" );
- level.codPointsMatchScale = GetDvarFloat( #"scr_codpointsmatchscale" );
- level.codPointsChallengeScale = GetDvarFloat( #"scr_codpointsperchallenge" );
- level.rankXpCap = GetDvarInt( #"scr_rankXpCap" );
- level.codPointsCap = GetDvarInt( #"scr_codPointsCap" );
- level.rankTable = [];
- level.maxRank = int(tableLookup( "mp/rankTable.csv", 0, "maxrank", 1 ));
- level.maxPrestige = int(tableLookup( "mp/rankIconTable.csv", 0, "maxprestige", 1 ));
- level.rankTable[rankId][1] = tableLookup( "mp/ranktable.csv", 0, rankId, 1 );
- level.rankTable[rankId][2] = tableLookup( "mp/ranktable.csv", 0, rankId, 2 );
- level.rankTable[rankId][3] = tableLookup( "mp/ranktable.csv", 0, rankId, 3 );
- level.rankTable[rankId][7] = tableLookup( "mp/ranktable.csv", 0, rankId, 7 );
- level.rankTable[rankId][14] = tableLookup( "mp/ranktable.csv", 0, rankId, 14 );
- level.numStatsMilestoneTiers = 4;
- level.maxStatChallenges = 1024;
- level.scoreInfo[type]["value"] = value;
- level.statsMilestoneInfo = [];
- level.statsMilestoneInfo[statType] = [];
- level.statsMilestoneInfo[statType][statName] = [];
- level.statsMilestoneInfo[statType][statName][currentLevel] = [];
- level.statsMilestoneInfo[statType][statName][currentLevel]["index"] = idx;
- level.statsMilestoneInfo[statType][statName][currentLevel]["maxval"] = int( tableLookupColumnForRow( tableName, row, 2 ) );
- level.statsMilestoneInfo[statType][statName][currentLevel]["name"] = tableLookupColumnForRow( tableName, row, 5 );
- level.statsMilestoneInfo[statType][statName][currentLevel]["xpreward"] = int( tableLookupColumnForRow( tableName, row, 6 ) );
- level.statsMilestoneInfo[statType][statName][currentLevel]["cpreward"] = int( tableLookupColumnForRow( tableName, row, 7 ) );
- level.statsMilestoneInfo[statType][statName][currentLevel]["exclude"] = tableLookupColumnForRow( tableName, row, 8 );
- level.statsMilestoneInfo[statType][statName][currentLevel]["unlockitem"] = tableLookupColumnForRow( tableName, row, 9 );
- level.statsMilestoneInfo[statType][statName][currentLevel]["unlocklvl"] = int( tableLookupColumnForRow( tableName, row, 11 ) );
- \raw\maps\mp\gametypes\_serversettings.gsc
- level.hostname = GetDvar( #"sv_hostname");
- level.hostname = "BlackOpsPrivate";
- level.motd = GetDvar( #"scr_motd");
- level.motd = "";
- level.allowvote = GetDvar( #"g_allowvote");
- level.allowvote = "1";
- level.allow_teamchange = GetDvar( #"g_allow_teamchange");
- level.allow_teamchange = "1";
- level.allow_teamchange = "0";
- level.allow_teamchange = "0";
- level.allow_teamchange = "1";
- level.teamchange_graceperiod = GetDvarInt( #"g_teamchange_graceperiod" );
- level.teamchange_keepbalanced = GetDvarInt( #"g_teamchange_keepbalanced" );
- level.teamchange_rememberChoice = GetDvarInt( #"g_teamchange_rememberChoice" );
- level.teamchange_graceperiod = 0;
- level.teamchange_keepbalanced = false;
- level.teamchange_rememberChoice = false;
- level.allow_spectator = GetDvarInt( #"g_allow_spectator" );
- level.friendlyfire = maps\mp\gametypes\_tweakables::getTweakableValue( "team", "fftype" );
- level.mapsize = GetDvarFloat( #"scr_mapsize");
- level.hostname = sv_hostname;
- level.motd = scr_motd;
- level.allowvote = g_allowvote;
- level.allow_teamchange = g_allow_teamchange;
- level.friendlyfire = scr_friendlyfire;
- \raw\maps\mp\gametypes\_spawning.gsc
- level.gamemodeSpawnDvars = ::default_gamemodeSpawnDvars;
- level.spawn_visibility_check_max = 20;
- level.spawn_visibility_check_max = GetDvarInt( #"scr_spawn_visibility_check_max");
- level.spawnProtectionTime = GetDvarFloat( #"scr_spawn_protection_time" );
- level.spawnsystem = spawnstruct();
- level.unified_spawn_points = [];
- level.unified_spawn_points = undefined;
- \raw\maps\mp\gametypes\_spawnlogic.gsc
- level.teamSpawnPoints[team] = getSpawnpointArray( spawnPointName );
- level.spawnpoints = [];
- level.spawnpoints[ level.spawnpoints.size ] = spawnpoint;
- level.spawnMins = expandMins( level.spawnMins, origin );
- level.spawnMaxs = expandMaxs( level.spawnMaxs, origin );
- level.teamSpawnPoints[team][ level.teamSpawnPoints[team].size ] = oldSpawnPoints[index];
- level.teamSpawnPoints["allies"] = [];
- level.teamSpawnPoints["axis"] = [];
- level.spawnpoints = [];
- level.unified_spawn_points = undefined;
- level.teamSpawnPoints[team] = [];
- level.spawn_point_class_names = [];
- level.spawn_point_class_names[ level.spawn_point_class_names.size ] = spawnPointClassName;
- level.spawn_point_team_class_names[team][ level.spawn_point_team_class_names[team].size ] = spawnPointClassName;
- level.spawnMins = origin;
- level.spawnMaxs = origin;
- level.spawnMinsMaxsPrimed = true;
- level.spawnMins = expandMins( level.spawnMins, origin );
- level.spawnMaxs = expandMaxs( level.spawnMaxs, origin );
- level.spawnlogic_deaths = [];
- level.spawnlogic_spawnkills = [];
- level.players = [];
- level.grenades = [];
- level.pipebombs = [];
- level.spawnMins = (0,0,0);
- level.spawnMaxs = (0,0,0);
- level.spawnMinsMaxsPrimed = false;
- level.spawnlogic_spawnkills = [];
- level.spawnlogic_spawnkills[level.spawnlogic_spawnkills.size] = oldspawnkills[i];
- level.spawnpoints[i].weight = randomint(10000);
- level.spawnlogic_deaths[i].remove = true;
- level.spawnlogic_deaths[i].remove = true;
- level.spawnlogic_deaths = [];
- level.spawnlogic_deaths[level.spawnlogic_deaths.size] = oldarray[i];
- level.grenades = getentarray("grenade", "classname");
- \raw\maps\mp\gametypes\_spectating.gsc
- level.spectateOverride["allies"] = spawnstruct();
- level.spectateOverride["axis"] = spawnstruct();
- \raw\maps\mp\gametypes\_supplydrop.gsc
- level.crateModelFriendly = "mp_supplydrop_ally";
- level.crateModelEnemy = "mp_supplydrop_axis";
- level.crateModelBoobyTrapped = "mp_supplydrop_boobytrapped";
- level.supplyDropHelicopterFriendly = "vehicle_ch46e_mp_light";
- level.supplyDropHelicopterEnemy = "vehicle_ch46e_mp_dark";
- level.suppyDropHelicopterVehicleInfo = "heli_supplydrop_mp";
- level.crateOwnerUseTime = 500;
- level.crateNonOwnerUseTime = 3000;
- level.crate_headicon_offset = (0, 0, 15);
- level._supply_drop_smoke_fx = LoadFX( "env/smoke/fx_smoke_supply_drop_blue_mp" );
- level._supply_drop_explosion_fx = LoadFX( "explosions/fx_grenadeexp_default" );
- level.crateTypes = [];
- level.crateCategoryWeights = [];
- level.crateCategoryWeights[categoryKey] = 0;
- level.crateTypes[categoryKey][typeKey].weight = level.crateCategoryWeights[categoryKey];
- level.crateTypes[category] = [];
- level.crateTypes[category][name] = crateType;
- \raw\maps\mp\gametypes\_teams.gsc
- level.teambalance = GetDvarInt( #"scr_teambalance");
- level.teamBalanceEndOfRound = getdvarInt("scr_" + level.gameType + "_teamBalanceEndOfRound");
- level.teambalancetimer = 0;
- level.timeplayedcap = int(GetDvarInt( #"scr_timeplayedcap"));
- level.maxClients = getDvarInt( "sv_maxclients" );
- level.freeplayers = [];
- level.alliesplayers = [];
- level.axisplayers = [];
- level.timeplayedcap = int(GetDvarInt( #"scr_timeplayedcap"));
- level.teambalance = teambalance;
- level.teamLimit = level.maxclients / 2;
- level.team["allies"] = 0;
- level.team["axis"] = 0;
- \raw\maps\mp\gametypes\_teamset_cubans.gsc
- level.teamPrefix["allies"] = "vox_ops";
- level.teamPostfix["allies"] = "us";
- level.teamPrefix["axis"] = "vox_cub";
- level.teamPostfix["axis"] = "ja";
- level.heli_vo["allies"]["approach"] = "vox_ops_2_kls_attackheli_approach";
- level.heli_vo["allies"]["door"] = "vox_ops_2_kls_attackheli_door";
- level.heli_vo["allies"]["down"] = "vox_ops_2_kls_attackheli_down";
- level.heli_vo["allies"]["hit"] = "vox_ops_2_kls_attackheli_hit";
- level.heli_vo["allies"]["kill"] = "vox_ops_2_kls_attackheli_kill";
- level.heli_vo["allies"]["ready"] = "vox_ops_2_kls_attackheli_ready";
- level.heli_vo["allies"]["shoot"] = "vox_ops_2_kls_attackheli_shoot";
- level.heli_vo["axis"]["approach"] = "vox_cub_0_kls_attackheli_approach";
- level.heli_vo["axis"]["door"] = "vox_cub_0_kls_attackheli_door";
- level.heli_vo["axis"]["down"] = "vox_cub_0_kls_attackheli_down";
- level.heli_vo["axis"]["hit"] = "vox_cub_0_kls_attackheli_hit";
- level.heli_vo["axis"]["kill"] = "vox_cub_0_kls_attackheli_kill";
- level.heli_vo["axis"]["ready"] = "vox_cub_0_kls_attackheli_ready";
- level.heli_vo["axis"]["shoot"] = "vox_cub_0_kls_attackheli_shoot";
- \raw\maps\mp\gametypes\_teamset_junglemarines.gsc
- level.teamPrefix["allies"] = "vox_sog";
- level.teamPostfix["allies"] = "us";
- level.teamPrefix["axis"] = "vox_nva";
- level.teamPostfix["axis"] = "ja";
- level.heli_vo["allies"]["approach"] = "vox_sog_2_kls_attackheli_approach";
- level.heli_vo["allies"]["door"] = "vox_sog_2_kls_attackheli_door";
- level.heli_vo["allies"]["down"] = "vox_sog_2_kls_attackheli_down";
- level.heli_vo["allies"]["hit"] = "vox_sog_2_kls_attackheli_hit";
- level.heli_vo["allies"]["kill"] = "vox_sog_2_kls_attackheli_kill";
- level.heli_vo["allies"]["ready"] = "vox_sog_2_kls_attackheli_ready";
- level.heli_vo["allies"]["shoot"] = "vox_sog_2_kls_attackheli_shoot";
- level.heli_vo["axis"]["approach"] = "vox_nva_1_kls_attackheli_approach";
- level.heli_vo["axis"]["door"] = "vox_nva_1_kls_attackheli_door";
- level.heli_vo["axis"]["down"] = "vox_nva_1_kls_attackheli_down";
- level.heli_vo["axis"]["hit"] = "vox_nva_1_kls_attackheli_hit";
- level.heli_vo["axis"]["kill"] = "vox_nva_1_kls_attackheli_kill";
- level.heli_vo["axis"]["ready"] = "vox_nva_1_kls_attackheli_ready";
- level.heli_vo["axis"]["shoot"] = "vox_nva_1_kls_attackheli_shoot";
- \raw\maps\mp\gametypes\_teamset_urbanspecops.gsc
- level.teamPrefix["allies"] = "vox_ops";
- level.teamPostfix["allies"] = "us";
- level.teamPrefix["axis"] = "vox_rus";
- level.teamPostfix["axis"] = "ru";
- level.heli_vo["allies"]["approach"] = "vox_ops_2_kls_attackheli_approach";
- level.heli_vo["allies"]["door"] = "vox_ops_2_kls_attackheli_door";
- level.heli_vo["allies"]["down"] = "vox_ops_2_kls_attackheli_down";
- level.heli_vo["allies"]["hit"] = "vox_ops_2_kls_attackheli_hit";
- level.heli_vo["allies"]["kill"] = "vox_ops_2_kls_attackheli_kill";
- level.heli_vo["allies"]["ready"] = "vox_ops_2_kls_attackheli_ready";
- level.heli_vo["allies"]["shoot"] = "vox_ops_2_kls_attackheli_shoot";
- level.heli_vo["axis"]["approach"] = "vox_rus_0_kls_attackheli_approach";
- level.heli_vo["axis"]["door"] = "vox_rus_0_kls_attackheli_door";
- level.heli_vo["axis"]["down"] = "vox_rus_0_kls_attackheli_down";
- level.heli_vo["axis"]["hit"] = "vox_rus_0_kls_attackheli_hit";
- level.heli_vo["axis"]["kill"] = "vox_rus_0_kls_attackheli_kill";
- level.heli_vo["axis"]["ready"] = "vox_rus_0_kls_attackheli_ready";
- level.heli_vo["axis"]["shoot"] = "vox_rus_0_kls_attackheli_shoot";
- \raw\maps\mp\gametypes\_teamset_winterspecops.gsc
- level.teamPrefix["allies"] = "vox_ops";
- level.teamPostfix["allies"] = "us";
- level.teamPrefix["axis"] = "vox_rus";
- level.teamPostfix["axis"] = "ru";
- level.heli_vo["allies"]["approach"] = "vox_ops_2_kls_attackheli_approach";
- level.heli_vo["allies"]["door"] = "vox_ops_2_kls_attackheli_door";
- level.heli_vo["allies"]["down"] = "vox_ops_2_kls_attackheli_down";
- level.heli_vo["allies"]["hit"] = "vox_ops_2_kls_attackheli_hit";
- level.heli_vo["allies"]["kill"] = "vox_ops_2_kls_attackheli_kill";
- level.heli_vo["allies"]["ready"] = "vox_ops_2_kls_attackheli_ready";
- level.heli_vo["allies"]["shoot"] = "vox_ops_2_kls_attackheli_shoot";
- level.heli_vo["axis"]["approach"] = "vox_rus_0_kls_attackheli_approach";
- level.heli_vo["axis"]["door"] = "vox_rus_0_kls_attackheli_door";
- level.heli_vo["axis"]["down"] = "vox_rus_0_kls_attackheli_down";
- level.heli_vo["axis"]["hit"] = "vox_rus_0_kls_attackheli_hit";
- level.heli_vo["axis"]["kill"] = "vox_rus_0_kls_attackheli_kill";
- level.heli_vo["axis"]["ready"] = "vox_rus_0_kls_attackheli_ready";
- level.heli_vo["axis"]["shoot"] = "vox_rus_0_kls_attackheli_shoot";
- \raw\maps\mp\gametypes\_tweakables.gsc
- level.rules[name].lastValue = value;
- level.gameTweaks[name].lastValue = value;
- level.teamTweaks[name].lastValue = value;
- level.playerTweaks[name].lastValue = value;
- level.classTweaks[name].lastValue = value;
- level.weaponTweaks[name].lastValue = value;
- level.hardpointTweaks[name].lastValue = value;
- level.hudTweaks[name].lastValue = value;
- level.rules[name] = spawnStruct();
- level.rules[name].value = value;
- level.rules[name].lastValue = value;
- level.rules[name].dVar = dvar;
- level.gameTweaks[name] = spawnStruct();
- level.gameTweaks[name].value = value;
- level.gameTweaks[name].lastValue = value;
- level.gameTweaks[name].dVar = dvar;
- level.teamTweaks[name] = spawnStruct();
- level.teamTweaks[name].value = value;
- level.teamTweaks[name].lastValue = value;
- level.teamTweaks[name].dVar = dvar;
- level.playerTweaks[name] = spawnStruct();
- level.playerTweaks[name].value = value;
- level.playerTweaks[name].lastValue = value;
- level.playerTweaks[name].dVar = dvar;
- level.classTweaks[name] = spawnStruct();
- level.classTweaks[name].value = value;
- level.classTweaks[name].lastValue = value;
- level.classTweaks[name].dVar = dvar;
- level.weaponTweaks[name] = spawnStruct();
- level.weaponTweaks[name].value = value;
- level.weaponTweaks[name].lastValue = value;
- level.weaponTweaks[name].dVar = dvar;
- level.hardpointTweaks[name] = spawnStruct();
- level.hardpointTweaks[name].value = value;
- level.hardpointTweaks[name].lastValue = value;
- level.hardpointTweaks[name].dVar = dvar;
- level.hudTweaks[name] = spawnStruct();
- level.hudTweaks[name].value = value;
- level.hudTweaks[name].lastValue = value;
- level.hudTweaks[name].dVar = dvar;
- level.clientTweakables = [];
- level.tweakablesInitialized = true;
- level.rules = [];
- level.gameTweaks = [];
- level.teamTweaks = [];
- level.playerTweaks = [];
- level.classTweaks = [];
- level.weaponTweaks = [];
- level.hardpointTweaks = [];
- level.hudTweaks = [];
- level.clientTweakables[level.clientTweakables.size] = name;
- \raw\maps\mp\gametypes\_wager.gsc
- level.wagerMatch = 1;
- level.powerupList = [];
- level.wagerMatch = 0;
- level.wagerBet = GetDvarInt( #"scr_wagerBet" );
- level.takeLivesOnDeath = true;
- level.playerPlaces = array( [], [], [] );
- level.playerPlaces[ currentPlace ][ level.playerPlaces[ currentPlace ].size ] = player;
- level.wagerGameFinalized = true;
- level.wagerTopEarners = [];
- level.wagerTopEarners[ 2 ] = level.wagerTopEarners[ 1 ];
- level.wagerTopEarners[ 1 ] = level.wagerTopEarners[ 0 ];
- level.wagerTopEarners[ 0 ] = player;
- level.wagerTopEarners[ 2 ] = level.wagerTopEarners[ 1 ];
- level.wagerTopEarners[ 1 ] = player;
- level.wagerTopEarners[ 2 ] = player;
- level.sideBetEndTime = GetTime() + 3000;
- level.placement["all"][i].prevScorePlace = currentScorePlace;
- level.powerupList = [];
- level.powerupList[i].name[level.powerupList[i].name.size] = name;
- level.powerupList[level.powerupList.size] = powerup;
- \raw\maps\mp\gametypes\_weaponobjects.gsc
- level.claymoreFXid = loadfx( "weapon/claymore/fx_claymore_laser" );
- level._equipment_spark_fx = loadfx( "weapon/grenade/fx_spark_disabled_weapon" );
- level._equipment_explode_fx = loadfx( "explosions/fx_exp_equipment" );
- level._effect[ "powerLight" ] = loadfx( "weapon/crossbow/fx_trail_crossbow_blink_red_os" );
- level.watcherWeaponNames = [];
- level.watcherWeaponNames = getWatcherWeapons();
- level.retrievableWeapons = [];
- level.retrievableWeapons = getRetrievableWeapons();
- level.weaponobjectexplodethisframe = false;
- level.weaponobjects_headicon_offset = [];
- level.weaponobjects_headicon_offset["default"] = (0, 0, 20);
- level.weaponobjects_headicon_offset["acoustic_sensor_mp"] = (0, 0, 25);
- level.weaponobjects_headicon_offset["camera_spike_mp"] = (0, 0, 35);
- level.weaponobjects_headicon_offset["claymore_mp"] = (0, 0, 20);
- level.weaponobjects_headicon_offset["satchel_charge_mp"] = (0, 0, 10);
- level.weaponobjects_headicon_offset["scrambler_mp"] = (0, 0, 20);
- level.weaponobjects_hacker_trigger_width = 32;
- level.weaponobjects_hacker_trigger_height = 32;
- level.weaponobjectexplodethisframe = true;
- level.weaponobjectexplodethisframe = false;
- level.retrieveHints[name] = retrieveHint;
- level.hackerHints[name] = hackerHint;
- \raw\maps\mp\gametypes\_weapons.gsc
- level.grenadeLauncherDudTime = 0;
- level.thrownGrenadeDudTime = 0;
- level.grenadeLauncherDudTimeDvar = dvarString;
- level.grenadeLauncherDudTimeMin = minValue;
- level.grenadeLauncherDudTimeMax = maxValue;
- level.grenadeLauncherDudTime = getDvarInt( level.grenadeLauncherDudTimeDvar );
- level.thrownGrenadeDudTimeDvar = dvarString;
- level.thrownGrenadeDudTimeMin = minValue;
- level.thrownGrenadeDudTimeMax = maxValue;
- level.thrownGrenadeDudTime = getDvarInt( level.thrownGrenadeDudTimeDvar );
- level.killstreakRoundDelay = getDvarInt( dvarString );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement