Doors??

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
sirkilroy
Lance Corporal
Posts: 22
Joined: Thu Feb 13, 2003 11:55 pm
Location: Indy
Contact:

Doors??

Post by sirkilroy »

Can you make a door only open ONE WAY.
I don't mean "alwaysaway"
I mean like always open into the room, like in "real life"
All the doors in my map have to be shut, they don't close auotmaticlly.
BUt I am look for a way to make only open in one direction, I have tried ALL the direction arrow and that doesn't seem to help


Thanks
[253RID]General-Haines
Sergeant Major
Posts: 114
Joined: Fri Jan 17, 2003 7:46 pm
Location: New Jersey USA
Contact:

Post by [253RID]General-Haines »

hmm lol i had always away and put the origin on the side liek a real doors and had alwaysaway////1 and it only opened 1 direction jus try that maybe itll work for u i jus gor fortunate
253rd Regimental Infantry Division
Image
Our Spearhead Total conversion mod is now recruiting. http://www.thegreendevils.tk
Angex
Major
Posts: 293
Joined: Mon Dec 30, 2002 1:23 pm
Contact:

Post by Angex »

Might require some scripting. You could do it by making the door, triggerable, not_player, not_monsters.

Then add a trigger_use which calls a thread like this:

Code: Select all

doorMove:
  $doorname rotateyup $doorname.openangle
  $doorname waitmove
  $trigger_usename nottriggerable
end
You then need to figure out away to re-activate the trigger when the door is closed.
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

This is almost embarrasing, but I've never done a door that only opened one way... :oops: ( Well I have, byt only by mistake ) because doors opening one way are generally considered annoying by players... I would recomend using them ONLY if the door is partially blocked in one direction.

But if I'm not WAY out here, the default behaviour of a rotating_door is to open in only one direction... have you really removed the allwaysaway key/value pair? My radiant gets f****d up sometimes and refuses to remove them until restart :evil:
Admin .MAP Forums
Image
Head above heels.
Angex
Major
Posts: 293
Joined: Mon Dec 30, 2002 1:23 pm
Contact:

Post by Angex »

Oh Yeah, I forgot that rotating doors did that by default.
[253RID]General-Haines
Sergeant Major
Posts: 114
Joined: Fri Jan 17, 2003 7:46 pm
Location: New Jersey USA
Contact:

Post by [253RID]General-Haines »

lol ^_^
253rd Regimental Infantry Division
Image
Our Spearhead Total conversion mod is now recruiting. http://www.thegreendevils.tk
sirkilroy
Lance Corporal
Posts: 22
Joined: Thu Feb 13, 2003 11:55 pm
Location: Indy
Contact:

Post by sirkilroy »

Yes I have never put in alwaysaway
here is what I have for my door func

angle 270 (have try ALL the combos)
classname func_rotatingdoor
wait -1


This will open the door into the room, if you are IN the Room. But if you stand to the side of the door or on the OUTside the door open outwards.

I know MOST players do not like the door to open one way. But we are making a map that is as true to life as we can make it.

If you have to shut the doors and think about which way they open it makes the game-play a little more "sporty"
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

I think scripting is the way to go.
Image
Post Reply