main: setcvar "g_obj_alliedtext1" "m1l2a" setcvar "g_obj_alliedtext3" "" setcvar "g_obj_axistext1" "Created by:" setcvar "g_obj_axistext2" "Searingwolfe" setcvar "g_obj_axistext3" "" setcvar "g_scoreboardpic" "m1l2a" // A Scoreboard Pic setcvar "fraglimit" "0" setcvar "timelimit" "50" setcvar "cheats" "0" setcvar "thereisnomonkey" "0" setcvar "maxentities" "5000" setcvar "dmrespawning" "1" setcvar "dmroundlimit" "20" setcvar "level.clockside" "kills" //exec alienx/basebuild.scr::main 800 1000 250 1 1 0 0 if((getcvar("g_gametype") == "2")) { setcvar "g_obj_alliedtext2" "UBER Team Deathmatch v7.0" setcvar "g_gametypestring" "Team-Match UBER" setcvar "g_gametype" "2" exec alienx/hud_tdm.scr::main thread tdm_spawns spawn info_player_deathmatch "origin" "1911 2255 136" "angle" "124" // for spectators when joining game spawn info_player_deathmatch "origin" "5298 -2988 115" "angle" "69" spawn info_player_deathmatch "origin" "1500 -602 182" "angle" "96" } else { setcvar "g_obj_alliedtext2" "UBER Free-For-All v7.0" setcvar "g_gametypestring" "Free-For-All UBER" setcvar "g_gametype" "1" exec alienx/hud_ffa.scr::main thread ffa_spawns } exec global/aliascache_triggersounds.scr waitthread setup level waittill prespawn //axis exec alienx/basebuild.scr::basebuild ( 1774.37 3930.52 -192.26 ) "static/indycrate.tik" 1 0 1 0 90 .2 0 0 1 exec alienx/basebuild.scr::basebuild ( 1808.72 3218.94 -192.26 ) "static/indycrate.tik" 1 1 0 1 90 .2 1 0 1 exec alienx/basebuild.scr::basebuild ( 1773.27 3827.49 -191.12 ) "statweapons/mg42_gun.tik" 1 1 0 0 90 .2 0 0 1 exec alienx/basebuild.scr::basebuild ( 1780.41 3706.96 -189.51 ) "static/sandbag_link_main.tik" 1 0 0 1 90 .2 0 0 1 exec alienx/basebuild.scr::basebuild ( 1783.06 3620.89 -188.44 ) "static/bodies_tarp.tik" 1 1 0 1 90 .2 1 0 1 exec alienx/basebuild.scr::basebuild ( 1777.30 3511.53 -187.38 ) "emitters/inferno.tik" 1 1 1 0 90 .2 0 1 1end exec alienx/basebuild.scr::basebuild ( 1771.45 3401.38 -187.55 ) "static/barbwire.tik" 1 0 1 1 90 .2 0 0 1 exec alienx/basebuild.scr::basebuild ( 1292.62 3919.02 -199.88 ) "static/banquet_table.tik" 1 1 1 1 90 .2 0 0 1 exec alienx/basebuild.scr::basebuild ( 1374.88 3912.52 -200.77 ) "static/sandbag_longsegment.tik" 1 1 1 1 90 .1 0 0 1 exec alienx/basebuild.scr::basebuild ( 1570.68 3922.58 -196.74 ) "static/bodies_tarp.tik" 1 1 1 1 90 .2 0 0 1 exec alienx/basebuild.scr::basebuild ( 1086.50 3016.24 -199.88 ) "static/fireplaceset.tik" 1 1 1 1 90 .2 0 0 1 exec alienx/basebuild.scr::basebuild ( 1098.01 2724.65 -199.88 ) "static/bunkertable.tik" 1 1 0 1 90 .2 0 0 1 exec alienx/basebuild.scr::basebuild ( 1099.16 2777.98 -199.88 ) "animate/pulse_radiobomb_pickup.tik" 1 0 1 1 90 .2 0 0 1end //"static/bush_full.tik" 1 0 1 1 90 .2 0 0 1end exec alienx/basebuild.scr::basebuild ( 1100.49 2846.14 -199.88 ) "items/walkietalkie.tik" 1 1 0 0 90 .2 0 0 1 //"static/cabinet_large.tik" 1 1 0 0 90 .2 0 0 1 //MIDDLE exec alienx/basebuild.scr::basebuild ( 5057.09 -353.44 -108.32 ) "static/indycrate.tik" 1 0 1 0 90 .2 0 0 1 exec alienx/basebuild.scr::basebuild ( 5087.27 -438.40 -92.91 ) "statweapons/mg42_gun.tik" 1 1 0 0 90 .2 0 0 1 exec alienx/basebuild.scr::basebuild ( 5094.88 -517.08 -92.81 ) "static/sandbag_link_main.tik" 1 0 0 1 90 .2 0 0 1 exec alienx/basebuild.scr::basebuild ( 5101.69 -600.60 -94.22 ) "static/bodies_tarp.tik" 1 1 0 1 90 .2 1 0 1 exec alienx/basebuild.scr::basebuild ( 5340.68 -958.04 -62.70 ) "static/townbell.tik" 1 1 1 0 90 .2 0 1 1 exec alienx/basebuild.scr::basebuild ( 5254.85 -961.75 -72.72 ) "static/barbwire.tik" 1 0 1 1 90 .2 0 0 1 exec alienx/basebuild.scr::basebuild ( 5147.61 -966.52 -72.83 ) "static/banquet_table.tik" 1 1 1 1 90 .2 0 0 1 exec alienx/basebuild.scr::basebuild ( 4784.06 -784.16 -147.30 ) "static/sandbag_longsegment.tik" 1 1 1 1 90 .1 0 0 1 exec alienx/basebuild.scr::basebuild ( 4790.40 -563.31 -169.62 ) "static/bodies_tarp.tik" 1 1 1 1 90 .2 0 0 1 exec alienx/basebuild.scr::basebuild ( 5202.69 -752.51 -80.74 ) "static/static_naziflag1.tik" 1 1 0 0 90 .2 0 0 1 exec alienx/basebuild.scr::basebuild ( 5276.40 -756.75 -74.62 ) "static/hopechest.tik" 1 0 1 0 90 .2 0 0 1 exec alienx/basebuild.scr::basebuild ( 4812.07 -406.46 -176.77 ) "static/dresser.tik" 1 0 1 1 90 .2 0 0 1 exec alienx/basebuild.scr::basebuild ( 4789.29 -673.24 -155.43 ) "static/bookcase.tik" 1 1 1 1 90 .2 0 0 1 exec alienx/basebuild.scr::basebuild ( 4785.60 -901.10 -152.32 ) "furniture/bunkerchair.tik" 1 1 1 0 90 .2 0 0 1 //allies exec alienx/basebuild.scr::basebuild ( 5140.24 -4082.22 -77.81 ) "static/indycrate.tik" 1 0 1 0 90 .2 0 0 1 exec alienx/basebuild.scr::basebuild ( 5139.28 -3987.72 -85.11 ) "statweapons/mg42_gun.tik" 1 1 0 0 90 .2 0 0 1 exec alienx/basebuild.scr::basebuild ( 5146.34 -3885.89 -84.60 ) "static/sandbag_link_main.tik" 1 0 0 1 90 .2 0 0 1 exec alienx/basebuild.scr::basebuild ( 5146.74 -3744.95 -91.14 ) "static/bodies_tarp.tik" 1 1 0 1 90 .2 1 0 1 exec alienx/basebuild.scr::basebuild ( 5151.31 -3609.56 -111.00 ) "static/townbell.tik" 1 1 1 0 90 .2 0 1 1 exec alienx/basebuild.scr::basebuild ( 5145.58 -3501.95 -111.44 ) "static/barbwire.tik" 1 0 1 1 90 .2 0 0 1 exec alienx/basebuild.scr::basebuild ( 5555.97 -3828.96 -28.05 ) "static/banquet_table.tik" 1 1 1 1 90 .2 0 0 1 exec alienx/basebuild.scr::basebuild ( 5676.34 -3830.13 -17.97 ) "static/sandbag_longsegment.tik" 1 1 1 1 90 .1 0 0 1 exec alienx/basebuild.scr::basebuild ( 5796.26 -3839.76 -15.94 ) "static/bodies_tarp.tik" 1 1 1 1 90 .2 0 0 1 exec alienx/basebuild.scr::basebuild ( 5691.13 -4184.20 -23.43 ) "static/body_german01.tik" 1 0 1 1 90 .2 0 0 1 exec alienx/basebuild.scr::basebuild ( 5639.37 -4128.13 -24.40 ) "static/static_nazibanner.tik" 1 0 1 1 90 .2 0 0 3 exec alienx/basebuild.scr::basebuild ( 5572.07 -4175.67 -28.00 ) "static/static_kriegsflag.tik" 1 0 1 0 90 .2 0 0 3 exec alienx/basebuild.scr::basebuild ( 5502.42 -4194.75 -38.59 ) "static/static_naziflag1.tik" 1 1 1 1 90 .2 0 0 1 exec alienx/basebuild.scr::basebuild ( 6069.51 -4102.33 12.19 ) "static/bathroomsink.tik" 1 1 0 0 90 .2 0 0 1 exec global/dog.scr ( 2418 3878 -191 ) ( 0 193 0 ) 15 20 exec map_triggers/joint.scr ( -2315 -4118 -639 ) exec map_triggers/player_spotlight.scr $spotlight[1].origin ( 1 0 0 ) s0 700 270 0 0 1 // origin, color, name, health, angle, mountwall (0 = floor), ... exec map_triggers/player_spotlight.scr $spotlight[2].origin ( 0 1 0 ) s1 700 270 0 0 1 // orient (only for mountwall = 1 or 3), removeafterdeath (0 = no, ... exec map_triggers/player_spotlight.scr $spotlight[3].origin ( 0 0 1 ) s2 700 270 0 0 1 // 1 = remove spotlight keep base, 2 = remove everything). //*** precache dm stuff //exec global/dmprecache.scr level.dmrespawning = 1 level.script = maps/m1l2a.scr exec global/ambient.scr m1l2a exec global/exploder.scr exec global/loadout.scr "maps/m1l2a.scr" //exec global/door_locked.scr exec global/shutter.scr setcvar "r_fastsky" "0" $world farplane 150000 $world farplane_color ( 0.04314 0.05882 0.16471 ) exec map_triggers/bomb.scr ( 6351 -5296 26 ) ( 5791 -4191 208 ) ( 4866 -1640 0 ) ( 4864 13 -167 ) ( 2703 -1008 -127 ) ( 15 2867 -415 ) ( 2309 3719 -143 ) ( 1807 2895 -462 ) ( 2012 3862 72 ) ( -235 -150 -47 ) exec map_triggers/led_trap.scr ( 4336 -1295 -4 ) led1 1 exec map_triggers/led_trap.scr ( 4631 -3408 -90 ) led2 1 thread laserdoor ( .3608 .6627 .0016 ) 100 500 600 thread explosivesroom 100 500 600 thread flak88_explode1 300 500 600 thread flak88_explode2 300 500 600 exec maps/gen_mapscripts/truckstuff_trig.scr ( 1399 247 -147 ) $latertruck2 1 1 100 500 600 $t208 exec maps/gen_mapscripts/truckstuff_trig.scr ( 1640 2825 -200 ) $truck2 1 1 100 500 600 $t208 exec maps/gen_mapscripts/radiobomb_walkietrig.scr bombwalkie1 ( 2125 3096 -449 ) ( 0 180 0 ) ( 1815 3096 -449 ) ( 0 90 0 ) 500 1 1 8 exec maps/gen_mapscripts/radiobomb_walkietrig.scr bombwalkie2 ( -1231 -3751 -383 ) ( 0 -90 0 ) ( -1136 -3751 -383 ) ( 0 0 0 ) 500 1 1 8 exec maps/gen_mapscripts/radiobomb_walkietrig.scr bombwalkie3 ( 4927 -1928 0 ) ( 0 90 0 ) ( 4934 -1681 0 ) ( 0 0 0 ) 500 1 1 8 level waittill spawn end //////////////////////////////////////////////////////////////////////// setup: removeclass actor removeclass turretgun // also removes flak88s $introclip delete //$introdoorL remove //$introdoorR remove //$ossdoorbar remove //$ossdoor remove $ossdoor dmg 0 //$door_early2 remove //$door_early remove //$left_gate remove //$right_gate remove $lock remove //$enddoor remove //$doorB remove //$doorA remove //$spotlight remove $spotlight notsolid $spotlight hide //$exploder remove $explosivespulse100 remove $explosivespulse101 remove $explosivespulse102 remove $explosives101 remove $explosives102 remove $health1 remove $health remove //$doorL remove //$doorR remove //$t208 remove // invisible player-clip for opeltrucks' collision entities. //$friendlyexplosive remove $explosive notsolid // $explosive[1], [2], [3], [4], [5], [6], [7]. //$explosive[4] remove // not sure what these 2 are for; their origins are ( 99999 99999 99999 ) //$explosive[5] remove $flak88b_d hide $flak88a_d hide $flak88b setPlayerUsable 1 $flak88a setPlayerUsable 1 level.springfield = 1 level.bar = 1 level.bazooka = 1 level.mp44 = 1 level.shotgun = 1 local.alliescrate = spawn script_model local.alliescrate model "static/sandbag_link_main.tik" local.alliescrate.origin = ( -1981 -3008 -313 ) local.alliescrate.angles = ( 0 -90 0 ) local.alliescrate show $explosives100 show $explosives100.angles = ( 0 180 0 ) $friendlyexplosive.origin = ( 684.25 -675.78 -54 ) $friendlyexplosive.angles = ( 0 0 0 ) local.ossdoor = spawn trigger_use local.ossdoor.origin = ( 5908 -4456 208 ) local.ossdoor setsize ( -70 -70 -20 ) ( 70 70 70 ) local.ossdoor setthread ossdoor_trigger local.lockgates = spawn trigger_use local.lockgates.origin = ( 5888 -1816 5 ) local.lockgates setsize ( -70 -70 -20 ) ( 70 70 70 ) local.lockgates thread maps/gen_mapscripts/doorsgates.scr::metal_gates $left_gate $right_gate 85 local.woodgates = spawn trigger_use local.woodgates.origin = ( 5311 -3417 -103 ) local.woodgates setsize ( -70 -70 -20 ) ( 70 70 70 ) local.woodgates thread maps/gen_mapscripts/doorsgates.scr::wood_gates $introdoorL $introdoorR 85 local.singlegate = spawn trigger_use local.singlegate.origin = ( 6827 -4545 8 ) local.singlegate setsize ( -70 -40 -20 ) ( 40 40 70 ) local.singlegate thread maps/gen_mapscripts/doorsgates.scr::metal_doors $door_early NIL -85 local.singlegate2 = spawn trigger_use local.singlegate2.origin = ( 6827 -4255 8 ) local.singlegate2 setsize ( -70 -40 -20 ) ( 40 40 70 ) local.singlegate2 thread maps/gen_mapscripts/doorsgates.scr::metal_doors $door_early2 NIL 85 local.voiddoors = spawn trigger_use local.voiddoors.origin = ( 4192 -1743 -5 ) local.voiddoors setsize ( -70 -70 -20 ) ( 70 70 70 ) local.voiddoors thread maps/gen_mapscripts/doorsgates.scr::wood_gates $doorL $doorR 85 local.doorA = spawn trigger_use local.doorA.origin = $doorA.origin local.doorA setsize ( -40 -70 -70 ) ( 40 40 70 ) local.doorA thread maps/gen_mapscripts/doorsgates.scr::wood_doors $doorA NIL 85 local.doorB = spawn trigger_use local.doorB.origin = $doorB.origin local.doorB setsize ( -40 -40 -70 ) ( 40 70 70 ) local.doorB thread maps/gen_mapscripts/doorsgates.scr::wood_doors $doorB NIL -85 local.enddoor = spawn trigger_use local.enddoor.origin = $enddoor.origin local.enddoor setsize ( -40 -40 -70 ) ( 40 70 70 ) local.enddoor thread maps/gen_mapscripts/doorsgates.scr::wood_doors $enddoor NIL -85 level waittill spawn $latertruck.origin = ( 1496.11 242.15 -154.29 ) $latertruck.angles = ( 1.49 130 0.00 ) $latertruck.scale = 1 $latertruck anim stop_wheels $latertruck anim idlenolights $latertruck nodamage $latertruck setcollisionentity $t208 //$latertruck.target $latertruck.corona = 0 $truck.origin = ( 1585.73 2905.55 -200.87 ) $truck.angles = ( 0 -103 0 ) $truck.scale = 1 $truck anim stop_wheels $truck anim idlenolights $truck nodamage $truck setcollisionentity $t208 $latertruck hide $truck hide local.truck1 = spawn script_model targetname "latertruck2" local.truck1 model "vehicles/opeltruck.tik" local.truck1.origin = $latertruck.origin local.truck1.angles = $latertruck.angles local.truck1.scale = 1 local.truck1 anim stop_wheels local.truck1 anim idlenolights local.truck1 notsolid local.truck2 = spawn script_model targetname "truck2" local.truck2 model "vehicles/opeltruck.tik" local.truck2.origin = $truck.origin local.truck2.angles = $truck.angles local.truck2.scale = 1 local.truck2 anim stop_wheels local.truck2 anim idlenolights local.truck2 notsolid thread tables exec map_triggers/tele.scr ( -6249 -4464 -704 ) ( -6249 -4464 -704 ) 2 ( -99 -99 0 ) ( 22222 22222 1 ) // don't use large values like "99999", exec map_triggers/tele.scr ( -6249 -2447 -383 ) ( -6249 -2447 -383 ) 2 ( -99 -99 0 ) ( 12825 4480 1 ) // or the trigger might not work. exec map_triggers/tele.scr ( 6576 1085 -255 ) ( 6576 1085 -255 ) 2 ( -4281 -99 0 ) ( 99 5491 1 ) exec map_triggers/tele.scr ( 2295 4375 -255 ) ( 2295 4375 -255 ) 2 ( -22222 -1 0 ) ( 1 22222 1 ) exec map_triggers/tele.scr ( 544 4375 -255 ) ( 544 4375 -255 ) 2 ( -22222 -1216 0 ) ( 1 1 1 ) exec map_triggers/tele.scr ( -2127 -143 -255 ) ( -2127 -143 -255 ) 2 ( -1 -1 0 ) ( 2356 2749 1 ) exec map_triggers/tele.scr ( 48 3159 -255 ) ( 48 3159 -255 ) 2 ( -22222 -192 0 ) ( 1 1 1 ) exec map_triggers/tele.scr ( -376 2967 -255 ) ( -376 2967 -255 ) 2 ( -22222 -361 0 ) ( 1 1 1 ) exec map_triggers/tele.scr ( 48 2959 -239 ) ( 48 2959 -239 ) 2 ( -157 -1 0 ) ( 1 200 1 ) exec map_triggers/tele.scr ( 4495 1160 -247 ) ( 4495 1160 -247 ) 2 ( -1 -22222 0 ) ( 22222 1 1 ) exec map_triggers/tele.scr ( 4384 -2767 -511 ) ( 4384 -2767 -511 ) 2 ( -3900 -22222 0 ) ( 1 1 1 ) exec map_triggers/tele.scr ( 4544 -4295 -127 ) ( 4544 -4295 -127 ) 2 ( -1 -22222 0 ) ( 22222 1 1 ) end ossdoor_trigger: self nottriggerable self.inc++ if(self.inc > 1 || self.inc == NIL) { self.inc = 0 } if(self.inc == 0) { $ossdoorbar playsound door_vault_open $ossdoorbar time 0.6 $ossdoorbar rotatexdown 90 $ossdoorbar waitmove wait 0.42 $ossdoor time 1.45 $ossdoor rotateydown 80 $ossdoor waitmove $ossdoor connect_paths } if(self.inc == 1) { $ossdoorbar playsound door_vault_roll_close $ossdoor time 3.05 $ossdoor rotateyup 80 $ossdoor waitmove $ossdoor connect_paths $ossdoorbar time 0.5 $ossdoorbar rotatexup 90 $ossdoorbar waitmove } self triggerable end //////////////////////////////////////////////////////////////////////// laserdoor local.color local.health local.damage local.radius: local.laser1 = spawn func_beam targetname "laserwall1" local.laser1 minoffset 0.0 local.laser1 maxoffset 0.0 local.laser1 numsegments 1 local.laser1 life 0 local.laser1 color local.color local.laser1 alpha 0.4 local.laser1 alwaysdraw local.laser1 activate local.laser1 scale .5 local.laser1.origin = ( 694 -511 206 ) local.laser1 endpoint ( 694 -833 206 ) local.laser2 = spawn func_beam targetname "laserwall2" local.laser2 minoffset 0.0 local.laser2 maxoffset 0.0 local.laser2 numsegments 1 local.laser2 life 0 local.laser2 color local.color local.laser2 alpha 0.4 local.laser2 alwaysdraw local.laser2 activate local.laser2 scale .5 local.laser2.origin = ( 694 -511 144 ) local.laser2 endpoint ( 694 -833 144 ) local.laser3 = spawn func_beam targetname "laserwall3" local.laser3 minoffset 0.0 local.laser3 maxoffset 0.0 local.laser3 numsegments 1 local.laser3 life 0 local.laser3 color local.color local.laser3 alpha 0.4 local.laser3 alwaysdraw local.laser3 activate local.laser3 scale .5 local.laser3.origin = ( 694 -511 82 ) local.laser3 endpoint ( 694 -833 82 ) local.laser4 = spawn func_beam targetname "laserwall4" local.laser4 minoffset 0.0 local.laser4 maxoffset 0.0 local.laser4 numsegments 1 local.laser4 life 0 local.laser4 color local.color local.laser4 alpha 0.4 local.laser4 alwaysdraw local.laser4 activate local.laser4 scale .5 local.laser4.origin = ( 694 -511 20 ) local.laser4 endpoint ( 694 -833 20 ) local.laser5 = spawn func_beam targetname "laserwall5" local.laser5 minoffset 0.0 local.laser5 maxoffset 0.0 local.laser5 numsegments 1 local.laser5 life 0 local.laser5 color local.color local.laser5 alpha 0.4 local.laser5 alwaysdraw local.laser5 activate local.laser5 scale .5 local.laser5.origin = ( 694 -511 -42 ) local.laser5 endpoint ( 694 -833 -42 ) local.trig = spawn trigger_multiple local.trig.origin = ( 691 -672 -54 ) local.trig setsize ( -12 -168 -5 ) ( 37 167 260 ) local.trig setthread laserdoor_hint local.trig = spawn trigger_multiple spawnflags 128 local.trig.origin = ( 691 -672 -54 ) local.trig setsize ( -12 -168 -5 ) ( 37 167 260 ) local.trig.lasercolor = local.color local.trig setthread laserdoor_shot local.bike = spawn "vehicles/bmwbike.tik" // these act as sensors for nearby grenades, rockets, & other explosions local.bike.origin = ( 631 -672 0 ) local.bike.angles = ( 0 90 0 ) local.bike.health = local.health local.bike.scale = 0.1 local.bike notsolid local.bike hide local.bikeraise = spawn script_model // for some reason, bike2 will not blow up unless it's raised a few units off the ground. local.bikeraise model "static/indycrate.tik" local.bikeraise.origin = ( 757 -672 -88 ) local.bikeraise.angles = local.bike.angles + ( 0 90 0 ) local.bikeraise hide local.bike2 = spawn "vehicles/bmwbike.tik" local.bike2.origin = ( 757 -672 0 ) //( 700 -657 206 ) local.bike2.angles = ( 0 270 0 ) local.bike2.health = local.health local.bike2.scale = 0.1 local.bike2 notsolid local.bike2 hide while(local.bike.health > 0 && local.bike2.health > 0) { wait 0.1 } local.debris = spawn script_model local.debris model "emitters/mortar_dirt_nosound.tik" local.debris.origin = ( 708 -675.78 -54 ) local.debris notsolid local.debris.scale = 1.25 local.debris anim start local.r = randomint(4) if(local.r == 0) { $explosives100 playsound explode_building_large1 } if(local.r == 1) { $explosives100 playsound explode_building_large2 } if(local.r == 2) { $explosives100 playsound explode_building_large3 } if(local.r == 3) { $explosives100 playsound explode_building_large4 } local.r2 = randomint(2) if(local.r2 == 0) { local.debris playsound explode_wood_small1 } if(local.r2 == 1) { local.debris playsound explode_wood_small2 } radiusdamage $exploder.origin local.damage local.radius $exploder thread global/exploder.scr::explode 100 // original game's script (100 = laser door, 101 = flak88 #1, 102 = flakk88 #2). local.bike remove local.bike2 remove local.bikeraise remove local.trig remove local.trig2 remove local.laser1 remove local.laser2 remove local.laser3 remove local.laser4 remove local.laser5 remove $explosives100 remove $friendlyexplosive remove waitframe local.debris remove end laserdoor_hint: self nottriggerable local.player = parm.other local.player iprint ("Blow up the laser wall with a grenade.") wait 1 self triggerable end laserdoor_shot: self nottriggerable for(local.c = 1; local.c <= 5; local.c++) { $("laserwall" + local.c) color ( 1 0 0 ) } waitframe for(local.c = 1; local.c <= 5; local.c++) { $("laserwall" + local.c) color self.lasercolor } self triggerable end //////////////////////////////////////////////////////////////////////// explosivesroom local.health local.damage local.radius: local.bike = spawn "vehicles/bmwbike.tik" local.bike.origin = ( 1971 3123 -500 ) local.bike.angles = ( 0 0 0 ) local.bike.health = local.health local.bike.scale = 0.1 local.bike notsolid local.bike hide while(local.bike.health > 0) { wait 0.1 } local.explode = spawn script_model local.explode model "animate//fx_mortar_higgins.tik" //"fx/fx_flak88_explosion.tik" local.explode.origin = $explosive[1].origin local.explode.scale = 0.45 local.explode anim start local.debris = spawn script_model local.debris model "emitters/mortar_dirt_nosound.tik" local.debris.origin = $explosive[1].origin local.debris notsolid local.debris.scale = 1 local.debris anim start local.r1 = randomint(5) if(local.r1 == 0) { local.explode playsound explode_building_small1 } if(local.r1 == 1) { local.explode playsound explode_building_small2 } if(local.r1 == 2) { local.explode playsound explode_building_small3 } if(local.r1 == 3) { local.explode playsound explode_building_small4 } if(local.r1 == 4) { local.explode playsound explode_building_small5 } local.r2 = randomint(2) if(local.r2 == 0) { local.debris playsound explode_wood_small1 } if(local.r2 == 1) { local.debris playsound explode_wood_small2 } radiusdamage $explosive[1].origin local.damage local.radius waitframe $explosive remove local.bike remove local.explode remove local.debris remove end //////////////////////////////////////////////////////////////////////// flak88_explode1 local.health local.damage local.radius: local.tank = spawn "vehicles/kingtank.tik" local.tank.origin = ( -1020 -3265 -310 ) local.tank.angles = ( 0 -90 0 ) local.tank.health = local.health local.tank.scale = 0.1 local.tank notsolid local.tank hide local.tank2 = spawn "vehicles/kingtank.tik" local.tank2.origin = ( -1020 -3465 -310 ) local.tank2.angles = ( 0 -90 0 ) local.tank2.health = local.health local.tank2.scale = 0.1 local.tank2 notsolid local.tank2 hide local.tank3 = spawn "vehicles/kingtank.tik" local.tank3.origin = ( -785 -3265 -310 ) local.tank3.angles = ( 0 -90 0 ) local.tank3.health = local.health local.tank3.scale = 0.1 local.tank3 notsolid local.tank3 hide while(local.tank.health > 0 && local.tank2.health > 0 && local.tank3.health > 0) { wait 0.1 } local.explode = spawn script_model local.explode model "animate//fx_mortar_higgins.tik" //"fx/fx_flak88_explosion.tik" local.explode.origin = $flak88a_d.origin local.explode.scale = 1.1 local.explode anim start local.debris = spawn script_model local.debris model "emitters/mortar_dirt_nosound.tik" local.debris.origin = $flak88a_d.origin local.debris notsolid local.debris.scale = 1.25 local.debris anim start local.r = randomint(5) if(local.r == 0) { local.explode playsound explode_building_large3 } // all metal explosion sounds if(local.r == 1) { local.explode playsound explode_building_small4 } if(local.r == 2) { local.explode playsound explode_building_small5 } if(local.r == 3) { local.explode playsound explode_building_large4 } if(local.r == 4) { local.explode playsound explode_building_small3 } local.r2 = randomint(2) if(local.r2 == 0) { local.debris playsound explode_wood_small1 } if(local.r2 == 1) { local.debris playsound explode_wood_small2 } radiusdamage $flak88a_d.origin local.damage local.radius $flak88a remove $flak88a_d show waitframe $explosive remove local.tank remove local.tank2 remove local.tank3 remove local.explode remove local.debris remove end flak88_explode2 local.health local.damage local.radius: local.tank = spawn "vehicles/kingtank.tik" local.tank.origin = ( -1360 -3265 -310 ) local.tank.angles = ( 0 -90 0 ) local.tank.health = local.health local.tank.scale = 0.1 local.tank notsolid local.tank hide local.tank2 = spawn "vehicles/kingtank.tik" local.tank2.origin = ( -1360 -3465 -310 ) local.tank2.angles = ( 0 -90 0 ) local.tank2.health = local.health local.tank2.scale = 0.1 local.tank2 notsolid local.tank2 hide local.tank3 = spawn "vehicles/kingtank.tik" local.tank3.origin = ( -1595 -3265 -310 ) local.tank3.angles = ( 0 -90 0 ) local.tank3.health = local.health local.tank3.scale = 0.1 local.tank3 notsolid local.tank3 hide while(local.tank.health > 0 && local.tank2.health > 0 && local.tank3.health > 0) { wait 0.1 } local.explode = spawn script_model local.explode model "animate//fx_mortar_higgins.tik" local.explode.origin = $flak88b_d.origin local.explode.scale = 1.1 local.explode anim start local.debris = spawn script_model local.debris model "emitters/mortar_dirt_nosound.tik" local.debris.origin = $flak88b_d.origin local.debris notsolid local.debris.scale = 1.25 local.debris anim start local.r = randomint(5) if(local.r == 0) { local.explode playsound explode_building_large3 } if(local.r == 1) { local.explode playsound explode_building_small4 } if(local.r == 2) { local.explode playsound explode_building_small5 } if(local.r == 3) { local.explode playsound explode_building_large4 } if(local.r == 4) { local.explode playsound explode_building_small3 } local.r2 = randomint(2) if(local.r2 == 0) { local.debris playsound explode_wood_small1 } if(local.r2 == 1) { local.debris playsound explode_wood_small2 } radiusdamage $flak88b_d.origin local.damage local.radius $flak88b remove $flak88b_d show waitframe $explosive remove local.tank remove local.tank2 remove local.tank3 remove local.explode remove local.debris remove end //////////////////////////////////////////////////////////////////////// tables: // dimensions: 92 x 200 local.t1 = spawn script_model local.t1 model "static/banquet_table.tik" local.t1.origin = ( 4351 -1634 -49 ) local.t1.angles = ( 0 270 0 ) local.t2 = spawn script_model local.t2 model "static/banquet_table.tik" local.t2.origin = ( 4259 -1634 -49 ) local.t2.angles = ( 0 270 0 ) local.t3 = spawn script_model local.t3 model "static/banquet_table.tik" local.t3.origin = ( 4167 -1634 -49 ) local.t3.angles = ( 0 270 0 ) local.t4 = spawn script_model local.t4 model "static/banquet_table.tik" local.t4.origin = ( 4075 -1634 -49 ) local.t4.angles = ( 0 270 0 ) local.t5 = spawn script_model local.t5 model "static/banquet_table.tik" local.t5.origin = ( 4351 -1434 -49 ) local.t5.angles = ( 0 270 0 ) local.t6 = spawn script_model local.t6 model "static/banquet_table.tik" local.t6.origin = ( 4259 -1434 -49 ) local.t6.angles = ( 0 270 0 ) local.t7 = spawn script_model local.t7 model "static/banquet_table.tik" local.t7.origin = ( 4167 -1434 -49 ) local.t7.angles = ( 0 270 0 ) local.t8 = spawn script_model local.t8 model "static/banquet_table.tik" local.t8.origin = ( 4075 -1434 -49 ) local.t8.angles = ( 0 270 0 ) local.t9 = spawn script_model local.t9 model "static/banquet_table.tik" local.t9.origin = ( 4351 -1234 -49 ) local.t9.angles = ( 0 270 0 ) local.t10 = spawn script_model local.t10 model "static/banquet_table.tik" local.t10.origin = ( 4259 -1234 -49 ) local.t10.angles = ( 0 270 0 ) local.t11 = spawn script_model local.t11 model "static/banquet_table.tik" local.t11.origin = ( 4167 -1234 -49 ) local.t11.angles = ( 0 270 0 ) local.t12 = spawn script_model local.t12 model "static/banquet_table.tik" local.t12.origin = ( 4075 -1234 -49 ) local.t12.angles = ( 0 270 0 ) local.t13 = spawn script_model local.t13 model "static/banquet_table.tik" local.t13.origin = ( 4351 -1034 -49 ) local.t13.angles = ( 0 270 0 ) local.t14 = spawn script_model local.t14 model "static/banquet_table.tik" local.t14.origin = ( 4259 -1034 -49 ) local.t14.angles = ( 0 270 0 ) local.t15 = spawn script_model local.t15 model "static/banquet_table.tik" local.t15.origin = ( 4167 -1034 -49 ) local.t15.angles = ( 0 270 0 ) local.t16 = spawn script_model local.t16 model "static/banquet_table.tik" local.t16.origin = ( 4075 -1034 -49 ) local.t16.angles = ( 0 270 0 ) end //////////////////////////////////////////////////////////////////////// tdm_spawns: spawn info_player_axis "origin" "623.13 3999.13 0.13" "angle" "-30" spawn info_player_axis "origin" "599.35 2549.11 0.13" "angle" "28" spawn info_player_axis "origin" "1246.34 2087.13 72.13" "angle" "3" spawn info_player_axis "origin" "2133.56 2815.23 64.13" "angle" "-79" spawn info_player_axis "origin" "1999.13 3752.89 64.13" "angle" "-69" spawn info_player_axis "origin" "2401.86 3653.67 -191.88" "angle" "-173" spawn info_player_axis "origin" "2418.09 3726.27 -183.88" "angle" "147" spawn info_player_axis "origin" "1752.26 3637.05 -511.88" "angle" "32" spawn info_player_axis "origin" "980.61 4160.88 64.13" "angle" "-38" spawn info_player_axis "origin" "2046.68 3983.13 64.13" "angle" "115" spawn info_player_axis "origin" "1283.39 4059.94 -192.86" "angle" "6" spawn info_player_axis "origin" "1808.74 3605.56 -187.30" "angle" "132" spawn info_player_axis "origin" "1996.79 2320.38 -200.12" "angle" "84" spawn info_player_axis "origin" "123.13 3041.87 -415.88" "angle" "-61" spawn info_player_axis "origin" "1364.44 4030.49 64.13" "angle" "7" spawn info_player_allied "origin" "-1037.81 -879.70 -155.34" "angle" "4" spawn info_player_allied "origin" "-1444.29 -1490.05 -260.97" "angle" "19" spawn info_player_allied "origin" "-855.47 -2036.34 -222.85" "angle" "63" spawn info_player_allied "origin" "-1342.13 -2548.96 -288.02" "angle" "58" spawn info_player_allied "origin" "-1351.02 -3060.56 -319.88" "angle" "60" spawn info_player_allied "origin" "-998.35 -3279.27 -319.88" "angle" "105" spawn info_player_allied "origin" "-1671.08 -3334.71 -320.26" "angle" "44" spawn info_player_allied "origin" "-54.58 -1331.09 -16.70" "angle" "64" spawn info_player_allied "origin" "503.09 -1183.11 -45.47" "angle" "76" spawn info_player_allied "origin" "2254.83 -928.76 -71.88" "angle" "106" spawn info_player_allied "origin" "2794.60 -876.96 -127.88" "angle" "163" spawn info_player_allied "origin" "2954.09 -429.37 -143.88" "angle" "-149" spawn info_player_allied "origin" "3145.90 -463.59 -143.88" "angle" "-155" spawn info_player_allied "origin" "3362.61 -296.01 -143.88" "angle" "-157" spawn info_player_allied "origin" "2264.78 -591.13 -76.48" "angle" "-154" end ffa_spawns: spawn info_player_deathmatch "origin" "-1726.56 -1817.59 -287.78" "angle" "14" spawn info_player_deathmatch "origin" "-1608.00 -3215.95 -319.84" "angle" "21" spawn info_player_deathmatch "origin" "520.22 -1229.44 -34.22" "angle" "87" spawn info_player_deathmatch "origin" "1425.45 -1200.88 -11.03" "angle" "80" spawn info_player_deathmatch "origin" "2240.88 -1000.77 -71.88" "angle" "85" spawn info_player_deathmatch "origin" "3376.60 -323.97 -143.88" "angle" "-167" spawn info_player_deathmatch "origin" "2031.35 2308.01 -199.66" "angle" "90" spawn info_player_deathmatch "origin" "127.15 2711.29 -415.88" "angle" "13" spawn info_player_deathmatch "origin" "2518.34 2189.92 -181.36" "angle" "-134" spawn info_player_deathmatch "origin" "-48.19 1098.38 -91.14" "angle" "-19" spawn info_player_deathmatch "origin" "614.16 3859.09 -39.88" "angle" "-86" spawn info_player_deathmatch "origin" "591.13 2530.23 0.13" "angle" "7" spawn info_player_deathmatch "origin" "1501.34 2095.93 96.13" "angle" "152" spawn info_player_deathmatch "origin" "2327.50 3650.00 -191.88" "angle" "-177" spawn info_player_deathmatch "origin" "-1267.79 -749.69 -149.22" "angle" "-18" end fillup_330: end hint1: end save1: end door_early: end enddoor: end use_gate: end papersthread: end earlyalert: end torture: end blowdoor: end earlyenemies: end friendchoice: end prisonertruck: end gotexplosives: end stage2: end chairstart: end gotruck: end ossdoor: end end getossgun: end torture2: end friendchoice2: end blowflak: end door_early2: end POW_damage: end spotshow: end large_door: end spothide: end hint_door: end sentryalarm: end