Hey... I recently downloaded Siegfried Line, an Obj respawn map.
I want to edit it so its not a 15 minute game per round, and change it to five minutes, or it could take forever. (Its for my server)
This is its script
-------------------------------------------------------------------------------------
main:
$world farplane 2500
$world farplane_color (.333 .333 .329)
level waittill prespawn
exec global/DMprecache.scr
level.script = maps/obj/wdcobj1.scr
exec global/weather.scr m5l1b
exec global/ambient.scr m5l1b
exec global/door_locked.scr::lock
setcvar "g_obj_alliedtext1" "Destroy the Flak88"
setcvar "g_obj_alliedtext2" "& the Command Radio"
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" "- Prevent Allies from"
setcvar "g_obj_axistext2" "destroying the Flak88"
setcvar "g_obj_axistext3" "& the Command Radio"
setcvar "g_scoreboardpic" "wdcobj1"
level waittill spawn
level.bomb_damage = 200
level.bomb_explosion_radius = 640
level.defusing_team = "axis"
level.planting_team = "allies"
level.targets_to_destroy = 2
level.dmrespawning = 1 // 1 or 0
level.dmroundlimit = 15 // round time limit in minutes
level.clockside = axis // set to axis, allies, kills, or draw
level waittill roundstart
$flak88_explosive1 thread global/obj_dm.scr::bomb_thinker
$88mm_explosive2 thread global/obj_dm.scr::bomb_thinker
$88mm_explosive1 thread axis_win_timer
thread allies_win_bomb
thread bomb1_exploded $flak88_explosive1
thread bomb2_exploded $88mm_explosive2
end
//*** --------------------------------------------
//*** "Axis Victory"
//*** --------------------------------------------
axis_win_timer:
level waittill axiswin
end
//*** --------------------------------------------
//*** "Allied Victory"
//*** --------------------------------------------
allies_win_bomb:
while(level.targets_destroyed < level.targets_to_destroy)
waitframe
teamwin allies
end
//*** --------------------------------------------
//*** "Bomb 1 Exploded"
//*** --------------------------------------------
bomb1_exploded local.bomb1:
while (local.bomb1.exploded != 1)
wait .1
iprintlnbold "Allies have destroyed the Flak88 AA Gun!!"
end
//*** --------------------------------------------
//*** "Bomb 2 Exploded"
//*** --------------------------------------------
bomb2_exploded local.bomb2:
while (local.bomb2.exploded != 1)
wait .1
iprintlnbold "Allies have destroyed the Command Radio!!"
end
--------------------------------------------------------------------------------
Now, I know i have to edit
"level.dmroundlimit = 15 // round time limit in minutes"
and change the 15 to five,
but, I did that, reloaded it into Main for my server and rebooted my server, yet... nothing happened, it was still 15 minutes per round.
How do I fix it so its only five minutes?
Thanks in advance
Newb question for modifying script
Moderator: Moderators
