Is it possible to make certain doors where only members of axis
(or only allies) can go through? Doesn't have to be doors, any other
means would be fine. Also if possible only in one direction?
If this is possible at all, can anyone give me some pointers on where to start
Axis-only doors
Moderator: Moderators
I think what you might do is make a player clip brush and then make it a script object . I have done this in my scripts before so I know that it works . Then use a trigger multiple to control it . Something like this .
main:
....
....
thread team_gate
....
end
team_gate:
$mytrigger waittill trigger
local.guy = parm.other // guy who triggers trigger
if(local.guy.dmteam == "axis")
$myscript_object moveup 256
$myscript_object speed 10
$myscript_object move
while(local.guy istouching $mytrigger)
waitframe
$myscript_object movedown 256
$myscript_object move
goto team_gate
end
Just make your trigger big enough to cover both sides of the door so only axis players can pass
main:
....
....
thread team_gate
....
end
team_gate:
$mytrigger waittill trigger
local.guy = parm.other // guy who triggers trigger
if(local.guy.dmteam == "axis")
$myscript_object moveup 256
$myscript_object speed 10
$myscript_object move
while(local.guy istouching $mytrigger)
waitframe
$myscript_object movedown 256
$myscript_object move
goto team_gate
end
Just make your trigger big enough to cover both sides of the door so only axis players can pass
easy
An easy way to stop spawnkillers is to use a barrier of crates, rubble, or clip brushes that can only be climbed form one side. Anything over 64 units tall can not be jumped over. However, one player can jump on another player to get over, so you may need to make it higher. If there is water at the bottom, the team players will be less likely to be hurt when they jump down off the barrier.
