Rotating Doors!

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

Moderator: Moderators

Bilko
Colour Sergeant
Posts: 91
Joined: Sat May 24, 2003 3:06 pm
Location: UK
Contact:

Rotating Doors!

Post by Bilko »

Hi guys, I suppose this epitomizes my newbie-ness (if thats a word) but after trying god-knows how many rotating door tutorials i cannot get them to work. Can someone please tell me their own way of doing rotating doors or even better, send me one that you know works?
Thanks a lot...

[EC]Gen]Bilko
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

not hard

Post by tltrude »

It's not all that hard once you get the hang of it. The door brush needs a hinge. The hinge is another brush with the common/origin texture applied. Highlight both brushes (door and origin) and hit key N. A window will pop up with a list of all entities. Find "func_rotatingdoor" on the list and double click on it. Now look at your door in the 2d window of the editor and hit Ctrl + Tab until the 2d window says xytop. Look to see which way a player will have to face to open the door and click on that angle in the entity popup window--the buttons with the numbers.

That's all there is to it!


There is a video tutorial on this site that shows how to make a door at the end of the basic room video. But, he does it really fast. Don't use "alwaysaway 1" as he shows--set the angle as I said.

http://www.carbongraphx.com/mohaa/vidtuts.html
Last edited by tltrude on Sat May 24, 2003 5:05 pm, edited 2 times in total.
Tom Trude,

Image
User avatar
Zip
Major
Posts: 323
Joined: Wed Apr 09, 2003 6:47 pm
Location: Belgium

Post by Zip »

The rotating door tutorial on .map works! Maybe you should try again? Sometimes things don't work for some weird reason.....when I did the sliding door part of the tutorial I followed the instructions exactly and it didn't work! I deleted my attempt and did it again in exactly the same way and it worked! Weird! :?

Door tutorial:

http://map.moh-central.net/tutorials/doors.php
Zip :?
Bilko
Colour Sergeant
Posts: 91
Joined: Sat May 24, 2003 3:06 pm
Location: UK
Contact:

Damn Doors..

Post by Bilko »

they're still spinning on their centre :cry:
is it possible to make one quickly and send it to me? Because I really cannot get this to work...
I can send you what I've done if you want to see it.
This is driving me mad!

[EC]Gen]Bilko
User avatar
Zip
Major
Posts: 323
Joined: Wed Apr 09, 2003 6:47 pm
Location: Belgium

Post by Zip »

Sure, I'll make a room with a rotating door in it for you :)

What's your email address?
Zip :?
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

center

Post by tltrude »

Your origin brush is not part of the door. Select both the door and the origin brush and go to selection/ungroup entity. Then highlight both brushes again and hit key N. Then double click on func_rotatingdoor. When yer done, both brushes should be a dark blue color in the 2d window and you should see only one func_rotatingdoor label for them.
Tom Trude,

Image
Bilko
Colour Sergeant
Posts: 91
Joined: Sat May 24, 2003 3:06 pm
Location: UK
Contact:

Post by Bilko »

tltrude, that is what I have, two dark blue brushes with 1 label, before and after following your instructions, lol. Zip is sending me one so this problem should be resolved, thanks Zip!

[EC]Gen]Bilko
Bilko
Colour Sergeant
Posts: 91
Joined: Sat May 24, 2003 3:06 pm
Location: UK
Contact:

Post by Bilko »

ok, Zip just sent me one he made for me.....its still doing the same thing as before, swinging on it's centre and all the textures are mucked up. So it can't be something I'm doing, any ideas??

Bilko
Bilko
Colour Sergeant
Posts: 91
Joined: Sat May 24, 2003 3:06 pm
Location: UK
Contact:

Post by Bilko »

heres some pics to show u wat im on about..
sry they are bad quality..
one badly textured door:
Image
and 1 unhinged, badly textured door:
Image

[EC]Gen]Bilko
User avatar
Zip
Major
Posts: 323
Joined: Wed Apr 09, 2003 6:47 pm
Location: Belgium

Post by Zip »

lol, the pictures are impossible to see, they're too dark (or is it just my monitor?)

To make your map brighter do this:

1. Open up your map in MOHRadiant.
2. Select any brush (shift+left click once)
3. Press 'n' to get the entity window up.
4. In the "Key" box type 'ambientlight' and press enter.
5. Now type '70 70 70' in the "Value" box and press enter.
6. Now push 'n' to close the entity window.
7. Deselect your brush (press esc)
8. Save your map and exit.

Now you just need to compile your map and play it. It should be considerably lighter in there!
Zip :?
Bilko
Colour Sergeant
Posts: 91
Joined: Sat May 24, 2003 3:06 pm
Location: UK
Contact:

Post by Bilko »

it is a lot lighter than that, its fine in the game, but the pictures have gone very dark.
Unfortunately, you can't make out the textures but you'll have to trust me theres 8 door textures on each side, kinda like this (use your imagination)
____
|_|_|
|_|_|
|_|_|
|_|_|

Anyway, I've brightened up the pictures and re-uploaded them, have another look above.

I still don't know why the pic's are so strange, but anyway.
What do ya say to that?

Bilko
Bilko
Colour Sergeant
Posts: 91
Joined: Sat May 24, 2003 3:06 pm
Location: UK
Contact:

I think I've done it!

Post by Bilko »

after experimenting with an equally sized caulk brush latch onto the door, it seems to swing right. I have the door set up as normal, with a brush the same size as the door connected to it, but in the wall. I then selected them both and gave them the func_rotatingdoor property and, although it always opens towards me (with i think i can sort with the `alwaysaway`) it is swinging properly.
This made be my only alternative.

Bilko
Bilko
Colour Sergeant
Posts: 91
Joined: Sat May 24, 2003 3:06 pm
Location: UK
Contact:

ok, maybe not

Post by Bilko »

ok, so maybe that wasn't such a good idea, as the caulk brush blocks the player and i cant get to open the right way, probably because the caulk bit which going `alwaysaway`.
Plan B anyone?

Bilko
User avatar
Zip
Major
Posts: 323
Joined: Wed Apr 09, 2003 6:47 pm
Location: Belgium

Post by Zip »

This really is quite a pickle! I wonder why it worked perfectly on my computer, but goes wrong on yours? :?

Maybe a screen shot of how the door looks in MOHRadiant might help?

Or if you want to go crazy: Un-install MOHRadiant and re-install it to see if that makes a difference! :?:

Sorry I can't be more helpful :oops:

P.S. Are you using MOHRadiant SDK or just MOHRadiant? I used SDK to make that room for you. (Not that it makes any difference I don't think)
Zip :?
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

if u've done it correctly, make sure ur compiler doesn't have -nodetail check.
Live to map, not map to live.
-mohaa_rox, .map
moderator
Post Reply