main: setcvar "g_obj_alliedtext1" "m1l1" setcvar "g_obj_alliedtext3" "" setcvar "g_obj_axistext1" "Created by:" setcvar "g_obj_axistext2" "Searingwolfe" setcvar "g_obj_axistext3" "" setcvar "g_scoreboardpic" "m1l1" 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" "-3180 -3370 402" "angle" "108" // for spectators when joining game spawn info_player_deathmatch "origin" "-6360 2463 573" "angle" "-127" spawn info_player_deathmatch "origin" "-4016 644 517" "angle" "-118" } 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 //allies exec alienx/basebuild.scr::basebuild ( -1396.75 -3915.47 79.34 ) "static/indycrate.tik" 1 0 1 0 90 .5 0 0 1 exec alienx/basebuild.scr::basebuild ( -1389.28 -3739.33 61.43 ) "statweapons/mg42_gun.tik" 1 1 0 0 90 .5 0 0 1 exec alienx/basebuild.scr::basebuild ( -1402.93 -3526.67 48.64 ) "static/sandbag_link_main_winter.tik" 1 0 0 1 90 .5 0 0 1 exec alienx/basebuild.scr::basebuild ( -1401.90 -3368.61 55.51 ) "static/indycrate.tik" 1 1 0 1 90 .5 1 0 1 exec alienx/basebuild.scr::basebuild ( -1384.12 -3146.00 98.10) "static/bunkertable.tik" 1 1 1 0 90 .5 0 1 1 exec alienx/basebuild.scr::basebuild ( -1550.44 -4080.68 86.02 ) "static/barbwire.tik" 1 0 1 1 90 .5 0 0 1 exec alienx/basebuild.scr::basebuild ( -1697.22 -4194.81 91.84 ) "static/bookcase.tik" 1 1 1 1 90 .5 0 0 1 exec alienx/basebuild.scr::basebuild ( -1692.38 -4324.43 94.04) "static/sandbag_longsegment.tik" 1 1 1 1 90 .5 0 0 1 exec alienx/basebuild.scr::basebuild ( -1400.62 -3256.10 57.86) "static/bodies_tarp.tik" 1 1 1 1 90 .5 0 0 1 //exec alienx/basebuild.scr::basebuild ( -1500.62 -3256.10 57.86) "animal/german_shepherd.tik" 1 1 1 1 90 .5 0 0 1 //exec alienx/basebuild.scr::basebuild ( -1600.62 -3256.10 57.86) "vehicles/opeltruck.tik" 1 1 1 1 90 .2 0 0 1 //exec alienx/basebuild.scr::basebuild ( -1600.62 -3356.10 57.86) "animate/pulse_radiobomb_pickup.tik" 1 1 1 1 90 1 0 0 1 //exec alienx/basebuild.scr::basebuild ( -1600.62 -3456.10 57.86) "items/walkietalkie.tik" 1 1 1 1 90 1 0 0 1 //axis exec alienx/basebuild.scr::basebuild ( -4059.54 291.12 385.96 ) "static/indycrate.tik" 1 0 1 0 90 .5 0 0 1 exec alienx/basebuild.scr::basebuild ( -4059.13 168.20 376.74 ) "statweapons/mg42_gun.tik" 1 1 0 0 90 .5 0 0 1 exec alienx/basebuild.scr::basebuild ( -4060.17 75.82 376.47 ) "static/sandbag_link_main_winter.tik" 1 0 0 1 90 .5 0 0 1 exec alienx/basebuild.scr::basebuild ( -4065.73 -24.48 369.19 ) "static/indycrate.tik" 1 1 0 1 90 .5 1 0 1 exec alienx/basebuild.scr::basebuild ( -4436.78 -245.03 377.12 ) "static/bunkertable.tik" 1 1 1 0 90 .5 0 1 1 exec alienx/basebuild.scr::basebuild ( -4445.87 -119.83 380.13 ) "static/barbwire.tik" 1 0 1 1 90 .5 0 0 1 exec alienx/basebuild.scr::basebuild ( -4440.29 -34.57 380.13 ) "static/static_naziflag1.tik" 1 1 1 1 90 .5 0 0 1 exec alienx/basebuild.scr::basebuild ( -4439.11 65.72 380.13) "static/sandbag_longsegment.tik" 1 1 1 1 90 .1 0 0 1 exec alienx/basebuild.scr::basebuild ( -4440.80 159.98 380.15 ) "static/bodies_tarp.tik" 1 1 1 1 90 .5 0 0 1 exec alienx/basebuild.scr::basebuild ( -4254.65 -801.42 401.07 ) "static/banquet_table.tik" 1 1 1 0 90 .5 0 0 1 exec global/dog.scr ( -5624 31 378 ) ( 0 23 0 ) 15 20 exec map_triggers/joint.scr ( -3876 1273 1100 ) //*** precache dm stuff //exec global/dmprecache.scr level.dmrespawning = 1 level.script = maps/m1l1.scr exec global/ambient.scr m1l1 exec global/loadout.scr "maps/m1l1.scr" //exec global/door_locked.scr exec global/exploder.scr exec global/barrel.scr::explosive_barrel 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 ( -6064 1528 440 ) ( -5471 784 376 ) ( -4759 15 372 ) ( -4836 1192 460 ) ( -3487 560 458 ) ( -3205 -390 411 ) ( -5446 -2330 401 ) ( -4544 -3836 97 ) ( -2608 -2856 320 ) ( -1428 -4217 112 ) exec map_triggers/led_trap.scr ( -6811 2665 604 ) led1 1 exec maps/gen_mapscripts/truckstuff_trig.scr ( -3545 -1069 396 ) $temptruck2 1 1 100 500 600 $2ndtruckclip // trigger origin, name, horn (0 = none, 1 = only while truck is on, 2 = honk while on/off), headlights, (0 = none, ... exec maps/gen_mapscripts/truckstuff_trig.scr ( -2829 -3381 58 ) $alliestruck 1 0 // 1 = only while truck is on, 2 = turn on/off while on/off), truck health (only rockets/explosives can kill it), ... // explosion damage, explosion radius (last 2 only apply if health > 0), name2nd (2nd trigger or clip name to trigger explosion if bomb.scr bombs are touching it). thread ending_ceilingexplode 100 500 600 exec maps/gen_mapscripts/radiobomb_walkietrig.scr bombwalkie1 ( -2646 -3293 142 ) ( 0 110 0 ) ( -2711 -3319 146 ) ( 0 200 0 ) 500 1 1 8 exec maps/gen_mapscripts/radiobomb_walkietrig.scr bombwalkie2 ( -5971 2353 695 ) ( 0 90 0 ) ( -6154 2271 695 ) ( 0 180 0 ) 500 1 1 8 level waittill spawn end //////////////////////////////////////////////////////////////////////// setup: removeclass actor $temptruck2.origin = ( -3557.82 -974.37 395.01 ) // from truckstuff_trig.scr, this truck is given 3 mini-tanks on 3 sides of the front engine. These mini tanks act as sensors, waiting for rockets or explosions $temptruck2.angles = ( 1 -130 0 ) // (no bullets, no grenades) to kill a tank $temptruck2.scale = 1 //.1 $temptruck2 anim stop_wheels $temptruck2 anim idlenolights $temptruck2 solid local.sin = (waitthread global/math.scr::sine $temptruck2.angles[1]) * 18.5 // moving the truck clip 18.5 units forward to realign it with the truck. local.cos = (waitthread global/math.scr::cosine $temptruck2.angles[1]) * 18.5 // Use concrete Truck clip for above Truck (to climb on etc) $2ndtruckclip.origin = $temptruck2.origin + ( local.cos local.sin 2 ) $2ndtruckclip.angles = $temptruck2.angles $2ndtruckclip hide // Add an Allied vehicle over other metal clip cache models/vehicles/gmctruck.tik spawn models/vehicles/gmctruck.tik "targetname" "alliestruck" // gmctrucks don't have headlights. $alliestruck.origin = ( -2787.00 -3289.00 58.00 ) $alliestruck.angles = ( 358.000488 200 0.263672 ) $alliestruck.scale = 1 local.alliescrate = spawn script_model local.alliescrate model "static/indycrate.tik" local.alliescrate.origin = ( -2607 -3219 60 ) local.alliescrate.angles = ( 0 200 0 ) local.crate1 = spawn script_model local.crate1 model "static/indycrate.tik" local.crate1.origin = ( -1639 -2843 272 ) local.crate1.angles = ( 0 180 0 ) local.crate2 = spawn script_model local.crate2 model "static/indycrate.tik" local.crate2.origin = ( -1592 -2843 225 ) local.crate2.angles = ( 0 180 0 ) local.crate3 = spawn script_model local.crate3 model "static/indycrate.tik" local.crate3.origin = ( -1545 -2843 178 ) local.crate3.angles = ( 0 180 0 ) local.crate4 = spawn script_model local.crate4 model "static/indycrate.tik" local.crate4.origin = ( -1498 -2843 131 ) local.crate4.angles = ( 0 180 0 ) $hahaha remove $truckclip remove $truckclip2 remove $deadtruck remove //$explodersmashed remove //$door remove $endshutterR3 remove $endshutterL3 remove //$endshutterL2 remove //$endshutterR2 remove //$endshutterR remove //$endshutterL remove $ending_save_player remove $clippy notsolid $toss remove $newtruckclip remove $temptruck1 remove $ignoreme_trigger remove $enemyspawnertrigger remove //$kill_roof remove $endtrigger remove //$endingexploder remove $jeep_trigger remove $endtriggergun remove $endarea remove $mg42temptrigger remove $intro_bazooka_target remove $ending_door remove level.springfield = 1 level.bar = 1 level.bazooka = 1 level.mp44 = 1 level.shotgun = 1 local.finaldoors = spawn trigger_use local.finaldoors.origin = ( -6991 2304 432 ) local.finaldoors setsize ( -40 -40 -20 ) ( 40 40 70 ) local.finaldoors thread maps/gen_mapscripts/doorsgates.scr::wood_doors $door_left $door_right 90 local.finalgate = spawn trigger_use local.finalgate.origin = ( -7217 2540 385 ) local.finalgate setsize ( -40 -40 -20 ) ( 40 40 70 ) local.finalgate thread maps/gen_mapscripts/doorsgates.scr::metal_gates $door_end_left $door_end_right 85 local.metaldoor = spawn trigger_use local.metaldoor.origin = ( -6204 1841 432 ) local.metaldoor setsize ( -40 -40 -20 ) ( 80 40 70 ) local.metaldoor thread maps/gen_mapscripts/doorsgates.scr::metal_doors $door NIL 85 local.shutter1 = spawn trigger_use local.shutter1.origin = ( -6320 2175 688 ) local.shutter1 setsize ( -30 -30 -20 ) ( 30 30 50 ) local.shutter1 thread maps/gen_mapscripts/doorsgates.scr::shutters $endshutterL $endshutterR 85 local.shutter2 = spawn trigger_use local.shutter2.origin = ( -6320 2046 688 ) local.shutter2 setsize ( -30 -30 -20 ) ( 30 30 50 ) local.shutter2 thread maps/gen_mapscripts/doorsgates.scr::shutters $endshutterL2 $endshutterR2 85 local.barrel = spawn trigger_multiple spawnflags 128 local.barrel.origin = $barrel[1].origin local.barrel setsize ( -30 -30 -20 ) ( 30 30 70 ) local.barrel setthread barrelexplode local.barrel2 = spawn trigger_multiple spawnflags 128 local.barrel2.origin = $barrel[2].origin local.barrel2 setsize ( -30 -30 -20 ) ( 30 30 70 ) local.barrel2 setthread barrelexplode2 exec map_triggers/tele.scr ( 0 0 -127 ) ( 0 0 -127 ) 2 ( -9999 -9999 0 ) ( 9999 9999 1 ) // for teletype = 2 ("fell under map" teles), destination doesn't matter. end //////////////////////////////////////////////////////////////////////// ending_ceilingexplode local.health local.damage local.radius: local.tank = spawn "vehicles/kingtank.tik" // tank entity serves as a trigger sensor (there's not enough spawnflags) for only detecting rocket explosions & radiusdamage explosions (stuff that only kills tanks). local.tank.origin = ( -6035 1470 435 ) local.tank.angles = ( 0 0 0 ) local.tank.health = local.health local.tank.scale = 0.1 local.tank notsolid // still has a tiny 1x1 solid box in the center; cannot make the .tik file's setsizes 0 0 0, otherwise explosions cannot touch it. local.tank hide local.tank2 = spawn "vehicles/kingtank.tik" local.tank2.origin = ( -6285 1470 435 ) local.tank2.angles = ( 0 0 0 ) local.tank2.health = local.health local.tank2.scale = 0.1 local.tank2 notsolid local.tank2 hide local.origin = local.tank.origin while(local.tank.health > 0 && local.tank2.health > 0) { wait 0.1 } local.r = randomint(4) if(local.r == 0) { $endingexploder playsound explode_building_large1 } if(local.r == 1) { $endingexploder playsound explode_building_large2 } if(local.r == 2) { $endingexploder playsound explode_building_large3 } if(local.r == 3) { $endingexploder playsound explode_building_large4 } local.explode = spawn script_model local.explode.origin = local.origin //$endingexploder.origin local.explode model "animate//fx_mortar_higgins.tik" //"fx/fx_flak88_explosion.tik" local.explode.scale = 1.0 //2.5 local.explode anim start local.tank remove radiusdamage $endingexploder.origin local.damage local.radius $endingexploder thread global/exploder.scr::explode 500 // original game's building chunks exploder script waitframe local.tank remove local.tank2 remove local.explode remove wait 4 exec map_triggers/tele.scr ( -6056 1520 432 ) ( -6264 1422 432 ) 1 // spawn a two-way tele to get around the debris end //////////////////////////////////////////////////////////////////////// barrelexplode: self nottriggerable $barrel[1] damage $world 15000 $world (0 0 0) (0 0 0) (0 0 0) 0 9 0 0 self remove end barrelexplode2: self nottriggerable $barrel[2] damage $world 15000 $world (0 0 0) (0 0 0) (0 0 0) 0 9 0 0 self remove end //////////////////////////////////////////////////////////////////////// tdm_spawns: spawn info_player_axis "origin" "-4810.55 117.57 367.14" "angle" "94" spawn info_player_axis "origin" "-5285.71 -1.71 379.33" "angle" "22" spawn info_player_axis "origin" "-5658.79 154.61 380.13" "angle" "-18" spawn info_player_axis "origin" "-5939.29 285.28 376.16" "angle" "-5" spawn info_player_axis "origin" "-6046.07 493.07 376.16" "angle" "-20" spawn info_player_axis "origin" "-5619.96 784.88 376.16" "angle" "-83" spawn info_player_axis "origin" "-5976.12 969.85 390.08" "angle" "-77" spawn info_player_axis "origin" "-5914.88 1329.26 422.52" "angle" "-92" spawn info_player_axis "origin" "-4493.78 1040.88 460.13" "angle" "-157" spawn info_player_axis "origin" "-4848.88 1104.76 460.13" "angle" "-40" spawn info_player_axis "origin" "-3490.93 550.29 459.16" "angle" "-161" spawn info_player_axis "origin" "-5059.30 -1.21 376.32" "angle" "61" spawn info_player_axis "origin" "-5754.50 773.62 376.29" "angle" "-69" spawn info_player_axis "origin" "-4839.72 1147.18 460.13" "angle" "-51" spawn info_player_axis "origin" "-4848.56 987.52 460.13" "angle" "-1" spawn info_player_allied "origin" "-2119.09 -2966.51 47.65" "angle" "177" spawn info_player_allied "origin" "-1857.54 -3356.62 30.29" "angle" "162" spawn info_player_allied "origin" "-1787.79 -3713.57 42.39" "angle" "158" spawn info_player_allied "origin" "-1474.17 -3578.03 42.01" "angle" "160" spawn info_player_allied "origin" "-1835.18 -4128.34 79.72" "angle" "131" spawn info_player_allied "origin" "-2108.94 -4350.57 86.90" "angle" "123" spawn info_player_allied "origin" "-2970.23 -4527.93 151.64" "angle" "93" spawn info_player_allied "origin" "-3132.98 -4424.89 200.13" "angle" "60" spawn info_player_allied "origin" "-3167.04 -4034.04 200.13" "angle" "52" spawn info_player_allied "origin" "-3179.89 -3540.69 200.13" "angle" "163" spawn info_player_allied "origin" "-3836.08 -3519.66 177.83" "angle" "87" spawn info_player_allied "origin" "-4649.97 -3776.87 104.12" "angle" "47" spawn info_player_allied "origin" "-3056.90 -4070.89 156.85" "angle" "97" spawn info_player_allied "origin" "-1670.26 -3954.54 68.97" "angle" "160" spawn info_player_allied "origin" "-1857.17 -3647.68 35.00" "angle" "151" end ffa_spawns: spawn info_player_deathmatch "origin" "-4848.87 1152.31 460.13" "angle" "-50" spawn info_player_deathmatch "origin" "-5357.17 5.54 378.82" "angle" "23" spawn info_player_deathmatch "origin" "-6052.87 524.87 376.13" "angle" "-34" spawn info_player_deathmatch "origin" "-6958.06 1662.82 432.13" "angle" "19" spawn info_player_deathmatch "origin" "-6391.13 2567.97 432.13" "angle" "-112" spawn info_player_deathmatch "origin" "-5847.13 2133.23 640.13" "angle" "170" spawn info_player_deathmatch "origin" "-3512.68 -92.91 422.20" "angle" "-133" spawn info_player_deathmatch "origin" "-5490.28 -2085.05 448.13" "angle" "-7" spawn info_player_deathmatch "origin" "-4640.58 -3776.87 104.13" "angle" "66" spawn info_player_deathmatch "origin" "-3055.75 -4577.80 156.39" "angle" "89" spawn info_player_deathmatch "origin" "-1504.17 -4351.24 103.37" "angle" "163" spawn info_player_deathmatch "origin" "-1915.32 -3249.42 31.07" "angle" "174" spawn info_player_deathmatch "origin" "-2919.48 -2000.40 240.13" "angle" "163" spawn info_player_deathmatch "origin" "-3214.02 -375.13 411.11" "angle" "-144" end // End some setthreads, called by the .bsp // DON'T DELETE OR THE QCONSOLE WILL GENERATE ERRORS. door_end_open: end barrel: end hint_reach: end standup: end ending_kill: end blowthedoor: end dooropen: end triggerend: end endthelevel: end captain_talk: end