Okay, i’ve searched for it and i’ve looked over tutorials, maybe the answer has been staring me right in the face. How is one to make a multi layered stealable objective. I’ve tried and tried and i can only get the first objective to work not the second.
My Script…
game_manager
{
spawn
{
// Game rules
wm_axis_respawntime 30
wm_allied_respawntime 20
wm_number_of_objectives 7
wm_set_round_timelimit 30
remapshader "models/mapobjects/rocks_sd/rock_big3" "models/mapobjects/rocks_sd/rock_temperate_big"
remapshaderflush
// Objective overview status indicators
//wm_objective_status <objective> <team (0=Axis, 1=Allies)> <status (0=neutral 1=complete 2=failed)>
wm_objective_status 1 1 0
wm_objective_status 1 0 0
wm_objective_status 2 1 0
wm_objective_status 2 0 0
wm_objective_status 3 1 0
wm_objective_status 3 0 0
wm_objective_status 4 1 0
wm_objective_status 4 0 0
wm_objective_status 5 1 0
wm_objective_status 5 0 0
wm_objective_status 6 1 0
wm_objective_status 6 0 0
wm_objective_status 7 1 0
wm_objective_status 7 0 0
// Stopwatch mode defending team (0=Axis, 1=Allies)
wm_set_defending_team 0
// If the round timer expires, the Axis have won, so set the current winning team
// Set the round winner: 0 == AXIS, 1 == ALLIED
wm_setwinner 0
setstate transmitter_obj invisible
accum 1 set 0
}
trigger allieswin
{
accum 1 set 1
wm_announce "Allied team has transmitted the documents!"
trigger game_manager checkgame
}
trigger checkgame
{
accum 1 abort_if_not_equal 1
wm_setwinner 1
wait 1500
wm_endround
}
}
// ================================================
// ================= RADIO PART ===================
// ================================================
radio
{
spawn
{
wait 200
}
trigger stolen
{
wm_announce "The Allies have stolen the Radio Part"
setstate radio_cm_marker invisible
setstate radio_toi invisible
wm_objective_status 3 1 1
wm_objective_status 3 0 2
}
trigger returned
{
wm_announce "The Axis have retrieved the Radio Part"
setstate radio_cm_marker default
setstate radio_toi default
wm_objective_status 3 1 0
wm_objective_status 3 0 1
}
trigger captured
{
wm_announce "The Allies have secured the Radio Part"
trigger door1 open //opens door to docs
setstate transmitter_obj default
wm_objective_status 3 1 1
wm_objective_status 3 0 2
}
}
// ================================================
// ================= DOCUMENTS ====================
// ================================================
docs
{
spawn
{
wait 200
}
trigger stolen
{
wm_announce "The Allies have stolen the Documents"
setstate secretdocs_cm_marker invisible
setstate docs_toi invisible
wm_objective_status 1 1 1
wm_objective_status 1 0 2
}
trigger returned
{
wm_announce "The Axis have retrieved the Documents"
setstate secretdocs_cm_marker default
setstate docs_toi default
wm_objective_status 1 1 0
wm_objective_status 1 0 0
}
trigger captured
{
wm_objective_status 2 1 1
wm_objective_status 2 0 2
trigger game_manager allieswin
}
}
And my entity’s…
// entity 0
{
"classname" "worldspawn"
}
// entity 1
{
"classname" "team_CTF_redflag"
"origin" "1022 -560 -316"
"model" "models/multiplayer/secretdocs/secretdocs.md3"
"message" "Secret Documents"
"scriptname" "docs"
}
// entity 2
{
"classname" "misc_commandmap_marker"
"origin" "1024 -560 -296"
"targetname" "secretdocs_cm_marker"
"scriptname" "secretdocs_cm_marker"
}
// entity 3
{
"target" "secretdocs_cm_marker"
"shortname" "Secret Documents"
"classname" "trigger_objective_info"
"track" "Secret Documents"
"scriptname" "secretdocs_toi"
"targetname" "secretdocs_toi"
"spawnflags" "19"
"customaxisimage" "gfx/limbo/cm_goldbars"
"customalliesimage" "gfx/limbo/cm_goldbars"
"objflags" "8"
// brush 0
{
( 1864 -224 -256 ) ( 1864 -744 -256 ) ( 1400 -744 -256 ) common/trigger 0 16 0 0.500000 0.500000 0 7 0
( 1408 -760 -376 ) ( 1872 -760 -376 ) ( 1872 -240 -376 ) common/trigger 0 16 0 0.500000 0.500000 0 7 0
( 1120 -544 -272 ) ( 1120 -544 -56 ) ( 1120 -280 -56 ) common/trigger -16 0 0 0.500000 0.500000 0 7 0
( 1464 -424 -272 ) ( 1464 -424 -56 ) ( 1208 -424 -56 ) common/trigger 0 0 0 0.500000 0.500000 0 7 0
( 880 56 -272 ) ( 880 56 -56 ) ( 880 -208 -56 ) common/trigger -16 0 0 0.500000 0.500000 0 7 0
( 1632 -680 -272 ) ( 1632 -680 -56 ) ( 1896 -680 -56 ) common/trigger 0 0 0 0.500000 0.500000 0 7 0
}
}
// entity 4
{
"scriptname" "transmitter_obj"
"spawnflags" "1"
"classname" "trigger_flagonly_multiple"
"targetname" "transmitter_obj"
// brush 0
{
( 592 -432 -408 ) ( 424 -432 -408 ) ( 424 -432 -424 ) common/trigger 16 0 0 0.500000 0.500000 0 7 0
( 728 -672 -408 ) ( 728 -592 -408 ) ( 728 -592 -424 ) common/trigger -32 0 -180 0.500000 -0.500000 0 7 0
( 608 -664 -408 ) ( 776 -664 -408 ) ( 776 -664 -424 ) common/trigger 16 0 0 0.500000 0.500000 0 7 0
( 464 -472 -408 ) ( 464 -552 -408 ) ( 464 -552 -424 ) common/trigger -32 0 -180 0.500000 -0.500000 0 7 0
( 600 -608 -264 ) ( 768 -608 -264 ) ( 768 -688 -264 ) common/trigger -32 -16 -90 0.500000 0.500000 0 7 0
( 768 -688 -424 ) ( 768 -608 -424 ) ( 600 -608 -424 ) common/trigger -32 -16 -90 0.500000 0.500000 0 7 0
}
}
// entity 5
{
"scriptname" "radio"
"message" "Radio Part"
"model" "models/multiplayer/secretdocs/secretdocs.md3"
"origin" "1014 -960 -316"
"classname" "team_CTF_redflag"
}
// entity 6
{
"scriptname" "radio_cm_marker"
"targetname" "radio_cm_marker"
"origin" "1016 -960 -296"
"classname" "misc_commandmap_marker"
}
// entity 7
{
"objflags" "8"
"customalliesimage" "gfx/limbo/cm_goldbars"
"customaxisimage" "gfx/limbo/cm_goldbars"
"spawnflags" "19"
"targetname" "radio_toi"
"scriptname" "radio_toi"
"track" "Radio Part"
"classname" "trigger_objective_info"
"shortname" "Radio Part"
"target" "radio_cm_marker"
// brush 0
{
( 1624 -1080 -272 ) ( 1624 -1080 -56 ) ( 1888 -1080 -56 ) common/trigger 16 0 0 0.500000 0.500000 0 7 0
( 872 -344 -272 ) ( 872 -344 -56 ) ( 872 -608 -56 ) common/trigger 16 0 0 0.500000 0.500000 0 7 0
( 1456 -824 -272 ) ( 1456 -824 -56 ) ( 1200 -824 -56 ) common/trigger 16 0 0 0.500000 0.500000 0 7 0
( 1112 -944 -272 ) ( 1112 -944 -56 ) ( 1112 -680 -56 ) common/trigger 16 0 0 0.500000 0.500000 0 7 0
( 1400 -1160 -376 ) ( 1864 -1160 -376 ) ( 1864 -640 -376 ) common/trigger 16 -16 0 0.500000 0.500000 0 7 0
( 1856 -624 -256 ) ( 1856 -1144 -256 ) ( 1392 -1144 -256 ) common/trigger 16 -16 0 0.500000 0.500000 0 7 0
}
}
// entity 8
{
"classname" "trigger_flagonly_multiple"
"spawnflags" "1"
"scriptname" "radio_obj"
// brush 0
{
( 760 -1088 -424 ) ( 760 -1008 -424 ) ( 592 -1008 -424 ) common/trigger 0 -32 -90 0.500000 0.500000 0 7 0
( 592 -1008 -264 ) ( 760 -1008 -264 ) ( 760 -1088 -264 ) common/trigger 0 -32 -90 0.500000 0.500000 0 7 0
( 456 -872 -408 ) ( 456 -952 -408 ) ( 456 -952 -424 ) common/trigger 0 0 -180 0.500000 -0.500000 0 7 0
( 600 -1064 -408 ) ( 768 -1064 -408 ) ( 768 -1064 -424 ) common/trigger 32 0 0 0.500000 0.500000 0 7 0
( 720 -1072 -408 ) ( 720 -992 -408 ) ( 720 -992 -424 ) common/trigger 0 0 -180 0.500000 -0.500000 0 7 0
( 584 -832 -408 ) ( 416 -832 -408 ) ( 416 -832 -424 ) common/trigger 32 0 0 0.500000 0.500000 0 7 0
}
}
P.s. I’ve seen many egamples of how to remap models, but what i have not only make the models viewable through other models.
Thank you in advance for any help to my problem.