Untitled diff

생성일 비교 결과 만료 없음
64 삭제
920
70 추가
926
// ============================================================================
// ============================================================================
// Map: Fueldump
// Map: Fueldump
// Last update : 16/06/03 Sock
// Last update : 16/06/03 Sock
// ============================================================================
// ============================================================================
// rain - Tue Sep 23 20:24:55 EDT 2003 - fixed setautospawns
// rain - Tue Sep 23 20:24:55 EDT 2003 - fixed setautospawns
// bani - Mon Jan 5 23:45:25 PST 2004 - allied spawn at garage commandpost
// bani - Mon Jan 5 23:45:25 PST 2004 - allied spawn at garage commandpost
// mortis - Fri Jun 24 18:11:58 PDT 2005 - set allied autospawn to HQ by default at spline 73
// mortis - Fri Jun 24 18:11:58 PDT 2005 - set allied autospawn to HQ by default at spline 73
// 2/3Soul - Sat Jan 15 17:12:56 GMT 2005 - east depot defences only partially constructable
// 2/3Soul - Sat Jan 15 17:12:56 GMT 2005 - east depot defences only partially constructable
// mortis - Thu Sep 15 20:30:20 PDT 2005 - merged 2/3 soul features and mortis features
// mortis - Thu Sep 15 20:30:20 PDT 2005 - merged 2/3 soul features and mortis features
// mortis - Tue Jun 6 09:46:59 PDT 2006 - adjusted waitstates in checkgame routine
// mortis - Tue Jun 6 09:46:59 PDT 2006 - adjusted waitstates in checkgame routine
// mortis - Wed Jul 19 10:57:18 2006 added arni's fueldump anti-trickjump playerclips
// mortis - Wed Jul 19 10:57:18 2006 added arni's fueldump anti-trickjump playerclips
// mortis - Wed Jul 19 10:57:18 2006 added 2 of arni's extra axis spawns + routine
// mortis - Wed Jul 19 10:57:18 2006 added 2 of arni's extra axis spawns + routine
// mortis - Fri Mar 30 10:10:34 2007 PDT made bridge easier to build + added new axis and allied spawns
// mortis - Fri Mar 30 10:10:34 2007 PDT made bridge easier to build + added new axis and allied spawns
// noname - Wed Jul 10 12:35 2013 added /SS/StinVec's Allied Constructible Fueldump Assault Bridge
game_manager
game_manager
{
{
spawn
spawn
{
{
//extra spawns for axis at cp
//extra spawns for axis at cp
create
create
{
{
scriptName "axiscp_obj"
scriptName "axiscp_obj"
classname "team_WOLF_objective"
classname "team_WOLF_objective"
targetname "axiscp_obj"
targetname "axiscp_obj"
origin "-2062 -1580 610" // z = CC_FILTER_ALLIES(2) | CC_FILTER_SPAWNS(4)
origin "-2062 -1580 610" // z = CC_FILTER_ALLIES(2) | CC_FILTER_SPAWNS(4)
spawnflags 1 // TEAM_AXIS(2)
spawnflags 1 // TEAM_AXIS(2)
}
}
create
create
{
{
scriptName "axiscp_spawn1"
scriptName "axiscp_spawn1"
classname "team_CTF_redspawn"
classname "team_CTF_redspawn"
targetname "axiscp_spawn"
targetname "axiscp_spawn"
origin "-2149 -1520 610"
origin "-2149 -1520 610"
spawnflags 3 // TEAM_AXIS
spawnflags 3 // TEAM_AXIS
angle "270"
angle "270"
}
}
create
create
{
{
scriptName "axiscp_spawn2"
scriptName "axiscp_spawn2"
classname "team_CTF_redspawn"
classname "team_CTF_redspawn"
targetname "axiscp_spawn"
targetname "axiscp_spawn"
origin "-1988 -1520 610"
origin "-1988 -1520 610"
spawnflags 3 // TEAM_AXIS
spawnflags 3 // TEAM_AXIS
angle "270"
angle "270"
}
}
create
create
{
{
scriptName "axiscp_spawn3"
scriptName "axiscp_spawn3"
classname "team_CTF_redspawn"
classname "team_CTF_redspawn"
targetname "axiscp_spawn"
targetname "axiscp_spawn"
origin "-2149 -1648 610"
origin "-2149 -1648 610"
spawnflags 3 // TEAM_AXIS
spawnflags 3 // TEAM_AXIS
angle "270"
angle "270"
}
}
create
create
{
{
scriptName "axiscp_spawn4"
scriptName "axiscp_spawn4"
classname "team_CTF_redspawn"
classname "team_CTF_redspawn"
targetname "axiscp_spawn"
targetname "axiscp_spawn"
origin "-2012 -1648 610"
origin "-2012 -1648 610"
spawnflags 3 // TEAM_AXIS
spawnflags 3 // TEAM_AXIS
angle "270"
angle "270"
}
}
// extra spawns for Allies at Ammo Hut
// extra spawns for Allies at Ammo Hut
create
create
{
{
scriptName "ammohut_obj"
scriptName "ammohut_obj"
classname "team_WOLF_objective"
classname "team_WOLF_objective"
targetname "ammohut_obj"
targetname "ammohut_obj"
origin "-3132 -8346 390" // z = CC_FILTER_ALLIES(2) | CC_FILTER_SPAWNS(4)
origin "-3132 -8346 390" // z = CC_FILTER_ALLIES(2) | CC_FILTER_SPAWNS(4)
spawnflags 2 // TEAM_ALLIES(2)
spawnflags 2 // TEAM_ALLIES(2)
}
}
create
create
{
{
scriptName "ammohut_spawn1"
scriptName "ammohut_spawn1"
classname "team_CTF_bluespawn"
classname "team_CTF_bluespawn"
targetname "ammohut_spawn"
targetname "ammohut_spawn"
origin "-3231 -8346 390"
origin "-3231 -8346 390"
spawnflags 2 // TEAM_ALLIES
spawnflags 2 // TEAM_ALLIES
angle "90"
angle "90"
}
}
create
create
{
{
scriptName "ammohut_spawn2"
scriptName "ammohut_spawn2"
classname "team_CTF_bluespawn"
classname "team_CTF_bluespawn"
targetname "ammohut_spawn"
targetname "ammohut_spawn"
origin "-3250 -8225 390"
origin "-3250 -8225 390"
spawnflags 2 // TEAM_ALLIES
spawnflags 2 // TEAM_ALLIES
angle "90"
angle "90"
}
}
create
create
{
{
scriptName "ammohut_spawn3"
scriptName "ammohut_spawn3"
classname "team_CTF_bluespawn"
classname "team_CTF_bluespawn"
targetname "ammohut_spawn"
targetname "ammohut_spawn"
origin "-3023 -8371 390"
origin "-3023 -8371 390"
spawnflags 2 // TEAM_ALLIES
spawnflags 2 // TEAM_ALLIES
angle "90"
angle "90"
}
}
create
create
{
{
scriptName "ammohut_spawn4"
scriptName "ammohut_spawn4"
classname "team_CTF_bluespawn"
classname "team_CTF_bluespawn"
targetname "ammohut_spawn"
targetname "ammohut_spawn"
origin "-3032 -8231 390"
origin "-3032 -8231 390"
spawnflags 2 // TEAM_ALLIES
spawnflags 2 // TEAM_ALLIES
angle "90"
angle "90"
}
}
// extra spawns for axis - thanks arni
// extra spawns for axis - thanks arni
create
create
{
{
scriptName "fueldumpxt_obj"
scriptName "fueldumpxt_obj"
classname "team_WOLF_objective"
classname "team_WOLF_objective"
targetname "fueldumpxt_obj"
targetname "fueldumpxt_obj"
origin "-10556 -6692 5" // z = CC_FILTER_ALLIES(2) | CC_FILTER_SPAWNS(4)
origin "-10556 -6692 5" // z = CC_FILTER_ALLIES(2) | CC_FILTER_SPAWNS(4)
spawnflags 1 // TEAM_AXIS(2)
spawnflags 1 // TEAM_AXIS(2)
}
}
create
create
{
{
scriptName "fueldumpxt_spawn1"
scriptName "fueldumpxt_spawn1"
classname "team_CTF_redspawn"
classname "team_CTF_redspawn"
targetname "fueldumpxt_spawn"
targetname "fueldumpxt_spawn"
origin "-10603 -6705 220"
origin "-10603 -6705 220"
spawnflags 3 // TEAM_AXIS
spawnflags 3 // TEAM_AXIS
angle "56"
angle "56"
}
}
create
create
{
{
scriptName "fueldumpxt_spawn2"
scriptName "fueldumpxt_spawn2"
classname "team_CTF_redspawn"
classname "team_CTF_redspawn"
targetname "fueldumpxt_spawn"
targetname "fueldumpxt_spawn"
origin "-10521 -6751 220"
origin "-10521 -6751 220"
spawnflags 3 // TEAM_AXIS
spawnflags 3 // TEAM_AXIS
angle "110"
angle "110"
}
}
// fueldump anti-trickjump player clips - courtesy arni
// fueldump anti-trickjump player clips - courtesy arni
create
create
{
{
scriptName "fueljump1"
scriptName "fueljump1"
classname "func_fakebrush"
classname "func_fakebrush"
origin "-8762 -5157 648"
origin "-8762 -5157 648"
contents 65536 // CONTENTS_PLAYERCLIP // high fueljump
contents 65536 // CONTENTS_PLAYERCLIP // high fueljump
mins "-250 -50 -50"
mins "-250 -50 -50"
maxs "50 50 150"
maxs "50 50 150"
}
}
create
create
{
{
scriptName "fueljump2"
scriptName "fueljump2"
classname "func_fakebrush"
classname "func_fakebrush"
origin "-10430 -5126 424"
origin "-10430 -5126 424"
contents 65536 // CONTENTS_PLAYERCLIP // mg bunker
contents 65536 // CONTENTS_PLAYERCLIP // mg bunker
mins "-50 -20 -20"
mins "-50 -20 -20"
maxs "20 20 30"
maxs "20 20 30"
}
}
create
create
{
{
scriptName "fueljump3"
scriptName "fueljump3"
classname "func_fakebrush"
classname "func_fakebrush"
origin "-9536 -5215 340"
origin "-9536 -5215 340"
contents 1 // main gate "hut"
contents 1 // main gate "hut"
mins "-35 -35 -20"
mins "-35 -35 -20"
maxs "35 35 5"
maxs "35 35 5"
}
}
create
create
{
{
scriptName "fueldumphq_obj"
scriptName "fueldumphq_obj"
classname "team_WOLF_objective"
classname "team_WOLF_objective"
targetname "fueldumphq_obj"
targetname "fueldumphq_obj"
origin "-10853 -2036 6" // z = CC_FILTER_ALLIES(2) | CC_FILTER_SPAWNS(4)
origin "-10853 -2036 6" // z = CC_FILTER_ALLIES(2) | CC_FILTER_SPAWNS(4)
spawnflags 2 // TEAM_ALLIES(2)
spawnflags 2 // TEAM_ALLIES(2)
}
}
create
create
{
{
scriptName "fueldumphq_spawn1"
scriptName "fueldumphq_spawn1"
classname "team_CTF_bluespawn"
classname "team_CTF_bluespawn"
targetname "fueldumphq_spawn"
targetname "fueldumphq_spawn"
origin "11072 -2448 512"
origin "11072 -2448 512"
spawnflags 2 // TEAM_ALLIES
spawnflags 2 // TEAM_ALLIES
}
}
create
create
{
{
scriptName "fueldumphq_spawn2"
scriptName "fueldumphq_spawn2"
classname "team_CTF_bluespawn"
classname "team_CTF_bluespawn"
targetname "fueldumphq_spawn"
targetname "fueldumphq_spawn"
origin "-10995 -2448 512"
origin "-10995 -2448 512"
spawnflags 2 // TEAM_ALLIES
spawnflags 2 // TEAM_ALLIES
}
}
create
create
{
{
scriptName "fueldumphq_spawn3"
scriptName "fueldumphq_spawn3"
classname "team_CTF_bluespawn"
classname "team_CTF_bluespawn"
targetname "fueldumphq_spawn"
targetname "fueldumphq_spawn"
origin "-10918 -2448 512"
origin "-10918 -2448 512"
spawnflags 2 // TEAM_ALLIES
spawnflags 2 // TEAM_ALLIES
}
}
create
create
{
{
scriptName "fueldumphq_spawn4"
scriptName "fueldumphq_spawn4"
classname "team_CTF_bluespawn"
classname "team_CTF_bluespawn"
targetname "fueldumphq_spawn"
targetname "fueldumphq_spawn"
origin "-10841 -2448 512"
origin "-10841 -2448 512"
spawnflags 2 // TEAM_ALLIES
spawnflags 2 // TEAM_ALLIES
}
}
create
create
{
{
scriptName "fueldumphq_spawn5"
scriptName "fueldumphq_spawn5"
classname "team_CTF_bluespawn"
classname "team_CTF_bluespawn"
targetname "fueldumphq_spawn"
targetname "fueldumphq_spawn"
origin "11072 -2288 512"
origin "11072 -2288 512"
spawnflags 2 // TEAM_ALLIES
spawnflags 2 // TEAM_ALLIES
}
}
create
create
{
{
scriptName "fueldumphq_spawn6"
scriptName "fueldumphq_spawn6"
classname "team_CTF_bluespawn"
classname "team_CTF_bluespawn"
targetname "fueldumphq_spawn"
targetname "fueldumphq_spawn"
origin "-10995 -2288 512"
origin "-10995 -2288 512"
spawnflags 2 // TEAM_ALLIES
spawnflags 2 // TEAM_ALLIES
}
}
create
create
{
{
scriptName "fueldumphq_spawn7"
scriptName "fueldumphq_spawn7"
classname "team_CTF_bluespawn"
classname "team_CTF_bluespawn"
targetname "fueldumphq_spawn"
targetname "fueldumphq_spawn"
origin "-10918 -2288 512"
origin "-10918 -2288 512"
spawnflags 2 // TEAM_ALLIES
spawnflags 2 // TEAM_ALLIES
}
}
create
create
{
{
scriptName "fueldumphq_spawn8"
scriptName "fueldumphq_spawn8"
classname "team_CTF_bluespawn"
classname "team_CTF_bluespawn"
targetname "fueldumphq_spawn"
targetname "fueldumphq_spawn"
origin "-10841 -2288 512"
origin "-10841 -2288 512"
spawnflags 2 // TEAM_ALLIES
spawnflags 2 // TEAM_ALLIES
}
}
//----START----/SS/StinVec’s Allied Constructible Fueldump Assault Bridge
create
{
scriptname "fdbridge_toi"
targetname "fdbridge_toi"
target "fdbridge"
classname "trigger_objective_info"
infoAllied "Build Fueldump Assault Bridge"
infoAxis "Destroy Fueldump Assault Bridge"
shortname "Allied Assault Bridge"
track "/SS/StinVec’s Fueldump Bridge"
spawnflags "2"
score "50"
origin "-10326 -5523 633"
mins "-52 -66 -34"
maxs "52 66 34"
}
create
{
scriptname "fdbridge_materials"
targetname "fdbridge_materials"
classname "misc_gamemodel"
angle "90"
origin "-10326 -5523 633"
skin "models/mapobjects/cmarker/allied_crates.skin"
model "models/mapobjects/cmarker/cmarker_crates.md3"
}
create
{
scriptname "fdbridge_material_hurt"
targetname "fdbridge_material_hurt"
spawnflags 24
classname "trigger_hurt"
dmg 0
sound "sound/player/hurt_barbwire.wav"
origin "-10712 -5931 603"
mins "-30 -30 -20"
maxs "30 30 20"
}
create
{
scriptname "fdbridge_flag"
targetname "fdbridge_flag"
classname "misc_gamemodel"
spawnflags "2"
origin "-10326 -5482 646"
angle "90"
frames "190"
modelscale "0.4"
model "models/mapobjects/cmarker/cmarker_flag.md3"
skin "models/mapobjects/cmarker/allied_cflag.skin"
}
create
{
model "*10"
scriptname "fdbridge"
targetname "fdbridge"
classname "func_constructible"
origin "-10712 -5931 603"
spawnflags "8"
modelscale 1.04
}
//----END----/SS/StinVec’s Allied Constructible Fueldump Assault Bridge
// Game rules
// Game rules
wm_axis_respawntime 30
wm_axis_respawntime 30
wm_allied_respawntime 20
wm_allied_respawntime 20
wm_number_of_objectives 7
wm_number_of_objectives 7
wm_set_round_timelimit 30
wm_set_round_timelimit 30
wm_set_main_objective 2 0
wm_set_main_objective 2 0
wm_set_main_objective 1 1
wm_set_main_objective 1 1
wm_objective_status 1 1 0
wm_objective_status 1 1 0
wm_objective_status 1 0 0
wm_objective_status 1 0 0
wm_objective_status 2 1 0
wm_objective_status 2 1 0
wm_objective_status 2 0 0
wm_objective_status 2 0 0
wm_objective_status 3 1 0
wm_objective_status 3 1 0
wm_objective_status 3 0 0
wm_objective_status 3 0 0
wm_objective_status 4 1 0
wm_objective_status 4 1 0
wm_objective_status 4 0 0
wm_objective_status 4 0 0
wm_objective_status 5 1 0
wm_objective_status 5 1 0
wm_objective_status 5 0 0
wm_objective_status 5 0 0
wm_objective_status 6 1 0
wm_objective_status 6 1 0
wm_objective_status 6 0 0
wm_objective_status 6 0 0
wm_objective_status 7 1 0
wm_objective_status 7 1 0
wm_objective_status 7 0 0
wm_objective_status 7 0 0
// Stopwatch mode defending team (0=Axis, 1=Allies)
// Stopwatch mode defending team (0=Axis, 1=Allies)
wm_set_defending_team 0
wm_set_defending_team 0
// Winner on expiration of round timer (0=Axis, 1=Allies)
// Winner on expiration of round timer (0=Axis, 1=Allies)
wm_setwinner 0
wm_setwinner 0
// Accumulator to check win conditions
// Accumulator to check win conditions
accum 1 set 0
accum 1 set 0
// Setup the auto spawn points for the map
// Setup the auto spawn points for the map
wait 500
wait 500
setautospawn "Allied Entrance Spawn" 1
setautospawn "Allied Entrance Spawn" 1
setautospawn "Tunnel Store Room" 0
setautospawn "Tunnel Store Room" 0
// Garage Doors
// Garage Doors
globalaccum 4 set 0 // Flexible Door 1 status. (0=stationary, 1=moving)
globalaccum 4 set 0 // Flexible Door 1 status. (0=stationary, 1=moving)
globalaccum 5 set 0 // Flexible Door 2 status. (0=stationary, 1=moving)
globalaccum 5 set 0 // Flexible Door 2 status. (0=stationary, 1=moving)
// CP speakers
// CP speakers
disablespeaker axishq_sound
disablespeaker axishq_sound
disablespeaker alliedhq_sound
disablespeaker alliedhq_sound
wait 2000
wait 2000
// *----------------------------------- vo ------------------------------------------*
// *----------------------------------- vo ------------------------------------------*
wm_addteamvoiceannounce 0 "fueldump_axis_bridge_stop"
wm_addteamvoiceannounce 0 "fueldump_axis_bridge_stop"
wm_addteamvoiceannounce 1 "fueldump_allies_bridge_construct"
wm_addteamvoiceannounce 1 "fueldump_allies_bridge_construct"
wm_teamvoiceannounce 0 "fueldump_axis_bridge_stop"
wm_teamvoiceannounce 0 "fueldump_axis_bridge_stop"
wm_teamvoiceannounce 0 "axis_hq_compost_construct"
wm_teamvoiceannounce 0 "axis_hq_compost_construct"
wm_teamvoiceannounce 1 "fueldump_allies_bridge_construct"
wm_teamvoiceannounce 1 "fueldump_allies_bridge_construct"
// *---------------------------------------------------------------------------------*
// *---------------------------------------------------------------------------------*
}
}
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
// Constructing a Bridge over the frozen river
// Constructing a Bridge over the frozen river
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
trigger objective1
trigger objective1
{
{
wm_announce "Allied team has constructed the bridge!"
wm_announce "Allied team has constructed the bridge!"
}
}
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
// Destroying the Tunnel Doors.
// Destroying the Tunnel Doors.
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
trigger objective2
trigger objective2
{
{
wm_announce "Allied team has breached the Tunnel Doors!"
wm_announce "Allied team has breached the Tunnel Doors!"
setstate tunneldoor_toi invisible
setstate tunneldoor_toi invisible
// rain - fixed axis spawn point
// rain - fixed axis spawn point
// mortis - force noobs to use Garage HQ spawn point by default
// mortis - force noobs to use Garage HQ spawn point by default
alertentity t108 // Switch the tunnel spawns around
alertentity t108 // Switch the tunnel spawns around
setautospawn "Tunnel Store Room" 1
setautospawn "Tunnel Store Room" 1
setautospawn "Axis Fuel Dump" 0
setautospawn "Axis Fuel Dump" 0
// *----------------------------------- vo ------------------------------------------*
// *----------------------------------- vo ------------------------------------------*
wm_addteamvoiceannounce 0 "fueldump_axis_gates_stop"
wm_addteamvoiceannounce 0 "fueldump_axis_gates_stop"
wm_addteamvoiceannounce 0 "fueldump_axis_depotdef_construct"
wm_addteamvoiceannounce 0 "fueldump_axis_depotdef_construct"
wm_teamvoiceannounce 0 "fueldump_axis_tunnel_destroyed"
wm_teamvoiceannounce 0 "fueldump_axis_tunnel_destroyed"
wm_teamvoiceannounce 0 "fueldump_axis_depotdef_construct"
wm_teamvoiceannounce 0 "fueldump_axis_depotdef_construct"
wm_teamvoiceannounce 1 "fueldump_allies_tank_depot"
wm_teamvoiceannounce 1 "fueldump_allies_tank_depot"
wm_teamvoiceannounce 1 "allies_hq_compost_construct"
wm_teamvoiceannounce 1 "allies_hq_compost_construct"
wm_removeteamvoiceannounce 0 "fueldump_axis_tunnel_stop"
wm_removeteamvoiceannounce 0 "fueldump_axis_tunnel_stop"
// *---------------------------------------------------------------------------------*
// *---------------------------------------------------------------------------------*
wm_set_main_objective 2 0
wm_set_main_objective 2 0
wm_set_main_objective 2 1
wm_set_main_objective 2 1
}
}
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
// Destroying the Axis Depot Gates.
// Destroying the Axis Depot Gates.
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
trigger objective3
trigger objective3
{
{
wm_announce "Allied team has breached the Depot Gates!"
wm_announce "Allied team has breached the Depot Gates!"
setstate depotgate_toi invisible
setstate depotgate_toi invisible
// *----------------------------------- vo ------------------------------------------*
// *----------------------------------- vo ------------------------------------------*
wm_addteamvoiceannounce 0 "fueldump_axis_gates_destroyed"
wm_addteamvoiceannounce 0 "fueldump_axis_gates_destroyed"
wm_addteamvoiceannounce 0 "fueldump_axis_fueldump_defend"
wm_addteamvoiceannounce 0 "fueldump_axis_fueldump_defend"
wm_addteamvoiceannounce 1 "fueldump_allies_fueldump_destroy"
wm_addteamvoiceannounce 1 "fueldump_allies_fueldump_destroy"
wm_teamvoiceannounce 0 "fueldump_axis_gates_destroyed"
wm_teamvoiceannounce 0 "fueldump_axis_gates_destroyed"
wm_teamvoiceannounce 0 "fueldump_axis_fueldump_defend"
wm_teamvoiceannounce 0 "fueldump_axis_fueldump_defend"
wm_teamvoiceannounce 1 "fueldump_allies_tank_reardepot"
wm_teamvoiceannounce 1 "fueldump_allies_tank_reardepot"
wm_teamvoiceannounce 1 "fueldump_allies_fueldump_destroy"
wm_teamvoiceannounce 1 "fueldump_allies_fueldump_destroy"
wm_removeteamvoiceannounce 0 "fueldump_axis_gates_stop"
wm_removeteamvoiceannounce 0 "fueldump_axis_gates_stop"
wm_removeteamvoiceannounce 0 "fueldump_axis_depotdef_construct"
wm_removeteamvoiceannounce 0 "fueldump_axis_depotdef_construct"
wm_removeteamvoiceannounce 1 "fueldump_allies_tank_depot"
wm_removeteamvoiceannounce 1 "fueldump_allies_tank_depot"
// *---------------------------------------------------------------------------------*
// *---------------------------------------------------------------------------------*
}
}
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
// Destroying the Axis Fueldump.
// Destroying the Axis Fueldump.
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
trigger objective4
trigger objective4
{
{
// Change the variable within the script so that we can check if someone wins the round
// Change the variable within the script so that we can check if someone wins the round
accum 1 set 1
accum 1 set 1
// Big bang sequence of fueldump here
// Big bang sequence of fueldump here
alertentity fueldump_explo1
alertentity fueldump_explo1
alertentity fueldump_explo2
alertentity fueldump_explo2
alertentity fueldump_explo3
alertentity fueldump_explo3
setstate fueldump_ladder invisible
setstate fueldump_ladder invisible
alertentity fueldump_rubble1
alertentity fueldump_rubble1
alertentity fueldump_rubble2
alertentity fueldump_rubble2
alertentity fueldump_rubble3
alertentity fueldump_rubble3
// Some kind of UI pop-up to alert players
// Some kind of UI pop-up to alert players
wm_announce "Allied team has destroyed the Axis Fuel Dump!"
wm_announce "Allied team has destroyed the Axis Fuel Dump!"
wm_objective_status 4 1 1
wm_objective_status 4 1 1
wm_objective_status 4 0 2
wm_objective_status 4 0 2
// mortis reduced waitstate
// mortis reduced waitstate
wait 100
wait 100
// Call function to check if the round has been won
// Call function to check if the round has been won
trigger game_manager checkgame
trigger game_manager checkgame
}
}
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
// Escort the Tank to destroy the Side Wall to the rear of the Depot.
// Escort the Tank to destroy the Side Wall to the rear of the Depot.
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
trigger objective5
trigger objective5
{
{
wm_announce "Allied team has breached the Depot Side Wall!"
wm_announce "Allied team has breached the Depot Side Wall!"
setstate depotsidewall_toi invisible
setstate depotsidewall_toi invisible
// *----------------------------------- vo ------------------------------------------*
// *----------------------------------- vo ------------------------------------------*
wm_teamvoiceannounce 0 "fueldump_axis_fueldump_defend"
wm_teamvoiceannounce 0 "fueldump_axis_fueldump_defend"
wm_teamvoiceannounce 1 "fueldump_allies_wall_destroyed"
wm_teamvoiceannounce 1 "fueldump_allies_wall_destroyed"
wm_teamvoiceannounce 1 "fueldump_allies_fueldump_destroy"
wm_teamvoiceannounce 1 "fueldump_allies_fueldump_destroy"
wm_removeteamvoiceannounce 1 "fueldump_allies_tank_reardepot"
wm_removeteamvoiceannounce 1 "fueldump_allies_tank_reardepot"
// *---------------------------------------------------------------------------------*
// *---------------------------------------------------------------------------------*
}
}
trigger checkgame
trigger checkgame
{
{
accum 1 abort_if_not_equal 1
accum 1 abort_if_not_equal 1
wm_setwinner 1
wm_setwinner 1
// mortis reduced waitstate
// mortis reduced waitstate
wait 100
wait 100
wm_endround
wm_endround
}
}
}
}
//bani
//bani
fueldumphq_obj
fueldumphq_obj
{
{
spawn
spawn
{
{
set
set
{
{
//these have to be set inside the spawn{} function, not create{}
//these have to be set inside the spawn{} function, not create{}
description "Garage HQ"
description "Garage HQ"
message "Garage HQ"
message "Garage HQ"
}
}
wait 50
wait 50
setstate fueldumphq_obj invisible
setstate fueldumphq_obj invisible
setstate fueldumphq_spawn invisible
setstate fueldumphq_spawn invisible
}
}
trigger on
trigger on
{
{
setstate fueldumphq_obj default
setstate fueldumphq_obj default
setstate fueldumphq_spawn default
setstate fueldumphq_spawn default
}
}
trigger off
trigger off
{
{
setstate fueldumphq_obj invisible
setstate fueldumphq_obj invisible
setstate fueldumphq_spawn invisible
setstate fueldumphq_spawn invisible
}
}
}
}
//mortis - add arni's spawn routine
//mortis - add arni's spawn routine
fueldumpxt_obj
fueldumpxt_obj
{
{
spawn
spawn
{
{
set
set
{
{
description "Truck"
description "Truck"
message "Truck"
message "Truck"
}
}
wait 50
wait 50
setstate fueldumpxt_obj default
setstate fueldumpxt_obj default
setstate fueldumpxt_spawn default
setstate fueldumpxt_spawn default
}
}
}
}
// ============================================================================
// ============================================================================
// LMS stuff to remove from obj mode
// LMS stuff to remove from obj mode
// ============================================================================
// ============================================================================
thebridge_lms
thebridge_lms
{
{
spawn
spawn
{
{
wait 100
wait 100
setstate thebridge_lms invisible
setstate thebridge_lms invisible
setstate lms_hacabinet_cm_marker invisible
setstate lms_hacabinet_cm_marker invisible
setstate lms_hacabinet_toi invisible
setstate lms_hacabinet_toi invisible
setstate lms_healthcabinet invisible
setstate lms_healthcabinet invisible
setstate lms_ammocabinet invisible
setstate lms_ammocabinet invisible
setstate lms_healthtrigger invisible
setstate lms_healthtrigger invisible
setstate lms_ammotrigger invisible
setstate lms_ammotrigger invisible
setstate lms_healthcabinet_clip invisible
setstate lms_healthcabinet_clip invisible
setstate lms_ammocabinet_clip invisible
setstate lms_ammocabinet_clip invisible
setstate lms_alliedstaircase invisible
setstate lms_alliedstaircase invisible
}
}
}
}
// ============================================================================
// ============================================================================
// AXIS HQ bits and pieces
// AXIS HQ bits and pieces
// ============================================================================
// ============================================================================
axis_radio_destroyed
axis_radio_destroyed
{
{
spawn
spawn
{
{
wait 200
wait 200
setstate axis_radio_destroyed invisible
setstate axis_radio_destroyed invisible
setstate axis_radio_destroyed_model invisible
setstate axis_radio_destroyed_model invisible
}
}
trigger hide
trigger hide
{
{
setstate axis_radio_destroyed invisible
setstate axis_radio_destroyed invisible
setstate axis_radio_destroyed_model invisible
setstate axis_radio_destroyed_model invisible
}
}
trigger show
trigger show
{
{
setstate axis_radio_destroyed default
setstate axis_radio_destroyed default
setstate axis_radio_destroyed_model default
setstate axis_radio_destroyed_model default
setstate axishqstuff invisible // Arial tower outside of building
setstate axishqstuff invisible // Arial tower outside of building
}
}
}
}
axis_radio_closed
axis_radio_closed
{
{
spawn
spawn
{
{
wait 200
wait 200
setstate axis_radio_closed default
setstate axis_radio_closed default
setstate axis_radio_closed_model default
setstate axis_radio_closed_model default
}
}
trigger hide
trigger hide
{
{
setstate axis_radio_closed invisible
setstate axis_radio_closed invisible
setstate axis_radio_closed_model invisible
setstate axis_radio_closed_model invisible
}
}
trigger show
trigger show
{
{
setstate axis_radio_closed default
setstate axis_radio_closed default
setstate axis_radio_closed_model default
setstate axis_radio_closed_model default
}
}
}
}
axis_radio_built
axis_radio_built
{
{
spawn
spawn
{
{
wait 400
wait 400
constructible_class 2
constructible_class 2
trigger self setup
trigger self setup
setstate axishqstuff invisible
setstate axishqstuff invisible
}
}
trigger setup
trigger setup
{
{
setchargetimefactor 0 soldier 1
setchargetimefactor 0 soldier 1
setchargetimefactor 0 lieutenant 1
setchargetimefactor 0 lieutenant 1
setchargetimefactor 0 medic 1
setchargetimefactor 0 medic 1
setchargetimefactor 0 engineer 1
setchargetimefactor 0 engineer 1
setchargetimefactor 0 covertops 1
setchargetimefactor 0 covertops 1
sethqstatus 0 0
sethqstatus 0 0
}
}
buildstart final
buildstart final
{
{
trigger axis_radio_built_model trans
trigger axis_radio_built_model trans
trigger axis_radio_destroyed hide
trigger axis_radio_destroyed hide
trigger axis_radio_closed hide
trigger axis_radio_closed hide
setstate axishqstuff underconstruction
setstate axishqstuff underconstruction
}
}
decayed final
decayed final
{
{
trigger axis_radio_built_model hide
trigger axis_radio_built_model hide
trigger axis_radio_closed show
trigger axis_radio_closed show
setstate axishqstuff invisible
setstate axishqstuff invisible
}
}
built final
built final
{
{
trigger axis_radio_built_model show
trigger axis_radio_built_model show
trigger axis_radio_closed hide
trigger axis_radio_closed hide
trigger axis_radio_destroyed hide
trigger axis_radio_destroyed hide
trigger axis_radio_built_model enable_axis_features
trigger axis_radio_built_model enable_axis_features
enablespeaker axishq_sound
enablespeaker axishq_sound
setstate axishqstuff default
setstate axishqstuff default
//mortis
//mortis
trigger axiscp_obj on
trigger axiscp_obj on
}
}
death
death
{
{
trigger axis_radio_built_model hide
trigger axis_radio_built_model hide
trigger axis_radio_destroyed show
trigger axis_radio_destroyed show
trigger axis_radio_built_model disable_axis_features
trigger axis_radio_built_model disable_axis_features
disablespeaker axishq_sound
disablespeaker axishq_sound
//mortis
//mortis
trigger axiscp_obj off
trigger axiscp_obj off
}
}
}
}
axis_radio_built_model
axis_radio_built_model
{
{
spawn
spawn
{
{
wait 400
wait 400
setstate axis_radio_built_model invisible
setstate axis_radio_built_model invisible
accum 0 bitreset 0 // set if radio is built
accum 0 bitreset 0 // set if radio is built
accum 0 bitreset 1 // set if goal should be ignored
accum 0 bitreset 1 // set if goal should be ignored
}
}
trigger show
trigger show
{
{
setstate axis_radio_built_model default
setstate axis_radio_built_model default
}
}
trigger hide
trigger hide
{
{
setstate axis_radio_built_model invisible
setstate axis_radio_built_model invisible
}
}
trigger trans
trigger trans
{
{
setstate axis_radio_built_model underconstruction
setstate axis_radio_built_model underconstruction
}
}
trigger enable_axis_features
trigger enable_axis_features
{
{
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
// Increase Axis charge times
// Increase Axis charge times
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
setchargetimefactor 0 soldier 0.75
setchargetimefactor 0 soldier 0.75
setchargetimefactor 0 lieutenant 0.75
setchargetimefactor 0 lieutenant 0.75
setchargetimefactor 0 medic 0.75
setchargetimefactor 0 medic 0.75
setchargetimefactor 0 engineer 0.75
setchargetimefactor 0 engineer 0.75
setchargetimefactor 0 covertops 0.75
setchargetimefactor 0 covertops 0.75
sethqstatus 0 1
sethqstatus 0 1
// *----------------------------------- vo ------------------------------------------*
// *----------------------------------- vo ------------------------------------------*
wm_teamvoiceannounce 0 "axis_hq_compost_constructed"
wm_teamvoiceannounce 0 "axis_hq_compost_constructed"
wm_teamvoiceannounce 1 "allies_hq_compost_constructed_axis"
wm_teamvoiceannounce 1 "allies_hq_compost_constructed_axis"
wm_removeteamvoiceannounce 0 "axis_hq_compost_construct"
wm_removeteamvoiceannounce 0 "axis_hq_compost_construct"
// *---------------------------------------------------------------------------------*
// *---------------------------------------------------------------------------------*
wm_objective_status 6 0 1
wm_objective_status 6 0 1
wm_objective_status 6 1 2
wm_objective_status 6 1 2
wm_announce "Axis Command Post constructed. Charge speed increased!"
wm_announce "Axis Command Post constructed. Charge speed increased!"
accum 0 bitset 0
accum 0 bitset 0
}
}
trigger disable_axis_features
trigger disable_axis_features
{
{
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
// Decrease Axis charge times
// Decrease Axis charge times
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
setchargetimefactor 0 soldier 1
setchargetimefactor 0 soldier 1
setchargetimefactor 0 lieutenant 1
setchargetimefactor 0 lieutenant 1
setchargetimefactor 0 medic 1
setchargetimefactor 0 medic 1
setchargetimefactor 0 engineer 1
setchargetimefactor 0 engineer 1
setchargetimefactor 0 covertops 1
setchargetimefactor 0 covertops 1
sethqstatus 0 0
sethqstatus 0 0
// *----------------------------------- vo ------------------------------------------*
// *----------------------------------- vo ------------------------------------------*
wm_addteamvoiceannounce 0 "axis_hq_compost_construct"
wm_addteamvoiceannounce 0 "axis_hq_compost_construct"
wm_teamvoiceannounce 0 "axis_hq_compost_damaged"
wm_teamvoiceannounce 0 "axis_hq_compost_damaged"
// *---------------------------------------------------------------------------------*
// *---------------------------------------------------------------------------------*
wm_announce "Allied team has destroyed the Axis Command Post!"
wm_announce "Allied team has destroyed the Axis Command Post!"
wm_objective_status 6 0 0
wm_objective_status 6 0 0
wm_objective_status 6 1 0
wm_objective_status 6 1 0
accum 0 bitreset 0
accum 0 bitreset 0
}
}
}
}
// ============================================================================
// ============================================================================
// Allied HQ bits and pieces
// Allied HQ bits and pieces
// ============================================================================
// ============================================================================
alliedhqradio_toi
alliedhqradio_toi
{
{
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
// Enable health/ammo cabinets, allied radio has been built
// Enable health/ammo cabinets, allied radio has been built
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
trigger enable_hacabs
trigger enable_hacabs
{
{
setstate tankbay_healthcabinet default
setstate tankbay_healthcabinet default
setstate tankbay_ammocabinet default
setstate tankbay_ammocabinet default
setstate tankbay_healthtrigger default
setstate tankbay_healthtrigger default
setstate tankbay_ammotrigger default
setstate tankbay_ammotrigger default
setstate tankbay_healthcabinet_dmg invisible
setstate tankbay_healthcabinet_dmg invisible
setstate tankbay_ammocabinet_dmg invisible
setstate tankbay_ammocabinet_dmg invisible
setstate tankbay_hacabinet_cm_marker default
setstate tankbay_hacabinet_cm_marker default
setstate tankbay_hacabinet_toi default
setstate tankbay_hacabinet_toi default
}
}
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
// Disable health/ammo cabinets, allied radio has been destroyed
// Disable health/ammo cabinets, allied radio has been destroyed
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
trigger disable_hacabs
trigger disable_hacabs
{
{
setstate tankbay_healthcabinet invisible
setstate tankbay_healthcabinet invisible
setstate tankbay_ammocabinet invisible
setstate tankbay_ammocabinet invisible
setstate tankbay_healthtrigger invisible
setstate tankbay_healthtrigger invisible
setstate tankbay_ammotrigger invisible
setstate tankbay_ammotrigger invisible
setstate tankbay_healthcabinet_dmg default
setstate tankbay_healthcabinet_dmg default
setstate tankbay_ammocabinet_dmg default
setstate tankbay_ammocabinet_dmg default
setstate tankbay_hacabinet_cm_marker invisible
setstate tankbay_hacabinet_cm_marker invisible
setstate tankbay_hacabinet_toi invisible
setstate tankbay_hacabinet_toi invisible
}
}
}
}
allied_radio_destroyed
allied_radio_destroyed
{
{
spawn
spawn
{
{
wait 200
wait 200
setstate allied_radio_destroyed invisible
setstate allied_radio_destroyed invisible
setstate allied_radio_destroyed_model invisible
setstate allied_radio_destroyed_model invisible
}
}
trigger hide
trigger hide
{
{
setstate allied_radio_destroyed invisible
setstate allied_radio_destroyed invisible
setstate allied_radio_destroyed_model invisible
setstate allied_radio_destroyed_model invisible
}
}
trigger show
trigger show
{
{
setstate allied_radio_destroyed default
setstate allied_radio_destroyed default
setstate allied_radio_destroyed_model default
setstate allied_radio_destroyed_model default
}
}
}
}
allied_radio_closed
allied_radio_closed
{
{
spawn
spawn
{
{
wait 200
wait 200
setstate allied_radio_closed default
setstate allied_radio_closed default
setstate allied_radio_closed_model default
setstate allied_radio_closed_model default
}
}
trigger hide
trigger hide
{
{
setstate allied_radio_closed invisible
setstate allied_radio_closed invisible
setstate allied_radio_closed_model invisible
setstate allied_radio_closed_model invisible
}
}
trigger show
trigger show
{
{
setstate allied_radio_closed default
setstate allied_radio_closed default
setstate allied_radio_closed_model default
setstate allied_radio_closed_model default
}
}
}
}
allied_radio_built
allied_radio_built
{
{
spawn
spawn
{
{
wait 400
wait 400
constructible_class 2
constructible_class 2
trigger allied_radio_built setup
trigger allied_radio_built setup
}
}
trigger setup
trigger setup
{
{
setchargetimefactor 1 soldier 1
setchargetimefactor 1 soldier 1
setchargetimefactor 1 lieutenant 1
setchargetimefactor 1 lieutenant 1
setchargetimefactor 1 medic 1
setchargetimefactor 1 medic 1
setchargetimefactor 1 engineer 1
setchargetimefactor 1 engineer 1
setchargetimefactor 1 covertops 1
setchargetimefactor 1 covertops 1
sethqstatus 1 0
sethqstatus 1 0
trigger alliedhqradio_toi disable_hacabs
trigger alliedhqradio_toi disable_hacabs
}
}
buildstart final
buildstart final
{
{
trigger allied_radio_built_model trans
trigger allied_radio_built_model trans
trigger allied_radio_destroyed hide
trigger allied_radio_destroyed hide
trigger allied_radio_closed hide
trigger allied_radio_closed hide
}
}
decayed final
decayed final
{
{
trigger allied_radio_built_model hide
trigger allied_radio_built_model hide
trigger allied_radio_closed show
trigger allied_radio_closed show
}
}
built final
built final
{
{
trigger allied_radio_built_model show
trigger allied_radio_built_model show
trigger allied_radio_closed hide
trigger allied_radio_closed hide
trigger allied_radio_destroyed hide
trigger allied_radio_destroyed hide
trigger allied_radio_built_model enable_allied_features
trigger allied_radio_built_model enable_allied_features
enablespeaker alliedhq_sound
enablespeaker alliedhq_sound
//bani
//bani
trigger fueldumphq_obj on
trigger fueldumphq_obj on
}
}
death
death
{
{
trigger allied_radio_built_model hide
trigger allied_radio_built_model hide
trigger allied_radio_destroyed show
trigger allied_radio_destroyed show
trigger allied_radio_built_model disable_allied_features
trigger allied_radio_built_model disable_allied_features
disablespeaker alliedhq_sound
disablespeaker alliedhq_sound
//bani
//bani
trigger fueldumphq_obj off
trigger fueldumphq_obj off
}
}
}
}
allied_radio_built_model
allied_radio_built_model
{
{
spawn
sp
{
wait 400
setstate allied_radio_built_model invisible
accum 0 bitreset 0 // set if radio is built
accum 0 bitreset 1 // set if goal should be ignored
}
trigger show
{
setstate allied_radio_built_model default
}
trigger hide
{
setstate allied_radio_built_model invisible
}
trigger trans
{
setstate allied_radio_built_model underconstruction
}
trigger enable_allied_features
{
trigger alliedhqradio_toi enable_hacabs
//-----------------------------------------------------------------------
// Increase Allies charge times
//-----------------------------------------------------------------------
setchargetimefactor 1 soldier 0.75
setchargetimefactor 1 lieutenant 0.75
setchargetimefactor 1 medic 0.75
setchargetimefactor 1 engineer 0.75
setchargetimefactor 1 covertops 0.75
sethqstatus 1 1
// *----------------------------------- vo ------------------------------------------*
wm_teamvoiceannounce 0 "axis_hq_compost_constructed_allies"
wm_teamvoiceannounce 1 "allies_hq_compost_constructed"
wm_removeteamvoiceannounce 1 "allies_hq_compost_construct"
// *---------------------------------------------------------------------------------*
wm_objective_status 7 1 1
wm_objective_status 7 0 2
wm_announce "Allied Command Post constructed. Charge speed increased!"
accum 0 bitset 0
}
trigger disable_allied_features
{
trigger alliedhqradio_toi disable_hacabs
//-----------------------------------------------------------------------
// Decrease Allies charge times
//-----------------------------------------------------------------------
setchargetimefactor 1 soldier 1
setchargetimefactor 1 lieutenant 1
setchargetimefactor 1 medic 1
setchargetimefactor 1 engineer 1
setchargetimefactor 1 covertops 1
sethqstatus