Quick door question

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

Moderator: Moderators

Post Reply
RiceKrispies
Private
Posts: 9
Joined: Thu May 06, 2004 8:01 pm

Quick door question

Post by RiceKrispies »

Alrighty, I'm pretty far into my map, and I've got a bit of a door problem. Nothing serious, but when u open them they tend to like to open towards the player instead of the other way around. What am I doing wrong? I'm pretty sure it has to do with the size of the origin brush, but I just wanted to kno for sure.
Image
m4rine
Major General
Posts: 714
Joined: Fri Apr 11, 2003 5:28 pm
Location: UK

Post by m4rine »

nope, it is because u need to set the correct angle.

you need a func>rototating_door (door brush with origin) then select the door and press 'n'. Now, give the door a key/value angle/***, where *** depends on how your door is positioned in the top-view:
A | like door gets no angle or 0 or 180
a ----- like door gets an angle of 90 or 270 .
A / like door gets 135 and a \ gets 45. Always perpendicular to the door brush.
"We must become the change we want to see in the world" (Mahatma Gandhi)
RiceKrispies
Private
Posts: 9
Joined: Thu May 06, 2004 8:01 pm

Post by RiceKrispies »

Sry i didn't specify, but im talking about rotating doors.
Image
m4rine
Major General
Posts: 714
Joined: Fri Apr 11, 2003 5:28 pm
Location: UK

Post by m4rine »

yeh, so was i ;)
"We must become the change we want to see in the world" (Mahatma Gandhi)
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

angle

Post by tltrude »

Like M4rine said, the angle must be set to one of the directions the player will face to open the door. Here is a screenshot.

Image

Notice that the doors on the X axis do not need an angle set. This is because the default angle is 0 and that is one of the ways a player will face to open them.
Tom Trude,

Image
Minder 3
Private
Posts: 2
Joined: Sat May 01, 2004 6:53 pm
Location: Tampa, Florida
Contact:

Post by Minder 3 »

It sure does work :)
______
SGG, i love this place :)
m4rine
Major General
Posts: 714
Joined: Fri Apr 11, 2003 5:28 pm
Location: UK

Post by m4rine »

and that was a quality needed post Minder3 lol, almost as needed as this :roll:
"We must become the change we want to see in the world" (Mahatma Gandhi)
RiceKrispies
Private
Posts: 9
Joined: Thu May 06, 2004 8:01 pm

Post by RiceKrispies »

Guess i was totally wrong, sry m4rine. Thanks that helped alot.
Image
User avatar
LeadHead
Sergeant Major
Posts: 115
Joined: Sun Apr 04, 2004 8:13 pm
Location: New York
Contact:

Post by LeadHead »

yeah i am having problems with my doors as well, but all that i do is set it to: alwaysaway - 1 . shouldnt that make it so the door opens away from the player and not towards the player :?:

but even when i do that, it still sometimes opens towards me.

thanks every1 cause i was wondering the same thing
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

Alwayaway 1

Post by tltrude »

Key/Value alwayaway 1 is default, so setting it is redundant. An incorrect angle is what make it open wrong. BTW, alwaysaway 0 will make a door only open one way--in the direction of the set angle. It can be used for cabinet doors or shutters on the ground floor, just to name a few.
Tom Trude,

Image
m4rine
Major General
Posts: 714
Joined: Fri Apr 11, 2003 5:28 pm
Location: UK

Post by m4rine »

hmm yes i had to be told that numerous times... well at least that's one thing i wont forget lol

i find it useful to look at the notes for the door entitys in the entity window ( 'n' ). lots of different functions of doors explained ;)

i guess that goes for all enitys, though the notes are just reference, u need good tuts like the ones here on .map ;)
"We must become the change we want to see in the world" (Mahatma Gandhi)
Post Reply