main: // set scoreboard messages setcvar "g_obj_alliedtext1" "Southern France" //setcvar "g_obj_alliedtext2" "UBER Free-For-All v7.0" setcvar "g_obj_alliedtext3" "" setcvar "g_obj_axistext1" "Created by:" setcvar "g_obj_axistext2" "Searingwolfe" setcvar "g_obj_axistext3" "" //setcvar "g_gametypestring" "Free-For-All UBER" setcvar "g_scoreboardpic" "mohdm1" //setcvar "g_gametype" "1" setcvar "cheats" "0" setcvar "thereisnomonkey" "0" setcvar "maxentities" "5000" setcvar "fraglimit" "0" setcvar "timelimit" "20" removeclass PlayerIntermission // remove screen change right before map changes; fade to black instead (rare server crash fix). //exec global/spectator_music.scr //exec alienx/basebuild.scr::main 800 1000 250 1 1 0 0 // buildtime objectlimit buildspeed buildtakeweaps buildfalldamage countdownhide hudhide: // basebuild.scr::main (parameters) ---> // build start time in seconds (ex: 800) , // object limit (ex: 1000), // player speed while building (ex: >= 280, 250 is default). // take weapons while building (0 for no) , // fall damage while building (1 for yes) , // hide 70-sec countdown hud (1 for yes), // hide bottom hud text (1 for yes) . // BASEBUILDER CONSOLE COMMANDS: // alx_basebuild 0 (turn off basebuilding immediately, respawns everyone) // alx_timeboost 120 (increase build time limit by 120 seconds, or any # of seconds) // alx_timedown 120 (decrease build time limit by 120 seconds, or any # of seconds) // alx_objectlimitboost 200 (increase basebuild object limit by 200, or any # of objects) // alx_objectlimitdown 200 (decrease basebuild object limit by 200, or any # of objects) 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 } 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 } level waittill prespawn // note all these must have a value! // +----------------- light on or off ( 1 = on, 0 = off ) // | +--------------- red (1 is the max, so for a little red, use 0.5) // | | +------------- green (same for red) // | | | +----------- blue (same for red) // | | | | ++-------- rotation speed (keep it sensable lol) // | | | | || ++----- the scale of the pickup object, 1 is default // | | | | || || +--- lift creator ( 1 = on, 0 = off ) // | | | | || || | +- teleporter creator ( 1 = on, 0 = off ) //---| script (alienx/basebuild) ( ) origin "-" model name | | | | || || | | +solid after creation ( 1 = yes, 0 = no ) // allies spawn exec alienx/basebuild.scr::basebuild ( -225.73 330.34 48.13 ) "static/indycrate.tik" 1 0 1 0 90 .5 0 0 1 exec alienx/basebuild.scr::basebuild ( -225.73 230.34 48.13 ) "static/sandbag_link_main.tik" 1 0 0 1 90 .5 0 0 1 exec alienx/basebuild.scr::basebuild ( 669.12 319.92 48.13 ) "statweapons/mg42_gun.tik" 1 1 0 0 90 .5 0 0 1 exec alienx/basebuild.scr::basebuild ( -164.87 97.93 48.13 ) "static/indycrate.tik" 1 1 0 1 90 .5 1 0 1 exec alienx/basebuild.scr::basebuild ( 649.12 119.92 48.13 ) "static/bunkertable.tik" 1 1 1 0 90 1 0 1 1 exec alienx/basebuild.scr::basebuild ( 649.12 219.92 48.13 ) "statweapons/flak88turret.tik" 1 1 .35 0 90 .25 0 0 1 // axis spawn exec alienx/basebuild.scr::basebuild ( 743.83 2650.43 384.13 ) "static/indycrate.tik" 1 0 1 0 90 .5 0 0 1 exec alienx/basebuild.scr::basebuild ( 743.83 2550.43 384.13 ) "static/sandbag_link_main.tik" 1 0 0 1 90 .5 0 0 1 exec alienx/basebuild.scr::basebuild ( 443.83 2650.43 384.13 ) "statweapons/mg42_gun.tik" 1 1 0 0 90 .5 0 0 1 exec alienx/basebuild.scr::basebuild ( 743.83 2450.43 384.13 ) "static/indycrate.tik" 1 1 0 1 90 .5 1 0 1 exec alienx/basebuild.scr::basebuild ( 643.83 2650.43 384.13 ) "static/bunkertable.tik" 1 1 1 0 90 1 0 1 1 exec alienx/basebuild.scr::basebuild ( 543.83 2650.43 384.13 ) "statweapons/flak88turret.tik" 1 1 .35 0 90 .25 0 0 1 //*** Precache Dm Stuff exec global/DMprecache.scr exec global/aliascache_triggersounds.scr //hud //exec alienx/hud.scr::main level.script = maps/dm/mohdm1.scr exec global/ambient.scr mohdm1 exec global/door_locked.scr::lock exec global/dog.scr ( -23 1250 384 ) ( 0 90 0 ) 15 20 // origin, angles, bulletsanger, angertime (how many bullets to shoot at dog trigger, until it gets angry for angertime seconds). exec map_triggers/joint.scr ( 224 -897 296 ) exec map_triggers/lightbomb.scr ( 240 1936 608 ) ( 783 1870 608 ) ( -7 -30 448 ) ( 801 -98 248 ) ( 884 1136 552 ) ( 983 2751 672 ) ( -892 -880 448 ) ( -1640 1478 500 ) ( 340 2992 752 ) ( 1608 935 528 ) exec map_triggers/bomb.scr ( -955 3316 846 ) ( 2064 2320 972 ) ( 2076 738 929 ) ( -1136 -347 759 ) ( -1632 728 938 ) ( 793 95 1072 ) ( 1250 -1570 448 ) ( 597 3346 1185 ) ( -144 2044 768 ) ( 784 1551 775 ) exec map_triggers/grenade_ammo.scr ( -125 -575 16 ) ( 508 -807 16 ) ( 224 686 100 ) ( -551 1124 64 ) ( 1456 1904 348 ) ( 550 2530 420 ) ( 360 1448 144 ) ( 1113 2176 512 ) ( -840 2384 384 ) ( -1103 496 208 ) exec map_triggers/rocket_ammo.scr ( -607 384 376 ) ( 1364 149 256 ) ( 1536 728 384 ) ( 1345 2800 672 ) ( 1191 1456 608 ) ( -352 1632 384 ) ( 351 1354 384 ) ( -956 1408 712 ) ( -38 1127 272 ) ( -760 924 504 ) exec map_triggers/snowball_ammo.scr ( 1112 2003 832 ) ( 789 -665 678 ) ( 730 867 806 ) ( -462 1408 747 ) ( 1041 2350 1119 ) ( 1825 1614 549 ) ( -292 479 815 ) ( -25 2456 743 ) ( 223 -1060 588 ) ( -911 2032 503 ) exec map_triggers/health.scr ( -924 335 32 ) ( -232 -1008 16 ) ( -911 1968 160 ) ( 1359 1264 288 ) ( -240 591 104 ) ( -296 1448 48 ) ( -1452 -48 168 ) ( -2176 927 64 ) ( 2208 1103 176 ) ( -232 -1344 0 ) exec map_triggers/led_trap.scr ( 2024 1311 176 ) led1 1 exec map_triggers/led_trap.scr ( -2024 1039 64 ) led2 2 exec map_triggers/led_trap.scr ( 430 2775 128 ) led3 1 //mohdm1,2,3,7 = 3. mohdm6 = 2. mohdm4,5 = 4. objteam3 = 4. objteam1,2 = 3. // these are only used for displaying all locations of a randomizing trigger, only use 1 at a time since having so many lights in one level will turn off lights for all script objects. //exec map_triggers/test_randomizer/lightbomb_test.scr ( 240 1936 608 ) ( 783 1870 608 ) ( -7 -30 448 ) ( 801 -98 248 ) ( 884 1136 552 ) ( 983 2751 672 ) ( -892 -880 448 ) ( -1640 1478 500 ) ( 340 2992 752 ) ( 1608 935 528 ) //exec map_triggers/test_randomizer/bomb_test.scr ( -955 3316 846 ) ( 2064 2320 972 ) ( 2076 738 929 ) ( -1136 -347 759 ) ( -1632 728 938 ) ( 793 95 1072 ) ( 1250 -1570 448 ) ( 597 3346 1185 ) ( -144 2044 768 ) ( 784 1551 775 ) //exec map_triggers/test_randomizer/grenade_ammo_test.scr ( -125 -575 16 ) ( 508 -807 16 ) ( 224 686 100 ) ( -551 1124 64 ) ( 1456 1904 348 ) ( 550 2530 420 ) ( 360 1448 144 ) ( 1113 2176 512 ) ( -840 2384 384 ) ( -1103 496 208 ) //exec map_triggers/test_randomizer/rocket_test.scr ( -607 384 376 ) ( 1364 149 256 ) ( 1536 728 384 ) ( 1345 2800 672 ) ( 1191 1456 608 ) ( -352 1632 384 ) ( 351 1354 384 ) ( -956 1408 712 ) ( -38 1127 272 ) ( -760 924 504 ) //exec map_triggers/test_randomizer/snowball_ammo_test.scr ( 1112 2003 832 ) ( 789 -665 678 ) ( 730 867 806 ) ( -462 1408 747 ) ( 1041 2350 1119 ) ( 1825 1614 549 ) ( -292 479 815 ) ( -25 2456 743 ) ( 223 -1060 588 ) ( -911 2032 503 ) //exec map_triggers/test_randomizer/health_test.scr ( -924 335 32 ) ( -232 -1008 16 ) ( -911 1968 160 ) ( 1359 1264 288 ) ( -240 591 104 ) ( -296 1448 48 ) ( -1452 -48 168 ) ( -2176 927 64 ) ( 2208 1103 176 ) ( -232 -1344 0 ) // basic cheat sheet of trigger locations (hidden = outside original map, requires teles to access) // ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) //grenade = ground open //health = ground corner (3 or fewer hidden) //rocket = 2nd story corner //lightbomb = 2nd story open //snowball = roof corner //bomb corner = roof open //led dots = ground corner (all hidden) setcvar "r_fastsky" "0" $world farplane 150000 $world farplane_color ( 0.6784 0.8353 0.9686 ) // comment these out if there are too many spotlights. exec map_triggers/player_spotlight.scr ( 1028.16 -728.06 828.13 ) ( 0 1 .5 ) s0 700 90 0 0 1 // origin, rgb color [ex: ( 1 0 0 ) for red], name, health, angle-start, ... exec map_triggers/player_spotlight.scr ( -601.57 -1003.11 776.13 ) ( 1 0 .5 ) s1 700 90 0 0 1 // mountwall (0 = floor, 1 = left wall, 2 = ceiling, 3 = right wall), ... exec map_triggers/player_spotlight.scr ( 895.35 1105.78 704.13 ) ( 0 .5 1 ) s2 700 0 0 0 1 // orient (0 or 1 = rotate along x or y axis; only applies when mountwall = 1 or 3), ... exec map_triggers/player_spotlight.scr ( -1105.82 1412.73 712.13 ) ( 1 .5 0 ) s3 700 0 0 0 1 // removeafterdeath (0 = keep everything, disable spotlight; 1 = remove spotlight, keep spotlightbase; 2 = remove everything). exec map_triggers/player_spotlight.scr ( 1916.87 958.38 744.13 ) ( .5 0 1 ) s4 700 0 0 0 1 exec map_triggers/player_spotlight.scr ( 412.57 2945.33 802.13 ) ( .5 .5 1 ) s5 700 270 0 0 1 exec map_triggers/player_spotlight.scr ( 1258.32 2274.61 894.13 ) ( .5 1 .5 ) s6 700 270 0 0 1 exec map_triggers/player_spotlight.scr ( -1240.04 -178.07 776.13 ) ( 1 .5 .5 ) s7 700 180 0 0 1 exec map_triggers/player_spotlight.scr ( 195.53 1705.12 770.13 ) ( .5 1 0 ) s8 700 45 0 0 1 exec map_triggers/player_spotlight.scr ( -256.22 891.49 781.48 ) ( 1 1 1 ) s9 700 135 0 0 1 exec maps/UBER_mapextras/dm1_teleporters.scr::main exec maps/UBER_mapextras/dm1_cratesstuff.scr::main cache models/static/cabinet_dark.tik // hide the other cabinets on the map, before spawning in cabinetswitches. exec map_triggers/gen_switches/cabinetswitch.scr ( 349.96 1415.76 384 ) ( 0 0 0 ) 1 1.1 exec map_triggers/gen_switches/cabinetswitch.scr ( -298.04 1303.76 48 ) ( 0 0 0 ) 1 1.1 level waittill spawn //exec global/track.scr // uncomment this to continuously iprint a player's current coords, for scripting purposes only (better than typing "coord" into console). end // crate dimensions: 71 x 47 // crate 60 deg = 61 x 35.3 // table dimensions: 92 x 200 // 2 crates right angle: 12 x 59