bodger can you help??
Moderator: Moderators
bodger can you help??
ok, im trying to use the player spotlight script and im confused as to what im doing wrong lol, here is what i got...
local.s1 = spawn script_model
local.s1 model "miscobj/searchlightbase.tik"
local.s1.origin = ( -2488.06 -2856.10 627.27 )
local.s1.angles = ( 0.00 45.00 0.00 )
local.s1 targetname spotlight
local.s1.color = ( 1 1 0 )
local.s1.health = 100
^^^
is in my file ernst2.txt which has all my object spawns
below is whats in my mohdm2.scr
main:
// set scoreboard messages
setcvar "g_obj_alliedtext1" "Destroyed Village"
setcvar "g_obj_alliedtext2" "Modded By:"
setcvar "g_obj_alliedtext3" "-Method-*SSO*Ernst"
setcvar "g_obj_axistext1" "Join Us @"
setcvar "g_obj_axistext2" "www.method-clan.com"
setcvar "g_obj_axistext3" "TOTALLY METHOD"
setcvar "g_scoreboardpic" "mohdm2"
// call additional stuff for playing this map round based is needed
if(level.roundbased)
thread roundbasedthread
//*** Precache Dm Stuff
exec global/DMprecache.scr
exec global/door_locked.scr::lock
level.script = maps/dm/mohdm2.scr
exec global/ambient.scr mohdm2
exec maps/dm/ernst2.txt
exec global/player_spotlight.scr spotlight
level waittill prespawn
local.name:
local.master = spawn scriptmaster
local.master aliascache exp_searchlight sound/weapons/explo/Explo_Searchlight1.wav soundparms 0.9 0.2 0.8 0.4 1000 8000 auto loaded maps "DM obj"
for(local.num = 1;local.num <= $(local.name).size;local.num++)
{
thread makespot $(local.name)[local.num]
}
end
makespot local.spotlight:
if(local.spotlight.color == NIL)
local.color = ( 1 1 1 )
else
local.color = local.spotlight.color
local.spot = spawn script_model model miscobj/searchlightoff.tik origin (local.spotlight.origin + ( 0 0 32 )) spawnflags 1
local.spot.destroyed = 0
local.angles = local.spotlight.angles
local.angles[1] = (local.angles[1] * -1)
local.spot.angles = local.angles
local.spotdamage = spawn trigger_multiple origin local.spot.origin spawnflags 144
local.spotdamage setsize ( -25 -25 -25 )( 25 25 25 )
if(local.spotlight.health == NIL || local.spotlight.health <= 0)
local.spotdamage.health = 300
else
local.spotdamage.health = local.spotlight.health
local.spottrigger = spawn trigger_multiple origin local.spotlight.origin
local.spottrigger setsize ( -50 -50 -100 )(50 50 50 )
if($(local.spotlight.target))
local.spottrigger origin $(local.spotlight.target).origin
local.groundtarget = spawn script_origin
local.groundspot_target = spawn script_origin
local.light = spawn script_model
local.light model "fx/searchlight.tik"
local.light notsolid
local.light.origin = local.spot.origin + local.spot.forwardvector * -16
local.light hide
local.flare = spawn script_model
local.flare model "fx/searchlight.tik"
local.flare notsolid
local.flare scale 5
local.flare.origin = local.groundtarget.origin
local.flare hide
local.flare light local.color
local.flare lightradius 250
local.beam = spawn func_beam origin local.spot.origin
local.beam alpha .2
local.beam maxoffset 0
local.beam numsegments 20
local.beam scale 50
local.beam activate
local.beam life .1
local.beam color local.color
local.beam hide
thread aimspot local.groundspot_target local.beam local.spot local.light local.groundtarget local.flare local.spotdamage local.spottrigger
while(1)
{
local.spottrigger waittill trigger
local.spottrigger nottriggerable
local.player = parm.other
while(local.player istouching local.spottrigger )
{
local.fwd_vec = angles_toforward local.player.viewangles
local.start = local.player gettagposition "Bip01 Head"
local.range = 10240
local.groundtarget.origin = trace (local.start + local.fwd_vec * 64) (local.start + local.fwd_vec * local.range ) 0
local.s_vec = ( local.groundtarget.origin - local.spot.origin)
local.s_ang = vector_toangles(local.s_vec)
local.s_ang[1] = (local.s_ang[1] - 180)
local.s_ang[0] = (local.s_ang[0] * -1)
local.spot.angles = local.s_ang
local.spotlight.angles = ( 0 local.s_ang[1] 0 )
local.light.origin = local.spot.origin + local.spot.forwardvector * -8
if(local.player.useheld == 1)
{
wait .2
if(local.showspot !=1)
{
local.showspot = 1
local.light show
local.flare show
local.beam show
}
else
{
local.beam hide
local.showspot = 0
local.light hide
local.flare hide
}
}
waitframe
if(local.spot.destroyed == 1)
break
}
if(local.spot.destroyed == 1)
break
local.spottrigger triggerable
}
end
aimspot local.groundspot_target local.beam local.spot local.light local.groundtarget local.flare local.spotdamage local.spottrigger:
while(local.spot.destroyed != 1)
{
local.groundspot_target.origin = local.spot.origin + local.spot.forwardvector * -10240
local.p = trace local.spot.origin local.groundspot_target.origin 0
local.beam endpoint local.p
local.flare.origin = local.p
if(local.spotdamage.health <= 0)
{
local.spot playsound exp_searchlight
exec global/model.scr local.spot.origin models/fx/fx_spotlighthit
local.light delete
local.flare delete
local.spottrigger delete
local.spotdamage delete
local.groundtarget delete
local.spot.destroyed = 1
local.beam deactivate
break
}
waitframe
}
end
//-----------------------------------------------------------------------------
roundbasedthread:
// Can specify different scoreboard messages for round based games here.
level waitTill prespawn
level waittill spawn
// set the parameters for this round based match
level.dmrespawning = 0 // 1 or 0
level.dmroundlimit = 5 // round time limit in minutes
level.clockside = kills // set to axis, allies, kills, or draw
level waittill roundstart
end
local.s1 = spawn script_model
local.s1 model "miscobj/searchlightbase.tik"
local.s1.origin = ( -2488.06 -2856.10 627.27 )
local.s1.angles = ( 0.00 45.00 0.00 )
local.s1 targetname spotlight
local.s1.color = ( 1 1 0 )
local.s1.health = 100
^^^
is in my file ernst2.txt which has all my object spawns
below is whats in my mohdm2.scr
main:
// set scoreboard messages
setcvar "g_obj_alliedtext1" "Destroyed Village"
setcvar "g_obj_alliedtext2" "Modded By:"
setcvar "g_obj_alliedtext3" "-Method-*SSO*Ernst"
setcvar "g_obj_axistext1" "Join Us @"
setcvar "g_obj_axistext2" "www.method-clan.com"
setcvar "g_obj_axistext3" "TOTALLY METHOD"
setcvar "g_scoreboardpic" "mohdm2"
// call additional stuff for playing this map round based is needed
if(level.roundbased)
thread roundbasedthread
//*** Precache Dm Stuff
exec global/DMprecache.scr
exec global/door_locked.scr::lock
level.script = maps/dm/mohdm2.scr
exec global/ambient.scr mohdm2
exec maps/dm/ernst2.txt
exec global/player_spotlight.scr spotlight
level waittill prespawn
local.name:
local.master = spawn scriptmaster
local.master aliascache exp_searchlight sound/weapons/explo/Explo_Searchlight1.wav soundparms 0.9 0.2 0.8 0.4 1000 8000 auto loaded maps "DM obj"
for(local.num = 1;local.num <= $(local.name).size;local.num++)
{
thread makespot $(local.name)[local.num]
}
end
makespot local.spotlight:
if(local.spotlight.color == NIL)
local.color = ( 1 1 1 )
else
local.color = local.spotlight.color
local.spot = spawn script_model model miscobj/searchlightoff.tik origin (local.spotlight.origin + ( 0 0 32 )) spawnflags 1
local.spot.destroyed = 0
local.angles = local.spotlight.angles
local.angles[1] = (local.angles[1] * -1)
local.spot.angles = local.angles
local.spotdamage = spawn trigger_multiple origin local.spot.origin spawnflags 144
local.spotdamage setsize ( -25 -25 -25 )( 25 25 25 )
if(local.spotlight.health == NIL || local.spotlight.health <= 0)
local.spotdamage.health = 300
else
local.spotdamage.health = local.spotlight.health
local.spottrigger = spawn trigger_multiple origin local.spotlight.origin
local.spottrigger setsize ( -50 -50 -100 )(50 50 50 )
if($(local.spotlight.target))
local.spottrigger origin $(local.spotlight.target).origin
local.groundtarget = spawn script_origin
local.groundspot_target = spawn script_origin
local.light = spawn script_model
local.light model "fx/searchlight.tik"
local.light notsolid
local.light.origin = local.spot.origin + local.spot.forwardvector * -16
local.light hide
local.flare = spawn script_model
local.flare model "fx/searchlight.tik"
local.flare notsolid
local.flare scale 5
local.flare.origin = local.groundtarget.origin
local.flare hide
local.flare light local.color
local.flare lightradius 250
local.beam = spawn func_beam origin local.spot.origin
local.beam alpha .2
local.beam maxoffset 0
local.beam numsegments 20
local.beam scale 50
local.beam activate
local.beam life .1
local.beam color local.color
local.beam hide
thread aimspot local.groundspot_target local.beam local.spot local.light local.groundtarget local.flare local.spotdamage local.spottrigger
while(1)
{
local.spottrigger waittill trigger
local.spottrigger nottriggerable
local.player = parm.other
while(local.player istouching local.spottrigger )
{
local.fwd_vec = angles_toforward local.player.viewangles
local.start = local.player gettagposition "Bip01 Head"
local.range = 10240
local.groundtarget.origin = trace (local.start + local.fwd_vec * 64) (local.start + local.fwd_vec * local.range ) 0
local.s_vec = ( local.groundtarget.origin - local.spot.origin)
local.s_ang = vector_toangles(local.s_vec)
local.s_ang[1] = (local.s_ang[1] - 180)
local.s_ang[0] = (local.s_ang[0] * -1)
local.spot.angles = local.s_ang
local.spotlight.angles = ( 0 local.s_ang[1] 0 )
local.light.origin = local.spot.origin + local.spot.forwardvector * -8
if(local.player.useheld == 1)
{
wait .2
if(local.showspot !=1)
{
local.showspot = 1
local.light show
local.flare show
local.beam show
}
else
{
local.beam hide
local.showspot = 0
local.light hide
local.flare hide
}
}
waitframe
if(local.spot.destroyed == 1)
break
}
if(local.spot.destroyed == 1)
break
local.spottrigger triggerable
}
end
aimspot local.groundspot_target local.beam local.spot local.light local.groundtarget local.flare local.spotdamage local.spottrigger:
while(local.spot.destroyed != 1)
{
local.groundspot_target.origin = local.spot.origin + local.spot.forwardvector * -10240
local.p = trace local.spot.origin local.groundspot_target.origin 0
local.beam endpoint local.p
local.flare.origin = local.p
if(local.spotdamage.health <= 0)
{
local.spot playsound exp_searchlight
exec global/model.scr local.spot.origin models/fx/fx_spotlighthit
local.light delete
local.flare delete
local.spottrigger delete
local.spotdamage delete
local.groundtarget delete
local.spot.destroyed = 1
local.beam deactivate
break
}
waitframe
}
end
//-----------------------------------------------------------------------------
roundbasedthread:
// Can specify different scoreboard messages for round based games here.
level waitTill prespawn
level waittill spawn
// set the parameters for this round based match
level.dmrespawning = 0 // 1 or 0
level.dmroundlimit = 5 // round time limit in minutes
level.clockside = kills // set to axis, allies, kills, or draw
level waittill roundstart
end
-
Green Beret
- Major General
- Posts: 746
- Joined: Mon Apr 19, 2004 12:21 pm
- Contact:
Add
local.s1 = spawn script_model
local.s1 model "miscobj/searchlightbase.tik"
local.s1.origin = ( -2488.06 -2856.10 627.27 )
local.s1.angles = ( 0.00 45.00 0.00 )
local.s1 targetname spotlight
local.s1.color = ( 1 1 0 )
local.s1.health = 100
to the .scr right b4 exec global/player_spotlight.scr spotlight
But Bodger will clear up the other problems
local.s1 = spawn script_model
local.s1 model "miscobj/searchlightbase.tik"
local.s1.origin = ( -2488.06 -2856.10 627.27 )
local.s1.angles = ( 0.00 45.00 0.00 )
local.s1 targetname spotlight
local.s1.color = ( 1 1 0 )
local.s1.health = 100
to the .scr right b4 exec global/player_spotlight.scr spotlight
But Bodger will clear up the other problems
Why is all that written into your script ? Your script should look like this
What coords did you use I looked all over the map and couldn't see anything where are you trying to spawn it . Are you looking for a player controlled spotlight or an automatic spotlight ?
main:
// set scoreboard messages
setcvar "g_obj_alliedtext1" "Destroyed Village"
setcvar "g_obj_alliedtext2" "Modded By:"
setcvar "g_obj_alliedtext3" "-Method-*SSO*Ernst"
setcvar "g_obj_axistext1" "Join Us @"
setcvar "g_obj_axistext2" "www.method-clan.com"
setcvar "g_obj_axistext3" "TOTALLY METHOD"
setcvar "g_scoreboardpic" "mohdm2"
// call additional stuff for playing this map round based is needed
if(level.roundbased)
thread roundbasedthread
//*** Precache Dm Stuff
exec global/DMprecache.scr
exec global/door_locked.scr::lock
level.script = maps/dm/mohdm2.scr
exec global/ambient.scr mohdm2
exec maps/dm/ernst2.txt
exec global/player_spotlight.scr spotlight
level waittill prespawn
end
What coords did you use I looked all over the map and couldn't see anything where are you trying to spawn it . Are you looking for a player controlled spotlight or an automatic spotlight ?
i have tried diff coords, it still wont work, im sure the problem is maybe where i am putting everything, any suggestions?? where does all the info go, i have tried the mohdm2.scr and ernst2.txt as well as all in mohdm2.scr and all in ernst2.txt tried reversing but still nothing, i have gotten the spot to show up, but no light or beam, just the stand, however all my other modding doesnt show up
-
Green Beret
- Major General
- Posts: 746
- Joined: Mon Apr 19, 2004 12:21 pm
- Contact:
okies, so here is a few things...lol sorry if this is long, i just want it to work..... first of all, here my my .txt which (i thought was the proper way to do the modding??? am i wrong???) BTW, its layed out like this because its easier for me to go back in later and fix or change things, will it work?? or just a waste of time??
//ernst2.txt-----changes for destroyed village mohdm2
thread tele1
thread tele2
//BEGIN TREE HOUSE 1
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3280.03 -1426.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3280.03 -1476.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3280.03 -1526.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3280.03 -1376.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3280.03 -1326.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3330.03 -1326.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3380.03 -1326.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3430.03 -1326.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3330.03 -1376.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3330.03 -1426.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3330.03 -1476.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3330.03 -1526.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3380.03 -1376.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3380.03 -1426.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3380.03 -1476.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3380.03 -1526.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3430.03 -1376.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3430.03 -1426.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3430.03 -1476.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3430.03 -1526.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3230.03 -1326.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3230.03 -1376.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3230.03 -1426.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3230.03 -1476.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3230.03 -1526.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
//END TREE HOUSE 1
//BEGIN TREE HOUSE 1 HOLE BLOCK
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -3620.60 -1837.78 587.72 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -3620.60 -1837.78 675.72 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -3620.60 -1837.78 763.72 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -3708.18 -1589.65 587.72 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -3708.18 -1589.65 675.72 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -3708.18 -1589.65 763.72 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -3708.18 -1526.65 459.72 )
local.ernst2.angles = ( 0.00 -45.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -3708.18 -1526.65 542.72 )
local.ernst2.angles = ( 0.00 -45.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -3708.18 -1526.65 621.72 )
local.ernst2.angles = ( 0.00 -45.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -3708.18 -1526.65 704.72 )
local.ernst2.angles = ( 0.00 -45.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -3708.18 -1526.65 787.72 )
local.ernst2.angles = ( 0.00 -45.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -3510.18 -1353.65 459.72 )
local.ernst2.angles = ( 0.00 -45.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -3510.18 -1353.65 542.72 )
local.ernst2.angles = ( 0.00 -45.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
//END TREE HOUSE 1 HOLE BLOCK
//Begin ROOFTOP SIPER 1
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2461.74 -2815.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2486.74 -2815.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2511.74 -2815.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2536.74 -2815.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2561.74 -2815.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2461.74 -2835.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2486.74 -2835.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2511.74 -2835.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2536.74 -2835.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2561.74 -2835.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2461.74 -2855.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2486.74 -2855.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2511.74 -2855.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2536.74 -2855.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2561.74 -2855.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2461.74 -2875.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2486.74 -2875.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2511.74 -2875.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2536.74 -2875.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2561.74 -2875.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2461.74 -2895.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2486.74 -2895.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2511.74 -2895.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2536.74 -2895.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2561.74 -2895.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2461.74 -2915.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2486.74 -2915.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2511.74 -2915.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2536.74 -2915.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2561.74 -2915.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2461.74 -2935.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2486.74 -2935.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2511.74 -2935.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2536.74 -2935.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2561.74 -2935.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2461.74 -2955.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2486.74 -2955.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2511.74 -2955.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2536.74 -2955.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2561.74 -2955.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2572.00 -2815.93 627.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2552.00 -2815.93 627.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2532.00 -2815.93 627.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2512.00 -2815.93 627.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2492.00 -2815.93 627.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2472.00 -2815.93 627.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2452.00 -2815.93 627.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2572.00 -2805.93 600.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2552.00 -2805.93 600.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2532.00 -2805.93 600.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2512.00 -2805.93 600.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2492.00 -2805.93 600.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2472.00 -2805.93 600.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2452.00 -2805.93 627.96 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2452.00 -2825.93 627.96 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2452.00 -2845.93 627.96 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2452.00 -2865.93 627.96 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2452.00 -2885.93 627.96 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2452.00 -2905.93 627.96 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2452.00 -2925.93 627.96 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2452.00 -2805.93 600.96 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2452.00 -2825.93 600.96 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2452.00 -2845.93 600.96 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2452.00 -2865.93 600.96 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2452.00 -2885.93 600.96 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2452.00 -2905.93 600.96 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2452.00 -2925.93 600.96 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
//END ROOFTOP SNIPER 1
//BEGIN ROOFTOP SNIPE 1 HOLE BLOCK
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -2706.00 -2864.93 728.96 )
local.ernst2.angles = ( 0.00 -180 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -2399.00 -2967.93 728.96 )
local.ernst2.angles = ( 0.00 -90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
//END ROOFTOP SNIPE 1 HOLE BLOCK
//BEGIN CHURCH SNIPER HOUSE 1
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -1063.13 -815.48 400.96 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -1063.13 -865.48 400.96 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -1063.13 -915.48 400.96 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -1063.13 -965.48 400.96 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -913.13 -815.48 400.96 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -913.13 -865.48 400.96 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -913.13 -915.48 400.96 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -913.13 -965.48 400.96 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -963.13 -815.48 400.96 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -963.13 -865.48 400.96 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -963.13 -915.48 400.96 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -963.13 -965.48 400.96 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -1013.13 -815.48 400.96 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -1013.13 -865.48 400.96 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -1013.13 -915.48 400.96 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -1013.13 -965.48 400.96 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
//END CHURCH SNIPER HOUSE 1
//Begin Roof Hole Block
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -2454.76 1497.03 244.13 )
local.ernst2.angles = ( 0.00 -90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -2454.76 1497.03 300.13 )
local.ernst2.angles = ( 0.00 -90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
//End RoofTop Hole Block
//Begin Building Fires
local.ernst2 = spawn script_model
local.ernst2 model "emitters/fireandsmoke.tik"
local.ernst2.origin = ( -1978.76 -867.17 16.13 )
local.ernst2.angles = ( 0.00 -90.00 0.00 )
local.ernst2.scale = 6.0
local.ernst2 = spawn script_model
local.ernst2 model "emitters/fireandsmoke.tik"
local.ernst2.origin = ( -3395.93 -185.39 476.12 )
local.ernst2.angles = ( 0.00 -90.00 0.00 )
local.ernst2.scale = 2.0
local.ernst2 = spawn script_model
local.ernst2 model "emitters/fireandsmoke.tik"
local.ernst2.origin = ( -2488.69 1405.63 132.91 )
local.ernst2.angles = ( 0.00 -90.00 0.00 )
local.ernst2.scale = 4.0
local.ernst2 = spawn script_model
local.ernst2 model "emitters/fireandsmoke.tik"
local.ernst2.origin = ( -3454.72 -1079.57 8.13 )
local.ernst2.angles = ( 0.00 -90.00 0.00 )
local.ernst2.scale = 2.0
local.ernst2 = spawn script_model
local.ernst2 model "emitters/fireandsmoke.tik"
local.ernst2.origin = ( -2436.09 -1939.62 240.13 )
local.ernst2.angles = ( 0.00 -90.00 0.00 )
local.ernst2.scale = 7.0
local.ernst2 = spawn script_model
local.ernst2 model "emitters/fireandsmoke.tik"
local.ernst2.origin = ( -1300.13 -1759.13 240.13 )
local.ernst2.angles = ( 0.00 -90.00 0.00 )
local.ernst2.scale = 3.0
local.ernst2 = spawn script_model
local.ernst2 model "emitters/fireandsmoke.tik"
local.ernst2.origin = ( -1300.13 -1960.13 240.13 )
local.ernst2.angles = ( 0.00 -90.00 0.00 )
local.ernst2.scale = 3.0
local.ernst2 = spawn script_model
local.ernst2 model "emitters/fireandsmoke.tik"
local.ernst2.origin = ( -700.55 -848.34 543.82 )
local.ernst2.angles = ( 0.00 -90.00 0.00 )
local.ernst2.scale = 5.0
//End Building Fires
//Begin Teleporters
tele1:
local.portlight = spawn script_model
local.portlight model "emitters/snowdrift.tik"
local.portlight.origin = ( -2118.39 -2999.44 -115.37 )
local.portlight.scale = 1
local.trig = spawn trigger_multiple "targetname" "port1"
local.trig.origin = ( -2118.39 -2999.44 -115.37 )
local.trig setsize ( -30 -30 0 ) ( 30 30 80 )
local.trig setthread port1
local.trig message "" //
local.trig wait 3
local.trig delay 0
end
port1:
{
local.ernst2 = parm.other
local.ernst2 tele ( -2527.71 -2907.07 650.00 )
}
end
tele2:
local.portlight = spawn script_model
local.portlight model "static/grandfathers_clock_d.tik"
local.portlight.origin = ( -1890.63 -1144.98 240.75 )
local.portlight.angles = ( 0.00 180.00 0.00 )
local.portlight.scale = 1
local.trig = spawn trigger_multiple "targetname" "port1"
local.trig.origin = ( -1890.63 -1144.98 240.75 )
local.trig setsize ( -30 -30 0 ) ( 30 30 80 )
local.trig setthread port2
local.trig message "" //
local.trig wait 3
local.trig delay 0
end
port2:
{
local.ernst2 = parm.other
local.ernst2 tele ( -3320.86 -1380.73 511.42 )
}
end
//End Teleporters
OK HERE IS THE MOHDM2.SCR AND WHAT I HAVE CHANGED IN IT
main:
// set scoreboard messages
setcvar "g_obj_alliedtext1" "Destroyed Village"
setcvar "g_obj_alliedtext2" "Modded By:"
setcvar "g_obj_alliedtext3" "-Method-*SSO*Ernst"
setcvar "g_obj_axistext1" "Join Us @"
setcvar "g_obj_axistext2" "www.method-clan.com"
setcvar "g_obj_axistext3" "TOTALLY METHOD"
setcvar "g_scoreboardpic" "mohdm2"
// call additional stuff for playing this map round based is needed
if(level.roundbased)
thread roundbasedthread
//*** Precache Dm Stuff
exec global/DMprecache.scr
exec global/door_locked.scr::lock
level.script = maps/dm/mohdm2.scr
exec global/ambient.scr mohdm2
exec maps/dm/ernst2.txt
level waittill prespawn
night:
setcvar "night" "1"
while(1)
{
while((getcvar "night") == "")
{wait 1}
if(int(getcvar "night") == 1)
{
local.player = $player[local.i]
local.player stufftext ("r_fastsky 1")
$world farplane 6000
$world farplane_color ( 0 -9 -65 )
wait 3
}
else
{
local.player = $player[local.i]
local.player stufftext ("r_fastsky 0")
$world farplane 99999
$world farplane_color ( 0 0 0 )
setcvar "night" ""
}
}
end
//-----------------------------------------------------------------------------
roundbasedthread:
// Can specify different scoreboard messages for round based games here.
level waitTill prespawn
level waittill spawn
// set the parameters for this round based match
level.dmrespawning = 0 // 1 or 0
level.dmroundlimit = 5 // round time limit in minutes
level.clockside = kills // set to axis, allies, kills, or draw
level waittill roundstart
end
-------------
OKIES, SO...THE QUESTION NOW IS, YOU SEE WHAT I HAVE DONE, HOW DO I NOW INCOORPORATE THE PLAYER SPOTLIGHT SCRIPT????? ALSO DO I HAVE TO CHANGE ANYTHING IN THE SPOTLIGHT SCRIPT TO WORK??
//ernst2.txt-----changes for destroyed village mohdm2
thread tele1
thread tele2
//BEGIN TREE HOUSE 1
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3280.03 -1426.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3280.03 -1476.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3280.03 -1526.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3280.03 -1376.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3280.03 -1326.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3330.03 -1326.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3380.03 -1326.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3430.03 -1326.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3330.03 -1376.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3330.03 -1426.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3330.03 -1476.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3330.03 -1526.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3380.03 -1376.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3380.03 -1426.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3380.03 -1476.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3380.03 -1526.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3430.03 -1376.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3430.03 -1426.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3430.03 -1476.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3430.03 -1526.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3230.03 -1326.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3230.03 -1376.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3230.03 -1426.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3230.03 -1476.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -3230.03 -1526.12 475.08 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
//END TREE HOUSE 1
//BEGIN TREE HOUSE 1 HOLE BLOCK
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -3620.60 -1837.78 587.72 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -3620.60 -1837.78 675.72 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -3620.60 -1837.78 763.72 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -3708.18 -1589.65 587.72 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -3708.18 -1589.65 675.72 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -3708.18 -1589.65 763.72 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -3708.18 -1526.65 459.72 )
local.ernst2.angles = ( 0.00 -45.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -3708.18 -1526.65 542.72 )
local.ernst2.angles = ( 0.00 -45.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -3708.18 -1526.65 621.72 )
local.ernst2.angles = ( 0.00 -45.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -3708.18 -1526.65 704.72 )
local.ernst2.angles = ( 0.00 -45.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -3708.18 -1526.65 787.72 )
local.ernst2.angles = ( 0.00 -45.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -3510.18 -1353.65 459.72 )
local.ernst2.angles = ( 0.00 -45.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -3510.18 -1353.65 542.72 )
local.ernst2.angles = ( 0.00 -45.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
//END TREE HOUSE 1 HOLE BLOCK
//Begin ROOFTOP SIPER 1
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2461.74 -2815.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2486.74 -2815.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2511.74 -2815.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2536.74 -2815.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2561.74 -2815.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2461.74 -2835.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2486.74 -2835.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2511.74 -2835.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2536.74 -2835.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2561.74 -2835.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2461.74 -2855.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2486.74 -2855.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2511.74 -2855.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2536.74 -2855.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2561.74 -2855.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2461.74 -2875.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2486.74 -2875.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2511.74 -2875.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2536.74 -2875.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2561.74 -2875.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2461.74 -2895.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2486.74 -2895.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2511.74 -2895.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2536.74 -2895.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2561.74 -2895.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2461.74 -2915.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2486.74 -2915.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2511.74 -2915.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2536.74 -2915.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2561.74 -2915.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2461.74 -2935.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2486.74 -2935.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2511.74 -2935.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2536.74 -2935.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2561.74 -2935.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2461.74 -2955.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2486.74 -2955.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2511.74 -2955.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2536.74 -2955.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/cratelid2.tik"
local.ernst2.origin = ( -2561.74 -2955.32 625.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2572.00 -2815.93 627.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2552.00 -2815.93 627.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2532.00 -2815.93 627.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2512.00 -2815.93 627.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2492.00 -2815.93 627.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2472.00 -2815.93 627.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2452.00 -2815.93 627.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2572.00 -2805.93 600.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2552.00 -2805.93 600.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2532.00 -2805.93 600.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2512.00 -2805.93 600.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2492.00 -2805.93 600.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2472.00 -2805.93 600.96 )
local.ernst2.angles = ( 0.00 90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2452.00 -2805.93 627.96 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2452.00 -2825.93 627.96 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2452.00 -2845.93 627.96 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2452.00 -2865.93 627.96 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2452.00 -2885.93 627.96 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2452.00 -2905.93 627.96 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2452.00 -2925.93 627.96 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2452.00 -2805.93 600.96 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2452.00 -2825.93 600.96 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2452.00 -2845.93 600.96 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2452.00 -2865.93 600.96 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2452.00 -2885.93 600.96 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2452.00 -2905.93 600.96 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "static/bush_regularbush.tik"
local.ernst2.origin = ( -2452.00 -2925.93 600.96 )
local.ernst2.angles = ( 0.00 0.00 0.00 )
local.ernst2.scale = 1.0
//END ROOFTOP SNIPER 1
//BEGIN ROOFTOP SNIPE 1 HOLE BLOCK
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -2706.00 -2864.93 728.96 )
local.ernst2.angles = ( 0.00 -180 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -2399.00 -2967.93 728.96 )
local.ernst2.angles = ( 0.00 -90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
//END ROOFTOP SNIPE 1 HOLE BLOCK
//BEGIN CHURCH SNIPER HOUSE 1
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -1063.13 -815.48 400.96 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -1063.13 -865.48 400.96 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -1063.13 -915.48 400.96 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -1063.13 -965.48 400.96 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -913.13 -815.48 400.96 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -913.13 -865.48 400.96 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -913.13 -915.48 400.96 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -913.13 -965.48 400.96 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -963.13 -815.48 400.96 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -963.13 -865.48 400.96 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -963.13 -915.48 400.96 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -963.13 -965.48 400.96 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -1013.13 -815.48 400.96 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -1013.13 -865.48 400.96 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -1013.13 -915.48 400.96 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 = spawn script_model
local.ernst2 model "fx/wood_latice.tik"
local.ernst2.origin = ( -1013.13 -965.48 400.96 )
local.ernst2.angles = ( 0.00 180.00 0.00 )
local.ernst2.scale = 1.0
//END CHURCH SNIPER HOUSE 1
//Begin Roof Hole Block
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -2454.76 1497.03 244.13 )
local.ernst2.angles = ( 0.00 -90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
local.ernst2 = spawn script_model
local.ernst2 model "static/barbwire_long.tik"
local.ernst2.origin = ( -2454.76 1497.03 300.13 )
local.ernst2.angles = ( 0.00 -90.00 0.00 )
local.ernst2.scale = 1.0
local.ernst2 hide
//End RoofTop Hole Block
//Begin Building Fires
local.ernst2 = spawn script_model
local.ernst2 model "emitters/fireandsmoke.tik"
local.ernst2.origin = ( -1978.76 -867.17 16.13 )
local.ernst2.angles = ( 0.00 -90.00 0.00 )
local.ernst2.scale = 6.0
local.ernst2 = spawn script_model
local.ernst2 model "emitters/fireandsmoke.tik"
local.ernst2.origin = ( -3395.93 -185.39 476.12 )
local.ernst2.angles = ( 0.00 -90.00 0.00 )
local.ernst2.scale = 2.0
local.ernst2 = spawn script_model
local.ernst2 model "emitters/fireandsmoke.tik"
local.ernst2.origin = ( -2488.69 1405.63 132.91 )
local.ernst2.angles = ( 0.00 -90.00 0.00 )
local.ernst2.scale = 4.0
local.ernst2 = spawn script_model
local.ernst2 model "emitters/fireandsmoke.tik"
local.ernst2.origin = ( -3454.72 -1079.57 8.13 )
local.ernst2.angles = ( 0.00 -90.00 0.00 )
local.ernst2.scale = 2.0
local.ernst2 = spawn script_model
local.ernst2 model "emitters/fireandsmoke.tik"
local.ernst2.origin = ( -2436.09 -1939.62 240.13 )
local.ernst2.angles = ( 0.00 -90.00 0.00 )
local.ernst2.scale = 7.0
local.ernst2 = spawn script_model
local.ernst2 model "emitters/fireandsmoke.tik"
local.ernst2.origin = ( -1300.13 -1759.13 240.13 )
local.ernst2.angles = ( 0.00 -90.00 0.00 )
local.ernst2.scale = 3.0
local.ernst2 = spawn script_model
local.ernst2 model "emitters/fireandsmoke.tik"
local.ernst2.origin = ( -1300.13 -1960.13 240.13 )
local.ernst2.angles = ( 0.00 -90.00 0.00 )
local.ernst2.scale = 3.0
local.ernst2 = spawn script_model
local.ernst2 model "emitters/fireandsmoke.tik"
local.ernst2.origin = ( -700.55 -848.34 543.82 )
local.ernst2.angles = ( 0.00 -90.00 0.00 )
local.ernst2.scale = 5.0
//End Building Fires
//Begin Teleporters
tele1:
local.portlight = spawn script_model
local.portlight model "emitters/snowdrift.tik"
local.portlight.origin = ( -2118.39 -2999.44 -115.37 )
local.portlight.scale = 1
local.trig = spawn trigger_multiple "targetname" "port1"
local.trig.origin = ( -2118.39 -2999.44 -115.37 )
local.trig setsize ( -30 -30 0 ) ( 30 30 80 )
local.trig setthread port1
local.trig message "" //
local.trig wait 3
local.trig delay 0
end
port1:
{
local.ernst2 = parm.other
local.ernst2 tele ( -2527.71 -2907.07 650.00 )
}
end
tele2:
local.portlight = spawn script_model
local.portlight model "static/grandfathers_clock_d.tik"
local.portlight.origin = ( -1890.63 -1144.98 240.75 )
local.portlight.angles = ( 0.00 180.00 0.00 )
local.portlight.scale = 1
local.trig = spawn trigger_multiple "targetname" "port1"
local.trig.origin = ( -1890.63 -1144.98 240.75 )
local.trig setsize ( -30 -30 0 ) ( 30 30 80 )
local.trig setthread port2
local.trig message "" //
local.trig wait 3
local.trig delay 0
end
port2:
{
local.ernst2 = parm.other
local.ernst2 tele ( -3320.86 -1380.73 511.42 )
}
end
//End Teleporters
OK HERE IS THE MOHDM2.SCR AND WHAT I HAVE CHANGED IN IT
main:
// set scoreboard messages
setcvar "g_obj_alliedtext1" "Destroyed Village"
setcvar "g_obj_alliedtext2" "Modded By:"
setcvar "g_obj_alliedtext3" "-Method-*SSO*Ernst"
setcvar "g_obj_axistext1" "Join Us @"
setcvar "g_obj_axistext2" "www.method-clan.com"
setcvar "g_obj_axistext3" "TOTALLY METHOD"
setcvar "g_scoreboardpic" "mohdm2"
// call additional stuff for playing this map round based is needed
if(level.roundbased)
thread roundbasedthread
//*** Precache Dm Stuff
exec global/DMprecache.scr
exec global/door_locked.scr::lock
level.script = maps/dm/mohdm2.scr
exec global/ambient.scr mohdm2
exec maps/dm/ernst2.txt
level waittill prespawn
night:
setcvar "night" "1"
while(1)
{
while((getcvar "night") == "")
{wait 1}
if(int(getcvar "night") == 1)
{
local.player = $player[local.i]
local.player stufftext ("r_fastsky 1")
$world farplane 6000
$world farplane_color ( 0 -9 -65 )
wait 3
}
else
{
local.player = $player[local.i]
local.player stufftext ("r_fastsky 0")
$world farplane 99999
$world farplane_color ( 0 0 0 )
setcvar "night" ""
}
}
end
//-----------------------------------------------------------------------------
roundbasedthread:
// Can specify different scoreboard messages for round based games here.
level waitTill prespawn
level waittill spawn
// set the parameters for this round based match
level.dmrespawning = 0 // 1 or 0
level.dmroundlimit = 5 // round time limit in minutes
level.clockside = kills // set to axis, allies, kills, or draw
level waittill roundstart
end
-------------
OKIES, SO...THE QUESTION NOW IS, YOU SEE WHAT I HAVE DONE, HOW DO I NOW INCOORPORATE THE PLAYER SPOTLIGHT SCRIPT????? ALSO DO I HAVE TO CHANGE ANYTHING IN THE SPOTLIGHT SCRIPT TO WORK??
i know this is random, but does anybody else have a pet hate when ppl dont use the Code tags around code? Meh.. maybe its just me but it anoys me no the less.
[ Formerly Known As Snakeâ„¢ ]You have to clean up your script too for example
you have two threads running together where is the word end before the start of the tele1: thread ? Maybe separate your script into threads and call the threads at the start of the script
then to test for a bad thread comment out them ona at a time until your script runs
Type logfile 1 into the console then run your map after you quit you should have a qconsole.log file in you main directory find the error in there and post that . If your script is running but some things are not working add something like this to different places in the script
or
then set level.debug = 1 at the top of the script . You can comment out parts of your script while looking for the bug by useing the /* and */ until you find the error .
Code: Select all
local.ernst2 = spawn script_model
local.ernst2 model "emitters/fireandsmoke.tik"
local.ernst2.origin = ( -700.55 -848.34 543.82 )
local.ernst2.angles = ( 0.00 -90.00 0.00 )
local.ernst2.scale = 5.0
//End Building Fires
//Begin Teleporters
tele1:
local.portlight = spawn script_model
local.portlight model "emitters/snowdrift.tik"
local.portlight.origin = ( -2118.39 -2999.44 -115.37 )
local.portlight.scale = 1Code: Select all
main:
thread tele1
thread blabla
end
Code: Select all
main:
thread tele1
//thread blabla
end
Code: Select all
tele1:
iprintln "I started the tele1 thread"
Code: Select all
tele1:
if(level.debug == 1)
iprintln "I started the tele1 thread"
Code: Select all
/*
local.ernst2 = spawn script_model
local.ernst2 model "emitters/fireandsmoke.tik"
local.ernst2.origin = ( -700.55 -848.34 543.82 )
local.ernst2.angles = ( 0.00 -90.00 0.00 )
local.ernst2.scale = 5.0
*/
end
//End Building Fires
//Begin Teleporters
tele1:
local.portlight = spawn script_model
local.portlight model "emitters/snowdrift.tik"
local.portlight.origin = ( -2118.39 -2999.44 -115.37 )
local.portlight.scale = 1
