Updated map scripts for fueldump, supplydepot, railgun +more

Discussion for any ET/ETPro/BayonET bugs or cheats you find...

Moderators: Forum moderators, developers

User avatar
Ragnar_40k
Posts: 394
Joined: Thu Mar 18, 2004 5:18 pm
Location: Berlin, birthplace of the Döner
Contact:

Post by Ragnar_40k »

vendetta50 wrote:He explains hes going to have a constructable version made soon in the pm he sent me.
He should also made all Axis constructables (towers+CP) already built on map start - this usually helps Pub players to concentrate on the main objectives. ;)

Additionally he could add some kind of Frontline mod (when he likes it), e.g. in the first part of the map: the more objectives Allies accomplish the closer they spawn to the Hut with the ammo/health racks.

Another idea is to make the Fueldump gate dynamitable+rebuildable until the tank comes to the front of the Fueldump and blasts it completely.
The Emperor watch over you.
User avatar
vendetta50
Posts: 47
Joined: Sun May 20, 2007 2:10 am
Contact:

Post by vendetta50 »

Ragnar_40k wrote:
vendetta50 wrote:He explains hes going to have a constructable version made soon in the pm he sent me.
He should also made all Axis constructables (towers+CP) already built on map start - this usually helps Pub players to concentrate on the main objectives. ;)

Additionally he could add some kind of Frontline mod (when he likes it), e.g. in the first part of the map: the more objectives Allies accomplish the closer they spawn to the Hut with the ammo/health racks.

Another idea is to make the Fueldump gate dynamitable+rebuildable until the tank comes to the front of the Fueldump and blasts it completely.

I'm going to pm him on etconfigs what you just said i'll get back to you. 8)
User avatar
vendetta50
Posts: 47
Joined: Sun May 20, 2007 2:10 am
Contact:

Post by vendetta50 »

That Fueldump Script v2 is a bullsh*t script that you see on wolfmap and splatterladder.


I gave you the script that you can add into any other so the fake creator did nothing its not any updated version. :?
User avatar
Ragnar_40k
Posts: 394
Joined: Thu Mar 18, 2004 5:18 pm
Location: Berlin, birthplace of the Döner
Contact:

Post by Ragnar_40k »

vendetta50 wrote:That Fueldump Script v2 is a bullsh*t script that you see on wolfmap and splatterladder.


I gave you the script that you can add into any other so the fake creator did nothing its not any updated version. :?
Removed the news from splatterladder (it came with the RSS feed from Wolfmap.de).

PS: Afaics the creator of this script just took the ramp and merged it into the script with the Allied CP spawn.
The Emperor watch over you.
User avatar
mortis
Posts: 360
Joined: Tue Jul 06, 2004 11:57 pm
Location: at the center of the e-universe
Contact:

Post by mortis »

Someone merged my script and another, i guess? It wasn't me who did it anyway, i always credit code suppliers...
User avatar
vendetta50
Posts: 47
Joined: Sun May 20, 2007 2:10 am
Contact:

Post by vendetta50 »

Ragnar_40k wrote:
vendetta50 wrote:That Fueldump Script v2 is a bullsh*t script that you see on wolfmap and splatterladder.


I gave you the script that you can add into any other so the fake creator did nothing its not any updated version. :?
Removed the news from splatterladder (it came with the RSS feed from Wolfmap.de).

PS: Afaics the creator of this script just took the ramp and merged it into the script with the Allied CP spawn.
<3 :roll:
User avatar
vendetta50
Posts: 47
Joined: Sun May 20, 2007 2:10 am
Contact:

Post by vendetta50 »

Constructable Bridge Available now in a Beta 1 version!


News about it is here:

http://etconfigs.net/news.php?readmore=143


8)
StinVec
Posts: 1
Joined: Sat Jul 07, 2007 1:51 am
Contact:

Post by StinVec »

Hello all. I've finally managed to find time to log in and post. Thanks for the comments about the FD Bridge, and I hope to finish it very soon...once I can overcome limitations in ET through scripting.

Ragnar, thank you for inspiring me in modding ET through scripting with your creations and creativity, as well as everyone else in these forums.

The latest mod I've finished is an additional gate at the start of Supply Depot 2. I've tested it thoroughly and it is in perfect working order. I'm test running it on my server to see how well it's accepted by pub players, and perhaps I'll test it in competition settings soon as well.
The script I wrote it into is the latest SD2 script in this thread and I'll be posting into my download section of my website in a couple of days and then post it onto here and etconfigs.net


I'd really love to hear thoughts from everyone on what is good or bad about it.

Thanks for your support!

Here are some screenshots of the First Bunker Gate.
www.sqill-squad.com forum thread: comments and screenshots

I'll update shortly.

/SS/StinVec
User avatar
Luk4ward
Posts: 236
Joined: Sun Jul 30, 2006 1:55 pm
Location: Poland
Contact:

Post by Luk4ward »

StinVec wrote:Hello all. I've finally managed to find time to log in and post. Thanks for the comments about the FD Bridge, and I hope to finish it very soon...once I can overcome limitations in ET through scripting.

Ragnar, thank you for inspiring me in modding ET through scripting with your creations and creativity, as well as everyone else in these forums.

The latest mod I've finished is an additional gate at the start of Supply Depot 2. I've tested it thoroughly and it is in perfect working order. I'm test running it on my server to see how well it's accepted by pub players, and perhaps I'll test it in competition settings soon as well.
The script I wrote it into is the latest SD2 script in this thread and I'll be posting into my download section of my website in a couple of days and then post it onto here and etconfigs.net


I'd really love to hear thoughts from everyone on what is good or bad about it.

Thanks for your support!

Here are some screenshots of the First Bunker Gate.
www.sqill-squad.com forum thread: comments and screenshots

I'll update shortly.

/SS/StinVec
mmm, i dnt see a point doing this, especially in sd2 (you should use supply final?). Second admin of our server is working on the supply version which will make truck destroyable & repairable, but this is the most complicated from most league maps which he has already done

regards
wolFTeam.pl
whoosaaa
Posts: 5
Joined: Sun Nov 04, 2007 4:21 am
Contact:

Post by whoosaaa »

Hi

Due some spawnkilling we added this spawnprotection script on our server.
But made some minor changes. :D
Added Health Ammo Hut spawn and barriers to it.
So as soon the tank passes mg the barriers go up. And when main gate is blwn they will disapear again. :D

1 more thing...
Sorry but i didnt asked nUllSkillZ for permission but will give him al the credits.
This barrier thing was nessecary for us and i wanted to work with ammohut camping.
So did some work on it and added some routines.

For those who want to look at it here it is.
Image
Its not etpro, sorry to say its jay....
Here is the script

[quote]// ============================================================================
// Map: Fueldump
// Last update : 16/06/03 Sock
// ============================================================================
// 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
// 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
// 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 - Wed Jul 19 10:57:18 added arni's fueldump anti-trickjump playerclips
// mortis - Wed Jul 19 10:57:18 added 2 of arni's extra axis spawns + routine

game_manager
{
spawn
{

// extra spawns for axis - thanks arni

create
{
scriptName "fueldumpxt_obj"
classname "team_WOLF_objective"
targetname "fueldumpxt_obj"
origin "-10556 -6692 5" // z = CC_FILTER_ALLIES(2) | CC_FILTER_SPAWNS(4)
spawnflags 1 // TEAM_AXIS(2)
}

create
{
scriptName "fueldumpxt_spawn1"
classname "team_CTF_redspawn"
targetname "fueldumpxt_spawn"
origin "-10603 -6705 220"
spawnflags 3 // TEAM_AXIS
angle "56"
}

create
{
scriptName "fueldumpxt_spawn2"
classname "team_CTF_redspawn"
targetname "fueldumpxt_spawn"
origin "-10521 -6751 220"
spawnflags 3 // TEAM_AXIS
angle "110"
}

// fueldump anti-trickjump player clips - courtesy arni

create
{
scriptName "fueljump1"
classname "func_fakebrush"
origin "-8762 -5157 648"
contents 65536 // CONTENTS_PLAYERCLIP // high fueljump
mins "-250 -50 -50"
maxs "50 50 150"
}

create
{
scriptName "fueljump2"
classname "func_fakebrush"
origin "-10430 -5126 424"
contents 65536 // CONTENTS_PLAYERCLIP // mg bunker
mins "-50 -20 -20"
maxs "20 20 30"
}

create
{
scriptName "fueljump3"
classname "func_fakebrush"
origin "-9536 -5215 340"
contents 1 // main gate "hut"
mins "-35 -35 -20"
maxs "35 35 5"
}

create
{
scriptName "fueljump4"
classname "func_fakebrush"
origin "-11170 -1823 790"
contents 65536 // CONTENTS_PLAYERCLIP // Allied Spawn at Fueldump roof
mins "-250 -250 -50"
maxs "50 50 150"
}


// extra spawns for Allies at Ammo Hut

create
{
scriptName "ammohut_obj"
classname "team_WOLF_objective"
targetname "ammohut_obj"
origin "-3132 -8346 390" // z = CC_FILTER_ALLIES(2) | CC_FILTER_SPAWNS(4)
spawnflags 2 // TEAM_ALLIES(2)
}

create
{
scriptName "ammohut_spawn1"
classname "team_CTF_bluespawn"
targetname "ammohut_spawn"
origin "-3231 -8346 390"
spawnflags 2 // TEAM_ALLIES
angle "90"
}

create
{
scriptName "ammohut_spawn2"
classname "team_CTF_bluespawn"
targetname "ammohut_spawn"
origin "-3250 -8225 390"
spawnflags 2 // TEAM_ALLIES
angle "90"
}

create
{
scriptName "ammohut_spawn3"
classname "team_CTF_bluespawn"
targetname "ammohut_spawn"
origin "-3023 -8371 390"
spawnflags 2 // TEAM_ALLIES
angle "90"
}

create
{
scriptName "ammohut_spawn4"
classname "team_CTF_bluespawn"
targetname "ammohut_spawn"
origin "-3032 -8231 390"
spawnflags 2 // TEAM_ALLIES
angle "90"
}

create
{
scriptName "fueldumphq_obj"
classname "team_WOLF_objective"
targetname "fueldumphq_obj"
origin "-10853 -2036 6" // z = CC_FILTER_ALLIES(2) | CC_FILTER_SPAWNS(4)
spawnflags 2 // TEAM_ALLIES(2)
}

create
{
scriptName "fueldumphq_spawn1"
classname "team_CTF_bluespawn"
targetname "fueldumphq_spawn"
origin "11072 -2448 512"
spawnflags 2 // TEAM_ALLIES
}

create
{
scriptName "fueldumphq_spawn2"
classname "team_CTF_bluespawn"
targetname "fueldumphq_spawn"
origin "-10995 -2448 512"
spawnflags 2 // TEAM_ALLIES
}

create
{
scriptName "fueldumphq_spawn3"
classname "team_CTF_bluespawn"
targetname "fueldumphq_spawn"
origin "-10918 -2448 512"
spawnflags 2 // TEAM_ALLIES
}

create
{
scriptName "fueldumphq_spawn4"
classname "team_CTF_bluespawn"
targetname "fueldumphq_spawn"
origin "-10841 -2448 512"
spawnflags 2 // TEAM_ALLIES
}

create
{
scriptName "fueldumphq_spawn5"
classname "team_CTF_bluespawn"
targetname "fueldumphq_spawn"
origin "11072 -2288 512"
spawnflags 2 // TEAM_ALLIES
}

create
{
scriptName "fueldumphq_spawn6"
classname "team_CTF_bluespawn"
targetname "fueldumphq_spawn"
origin "-10995 -2288 512"
spawnflags 2 // TEAM_ALLIES
}

create
{
scriptName "fueldumphq_spawn7"
classname "team_CTF_bluespawn"
targetname "fueldumphq_spawn"
origin "-10918 -2288 512"
spawnflags 2 // TEAM_ALLIES
}

create
{
scriptName "fueldumphq_spawn8"
classname "team_CTF_bluespawn"
targetname "fueldumphq_spawn"
origin "-10841 -2288 512"
spawnflags 2 // TEAM_ALLIES
}

// ***** nUllSkillZ SPAWNPROTECTION START *****
// AXISBASE START
// FRONT START
create
{
scriptname "spawnprotection_axisbase_front_trigger"
targetname "spawnprotection_axisbase"
origin "-9440 -5408 448"
classname "trigger_multiple"
spawnflags "2" // allied_only
target "spawnprotection_axisbase_front_targets"
mins "0 0 0"
maxs "8 64 112"
}

create
{
classname "target_speaker"
targetname "spawnprotection_axisbase_front_targets"
scriptname "spawnprotection_axisbase_front_speaker"
angle "180"
noise "sound/weapons/impact/flesh1.wav"
origin "-9456 -5376 528"
}

create
{
classname "target_push"
targetname "spawnprotection_axisbase_front_targets"
scriptname "spawnprotection_axisbase_front_push"
angle "180"
origin "-9456 -5376 504"
}

create
{
classname "target_print"
targetname "spawnprotection_axisbase_front_targets"
scriptname "spawnprotection_axisbase_front_print"
angle "180"
origin "-9456 -5376 480"
message "No entry for Allied!"
spawnflags "4"
}

create
{
classname "misc_gamemodel"
scriptname "spawnprotection_axisbase_front_model"
targetname "spawnprotection_axisbase"
model "models/ns/ebarrier/barrier_8_064_104_red.md3"
origin "-9436 -5374 448"
angles "0 90 0"
}

create
{
classname "target_speaker"
scriptname "spawnprotection_axisbase_front_globalspeaker"
targetname "spawnprotection_axisbase_globalspeaker"
angle "90"
noise "sound/world/transformer.wav"
origin "-9436 -5400 544"
spawnflags "1"
}
// FRONT END

// BACK START
create
{
scriptname "spawnprotection_axisbase_back_trigger"
targetname "spawnprotection_axisbase"
origin "-9208 -7360 216"
classname "trigger_multiple"
spawnflags "2" // allied_only
target "spawnprotection_axisbase_back_targets"
mins "0 0 0"
maxs "8 96 96"
}

create
{
classname "target_speaker"
targetname "spawnprotection_axisbase_back_targets"
scriptname "spawnprotection_axisbase_back_speaker"
angle "180"
noise "sound/weapons/impact/flesh1.wav"
origin "-9224 -7312 288"
}

create
{
classname "target_push"
targetname "spawnprotection_axisbase_back_targets"
scriptname "spawnprotection_axisbase_back_push"
angle "180"
origin "-9224 -7312 264"
}

create
{
classname "target_print"
targetname "spawnprotection_axisbase_back_targets"
scriptname "spawnprotection_axisbase_back_print"
angle "180"
origin "-9224 -7312 240"
message "No entry for Allied!"
spawnflags "4"
}

create
{
classname "misc_gamemodel"
scriptname "spawnprotection_axisbase_back_model"
targetname "spawnprotection_axisbase"
model "models/ns/ebarrier/barrier_8_096_096_red.md3"
origin "-9204 -7312 216"
angles "0 90 0"
}

create
{
classname "target_speaker"
scriptname "spawnprotection_axisbase_back_globalspeaker"
targetname "spawnprotection_axisbase_globalspeaker"
angle "90"
noise "sound/world/transformer.wav"
origin "-9204 -7352 304"
spawnflags "1"
}
// BACK END
// AXISBASE END

// FUELDUMPHQ START
// DOOR START
create
{
classname "trigger_multiple"
origin "-11384 -2336 552"
scriptname "spawnprotection_fueldumphq_door_trigger_soldier"
targetname "spawnprotection_fueldumphq"
spawnflags "17" // axis_only + soldier_only
target "spawnprotection_fueldumphq_door_targets"
mins "0 0 0"
maxs "8 64 104"
}

create
{
classname "trigger_multiple"
origin "-11384 -2336 552"
scriptname "spawnprotection_fueldumphq_door_trigger_fop"
targetname "spawnprotection_fueldumphq"
spawnflags "33" // axis_only + fieldops_only
target "spawnprotection_fueldumphq_door_targets"
mins "0 0 0"
maxs "8 64 104"
}

create
{
classname "trigger_multiple"
origin "-11384 -2336 552"
scriptname "spawnprotection_fueldumphq_door_trigger_medic"
targetname "spawnprotection_fueldumphq"
spawnflags "65" // axis_only + medic_only
target "spawnprotection_fueldumphq_door_targets"
mins "0 0 0"
maxs "8 64 104"
}

create
{
classname "target_speaker"
targetname "spawnprotection_fueldumphq_door_targets"
scriptname "spawnprotection_fueldumphq_door_speaker"
angle "180"
noise "sound/weapons/impact/flesh1.wav"
origin "-11400 -2304 632"
}

create
{
classname "target_push"
targetname "spawnprotection_fueldumphq_door_targets"
scriptname "spawnprotection_fueldumphq_door_push"
angle "180"
origin "-11400 -2304 608"
}

create
{
classname "target_print"
targetname "spawnprotection_fueldumphq_door_targets"
scriptname "spawnprotection_fueldumphq_door_print"
angle "180"
origin "-11400 -2304 584"
message "No entry for Axis Soldier, Medic, Field Ops!"
spawnflags "4"
}

create
{
classname "misc_gamemodel"
scriptname "spawnprotection_fueldumphq_door_model"
targetname "spawnprotection_fueldumphq"
model "models/ns/ebarrier/barrier_8_064_104_blue.md3"
origin "-11380 -2304 552"
angles "0 90 0"
}

create
{
classname "target_speaker"
scriptname "spawnprotection_fueldumphq_door_globalspeaker"
targetname "spawnprotection_fueldumphq_globalspeaker"
angle "90"
noise "sound/world/transformer.wav"
origin "-11380 -2328 648"
spawnflags "1"
}
// DOOR END

// GATES START
// GATE RIGHT START
create
{
classname "trigger_multiple"
origin "-10664 -2480 508"
scriptname "spawnprotection_fueldumphq_gate_right_trigger_soldier"
targetname "spawnprotection_fueldumphq"
spawnflags "17" // axis_only + soldier_only
target "spawnprotection_fueldumphq_gate_right_targets"
mins "0 0 0"
maxs "8 224 148"
}

create
{
classname "trigger_multiple"
origin "-10664 -2480 508"
scriptname "spawnprotection_fueldumphq_gate_right_trigger_fop"
targetname "spawnprotection_fueldumphq"
spawnflags "33" // axis_only + fieldops_only
target "spawnprotection_fueldumphq_gate_right_targets"
mins "0 0 0"
maxs "8 224 148"
}

create
{
classname "trigger_multiple"
origin "-10664 -2480 508"
scriptname "spawnprotection_fueldumphq_gate_right_trigger_medic"
targetname "spawnprotection_fueldumphq"
spawnflags "65" // axis_only + medic_only
target "spawnprotection_fueldumphq_gate_right_targets"
mins "0 0 0"
maxs "8 224 148"
}

create
{
classname "target_speaker"
targetname "spawnprotection_fueldumphq_gate_right_targets"
scriptname "spawnprotection_fueldumphq_gate_right_speaker"
noise "sound/weapons/impact/flesh1.wav"
origin "-10640 -2368 632"
}

create
{
classname "target_push"
targetname "spawnprotection_fueldumphq_gate_right_targets"
scriptname "spawnprotection_fueldumphq_gate_right_push"
origin "-10640 -2368 608"
}

create
{
classname "target_print"
targetname "spawnprotection_fueldumphq_gate_right_targets"
scriptname "spawnprotection_fueldumphq_gate_right_print"
origin "-10640 -2368 584"
message "No entry for Axis Soldier, Medic, Field Ops!"
spawnflags "4"
}

create
{
classname "misc_gamemodel"
scriptname "spawnprotection_fueldumphq_gate_right_model"
targetname "spawnprotection_fueldumphq"
model "models/ns/ebarrier/barrier_8_224_148_blue.md3"
origin "-10660 -2364 508"
angles "0 90 0"
}

create
{
classname "target_speaker"
scriptname "spawnprotection_fueldumphq_gate_right_globalspeaker"
targetname "spawnprotection_fueldumphq_globalspeaker"
angle "90"
noise "sound/world/transformer.wav"
origin "-10660 -2472 648"
spawnflags "1"
}
// GATE RIGHT END

// GATE LEFT START
create
{
classname "trigger_multiple"
origin "-10664 -2160 508"
scriptname "spawnprotection_fueldumphq_gate_left_trigger_soldier"
targetname "spawnprotection_fueldumphq"
spawnflags "17" // axis_only + soldier_only
target "spawnprotection_fueldumphq_gate_left_targets"
mins "0 0 0"
maxs "8 224 148"
}

create
{
classname "trigger_multiple"
origin "-10664 -2160 508"
scriptname "spawnprotection_fueldumphq_gate_left_trigger_fop"
targetname "spawnprotection_fueldumphq"
spawnflags "33" // axis_only + fieldops_only
target "spawnprotection_fueldumphq_gate_left_targets"
mins "0 0 0"
maxs "8 224 148"
}

create
{
classname "trigger_multiple"
origin "-10664 -2160 508"
scriptname "spawnprotection_fueldumphq_gate_left_trigger_medic"
targetname "spawnprotection_fueldumphq"
spawnflags "65" // axis_only + medic_only
target "spawnprotection_fueldumphq_gate_left_targets"
mins "0 0 0"
maxs "8 224 148"
}

create
{
classname "target_speaker"
targetname "spawnprotection_fueldumphq_gate_left_targets"
scriptname "spawnprotection_fueldumphq_gate_left_speaker"
noise "sound/weapons/impact/flesh1.wav"
origin "-10640 -2048 632"
}

create
{
classname "target_push"
targetname "spawnprotection_fueldumphq_gate_left_targets"
scriptname "spawnprotection_fueldumphq_gate_left_push"
origin "-10640 -2048 608"
}

create
{
classname "target_print"
targetname "spawnprotection_fueldumphq_gate_left_targets"
scriptname "spawnprotection_fueldumphq_gate_left_print"
origin "-10640 -2048 584"
message "No entry for Axis Soldier, Medic, Field Ops!"
spawnflags "4"
}

create
{
classname "misc_gamemodel"
scriptname "spawnprotection_fueldumphq_gate_left_model"
targetname "spawnprotection_fueldumphq"
model "models/ns/ebarrier/barrier_8_224_148_blue.md3"
origin "-10660 -2044 508"
angles "0 90 0"
}

create
{
classname "target_speaker"
scriptname "spawnprotection_fueldumphq_gate_left_globalspeaker"
targetname "spawnprotection_fueldumphq_globalspeaker"
angle "90"
noise "sound/world/transformer.wav"
origin "-10660 -2152 648"
spawnflags "1"
}
// GATE LEFT END
// GATES END
// FUELDUMPHQ END

// TUNNEL START
// CAVE START
create // BLUE
{
scriptname "spawnprotection_tunnel_cave_trigger_blue"
targetname "spawnprotection_tunnel_blue"
origin "-5736 -1544 352"
classname "trigger_multiple"
spawnflags "1" // axis_only
target "spawnprotection_tunnel_cave_targets"
mins "0 0 0"
maxs "8 144 128"
}

create // RED
{
scriptname "spawnprotection_tunnel_cave_trigger_red"
targetname "spawnprotection_tunnel_red"
origin "-5736 -1544 352"
classname "trigger_multiple"
spawnflags "2" // allied_only
target "spawnprotection_tunnel_cave_targets"
mins "0 0 0"
maxs "8 144 128"
}

create
{
classname "target_speaker"
targetname "spawnprotection_tunnel_cave_targets"
scriptname "spawnprotection_tunnel_cave_speaker"
angle "180"
noise "sound/weapons/impact/flesh1.wav"
origin "-5752 -1472 432"
}

create
{
classname "target_push"
targetname "spawnprotection_tunnel_cave_targets"
scriptname "spawnprotection_tunnel_cave_push"
angle "180"
origin "-5752 -1472 408"
}

create
{
classname "target_print"
targetname "spawnprotection_tunnel_cave_targets"
scriptname "spawnprotection_tunnel_cave_print"
angle "180"
origin "-5752 -1472 384"
//message "No entry for Axis!"
message "No entry!"
spawnflags "4"
}

create // BLUE
{
classname "misc_gamemodel"
scriptname "spawnprotection_tunnel_cave_model_blue"
targetname "spawnprotection_tunnel_blue"
model "models/ns/ebarrier/barrier_8_144_128_blue.md3"
origin "-5732 -1472 352"
angles "0 90 0"
}

create // RED
{
classname "misc_gamemodel"
scriptname "spawnprotection_tunnel_cave_model_red"
targetname "spawnprotection_tunnel_red"
model "models/ns/ebarrier/barrier_8_144_128_red.md3"
origin "-5732 -1472 352"
angles "0 90 0"
}

create
{
classname "target_speaker"
scriptname "spawnprotection_tunnel_cave_globalspeaker"
targetname "spawnprotection_tunnel_globalspeaker"
angle "90"
noise "sound/world/transformer.wav"
origin "-5732 -1536 472"
spawnflags "1"
}
// CAVE END

// ROUNDDOOR START
// RIGHT START
create // BLUE
{
scriptname "spawnprotection_tunnel_rounddoor_right_trigger_blue"
targetname "spawnprotection_tunnel_blue"
origin "-4872 -1952 800"
classname "trigger_multiple"
spawnflags "1" // axis_only
target "spawnprotection_tunnel_rounddoor_right_targets"
mins "0 0 0"
maxs "8 96 96"
}

create // RED
{
scriptname "spawnprotection_tunnel_rounddoor_right_trigger_red"
targetname "spawnprotection_tunnel_red"
origin "-4872 -1952 800"
classname "trigger_multiple"
spawnflags "2" // allied_only
target "spawnprotection_tunnel_rounddoor_right_targets"
mins "0 0 0"
maxs "8 96 96"
}

create // BLUE
{
classname "misc_gamemodel"
scriptname "spawnprotection_tunnel_rounddoor_right_model_blue"
targetname "spawnprotection_tunnel_blue"
model "models/ns/ebarrier/barrier_roundtop_8_096_128_blue.md3"
origin "-4868 -1904 800"
angles "0 90 0"
}

create // RED
{
classname "misc_gamemodel"
scriptname "spawnprotection_tunnel_rounddoor_right_model_red"
targetname "spawnprotection_tunnel_red"
model "models/ns/ebarrier/barrier_roundtop_8_096_128_red.md3"
origin "-4868 -1904 800"
angles "0 90 0"
}

create
{
classname "target_speaker"
targetname "spawnprotection_tunnel_rounddoor_right_targets"
scriptname "spawnprotection_tunnel_rounddoor_right_speaker"
noise "sound/weapons/impact/flesh1.wav"
origin "-4848 -1904 872"
}

create
{
classname "target_push"
targetname "spawnprotection_tunnel_rounddoor_right_targets"
scriptname "spawnprotection_tunnel_rounddoor_right_push"
origin "-4848 -1904 848"
}

create
{
classname "target_print"
targetname "spawnprotection_tunnel_rounddoor_right_targets"
scriptname "spawnprotection_tunnel_rounddoor_right_print"
origin "-4848 -1904 824"
//message "No entry for Axis!"
message "No entry!"
spawnflags "4"
}

create
{
classname "target_speaker"
scriptname "spawnprotection_tunnel_rounddoor_right_globalspeaker"
targetname "spawnprotection_tunnel_globalspeaker"
angle "270"
noise "sound/world/transformer.wav"
origin "-4868 -1864 888"
spawnflags "1"
}
// RIGHT END

// LEFT START
create // BLUE
{
scriptname "spawnprotection_tunnel_rounddoor_left_trigger_blue"
targetname "spawnprotection_tunnel_blue"
origin "-4616 -1392 800"
classname "trigger_multiple"
spawnflags "1" // axis_only
target "spawnprotection_tunnel_rounddoor_left_targets"
mins "0 0 0"
maxs "8 96 96"
}

create // RED
{
scriptname "spawnprotection_tunnel_rounddoor_left_trigger_red"
targetname "spawnprotection_tunnel_red"
origin "-4616 -1392 800"
classname "trigger_multiple"
spawnflags "2" // allied_only
target "spawnprotection_tunnel_rounddoor_left_targets"
mins "0 0 0"
maxs "8 96 96"
}

create // BLUE
{
classname "misc_gamemodel"
scriptname "spawnprotection_tunnel_rounddoor_left_model_blue"
targetname "spawnprotection_tunnel_blue"
model "models/ns/ebarrier/barrier_roundtop_8_096_128_blue.md3"
origin "-4612 -1344 800"
angles "0 90 0"
}

create // RED
{
classname "misc_gamemodel"
scriptname "spawnprotection_tunnel_rounddoor_left_model_red"
targetname "spawnprotection_tunnel_red"
model "models/ns/ebarrier/barrier_roundtop_8_096_128_red.md3"
origin "-4612 -1344 800"
angles "0 90 0"
}

create
{
classname "target_speaker"
targetname "spawnprotection_tunnel_rounddoor_left_targets"
scriptname "spawnprotection_tunnel_rounddoor_left_speaker"
noise "sound/weapons/impact/flesh1.wav"
origin "-4592 -1344 872"
}

create
{
classname "target_push"
targetname "spawnprotection_tunnel_rounddoor_left_targets"
scriptname "spawnprotection_tunnel_rounddoor_left_push"
origin "-4592 -1344 848"
}

create
{
classname "target_print"
targetname "spawnprotection_tunnel_rounddoor_left_targets"
scriptname "spawnprotection_tunnel_rounddoor_left_print"
origin "-4592 -1344 824"
//message "No entry for Axis!"
message "No entry!"
spawnflags "4"
}

create
{
classname "target_speaker"
scriptname "spawnprotection_tunnel_rounddoor_left_globalspeaker"
targetname "spawnprotection_tunnel_globalspeaker"
angle "270"
noise "sound/world/transformer.wav"
origin "-4612 -1304 888"
spawnflags "1"
}
// LEFT END
// ROUNDDOOR END

// DOOR START
create // BLUE
{
scriptname "spawnprotection_tunnel_door_trigger_blue"
targetname "spawnprotection_tunnel_blue"
origin "-5360 -2548 504"
classname "trigger_multiple"
spawnflags "1" // axis_only
target "spawnprotection_tunnel_door_targets"
mins "0 0 0"
maxs "64 8 104"
}

create // RED
{
scriptname "spawnprotection_tunnel_door_trigger_red"
targetname "spawnprotection_tunnel_red"
origin "-5360 -2548 504"
classname "trigger_multiple"
spawnflags "2" // allied_only
target "spawnprotection_tunnel_door_targets"
mins "0 0 0"
maxs "64 8 104"
}

create // BLUE
{
classname "misc_gamemodel"
scriptname "spawnprotection_tunnel_door_model_blue"
targetname "spawnprotection_tunnel_blue"
model "models/ns/ebarrier/barrier_8_064_104_blue.md3"
origin "-5328 -2544 504"
}

create // RED
{
classname "misc_gamemodel"
scriptname "spawnprotection_tunnel_door_model_red"
targetname "spawnprotection_tunnel_red"
model "models/ns/ebarrier/barrier_8_064_104_red.md3"
origin "-5328 -2544 504"
}

create
{
classname "target_speaker"
targetname "spawnprotection_tunnel_door_targets"
scriptname "spawnprotection_tunnel_door_speaker"
noise "sound/weapons/impact/flesh1.wav"
origin "-5328 -2564 584"
angle "270"
}

create
{
classname "target_push"
targetname "spawnprotection_tunnel_door_targets"
scriptname "spawnprotection_tunnel_door_push"
origin "-5328 -2564 560"
angle "270"
}

create
{
classname "target_print"
targetname "spawnprotection_tunnel_door_targets"
scriptname "spawnprotection_tunnel_door_print"
origin "-5328 -2564 536"
//message "No entry for Axis!"
message "No entry!"
spawnflags "4"
angle "270"
}

create
{
classname "target_speaker"
scriptname "spawnprotection_tunnel_door_globalspeaker"
targetname "spawnprotection_tunnel_globalspeaker"
angle "180"
noise "sound/world/transformer.wav"
origin "-5304 -2544 600"
spawnflags "1"
}
// DOOR END
// TUNNEL END

// ALLIEDSTART START
// FRONT START
create
{
scriptname "spawnprotection_alliedstart_front_trigger"
targetname "spawnprotection_alliedstart"
origin "-922 -8212 306"
classname "trigger_multiple"
spawnflags "1" // axis_only
target "spawnprotection_alliedstart_front_targets"
mins "0 0 0"
maxs "68 8 108"
}

create
{
classname "misc_gamemodel"
scriptname "spawnprotection_alliedstart_front_model"
targetname "spawnprotection_alliedstart"
model "models/ns/ebarrier/barrier_8_068_108_blue.md3"
origin "-888 -8208 306"
angles "0 90 0"
}

create
{
classname "target_speaker"
targetname "spawnprotection_alliedstart_front_targets"
scriptname "spawnprotection_alliedstart_front_speaker"
noise "sound/weapons/impact/flesh1.wav"
origin "-888 -8188 384"
angle "90"
}

create
{
classname "target_push"
targetname "spawnprotection_alliedstart_front_targets"
scriptname "spawnprotection_alliedstart_front_push"
origin "-888 -8188 360"
angle "90"
}

create
{
classname "target_print"
targetname "spawnprotection_alliedstart_front_targets"
scriptname "spawnprotection_alliedstart_front_print"
origin "-888 -8188 336"
//message "No entry for Axis!"
message "No entry!"
spawnflags "4"
angle "90"
}

create
{
classname "target_speaker"
scriptname "spawnprotection_alliedstart_front_globalspeaker"
targetname "spawnprotection_alliedstart_globalspeaker"
noise "sound/world/transformer.wav"
origin "-914 -8208 406"
spawnflags "1"
}
// FRONT END

// BACK START
create
{
scriptname "spawnprotection_alliedstart_back_trigger"
targetname "spawnprotection_alliedstart"
origin "-766 -8580 306"
classname "trigger_multiple"
spawnflags "1" // axis_only
target "spawnprotection_alliedstart_back_targets"
mins "0 0 0"
maxs "60 8 108"
}

create
{
classname "misc_gamemodel"
scriptname "spawnprotection_alliedstart_back_model"
targetname "spawnprotection_alliedstart"
model "models/ns/ebarrier/barrier_8_060_108_blue.md3"
origin "-736 -8576 306"
angles "0 90 0"
}

create
{
classname "target_speaker"
targetname "spawnprotection_alliedstart_back_targets"
scriptname "spawnprotection_alliedstart_back_speaker"
noise "sound/weapons/impact/flesh1.wav"
origin "-736 -8596 384"
angle "270"
}

create
{
classname "target_push"
targetname "spawnprotection_alliedstart_back_targets"
scriptname "spawnprotection_alliedstart_back_push"
origin "-736 -8596 360"
angle "270"
}

create
{
classname "target_print"
targetname "spawnprotection_alliedstart_back_targets"
scriptname "spawnprotection_alliedstart_back_print"
origin "-736 -8596 336"
//message "No entry for Axis!"
message "No entry!"
spawnflags "4"
angle "270"
}

create
{
classname "target_speaker"
scriptname "spawnprotection_alliedstart_back_globalspeaker"
targetname "spawnprotection_alliedstart_globalspeaker"
noise "sound/world/transformer.wav"
origin "-758 -8576 406"
spawnflags "1"
}
// BACK END

// WINDOW RIGHT START
create
{
scriptname "spawnprotection_alliedstart_window_right_trigger"
targetname "spawnprotection_alliedstart"
origin "-772 -8206 344"
classname "trigger_multiple"
spawnflags "1" // axis_only
target "spawnprotection_alliedstart_window_right_targets"
mins "0 0 0"
maxs "56 4 56"
}

create
{
classname "misc_gamemodel"
scriptname "spawnprotection_alliedstart_window_right_model"
targetname "spawnprotection_alliedstart"
model "models/ns/ebarrier/window_4_056_056_blue.md3"
origin "-744 -8208 344"
angles "0 90 0"
}

create
{
classname "target_speaker"
targetname "spawnprotection_alliedstart_window_right_targets"
scriptname "spawnprotection_alliedstart_window_right"
noise "sound/weapons/impact/flesh1.wav"
origin "-744 -8190 388"
angle "90"
}

create
{
classname "target_push"
targetname "spawnprotection_alliedstart_window_right_targets"
scriptname "spawnprotection_alliedstart_window_right_push"
origin "-744 -8190 372"
angle "90"
}

create
{
classname "target_print"
targetname "spawnprotection_alliedstart_window_right_targets"
scriptname "spawnprotection_alliedstart_window_right_print"
origin "-744 -8190 356"
//message "No entry for Axis!"
message "No entry!"
spawnflags "4"
angle "90"
}

create
{
classname "target_speaker"
scriptname "spawnprotection_alliedstart_window_right_globalspeaker"
targetname "spawnprotection_alliedstart_globalspeaker"
noise "sound/world/transformer.wav"
origin "-764 -8208 392"
spawnflags "1"
}
// WINDOW RIGHT END

// WINDOW LEFT START
create
{
scriptname "spawnprotection_alliedstart_window_left_trigger"
targetname "spawnprotection_alliedstart"
origin "-1060 -8206 344"
classname "trigger_multiple"
spawnflags "1" // axis_only
target "spawnprotection_alliedstart_window_left_targets"
mins "0 0 0"
maxs "56 4 56"
}

create
{
classname "misc_gamemodel"
scriptname "spawnprotection_alliedstart_window_left_model"
targetname "spawnprotection_alliedstart"
model "models/ns/ebarrier/window_4_056_056_blue.md3"
origin "-1032 -8208 344"
angles "0 90 0"
}

create
{
classname "target_speaker"
targetname "spawnprotection_alliedstart_window_left_targets"
scriptname "spawnprotection_alliedstart_window_left"
noise "sound/weapons/impact/flesh1.wav"
origin "-1032 -8190 388"
angle "90"
}

create
{
classname "target_push"
targetname "spawnprotection_alliedstart_window_left_targets"
scriptname "spawnprotection_alliedstart_window_left_push"
origin "-1032 -8190 372"
angle "90"
}

create
{
classname "target_print"
targetname "spawnprotection_alliedstart_window_left_targets"
scriptname "spawnprotection_alliedstart_window_left_print"
origin "-1032 -8190 356"
//message "No entry for Axis!"
message "No entry!"
spawnflags "4"
angle "90"
}

create
{
classname "target_speaker"
scriptname "spawnprotection_alliedstart_window_left_globalspeaker"
targetname "spawnprotection_alliedstart_globalspeaker"
noise "sound/world/transformer.wav"
origin "-1052 -8208 392"
spawnflags "1"
}
// WINDOW LEFT END

// AMMOHUT START

create
{
scriptname "spawnprotection_ammohut_door_trigger"
targetname "spawnprotection_ammohut"
origin "-3151 -8117 388"
classname "trigger_multiple"
spawnflags "1" // axis_only
target "spawnprotection_ammohut_door_targets"
mins "0 0 0"
maxs "68 8 108"
}

create
{
classname "misc_gamemodel"
scriptname "spawnprotection_ammohut_door_model"
targetname "spawnprotection_ammohut"
model "models/ns/ebarrier/barrier_8_068_108_blue.md3"
origin "-3137 -8113 388"
angles "0 90 0"
}

create
{
classname "target_speaker"
targetname "spawnprotection_ammohut_door_targets"
scriptname "spawnprotection_ammohut_door_speaker"
noise "sound/weapons/impact/flesh1.wav"
origin "-3137 -8093 450"
angle "90"
}

create
{
classname "target_push"
targetname "spawnprotection_ammohut_door_targets"
scriptname "spawnprotection_ammohut_door_push"
origin "-3137 -8093 440"
angle "90"
}

create
{
classname "target_print"
targetname "spawnprotection_ammohut_door_targets"
scriptname "spawnprotection_ammohut_door_print"
origin "-3137 -8093 410"
//message "No entry for Axis!"
message "No entry!"
spawnflags "4"
angle "90"
}

create
{
classname "target_speaker"
scriptname "spawnprotection_ammohut_door_globalspeaker"
targetname "spawnprotection_ammohut_globalspeaker"
noise "sound/world/transformer.wav"
origin "-3138 -8115 488"
spawnflags "1"
}

// AMMOHUT WINDOWS FRONT LEFT START
create
{
scriptname "spawnprotection_ammohut_window_frontleft_trigger"
targetname "spawnprotection_ammohut"
origin "-3265 -8112 427"
classname "trigger_multiple"
spawnflags "1" // axis_only
target "spawnprotection_ammohut_window_frontleft_targets"
mins "0 0 0"
maxs "56 4 56"
}

create
{
classname "misc_gamemodel"
scriptname "spawnprotection_ammohut_window_frontleft_model"
targetname "spawnprotection_ammohut"
model "models/ns/ebarrier/window_4_056_056_blue.md3"
origin "-3265 -8112 427"
angles "0 90 0"
}

create
{
classname "target_speaker"
targetname "spawnprotection_ammohut_window_frontleft_targets"
scriptname "spawnprotection_ammohut_window_frontleft_speaker"
noise "sound/weapons/impact/flesh1.wav"
origin "-3265 -8115 450"
angle "90"
}

create
{
classname "target_push"
targetname "spawnprotection_ammohut_window_frontleft_targets"
scriptname "spawnprotection_ammohut_window_frontleft_push"
origin "-3265 -8115 450"
angle "90"
}

create
{
classname "target_print"
targetname "spawnprotection_ammohut_window_frontleft_targets"
scriptname "spawnprotection_ammohut_window_frontleft_print"
origin "-3265 -8115 450"
//message "No entry for Axis!"
message "No entry!"
spawnflags "4"
angle "90"
}

create
{
classname "target_speaker"
scriptname "spawnprotection_ammohut_window_frontleft_globalspeaker"
targetname "spawnprotection_ammohut_globalspeaker"
noise "sound/world/transformer.wav"
origin "-3265 -8115 450"
spawnflags "1"
}

// AMMOHUT WINDOWS FRONT LEFT STOP

// AMMOHUT WINDOWS FRONT RIGHT START
create
{
scriptname "spawnprotection_ammohut_window_frontright_trigger"
targetname "spawnprotection_ammohut"
origin "-3010 -8112 427"
classname "trigger_multiple"
spawnflags "1" // axis_only
target "spawnprotection_ammohut_window_frontright_targets"
mins "0 0 0"
maxs "56 4 56"
}

create
{
classname "misc_gamemodel"
scriptname "spawnprotection_ammohut_window_frontright_model"
targetname "spawnprotection_ammohut"
model "models/ns/ebarrier/window_4_056_056_blue.md3"
origin "-3010 -8112 427"
angles "0 90 0"
}

create
{
classname "target_speaker"
targetname "spawnprotection_ammohut_window_frontright_targets"
scriptname "spawnprotection_ammohut_window_frontright_speaker"
noise "sound/weapons/impact/flesh1.wav"
origin "-3010 -8115 450"
angle "90"
}

create
{
classname "target_push"
targetname "spawnprotection_ammohut_window_frontright_targets"
scriptname "spawnprotection_ammohut_window_frontright_push"
origin "-3010 -8115 450"
angle "90"
}

create
{
classname "target_print"
targetname "spawnprotection_ammohut_window_frontright_targets"
scriptname "spawnprotection_ammohut_window_frontright_print"
origin "-3010 -8112 450"
//message "No entry for Axis!"
message "No entry!"
spawnflags "4"
angle "90"
}

create
{
classname "target_speaker"
scriptname "spawnprotection_ammohut_window_frontright_globalspeaker"
targetname "spawnprotection_ammohut_globalspeaker"
noise "sound/world/transformer.wav"
origin "-3010 -8112 450"
spawnflags "1"
}

// AMMOHUT WINDOWS FRONT RIGHT STOP
// AMMOHUT WINDOWS SIDE RIGHT START
create
{
scriptname "spawnprotection_ammohut_window_sideright_trigger"
targetname "spawnprotection_ammohut"
origin "-2888 -8224 427"
classname "trigger_multiple"
spawnflags "1" // axis_only
target "spawnprotection_ammohut_window_sideright_targets"
mins "0 0 0"
maxs "56 4 56"
}

create
{
classname "misc_gamemodel"
scriptname "spawnprotection_ammohut_window_sideright_model"
targetname "spawnprotection_ammohut"
model "models/ns/ebarrier/window_4_056_056_blue.md3"
origin "-2888 -8224 427"
angles "0 0 0"
}

create
{
classname "target_speaker"
targetname "spawnprotection_ammohut_window_sideright_targets"
scriptname "spawnprotection_ammohut_window_sideright_speaker"
noise "sound/weapons/impact/flesh1.wav"
origin "-2880 -8224 450"
angle "0"
}

create
{
classname "target_push"
targetname "spawnprotection_ammohut_window_sideright_targets"
scriptname "spawnprotection_ammohut_window_sideright_push"
origin "-2880 -8224 450"
angle "0"
}

create
{
classname "target_print"
targetname "spawnprotection_ammohut_window_sideright_targets"
scriptname "spawnprotection_ammohut_window_sideright_print"
origin "-2880 -8224 450"
//message "No entry for Axis!"
message "No entry!"
spawnflags "4"
angle "0"
}

create
{
classname "target_speaker"
scriptname "spawnprotection_ammohut_window_sideright_globalspeaker"
targetname "spawnprotection_ammohut_globalspeaker"
noise "sound/world/transformer.wav"
origin "-2880 -8224 450"
spawnflags "1"
}

// AMMOHUT WINDOWS SIDE RIGHT STOP

// AMMOHUT WINDOWS SIDE LEFT START
create
{
scriptname "spawnprotection_ammohut_window_sideleft_trigger"
targetname "spawnprotection_ammohut"
origin "-2888 -8351 427"
classname "trigger_multiple"
spawnflags "1" // axis_only
target "spawnprotection_ammohut_window_sideleft_targets"
mins "0 0 0"
maxs "56 4 56"
}

create
{
classname "misc_gamemodel"
scriptname "spawnprotection_ammohut_window_sideleft_model"
targetname "spawnprotection_ammohut"
model "models/ns/ebarrier/window_4_056_056_blue.md3"
origin "-2888 -8351 427"
angles "0 0 0"
}

create
{
classname "target_speaker"
targetname "spawnprotection_ammohut_window_sideleft_targets"
scriptname "spawnprotection_ammohut_window_sideleft_speaker"
noise "sound/weapons/impact/flesh1.wav"
origin "-2880 -8351 450"
angle "0"
}

create
{
classname "target_push"
targetname "spawnprotection_ammohut_window_sideleft_targets"
scriptname "spawnprotection_ammohut_window_sideleft_push"
origin "-2880 -8351 450"
angle "0"
}

create
{
classname "target_print"
targetname "spawnprotection_ammohut_window_sideleft_targets"
scriptname "spawnprotection_ammohut_window_sideleft_print"
origin "-2880 -8351 450"
//message "No entry for Axis!"
message "No entry!"
spawnflags "4"
angle "0"
}

create
{
classname "target_speaker"
scriptname "spawnprotection_ammohut_window_sideleft_globalspeaker"
targetname "spawnprotection_ammohut_globalspeaker"
noise "sound/world/transformer.wav"
origin "-2880 -8351 450"
spawnflags "1"
}

// AMMOHUT WINDOWS SIDE LEFT STOP
// AMMOHUT END



// ALLIEDSTART END
// ***** nUllSkillZ SPAWNPROTECTION END *****

// Game rules
wm_axis_respawntime 30
wm_allied_respawntime 20
wm_number_of_objectives 7
wm_set_round_timelimit 30

wm_set_main_objective 2 0
wm_set_main_objective 1 1

wm_objective_status 1 1 0
wm_objective_status 1 0 0
wm_objective_status 2 1 0
wm_objective_status 2 0 0
wm_objective_status 3 1 0
wm_objective_status 3 0 0
wm_objective_status 4 1 0
wm_objective_status 4 0 0
wm_objective_status 5 1 0
wm_objective_status 5 0 0
wm_objective_status 6 1 0
wm_objective_status 6 0 0
wm_objective_status 7 1 0
wm_objective_status 7 0 0

// Stopwatch mode defending team (0=Axis, 1=Allies)
wm_set_defending_team 0

// Winner on expiration of round timer (0=Axis, 1=Allies)
wm_setwinner 0

// Accumulator to check win conditions
accum 1 set 0

// Setup the auto spawn points for the map
wait 500
setautospawn "Allied Entrance Spawn" 1
setautospawn "Tunnel Store Room" 0

// Garage Doors
globalaccum 4 set 0 // Flexible Door 1 status. (0=stationary, 1=moving)
globalaccum 5 set 0 // Flexible Door 2 status. (0=stationary, 1=moving)

// CP speakers
disablespeaker axishq_sound
disablespeaker alliedhq_sound

wait 2000

// *----------------------------------- vo ------------------------------------------*
wm_addteamvoiceannounce 0 "fueldump_axis_bridge_stop"

wm_addteamvoiceannounce 1 "fueldump_allies_bridge_construct"

wm_teamvoiceannounce 0 "fueldump_axis_bridge_stop"
wm_teamvoiceannounce 0 "axis_hq_compost_construct"

wm_teamvoiceannounce 1 "fueldump_allies_bridge_construct"
// *---------------------------------------------------------------------------------*

// nUllSkillZ SPAWNPROTECTION START
setstate spawnprotection_fueldumphq invisible
setstate spawnprotection_tunnel_blue invisible
// nUllSkillZ SPAWNPROTECTION END
}


//-----------------------------------------------------------------------
// Constructing a Bridge over the frozen river
//-----------------------------------------------------------------------
trigger objective1
{
wm_announce "^3Allied team has constructed the bridge!"
}

//-----------------------------------------------------------------------
// Destroying the Tunnel Doors.
//-----------------------------------------------------------------------
trigger objective2
{
wm_announce "^3Allied team has breached the Tunnel Doors!"
setstate tunneldoor_toi invisible

// rain - fixed axis spawn point
// mortis - force noobs to use Garage HQ spawn point by default

alertentity t108 // Switch the tunnel spawns around

setautospawn "Tunnel Store Room" 1
setautospawn "Axis Fuel Dump" 0

// *----------------------------------- vo ------------------------------------------*
wm_addteamvoiceannounce 0 "fueldump_axis_gates_stop"
wm_addteamvoiceannounce 0 "fueldump_axis_depotdef_construct"

wm_teamvoiceannounce 0 "fueldump_axis_tunnel_destroyed"
wm_teamvoiceannounce 0 "fueldump_axis_depotdef_construct"

wm_teamvoiceannounce 1 "fueldump_allies_tank_depot"
wm_teamvoiceannounce 1 "allies_hq_compost_construct"

wm_removeteamvoiceannounce 0 "fueldump_axis_tunnel_stop"
// *---------------------------------------------------------------------------------*

wm_set_main_objective 2 0
wm_set_main_objective 2 1

// nUllSkillZ SPAWNPROTECTION START
setstate spawnprotection_tunnel_blue default
setstate spawnprotection_tunnel_red invisible
// nUllSkillZ SPAWNPROTECTION END
}

//-----------------------------------------------------------------------
// Destroying the Axis Depot Gates.
//-----------------------------------------------------------------------
trigger objective3
{
wm_announce "^1Allied team has breached the Depot Gates!"
setstate depotgate_toi invisible

// *----------------------------------- vo ------------------------------------------*
wm_addteamvoiceannounce 0 "fueldump_axis_gates_destroyed"
wm_addteamvoiceannounce 0 "fueldump_axis_fueldump_defend"

wm_addteamvoiceannounce 1 "fueldump_allies_fueldump_destroy"

wm_teamvoiceannounce 0 "fueldump_axis_gates_destroyed"
wm_teamvoiceannounce 0 "fueldump_axis_fueldump_defend"

wm_teamvoiceannounce 1 "fueldump_allies_tank_reardepot"
wm_teamvoiceannounce 1 "fueldump_allies_fueldump_destroy"

wm_removeteamvoiceannounce 0 "fueldump_axis_gates_stop"
wm_removeteamvoiceannounce 0 "fueldump_axis_depotdef_construct"

wm_removeteamvoiceannounce 1 "fueldump_allies_tank_depot"
// *---------------------------------------------------------------------------------*
}

//-----------------------------------------------------------------------
// Destroying the Axis Fueldump.
//-----------------------------------------------------------------------
trigger objective4
{
// Change the variable within the script so that we can check if someone wins the round
accum 1 set 1

// Big bang sequence of fueldump here
alertentity fueldump_explo1
alertentity fueldump_explo2
alertentity fueldump_explo3
setstate fueldump_ladder invisible
alertentity fueldump_rubble1
alertentity fueldump_rubble2
alertentity fueldump_rubble3

// Some kind of UI pop-up to alert players
wm_announce "^1Allied team has destroyed the Axis Fuel Dump!"

wm_objective_status 4 1 1
wm_objective_status 4 0 2

// mortis reduced waitstate
wait 100

// Call function to check if the round has been won
trigger game_manager checkgame
}

//-----------------------------------------------------------------------
// Escort the Tank to destroy the Side Wall to the rear of the Depot.
//-----------------------------------------------------------------------
trigger objective5
{
wm_announce "^1Allied team has breached the Depot Side Wall!"
setstate depotsidewall_toi invisible

// *----------------------------------- vo ------------------------------------------*
wm_teamvoiceannounce 0 "fueldump_axis_fueldump_defend"

wm_teamvoiceannounce 1 "fueldump_allies_wall_destroyed"
wm_teamvoiceannounce 1 "fueldump_allies_fueldump_destroy"

wm_removeteamvoiceannounce 1 "fueldump_allies_tank_reardepot"
// *---------------------------------------------------------------------------------*
}

trigger checkgame
{
accum 1 abort_if_not_equal 1
wm_setwinner 1
// mortis reduced waitstate
wait 100
wm_endround
}
}

//bani
fueldumphq_obj
{
spawn
{
set
{
//these have to be set inside the spawn{} function, not create{}
description "Garage HQ"
message "Garage HQ"
}
wait 50
setstate fueldumphq_obj invisible
setstate fueldumphq_spawn invisible

}

trigger on
{
setstate fueldumphq_obj default
setstate fueldumphq_spawn default
}

trigger off
{
setstate fueldumphq_obj invisible
setstate fueldumphq_spawn invisible
}
}

//mortis - add arni's spawn routine

fueldumpxt_obj
{
spawn
{
set
{
description "Truck"
message "Truck"
}
wait 50
setstate fueldumpxt_obj default
setstate fueldumpxt_spawn default

}
}


// ============================================================================
// LMS stuff to remove from obj mode
// ============================================================================
thebridge_lms
{
spawn
{
wait 100
setstate thebridge_lms invisible

setstate lms_hacabinet_cm_marker invisible
setstate lms_hacabinet_toi invisible

setstate lms_healthcabinet invisible
setstate lms_ammocabinet invisible
setstate lms_healthtrigger invisible
setstate lms_ammotrigger invisible
setstate lms_healthcabinet_clip invisible
setstate lms_ammocabinet_clip invisible

setstate lms_alliedstaircase invisible
}
}

// ============================================================================
// AXIS HQ bits and pieces
// ============================================================================
axis_radio_destroyed
{
spawn
{
wait 200
setstate axis_radio_destroyed invisible
setstate axis_radio_destroyed_model invisible
}
trigger hide
{
setstate axis_radio_destroyed invisible
setstate axis_radio_destroyed_model invisible
}
trigger show
{
setstate axis_radio_destroyed default
setstate axis_radio_destroyed_model default
setstate axishqstuff invisible // Arial tower outside of building
}
}

axis_radio_closed
{
spawn
{
wait 200
setstate axis_radio_closed default
setstate axis_radio_closed_model default
}
trigger hide
{
setstate axis_radio_closed invisible
setstate axis_radio_closed_model invisible
}
trigger show
{
setstate axis_radio_closed default
setstate axis_radio_closed_model default
}
}

axis_radio_built
{
spawn
{
wait 400

constructible_class 2

trigger self setup
setstate axishqstuff invisible

}

trigger setup
{
setchargetimefactor 0 soldier 1
setchargetimefactor 0 lieutenant 1
setchargetimefactor 0 medic 1
setchargetimefactor 0 engineer 1
setchargetimefactor 0 covertops 1
sethqstatus 0 0
}

buildstart final
{
trigger axis_radio_built_model trans
trigger axis_radio_destroyed hide
trigger axis_radio_closed hide
setstate axishqstuff underconstruction
}

decayed final
{
trigger axis_radio_built_model hide
trigger axis_radio_closed show
setstate axishqstuff invisible
}

built final
{
trigger axis_radio_built_model show
trigger axis_radio_closed hide
trigger axis_radio_destroyed hide

trigger axis_radio_built_model enable_axis_features
enablespeaker axishq_sound

setstate axishqstuff default

}

death
{
trigger axis_radio_built_model hide
trigger axis_radio_destroyed show

trigger axis_radio_built_model disable_axis_features
disablespeaker axishq_sound

}
}

axis_radio_built_model
{
spawn
{
wait 400
setstate axis_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 axis_radio_built_model default
}

trigger hide
{
setstate axis_radio_built_model invisible
}

trigger trans
{
setstate axis_radio_built_model underconstruction
}

trigger enable_axis_features
{
//-----------------------------------------------------------------------
// Increase Axis charge times
//-----------------------------------------------------------------------
setchargetimefactor 0 soldier 0.75
setchargetimefactor 0 lieutenant 0.75
setchargetimefactor 0 medic 0.75
setchargetimefactor 0 engineer 0.75
setchargetimefactor 0 covertops 0.75
sethqstatus 0 1

// *----------------------------------- vo ------------------------------------------*
wm_teamvoiceannounce 0 "axis_hq_compost_constructed"

wm_teamvoiceannounce 1 "allies_hq_compost_constructed_axis"

wm_removeteamvoiceannounce 0 "axis_hq_compost_construct"
// *---------------------------------------------------------------------------------*

wm_objective_status 6 0 1
wm_objective_status 6 1 2
wm_announce "^3Axis Command Post constructed. Charge speed increased!"

accum 0 bitset 0
}

trigger disable_axis_features
{
//-----------------------------------------------------------------------
// Decrease Axis charge times
//-----------------------------------------------------------------------
setchargetimefactor 0 soldier 1
setchargetimefactor 0 lieutenant 1
setchargetimefactor 0 medic 1
setchargetimefactor 0 engineer 1
setchargetimefactor 0 covertops 1
sethqstatus 0 0

// *----------------------------------- vo ------------------------------------------*
wm_addteamvoiceannounce 0 "axis_hq_compost_construct"

wm_teamvoiceannounce 0 "axis_hq_compost_damaged"
// *---------------------------------------------------------------------------------*

wm_announce "^1Allied team has destroyed the Axis Command Post!"

wm_objective_status 6 0 0
wm_objective_status 6 1 0

accum 0 bitreset 0
}
}

// ============================================================================
// Allied HQ bits and pieces
// ============================================================================
alliedhqradio_toi
{
//-----------------------------------------------------------------------
// Enable health/ammo cabinets, allied radio has been built
//-----------------------------------------------------------------------
trigger enable_hacabs
{
setstate tankbay_healthcabinet default
setstate tankbay_ammocabinet default

setstate tankbay_healthtrigger default
setstate tankbay_ammotrigger default

setstate tankbay_healthcabinet_dmg invisible
setstate tankbay_ammocabinet_dmg invisible

setstate tankbay_hacabinet_cm_marker default
setstate tankbay_hacabinet_toi default

// nUllSkillZ SPAWNPROTECTION START
setstate spawnprotection_fueldumphq default
alertentity spawnprotection_fueldumphq_globalspeaker
// nUllSkillZ SPAWNPROTECTION END
}

//-----------------------------------------------------------------------
// Disable health/ammo cabinets, allied radio has been destroyed
//-----------------------------------------------------------------------
trigger disable_hacabs
{
setstate tankbay_healthcabinet invisible
setstate tankbay_ammocabinet invisible

setstate tankbay_healthtrigger invisible
setstate tankbay_ammotrigger invisible

setstate tankbay_healthcabinet_dmg default
setstate tankbay_ammocabinet_dmg default

setstate tankbay_hacabinet_cm_marker invisible
setstate tankbay_hacabinet_toi invisible

// nUllSkillZ SPAWNPROTECTION START
setstate spawnprotection_fueldumphq invisible
alertentity spawnprotection_fueldumphq_globalspeaker
// nUllSkillZ SPAWNPROTECTION END
}

}

allied_radio_destroyed
{
spawn
{
wait 200
setstate allied_radio_destroyed invisible
setstate allied_radio_destroyed_model invisible
}
trigger hide
{
setstate allied_radio_destroyed invisible
setstate allied_radio_destroyed_model invisible
}
trigger show
{
setstate allied_radio_destroyed default
setstate allied_radio_destroyed_mo
User avatar
mortis
Posts: 360
Joined: Tue Jul 06, 2004 11:57 pm
Location: at the center of the e-universe
Contact:

Post by mortis »

too much coad! :shock:
User avatar
Ragnar_40k
Posts: 394
Joined: Thu Mar 18, 2004 5:18 pm
Location: Berlin, birthplace of the Döner
Contact:

Post by Ragnar_40k »

Has anyone already fixed a (minor) bug on Frostbite where the Storage Wall sounds doesn't stop playing?

The bug: When the Storage Wall is destroyed whilest is currently opening, then the opening/moving sound keeps playing until the end of the map (I guess the fix should be relativly easy, just adding some disablespeaker commands in the death trigger).
The Emperor watch over you.
User avatar
mortis
Posts: 360
Joined: Tue Jul 06, 2004 11:57 pm
Location: at the center of the e-universe
Contact:

Post by mortis »

Which version of Frostbite?
User avatar
Ragnar_40k
Posts: 394
Joined: Thu Mar 18, 2004 5:18 pm
Location: Berlin, birthplace of the Döner
Contact:

Post by Ragnar_40k »

The Emperor watch over you.
User avatar
mortis
Posts: 360
Joined: Tue Jul 06, 2004 11:57 pm
Location: at the center of the e-universe
Contact:

Post by mortis »

bitte sehr!

9 times out of ten, it's due to wait state problems...
Post Reply