// Made by 
//
//                   isbowhten
//
//used tags
//by isbowhten
// tag_origin 0 0 37!      
// tag_engine  48 0 45
//by pazur 
//tag_front 55 0 14
//tag_rear -46 0 14
//
//      thanks to pazur for changing models that i was able to work with them properly.
//
//he cut off the wheels from the body model that i have excluded wheels for animation.
//he put the origin of the models on the ground and on the wheels' axis for easier 
//animation and easier spline designing
//
// Thanks pazur
//**********************************************************************
//::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
//::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
game_manager
{
	spawn
	{
		wait 128
 		setstate CP_Spawn_axis_wobj invisible
 		setstate CP_Spawn_allies_wobj invisible
		setstate flagaxis_wobj invisible
		setstate flagallies_wobj invisible
 		alertentity flagallies
 		alertentity flagaxis
		setstate flagaxis invisible
		setstate flagallies invisible

		setautospawn "Axis Spawn" 0
		setautospawn "Allied Spawn" 1
		setstate staticramp invisible

		wm_allied_respawntime 7 //18
		wm_axis_respawntime 11  //18
		wm_set_round_timelimit 30
		wm_setwinner 0
		wm_set_defending_team 0

		setstate jeep_smoke invisible
		setstate jeep_speakeridle default
		setstate jeep_speakermove invisible
		setstate jeep_g1 invisible
		setstate jeep_g2 invisible
		setstate jeep_flag invisible

		wm_number_of_objectives 7
		wm_objective_status 1 0 1
		wm_objective_status 1 1 0
		wm_objective_status 2 0 0
		wm_objective_status 2 1 0
		wm_objective_status 3 0 1
		wm_objective_status 3 1 0
		wm_objective_status 4 0 0
		wm_objective_status 4 1 0
		wm_objective_status 5 0 0
		wm_objective_status 5 1 0
		wm_objective_status 6 0 0
		wm_objective_status 6 1 0
		wm_objective_status 7 0 1
		wm_objective_status 7 1 0
		wm_objective_status 8 0 0
		wm_objective_status 8 1 0
	}
}
//************ OBJECTIVE:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
//::::_::::_::::_::::_::::_::::_::::_::::_::::_::::_::::_::::_::::_::::_::::_::::_::::_::::_::::_::::
jeep_gold
{
	spawn
	{
	accum 0 set 0
	accum 1 set 0
	}
	trigger stolen
	{
	accum 0 inc 1
	trigger self stolen1
	trigger self stolen2
	}
 	trigger stolen1
	{
	accum 0 abort_if_not_equal 1
	wait 1152
	wm_teamvoiceannounce 1 "goldrush_allies_gold1_taken"
	wm_teamvoiceannounce 0 "goldrush_axis_gold1_taken"
	accum 1 set 1
	}
	trigger stolen2
	{
	accum 0 abort_if_not_equal 2
	wait 1152
	wm_teamvoiceannounce 1 "goldrush_allies_gold2_taken"
	wm_teamvoiceannounce 0 "goldrush_axis_gold2_taken"
	setstate goldTOI invisible
	setstate marker2 invisible
	accum 1 set 2
	}
	trigger returned
	{
	trigger self return1
	trigger self return2
	setstate marker2 default
	setstate goldTOI default
	}
	trigger return1
	{
	accum 0 abort_if_not_equal 0
	wait 1152
	wm_teamvoiceannounce 0 "goldrush_axis_gold1_returned"
	wm_teamvoiceannounce 1 "goldrush_allies_gold1_returned"
	}
	trigger return2
	{
	accum 0 abort_if_not_equal 1
	wait 1152
	wm_teamvoiceannounce 0 "goldrush_axis_gold2_returned"
	wm_teamvoiceannounce 1 "goldrush_allies_gold2_returned"
	}
	trigger dropped
	{
	accum 1 inc -1
	trigger self drop1
	trigger self drop2
	}
 	trigger drop1
	{
	accum 1 abort_if_not_equal 1
	wait 1152
	wm_teamvoiceannounce 0 "goldrush_axis_gold1_lost"
	wm_teamvoiceannounce 1 "goldrush_allies_gold1_lost"
	}
 	trigger drop2
	{
	accum 1 abort_if_not_equal 2
	wait 1152
	wm_teamvoiceannounce 0 "goldrush_axis_gold2_lost"
	wm_teamvoiceannounce 1 "goldrush_allies_gold2_lost"
	}
	trigger captured
	{
	globalaccum 0 inc 1
	trigger jeep_mover announce1
	trigger jeep_mover announce2
	}
}
//()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()
//**********JEEP
//()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()()
jeep_mover
{
	spawn
	{
	wait 256
	followspline 0 0 5000
	accum 0 set 1 // spline
	accum 1 set 0 // block
	globalaccum 0 set 2 //gold? set to 0 by stop-spline
	globalaccum 1 set 0 // damaged?
	setstate jeep_smoke invisible
	accum 2 set 0
	alertentity delaytimer
	setstate jeep_speakeridle invisible
	}
	trigger announce1
	{
	globalaccum 0 abort_if_equal 2
	setstate jeep_red1 invisible
	setstate jeep_g1 default
	wm_announce "Allies have stolen the first goldcrate!"
	wait 1152
	wm_teamvoiceannounce 0 "goldrush_axis_gold1_secured"
	wm_teamvoiceannounce 1 "goldrush_allies_gold1_secured"
	}
	trigger announce2
	{
	globalaccum 0 abort_if_equal 1
	//setstate jeep_speakerstartup default
	setstate jeep_red2 invisible
	setstate jeep_g2 default
	wm_announce "Allies have stolen the second goldcrate!"
	wait 1152
	wm_teamvoiceannounce 0 "goldrush_axis_gold2_secured"
	wm_teamvoiceannounce 1 "goldrush_allies_gold2_secured"
	//  setstate jeep_multiple2 default // für sound
	//  setstate delaytimer default
	//alertentity delaytimer
	wm_objective_status 7 0 2
	wm_objective_status 7 1 1
	}
	trigger rebirth
	{
	wm_teamvoiceannounce 0 "axis_vehiclerep"
	wm_teamvoiceannounce 1 "allies_vehiclerep"
	alertentity jeep_mover
	wm_announce "Jeep repaired!"
	constructible_health 600
	setstate jeep_smoke invisible
     	setstate jeep_multiple invisible // war vorher default
     	setstate jeep_multiple2 default
	//setstate jeep_speakerstartup default :(
	alertentity jeep_speakerstartup // :(
	globalaccum 1 set 0
	setstate jeep_speakeridle default
	setstate delaytimer default
	}
	death
	{
	//alertentity delaytimer
	//setstate jeep_speakerstartup invisible
	alertentity killer
	setstate delaytimer invisible
	wm_announce "Jeep damaged"
	setstate jeep_smoke default
	setstate jeep_speakeridle invisible
   	setstate jeep_multiple invisible
   	setstate jeep_multiple2 invisible
	globalaccum 1 set 1
	wm_teamvoiceannounce 0 "axis_vehicledam"
	wm_teamvoiceannounce 1 "allies_vehicledam"
	}
	trigger move
	{
	accum 1 abort_if_equal 1
	trigger self m77
	trigger self m76
	trigger self m75
	trigger self m74
	trigger self m73
	trigger self m72
	trigger self m71
	trigger self m70
	trigger self m69
	trigger self m68
	trigger self m67
	trigger self m66
	trigger self m65
	trigger self m64
	trigger self m63
	trigger self m62
	trigger self m61
	trigger self m60
	trigger self m59
	trigger self m58
	trigger self m57
	trigger self m56
	trigger self m55
	trigger self m54
	trigger self m53
	trigger self m52
	trigger self m51
	trigger self m50
	trigger self m49
	trigger self m48
	trigger self m47
	trigger self m46
	trigger self m45
	trigger self m44
	trigger self m43
	trigger self m42
	trigger self m41
	trigger self m40
	trigger self m39
	trigger self m38
	trigger self m37
	trigger self m36
	trigger self m35
	trigger self m34
	trigger self m33
	trigger self m32
	trigger self m31
	trigger self m30
	trigger self m29
	trigger self m28
	trigger self m27
	trigger self m26
	trigger self m25
	trigger self m24
	trigger self m23
	trigger self m22
	trigger self m21
	trigger self m20
	trigger self m19
	trigger self m18
	trigger self m17
	trigger self m16
	trigger self m15
	trigger self m14
	trigger self m13
	trigger self m12
	trigger self m11
	trigger self m10
	trigger self m9
	trigger self m8
	trigger self m7
	trigger self m6
	trigger self m5
	trigger self m4
	trigger self m3
	trigger self m2
	trigger self m1
	trigger self soundcheck
	}
	trigger soundcheck
	{
	setstate jeep_speakermove invisible
	setstate jeep_speakeridle default
     	trigger jeep_wheelfront off // doof is aber so
      	trigger jeep_wheelrear off
	}
	trigger m1
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 1
	accum 1 set 1
	followspline 0 1 100 wait
	accum 0 set 2
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m2
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 2
	accum 1 set 1
	followspline 0 2 100 wait
	accum 0 set 3
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m3
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 3
	accum 1 set 1
	followspline 0 3 100 wait
	accum 0 set 4
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m4
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 4
	accum 1 set 1
	followspline 0 4 100 wait
	accum 0 set 5
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m5
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 5
	accum 1 set 1
	followspline 0 5 100 wait
	accum 0 set 6
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m6
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 6
	accum 1 set 1
	followspline 0 6 100 wait
	accum 0 set 7
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m7
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 7
	accum 1 set 1
	followspline 0 7 100 wait
	accum 0 set 8
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m8
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 8
	accum 1 set 1
	followspline 0 8 100 wait
	accum 0 set 9
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m9
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 9
	accum 1 set 1
	followspline 0 9 100 wait
	//  setstate jeep_multiple2 invisible // für sound
	// setstate delaytimer invisible
	//alertentity delaytimer
	globalaccum 3 bitset 1
	accum 0 set 10
	accum 1 set 0
	trigger self soundcheck
	globalaccum 2 abort_if_not_bitset 1
	////setstate jeep_speakerstartup invisible
	}
	trigger m10
	{
	globalaccum 2 abort_if_bitset 1
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 10
	accum 1 set 1
	globalaccum 3 bitreset 1
	setstate b1cm invisible
	setstate barrier1TOI invisible
	setstate barrier1 invisible //white invisible parts
	wm_objective_status 1 0 2
	wm_objective_status 1 1 1
	followspline 0 10 100 wait
	accum 0 set 11
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m11
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 11
	accum 1 set 1
	followspline 0 11 100 wait
	accum 0 set 12
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m12
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 12
	accum 1 set 1
	followspline 0 12 100 wait
	accum 0 set 13
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m13
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 13
	accum 1 set 1
	followspline 0 13 100 wait
	accum 0 set 14
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m14
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 14
	accum 1 set 1
	followspline 0 14 100 wait
	accum 0 set 15
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m15
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 15
	accum 1 set 1
	followspline 0 15 100 wait
	accum 0 set 16
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m16
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 16
	accum 1 set 1
	followspline 0 16 100 wait
	accum 0 set 17
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m17
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 17
	accum 1 set 1
	followspline 0 17 100 wait
	accum 0 set 18
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m18
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 18
	accum 1 set 1
	followspline 0 18 100 wait
	accum 0 set 19
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m19
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 19
	accum 1 set 1
	followspline 0 19 100 wait
	accum 0 set 20
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m20
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 20
	accum 1 set 1
	followspline 0 20 100 wait
	accum 0 set 21
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m21
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 21
	accum 1 set 1
	followspline 0 21 100 wait
	accum 0 set 22
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m22
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 22
	accum 1 set 1
	followspline 0 22 100 wait
	globalaccum 3 bitset 2
	//  setstate jeep_multiple2 invisible // für sound
	//  setstate delaytimer invisible
	//alertentity delaytimer
	accum 0 set 23
	accum 1 set 0
	trigger self soundcheck
	globalaccum 2 abort_if_not_bitset 2
	////setstate jeep_speakerstartup invisible
	}
	trigger m23
	{
	globalaccum 2 abort_if_bitset 2
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 23
	accum 1 set 1
	globalaccum 3 bitreset 2
	setstate b2cm invisible
	setstate barrier2TOI invisible
	setstate barrier2models invisible
	wm_objective_status 2 0 2
	wm_objective_status 2 1 1
	followspline 0 23 100 wait
	accum 0 set 24
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m24
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 24
	accum 1 set 1
	followspline 0 24 100 wait
	accum 0 set 25
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m25
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 25
	accum 1 set 1
	followspline 0 25 100 wait
	setstate jeep_multiple2 invisible // für sound
	//  setstate delaytimer invisible
	//setstate jeep_speakerstartup invisible
	//alertentity delaytimer
	globalaccum 3 bitset 3
	accum 0 set 26
	accum 1 set 0
	trigger self soundcheck
	globalaccum 2 abort_if_bitset 5
	////setstate jeep_speakerstartup invisible
	}
	trigger m26
	{
	globalaccum 2 abort_if_not_bitset 3
	globalaccum 2 abort_if_not_bitset 4
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 26
	accum 1 set 1
	globalaccum 3 bitreset 3
	setstate barrier3.1TOI invisible
	setstate barrier3.2TOI invisible
	setstate staticramp default
	setstate barrier3.1 invisible
	setstate barrier3.2 invisible
	setstate b31cm invisible
	setstate b32cm invisible
	wm_objective_status 3 0 2
	wm_objective_status 3 1 1
	followspline 0 26 100 wait
	accum 0 set 27
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m27
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 27
	accum 1 set 1
	followspline 0 27 100 wait
	accum 0 set 28
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m28
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 28
	accum 1 set 1
	followspline 0 28 100 wait
	accum 0 set 29
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m29
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 29
	accum 1 set 1
	followspline 0 29 100 wait
	accum 0 set 30
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m30
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 30
	accum 1 set 1
	followspline 0 30 100 wait
	accum 0 set 31
	accum 1 set 0
	trigger self soundcheck
	}	
	trigger m31
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 31
	accum 1 set 1
	followspline 0 31 100 wait
	accum 0 set 32
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m32
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 32
	accum 1 set 1
	followspline 0 32 100 wait
	accum 0 set 33
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m33
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 33
	accum 1 set 1
	followspline 0 33 100 wait
	accum 0 set 34
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m34
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 34
	accum 1 set 1
	followspline 0 34 100 wait
	accum 0 set 35
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m35
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 35
	accum 1 set 1
	followspline 0 35 100 wait
	accum 0 set 36
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m36
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 36
	accum 1 set 1
	followspline 0 36 100 wait
	accum 0 set 37
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m37
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 37
	accum 1 set 1
	followspline 0 37 100 wait
	accum 0 set 38
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m38
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 38
	accum 1 set 1
	followspline 0 38 100 wait
	accum 0 set 39
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m39
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 39
	accum 1 set 1
	followspline 0 39 100 wait
	accum 0 set 40
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m40
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 40
	accum 1 set 1
	followspline 0 40 100 wait
	accum 0 set 41
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m41   // AT OBJECTIVE-SPLINE
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 41
	accum 1 set 1
	followspline 0 41 100 wait
	globalaccum 3 bitset 4
	trigger plane_mover move
	globalaccum 0 set 0
	setstate jeep_flag default
	// setstate jeep_multiple2 invisible // für sound
	//  setstate delaytimer invisible
	////setstate jeep_speakerstartup invisible
	//alertentity delaytimer
	wm_teamvoiceannounce 1 "allies_hq_ffe"
	wm_teamvoiceannounce 0 "axis_hq_ffe"
	accum 0 set 42
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m42
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 42
	accum 1 set 1
	globalaccum 3 bitreset 4
	followspline 0 42 100 wait
	accum 0 set 43
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m43
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 43
	accum 1 set 1
	followspline 0 43 100 wait
	accum 0 set 44
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m44
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 44
	accum 1 set 1
	followspline 0 44 100 wait
	accum 0 set 45
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m45
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 45
	accum 1 set 1
	followspline 0 45 100 wait
	accum 0 set 46
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m46
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 46
	accum 1 set 1
	followspline 0 46 100 wait
	accum 0 set 47
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m47
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 47
	accum 1 set 1
	followspline 0 47 100 wait
	accum 0 set 48
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m48
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 48
	accum 1 set 1	
	followspline 0 48 100 wait
	accum 0 set 49
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m49
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 49
	accum 1 set 1
	followspline 0 49 100 wait
	accum 0 set 50
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m50
	{	
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 50
	accum 1 set 1
	followspline 0 50 100 wait
	accum 0 set 51
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m51
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 51
	accum 1 set 1
	followspline 0 51 100 wait
	accum 0 set 52
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m52
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 52
	accum 1 set 1
	followspline 0 52 100 wait
	accum 0 set 53
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m53
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 53
	accum 1 set 1
	followspline 0 53 100 wait
	accum 0 set 54
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m54
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 54
	accum 1 set 1
	followspline 0 54 100 wait
	accum 0 set 55
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m55
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 55
	accum 1 set 1
	followspline 0 55 100 wait
	accum 0 set 56
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m56
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 56
	accum 1 set 1
	followspline 0 56 100 wait
	accum 0 set 57
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m57
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 57
	accum 1 set 1
	followspline 0 57 100 wait
	accum 0 set 58
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m58
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 58
	accum 1 set 1
	followspline 0 58 100 wait
	accum 0 set 59
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m59
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 59
	accum 1 set 1
	followspline 0 59 100 wait
	accum 0 set 60
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m60
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 60
	accum 1 set 1
	followspline 0 60 100 wait
	accum 0 set 61
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m61
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 61
	accum 1 set 1
	followspline 0 61 100 wait
	accum 0 set 62
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m62
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 62
	accum 1 set 1
	followspline 0 62 100 wait
	accum 0 set 63
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m63
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 63
	accum 1 set 1
	followspline 0 63 100 wait
	accum 0 set 64
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m64
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 64
	accum 1 set 1
	followspline 0 64 100 wait
	accum 0 set 65
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m65
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 65
	accum 1 set 1
	followspline 0 65 100 wait
	accum 0 set 66
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m66
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 66
	accum 1 set 1
	followspline 0 66 100 wait
	accum 0 set 67
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m67
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 67
	accum 1 set 1
	followspline 0 67 100 wait
	accum 0 set 68
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m68
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 68
	accum 1 set 1
	followspline 0 68 100 wait
	accum 0 set 69
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m69
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 69
	accum 1 set 1
	followspline 0 69 100 wait
	accum 0 set 70
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m70
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 70
	accum 1 set 1
	followspline 0 70 100 wait
	accum 0 set 71
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m71
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 71
	accum 1 set 1
	followspline 0 71 100 wait
	accum 0 set 72
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m72
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 72
	accum 1 set 1
	followspline 0 72 100 wait
	accum 0 set 73
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m73
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 73
	accum 1 set 1
	followspline 0 73 100 wait
	accum 0 set 74
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m74
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 74
	accum 1 set 1
	followspline 0 74 100 wait
	accum 0 set 75
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m75
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 75
	accum 1 set 1
	followspline 0 75 100 wait
	accum 0 set 76
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m76
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 76
	accum 1 set 1
	followspline 0 76 100 wait
	accum 0 set 77
	accum 1 set 0
	trigger self soundcheck
	}
	trigger m77
	{
	accum 1 abort_if_equal 1
	accum 0 abort_if_not_equal 77
	accum 1 set 1
	accum 0 set 0
	trigger self soundcheck
	wm_announce "Allies escaped succesfully!"
	wm_setwinner 1
	followspline 0 77 100 wait
	setstate jeep_multiple2 invisible // für sound
	//  setstate delaytimer invisible
	alertentity delaytimer
	setstate jeep_multiple invisible
	trigger self soundcheck
	setstate jeep_speakeridle default
	wait 4096
	wm_endround
	}
	trigger run
	{
	setstate jeep_multiple2 invisible
	accum 1 abort_if_equal 1
	accum 2 set 35   // damit des waot dem timer ned genug zeit lässt
	//alertentity jeep_speakerstartup :(
	trigger self anfang
	wait 2500
	//setstate jeep_speakerstartup invisible :(
	setstate jeep_multiple default
	trigger jeep_enabler enable
	globalaccum 3 abort_if_bitset 1
	globalaccum 3 abort_if_bitset 2
	globalaccum 3 abort_if_bitset 3
	globalaccum 3 abort_if_bitset 4
	setstate jeep_speakeridle invisible
	}
	trigger ch
	{
	trigger self check
	accum 2 abort_if_equal 0
	accum 2 inc -1
	}
	trigger in
	{
	accum 2 abort_if_greater_than 6
	accum 2 inc 2
	}
	trigger check
	{
	accum 2 abort_if_not_equal 0
	setstate jeep_multiple invisible
	setstate jeep_multiple2 default
	globalaccum 1 abort_if_equal 1
	accum 1 abort_if_equal 1
	accum 0 abort_if_equal 1
	setstate jeep_speakeridle default
	}
	trigger anfang
	{
	accum 0 abort_if_not_equal 1
	alertentity jeep_Speakerstartup
	}
}
//********                          ***********
//******** MOVER END ***********
//********                           ***********
jeep_flag
{
spawn
	{
	wait 256
	attachtotag jeep_mover tag_origin
	}
}
//******enable::::::::::::::::::::::::::::::::
//******--------:::::::::::::::::::::::::::::::::
jeep_enabler
	{
	trigger enable
	{
	trigger jeep_mover in
	globalaccum 1 abort_if_equal 1
	globalaccum 0 abort_if_less_than 2
	trigger jeep_wheelfront on
	trigger jeep_wheelrear on
	setstate jeep_speakermove default
	setstate jeep_speakeridle invisible
	trigger jeep_mover move
	}
}
jeep_moverscriptname
{
trigger ch
	{
	trigger jeep_mover ch
	}
	trigger in
	{
	trigger jeep_mover in
	}
}
jeep_delay
{
spawn
	{
	wait 256
	attachtotag jeep_mover tag_origin
	}
	activate
	{
	globalaccum 1 abort_if_equal 1
	trigger jeep_mover run
	}
}

//WHEELS:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::://::::::::::::::::::::::::thanks to pazur for his models::::::::::::::::::::::::::::::::::::::::::::::::
//:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
jeep_wheelrear
{
spawn
	{
	wait 256
	attachtotag jeep_mover tag_rear
	startanimation 0 30 30 nolerp norandom
	setrotation 0 0 0
	}
	trigger on
	{
	setrotation 100 0 0
	}
	trigger off
	{
	setrotation 0 0 0
	}
}
jeep_wheelfront
{
spawn
	{
	wait 256
	attachtotag jeep_mover tag_front
	startanimation 0 30 30 nolerp norandom
	setrotation 0 0 0
	}
	trigger on
	{
	setrotation 100 0 0
	}
	trigger off
	{
	setrotation 0 0 0
	}
}
//:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
//::::::::::::::::::here the rest attachments:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
//:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
jeep_TOI
{
spawn
	{
	wait 256
	attachtotag jeep_mover tag_origin
	}
}
jeep_constructible
{
spawn
	{
	constructible_class 3
	}
	built 
	{
	trigger jeep_mover rebirth
	}
}
jeep_multiple
{
spawn
	{
	wait 256
	attachtotag jeep_mover tag_origin
	setstate jeep_multiple invisible
	}
}
jeep_smoke
{
spawn
	{
	wait 256
	attachtotag jeep_mover tag_front
	}
}
jeep_speaker
{
spawn
	{
	wait 256
	attachtotag jeep_mover tag_engine
	}
}

jeep_mover2
{
spawn
	{
	wait 256
	attachtotag jeep_mover tag_origin
	}
}
//*************'*'*'*'*'*'* CONSTRUCTIONS ::::::::::::::::::::::::::::::::::
//'''''''''''''''''''''''''*********___________________:::::::::::::::::::::::::::::::::
barrier1    // spline 10 = stop
{
spawn    //accum 2 für barriers alle mit bits
	{
	globalaccum 2 bitset 1
	constructible_class 3
	wait 256
	setstate b1cm invisible
	}
	built
	{
	wm_objective_status 1 0 1
	wm_objective_status 1 1 0
	//wm_teamvoiceannounce 1 "allies_hq_const_completed" nein
	wm_teamvoiceannounce 0 "axis_hq_const_completed"
	setstate b1cm invisible
	setstate gateicon default
	globalaccum 2 bitset 1
	wm_announce "Market Gate built!"
	globalaccum 3 abort_if_not_bitset 1
	////setstate jeep_speakerstartup invisible

	}
	death
	{
	wm_objective_status 1 0 0
	wm_objective_status 1 1 0
	//wm_teamvoiceannounce 0 "axis_hq_objective_destroyed" nein
	wm_teamvoiceannounce 1 "allies_hq_objective_destroyed"
	setstate b1cm default
	globalaccum 2 bitreset 1
	wm_announce "Market Gate destroyed!"
	setstate gateicon invisible
	globalaccum 3 abort_if_not_bitset 1
	globalaccum 1 abort_if_equal 1
	////setstate jeep_speakerstartup default
	}
}
barrier2    // 24
{
spawn
	{
	wait 256
	setstate barrier2models invisible
	setstate barrier2display invisible
	constructible_class 3
	}
	buildstart
	{
	setstate barrier2models underconstruction
	}
	decayed
	{
	setstate barrier2models invisible
	}
	built
	{
	wm_objective_status 2 0 1
	wm_objective_status 2 1 0
	//wm_teamvoiceannounce 1 "allies_hq_const_completed" nein
	wm_teamvoiceannounce 0 "axis_hq_const_completed"
	setstate barrier2display default
	setstate b2cm invisible
	globalaccum 2 bitset 2
	wm_announce "Jeep Barrier built!"
	setstate barrier2models default
	globalaccum 3 abort_if_not_bitset 2
	////setstate jeep_speakerstartup invisible
	}
	death
	{
	wm_objective_status 2 0 0
	wm_objective_status 2 1 0
	//wm_teamvoiceannounce 0 "axis_hq_objective_destroyed" nein
	wm_teamvoiceannounce 1 "allies_hq_objective_destroyed"
	setstate barrier2display invisible
	setstate b2cm default
	globalaccum 2 bitreset 2
	wm_announce "Jeep Barrier destroyed!"
	setstate barrier2models invisible
	globalaccum 3 abort_if_not_bitset 2
	globalaccum 1 abort_if_equal 1
	////setstate jeep_speakerstartup default
	}
}
barrier3.1   //26
{
spawn
	{
	wait 512
	constructible_class 3
	setstate stairsdisplay invisible
	}
	built
	{
	wm_teamvoiceannounce 1 "allies_hq_const_completed"
	//wm_teamvoiceannounce 0 "axis_hq_const_completed" nein
	setstate b31cm invisible
	globalaccum 2 bitset 3
	wm_announce "Lower Ramp constructed!"
	setstate stairsdisplay default
	trigger self sc
	}
	trigger sc
	{
	globalaccum 2 abort_if_not_bitset 4
	globalaccum 2 abort_if_not_bitset 3
	globalaccum 2 bitset 5
	wm_objective_status 3 0 0
	wm_objective_status 3 1 0
	////globalaccum 3 abort_if_not_bitset 3
	//  setstate jeep_multiple2 default // für sound
	//  setstate delaytimer default
	//alertentity delaytimer
	////globalaccum 1 abort_if_equal 1
	////setstate jeep_speakerstartup default
	}
	death
	{
	globalaccum 2 bitreset 5
	wm_objective_status 3 0 1
	wm_objective_status 3 1 0
	wm_teamvoiceannounce 0 "axis_hq_objective_destroyed"
	//wm_teamvoiceannounce 1 "allies_hq_objective_destroyed" nein
	setstate b31cm default
	globalaccum 2 bitreset 3
	setstate stairsdisplay invisible
	wm_announce "Lower Ramp destroyed!"
	globalaccum 3 abort_if_not_bitset 3
	////setstate jeep_speakerstartup invisible
	}
}
barrier3.2    //  (29 nicht berücksichtigt)
{
spawn
	{
	wait 512
	constructible_class 3
	setstate stairsdisplay2 invisible
	}
	built
	{
	wm_teamvoiceannounce 1 "allies_hq_const_completed"
	//wm_teamvoiceannounce 0 "axis_hq_const_completed" nein
	setstate b32cm invisible
	globalaccum 2 bitset 4
	wm_announce "Upper Ramp constructed!"
	setstate stairsdisplay2 default
	trigger self sc
	}
	trigger sc
	{
	globalaccum 2 abort_if_not_bitset 4
	globalaccum 2 abort_if_not_bitset 3
	globalaccum 2 bitset 5
	wm_objective_status 3 0 0
	wm_objective_status 3 1 0
	////globalaccum 3 abort_if_not_bitset 3
	//  setstate jeep_multiple2 default // für sound
	////globalaccum 1 abort_if_equal 1
	////setstate jeep_speakerstartup default
	//  setstate delaytimer default
	//alertentity delaytimer
	}
	death
	{
	globalaccum 2 bitreset 5
	wm_objective_status 3 0 1
	wm_objective_status 3 1 0
	wm_teamvoiceannounce 0 "axis_hq_objective_destroyed"
	//wm_teamvoiceannounce 1 "allies_hq_objective_destroyed" nein
	setstate b32cm default
	globalaccum 2 bitreset 4
	setstate stairsdisplay2 invisible
	wm_announce "Upper Ramp destroyed!"
	globalaccum 3 abort_if_not_bitset 3
	////setstate jeep_speakerstartup invisible
	}
}
//\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
//*********** FLAG****************************************************
//\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
flag
{
	trigger allied_capture
	{
	wm_objective_status 6 0 2
	wm_objective_status 6 1 1
	wm_teamvoiceannounce 0 "axis_loseground"
	wm_teamvoiceannounce 1 "allies_gainground"
	setstate flagmarker invisible
	wm_announce "Allies have captured the Market Place!"
	setstate flagallies_wobj default
	setstate flagaxis_wobj invisible
	setstate flagallies default
	setstate flagaxis invisible
	setautospawn "Allied Forward Spawn" 1
	//setautospawn "Axis Spawn" 0 nein? wega CP
	}
	trigger axis_capture
	{
	wm_objective_status 6 0 1
	wm_objective_status 6 1 2
	wm_teamvoiceannounce 0 "axis_gainground"
	wm_teamvoiceannounce 1 "allies_loseground"
	setstate flagmarker invisible
	wm_announce "Axis have captured the Market Place!"
	setstate flagaxis_wobj default
	setstate flagallies_wobj invisible
	setstate flagaxis default
	setstate flagallies invisible
	setautospawn "Axis Forward Spawn" 0
	setautospawn "Allied Spawn" 1
	}
}
towerwall
{
spawn
	{
	constructible_class 2
	}
	death
	{
	wm_objective_status 8 0 2
	wm_objective_status 8 1 1
	alertentity tw
	wm_announce "Allies have made a hole in the Tower Wall"
	setstate towerwallTOI invisible
	wm_teamvoiceannounce 1 "allies_hq_objective_destroyed"
	}
}
//_______________________________________________________
//******************___CP___:::::::::::::::::::::::::::::::::::::::::::::
//:::::::::::::::::::::::::::::::::::::::::::****************************
axisCP
{
spawn
	{
	constructible_class 2
	wait 512
	setstate CP_Spawn_axis_WOBJ invisible
	setstate CP_Spawn_allies_WOBJ invisible
	setstate feature invisible
	setstate hacabdis invisible
	setstate supply invisible
	setstate health invisible
	setstate supplydamage default
	setstate healthdamage default
	setstate axisCP invisible
	setstate alliedCP invisible
	wait 512
	disablespeaker CPspeakeraxis
	disablespeaker CPspeakerallies
	}
	buildstart
	{
	setstate axisCP underconstruction
	setstate neutralCP invisible
	}
	decayed
	{
	setstate neutralCP default
	setstate axisCP invisible
	}
	built
	{ 
	wm_objective_status 5 0 1
	wm_objective_status 5 1 2
	wm_announce   "Axis Command Post constructed. Charge speed increased!"
	wm_teamvoiceannounce 1 "allies_hq_compost_constructed_axis"
	wm_teamvoiceannounce 0 "axis_hq_compost_constructed"
	enablespeaker CPspeakeraxis
	setstate neutralCP invisible
	//setstate alliedCPTOI invisible
	setstate axisCP default
	setstate CP_Spawn_axis_WOBJ default
	alertentity CP_Spawn_axis
	setstate feature default
	setstate hacabdis default
	setstate health default
	setstate supply default
	setstate supplydamage invisible
	setstate healthdamage invisible
	setchargetimefactor 0 soldier 0.75
	setchargetimefactor 0 lieutenant 0.75
	setchargetimefactor 0 engineer 0.75
	setchargetimefactor 0 covertops 0.75
	setchargetimefactor 0 medic 0.75
	sethqstatus 0 1
	}
	death
	{
	wm_objective_status 5 0 0
	wm_objective_status 5 1 0
	wm_teamvoiceannounce 0 "axis_hq_compost_damaged"
	wm_teamvoiceannounce 1 "allies_hq_compost_construct"
	disablespeaker CPspeakeraxis
	wm_announce "Axis Command Post destroyed!"
	setstate neutralCP default
	//setstate alliedCPTOI default
	setstate axisCP invisible
	setstate CP_Spawn_axis_WOBJ invisible
	alertentity CP_Spawn_axis
	setstate feature invisible
	setstate hacabdis invisible
	setstate health invisible
	setstate supply invisible
	setstate supplydamage default
	setstate healthdamage default
	setchargetimefactor 0 soldier 1
	setchargetimefactor 0 lieutenant 1
	setchargetimefactor 0 engineer 1
	setchargetimefactor 0 covertops 1
	setchargetimefactor 0 medic 1
	sethqstatus 0 0
	}
}
alliedCP
{
spawn
	{
	constructible_class 2
	}
	buildstart
	{
	setstate alliedCP underconstruction
	setstate neutralCP invisible
	}
	decayed
	{
	setstate neutralCP default
	setstate alliedCP invisible
	}
	built
	{
	wm_objective_status 5 0 2
	wm_objective_status 5 1 1
	wm_announce   "Allied Command Post constructed. Charge speed increased!"
	wm_teamvoiceannounce 0 "axis_hq_compost_constructed_allies"
	wm_teamvoiceannounce 1 "allies_hq_compost_constructed"
	enablespeaker CPspeakerallies
	setstate neutralCP invisible
	setstate CP_Spawn_allies_WOBJ default
	alertentity CP_Spawn_allies
	//setstate axisCPTOI invisible
	setstate alliedCP default
	setstate feature default
	setstate hacabdis default
	setstate health default
	setstate supply default
	setstate supplydamage invisible
	setstate healthdamage invisible
	setchargetimefactor 1 soldier 0.75
	setchargetimefactor 1 lieutenant 0.75
	setchargetimefactor 1 engineer 0.75
	setchargetimefactor 1 covertops 0.75
	setchargetimefactor 1 medic 0.75
	sethqstatus 1 1
	}
	death
	{
	wm_objective_status 5 0 0
	wm_objective_status 5 1 0
	wm_teamvoiceannounce 1 "allies_hq_compost_damaged"
	wm_teamvoiceannounce 0 "axis_hq_compost_construct"
	disablespeaker CPspeakerallies
	wm_announce "Allied Command Post destroyed!"
	setstate neutralCP default
	setstate CP_Spawn_allies_WOBJ invisible
	alertentity CP_Spawn_allies
	//setstate axisCPTOI default
	setstate alliedCP invisible
	setstate feature invisible
	setstate hacabdis invisible
	setstate health invisible
	setstate supply invisible
	setstate supplydamage default
	setstate healthdamage default
	setchargetimefactor 1 soldier 1
	setchargetimefactor 1 lieutenant 1
	setchargetimefactor 1 engineer 1
	setchargetimefactor 1 covertops 1
	setchargetimefactor 1 medic 1
	sethqstatus 1 0
	}
}

//****** PLANE :_::_:::_::::_:::::_::::::_:::::::_:::::::_::::::_:::::_::::_:::_::_:
//--------------------------------------------------------------------------------------------------
plane_mover
{
spawn
	{
	wait 256
	setstate plane_mover invisible
	}
	trigger move
	{
	setstate plane_mover default
	followspline 0 a1 1000 wait
	trigger plane_bomb0 fall
	followspline 0 a2 1000 wait
	followspline 0 a3 1000 wait
	trigger plane_bomb fall
	followspline 0 a4 1000 wait
	trigger plane_bomb2 fall
	followspline 0 a5 1000 wait
	trigger plane_bomb3 fall
	setstate plane_mover invisible
	}
}
plane_bomb0
{
spawn
	{
	accum 0 set 0
	wait 256
	setstate plane_bomb0 invisible
	}
	trigger fall
	{
	accum 0 inc 1
	accum 0 abort_if_greater_than 1
	setstate plane_bomb0 default
	alertentity plane_bomb0_speaker
	gotomarker marketsquare 500 wait
	alertentity marketsquare
	setstate plane_bomb0 invisible
	}
}
plane_bomb
{
	spawn
	{
	wait 256
	setstate plane_bomb invisible
	}
	trigger fall
	{
	setstate plane_bomb default
	alertentity plane_bomb_speaker
	gotomarker doorexplode 300 wait
	setstate door invisible
	alertentity doorexplosive
	setstate plane_bomb invisible
	setstate td invisible
	wm_teamvoiceannounce 1 "goldrush_allies_gold_get"
	wm_teamvoiceannounce 0 "goldrush_axis_gold_defend"
	wm_objective_status 4 0 1
	wm_objective_status 4 1 1
	}
}
plane_bomb2
{
	spawn
	{
	accum 0 set 0
	wait 256
	setstate plane_bomb2 invisible
	}
	trigger fall
	{
	accum 0 inc 1
	accum 0 abort_if_greater_than 1
	setstate plane_bomb2 default
	alertentity plane_bomb2_speaker
	gotomarker wall 300 wait
	alertentity wall
	setstate plane_bomb2 invisible
	}
}
plane_bomb3
{
	spawn
	{
	accum 0 set 0
	wait 1024
	setstate plane_bomb3 invisible
	}
	trigger fall
	{
	accum 0 inc 1
	accum 0 abort_if_greater_than 1
	setstate plane_bomb3 default
	alertentity plane_bomb3_speaker
	gotomarker street 300 wait
	alertentity street
	setstate plane_bomb3 invisible
	}
}
ladder
{
	spawn
	{
	wait 512
	constructible_class 2
	setstate ladderstatic invisible
	}
	built
	{
	setstate ladderstatic default
	wm_teamvoiceannounce 1 "allies_hq_const_completed"
	wm_announce "Ladder to balcony has been built near the Tower!"
	setstate laddercm invisible
	}
	death
	{
	setstate ladderstatic invisible
	wm_teamvoiceannounce 0 "axis_hq_objective_destroyed"
	wm_announce "Ladder to balcony has been destroyed!"
	setstate laddercm default
	}
}
