I have a constructable gate that during warm up shows it can only be distroyed by dynomight but when the game starts it can be blown by a hand grenade! I have rebuilt my map from scratch trying to fix this problem
here is the script
game_manager
{
spawn
{
// Game rules
wm_axis_respawntime 30
wm_allied_respawntime 20
wm_set_round_timelimit 20
// 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
}
}
maingate
{
spawn
{
wait 200
constructible_class 3
setstate maingate default
setstate construction_materials invisible
}
buildstart final
{
}
built final
{
setstate maingate default
setstate construction_materials invisible
wm_announce "The main gate has been repaired!"
}
decayed final
{
setstate maingate invisible
setstate construction_materials default
}
Death
{
setstate maingate invisible
setstate construction_materials default
wm_announce "The main gate has been destroyed!"
}
}
Here are the entitys
// entity 109
{
“targetname” “construction_materials”
“skin” “models/mapobjects/cmarker/axis_crates.skin”
“model” “models/mapobjects/cmarker/cmarker_crates.md3”
“origin” “-2591 -1272 544”
“classname” “misc_gamemodel”
}
// entity 110
{
“target” “construction_toi”
“scriptname” “construction_materials”
“targetname” “construction_materials”
“classname” “script_mover”
brush data removed
}
// entity 111
{
“track” “Lab Main Gate”
“spawnflags” “2”
“shortname” “Lab Main Gate”
“target” “maingate”
“targetname” “construction_toi”
“scriptname” “construction_toi”
“classname” “trigger_objective_info”
// brush 0
{
( -2620 -1237 540 ) ( -2630 -1237 540 ) ( -2630 -1251 540 ) common/origin 14 18 0 0.500000 0.500000 0 15 0
( -2630 -1251 591 ) ( -2630 -1237 591 ) ( -2620 -1237 591 ) common/origin 14 18 0 0.500000 0.500000 0 15 0
( -2630 -1251 591 ) ( -2620 -1251 591 ) ( -2620 -1251 540 ) common/origin 14 0 0 0.500000 0.500000 0 15 0
( -2620 -1251 591 ) ( -2620 -1237 591 ) ( -2620 -1237 540 ) common/origin -18 0 0 0.500000 0.500000 0 15 0
( -2620 -1237 591 ) ( -2630 -1237 591 ) ( -2630 -1237 540 ) common/origin 14 0 0 0.500000 0.500000 0 15 0
( -2630 -1237 591 ) ( -2630 -1251 591 ) ( -2630 -1251 540 ) common/origin -18 0 0 0.500000 0.500000 0 15 0
}
// brush 1
{
( -2528 -1224 540 ) ( -2642 -1224 540 ) ( -2642 -1339 540 ) common/trigger 0 0 0 0.500000 0.500000 0 7 0
( -2642 -1339 591 ) ( -2642 -1224 591 ) ( -2528 -1224 591 ) common/trigger 0 0 0 0.500000 0.500000 0 7 0
( -2642 -1339 591 ) ( -2528 -1339 591 ) ( -2528 -1339 540 ) common/trigger 0 0 0 0.500000 0.500000 0 7 0
( -2528 -1339 591 ) ( -2528 -1224 591 ) ( -2528 -1224 540 ) common/trigger 0 0 0 0.500000 0.500000 0 7 0
( -2528 -1224 591 ) ( -2642 -1224 591 ) ( -2642 -1224 540 ) common/trigger 0 0 0 0.500000 0.500000 0 7 0
( -2642 -1224 591 ) ( -2642 -1339 591 ) ( -2642 -1339 540 ) common/trigger 0 0 0 0.500000 0.500000 0 7 0
}
}
// entity 112
{
“scriptname” “game_manager”
“classname” “script_multiplayer”
“origin” “-3368 -280 728”
}
// entity 113
{
“scriptname” “maingate”
“track” “maingate”
“targetname” “maingate”
“spawnflags” “5”
“classname” “func_constructible”
brush data removed
// brush 8
{
( -2468 -1020 564 ) ( -2476 -1020 564 ) ( -2476 -1026 564 ) common/origin 0 0 0 0.500000 0.500000 0 15 0
( -2450 -1026 574 ) ( -2450 -1020 574 ) ( -2442 -1020 574 ) common/origin 0 0 0 0.500000 0.500000 0 15 0
( -2476 -1026 732 ) ( -2468 -1026 732 ) ( -2468 -1026 564 ) common/origin 0 0 0 0.500000 0.500000 0 15 0
( -2468 -1026 732 ) ( -2468 -1020 732 ) ( -2468 -1020 564 ) common/origin 0 0 0 0.500000 0.500000 0 15 0
( -2468 -1020 732 ) ( -2476 -1020 732 ) ( -2476 -1020 564 ) common/origin 0 0 0 0.500000 0.500000 0 15 0
( -2476 -1020 732 ) ( -2476 -1026 732 ) ( -2476 -1026 564 ) common/origin 0 0 0 0.500000 0.500000 0 15 0
}
}
If anyone can help me I will give them credit in my map!





