// DESTROYED VILLAGE
// ARCHITECTURE: NED
// SCRIPTING: NED
main:
// set scoreboard messages
setcvar "g_obj_alliedtext1" "Destroyed Village"
setcvar "g_obj_alliedtext2" " Modded By"
setcvar "g_obj_alliedtext3" "-Method- *$* guNNer"
setcvar "g_obj_axistext1" " **Join Us At"
setcvar "g_obj_axistext2" "www.method-clan.com"
setcvar "g_obj_axistext3" ""
setcvar "g_scoreboardpic" "mohdm2"
// call additional stuff for playing this map round based is needed
if(level.roundbased)
thread roundbasedthread
level waittill prespawn
//*** Precache Dm Stuff
exec global/DMprecache.scr
exec global/door_locked.scr::lock
level.script = maps/dm/mohdm2.scr
exec global/ambient.scr mohdm2
level waittill spawn
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.thing = spawn script_model
local.thing model "static/bodies_tarp.tik"
local.thing.origin = ( -2522.24 -2932.19 557.38 )
local.thing.angles = ( 21.71 34.11 0.00 )
local.thing = spawn script_model
local.thing model "static/vehicle_opeltruck_green.tik"
local.thing.origin = ( -1284.05 721.96 20.74 )
local.thing.angles = ( 8.90 -170.47 0.00 )
y isnt this working
Moderator: Moderators
-
¤gunner¤
- Lance Corporal
- Posts: 10
- Joined: Fri Sep 01, 2006 3:43 am
- Contact:
y isnt this working
¤copy my name to help me spread around¤
†}®’{€
†}®’{€
because the code you added will never be called. "end" represents a place where a thread ends, and any identifier with a ":" after it designates where a thread of that name starts. In your case, there's no possible way the script could go to that code. try this.
Code: Select all
// DESTROYED VILLAGE
// ARCHITECTURE: NED
// SCRIPTING: NED
main:
// set scoreboard messages
setcvar "g_obj_alliedtext1" "Destroyed Village"
setcvar "g_obj_alliedtext2" " Modded By"
setcvar "g_obj_alliedtext3" "-Method- *$* guNNer"
setcvar "g_obj_axistext1" " **Join Us At"
setcvar "g_obj_axistext2" "www.method-clan.com"
setcvar "g_obj_axistext3" ""
setcvar "g_scoreboardpic" "mohdm2"
// call additional stuff for playing this map round based is needed
if(level.roundbased)
thread roundbasedthread
level waittill prespawn
//*** Precache Dm Stuff
exec global/DMprecache.scr
exec global/door_locked.scr::lock
level.script = maps/dm/mohdm2.scr
exec global/ambient.scr mohdm2
level waittill spawn
thread myspawn
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
myspawn:
local.thing = spawn script_model
local.thing model "static/bodies_tarp.tik"
local.thing.origin = ( -2522.24 -2932.19 557.38 )
local.thing.angles = ( 21.71 34.11 0.00 )
local.thing = spawn script_model
local.thing model "static/vehicle_opeltruck_green.tik"
local.thing.origin = ( -1284.05 721.96 20.74 )
local.thing.angles = ( 8.90 -170.47 0.00 )
end
Moderator
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006
۞
Abyssus pro sapientia
Olympus pro Ignarus
۞
AND STUFF™ © 2006