// set
scoreboard messages
setcvar "g_obj_alliedtext1" "An
example of how"
setcvar "g_obj_alliedtext2" "to
use the scripts"
setcvar "g_obj_alliedtext3" "for
obj maps"
setcvar "g_obj_axistext1" "Just
defuse the bomb"
setcvar "g_obj_axistext2" "if
you can"
setcvar "g_obj_axistext3" ""
level.defusing_team
= "axis"
level.planting_team = "allies"
level.targets_to_destroy = 2 //
change this to the number of
// objectives
level.dmrespawning = 1
// 1 or 0 // 1 is respawn 0 is not respawn
level.dmroundlimit = 5 //
round time limit in minutes
level.clockside = axis //
set to axis, allies, kills, or draw
//level
waittill roundstart // comment out to test MP
objectives....
$bomb.trigger_name = $trigger2 //trigger
name that is used for
// the bomb
$bomb.target.target = $trigger2 //Thing
to blow up with the
// bomb
$bomb.target.destroyed_model = "models/statweapons/flak88_d.tik"
//destroyed model of thing
to
//blow up
$bomb.explosion_fx = "models/emitters/explosion_mine.tik"
//explosion FX
$bomb.explosion_sound = "sound/weapons/explo/explo_metalmed1.wav"
//explosion sound
end
// this marks the end of the main thread. All
threads below
// this do not execute until called.
explode_my_bomb:
iprintlnbold_noloc "Bomb has been set ,
10 seconds to detonation"
wait 2
iprintlnbold_noloc "8"
wait 2
iprintlnbold_noloc "6"
wait 2
iprintlnbold_noloc "4"
wait 1
iprintlnbold_noloc "3"
wait 1
iprintlnbold_noloc "2"
wait 1
iprintlnbold_noloc "1"
wait 1
exec global/exploder.scr::explode 1
iprintlnbold_noloc " The bomb will go off
again, but no swapping of models"
end