New Script:
main:
level waittill prespawn
$world farplane 3000
$world farplane_color (.333 .333 .329)
setcvar "g_obj_alliedtext1" "Go2Town"
setcvar "g_obj_alliedtext2" "KillSumAxis"
setcvar "g_obj_alliedtext3" "FindtheBomb"
setcvar "g_obj_axistext1" "- Prevent Allies from"
setcvar "g_obj_axistext2" "destroying the Flak88's"
setcvar "g_obj_axistext3" "MadeBy BiG_HeaD"
setcvar "g_scoreboardpic" "objdm1.tga"
exec global/DMprecache.scr
level.script = maps/obj/objtest.scr
exec global/ambient.scr m4l1
thread global/exploder.scr::main
exec global/door_locked.scr::lock
level waittill spawn
level.defusing_team = "axis"
level.planting_team = "allies"
level.targets_to_destroy = 1
level.bomb_damage = 200
level.bomb_explosion_radius = 2048
level.dmrespawning = 0
level.dmroundlimit = 5
level.clockside = draw
thread allies_win_bomb
$panel_bomb thread axis_win_timer
thread bombscript
$panel_bomb thread global/jv_obj_dm.scr::bomb_thinker
thread global/jv_bots/jv_mp_ai.scr::enable
end
bombscript:
$flak88_explosive1 thread global/jv_obj_dm.scr::bomb_thinker
level.alliesbots = 3
level.axisbots = 3
waitthread global/jv_bots/jv_mp_ai.scr::enable
$flak88_explosive1 thread axis_win_timer
thread allies_win_bomb
$bomb thread global/jv_obj_dm.scr::bomb_thinker
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
Theres Gotta be some errors in there cuase The Bomb isnt working, and the map, upon restart, boots me.
script help-Minor fix i hope
Moderator: Moderators
script help-Minor fix i hope
Ive played more than u.
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
bombs
How many bombs are there? What are their targetnames? What are their trigger targetnames?
You only have level.targets_to_destroy set to one, but you have three bomb thinker lines.
You have clockside set to draw and it should be axis, I think.
You only have level.targets_to_destroy set to one, but you have three bomb thinker lines.
You have clockside set to draw and it should be axis, I think.

