This is the majority of original code I have left in the script:
Code: Select all
$door notsolid
exec global/exploder.scr
exec global/loadout.scr "maps/m1l1.scr"
$newtruckclip notsolid
$temptruck1 notsolid
$temptruck2 notsolid
exec global/disc.scr $door_left
exec global/disc.scr $door_right
$hahaha notsolid
$hahaha notsolid
$truckclip notsolid
$truckclip2 notsolid
$deadtruck notsolid
$ending_save_player notsolid
level waittill prespawn
//*** Precache Dm Stuff
exec global/DMprecache.scr
exec global/exploder.scr
exec global/loadout.scr "maps/m1l1.scr"
level.script = "maps/m1l1.scr"
exec global/disc.scr $door_left
exec global/disc.scr $door_right
// exec global/ambient.scr
// exec global/door_locked.scr
// exec global/ambient.scr m1l1
thread global/exploder.scr::main
$firstguy delete
$clippy notsolid
$hahaha delete
$truckclip delete
$truckclip2 delete
$deadtruck delete
exec global/door_locked.scr
exec global/ambient.scr m1l1
local.ent1 = waitthread global/spawner.scr::spawner_create $bazookaspawner
local.ent2 = waitthread global/spawner.scr::spawner_create $dooropenspawner
local.ent3 = waitthread global/spawner.scr::spawner_create $ending_attack
local.count = 0
while ($ending_spawner)
{
local.count++
level.ending_spawner[local.count] = waitthread global/spawner.scr::spawner_create $ending_spawner[1]
}
print "the size is"
println $ending_spawner.size
local.ent1.targetname = "bazookaspawner"
local.ent2.targetname = "dooropenspawner"
local.ent3.targetname = "ending_attack"
fadeout 0.01 0 0 0
// $player item weapons/m1_garand.tik
// $player use weapons/m1_garand.tik
// $player ammo rifle 1000
// $player useweaponclass rifle
exec global/friendly.scr
level waittill spawn
level.flags[ridecomplete] = 0
level.glueplayer = 1
$newtruckclip hide
$toss hide
$toss notsolid
$temptruck1 delete
$temptruck2 delete
$door solid
$door disconnect_paths
$player stufftext "tmstart sound/music/mus_03c_suspense.mp3"



