Doors and Windows

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

Moderator: Moderators

Post Reply
Guest

Doors and Windows

Post by Guest »

Hi,

I have 2 questions to ask, which I hope should be easy to answer.

Firstly, when I build a door, and edit the revolving_door entity and add alwaysaway [equal to 1], my doors still open towards the player [only from 1 side of the door]. Does anybody know why? My door revolves, my origin brush touches the hinge, it is exactly the same height as the door, and it is wider [8 width - my door width is usually 4-6 wide]. Any help appreciated.

Okay, now to windows. I have added health to my windows, but when they are shot out, the whole brush disappears. I want to leave a broken window and not a great big hole. What do I do?

Thanks
Angex
Major
Posts: 293
Joined: Mon Dec 30, 2002 1:23 pm
Contact:

Post by Angex »

Look here for a very brief explanation, for the window problem:

http://dynamic4.gamespy.com/%7Emap/phpB ... php?t=1239
Last edited by Angex on Mon Jan 13, 2003 3:05 pm, edited 1 time in total.
Guest

Post by Guest »

Thanks for that. It now works.

But the door problem still remains. In fact it gets stranger [well for me at least]. If I approach the door at an angle, with the original brush closest to me the door opens away from me. However if I go straight at the door, or at an angle with the hinges [origin] furthest away, the door opens towards me.
TheStorm
Captain
Posts: 233
Joined: Mon Oct 07, 2002 7:45 am
Location: Gavle, Sweden
Contact:

Post by TheStorm »

If you use func_rotatingdoor then you don't need to set alwaysaway, you can leave that option unmarked! BUT if the door is placed so that it faces the angle 90/270 then select the door, hit N key and press 90. It will set the angle to 90. For some reason you need to set the angle for the doors facing that direction. Doors having their flat side facing 180/360 you don't need to set anything, just the func_rotatingdoor.
TMT admin, visit www.modtheater.com
HITP Lead Mapper
Member of Electronic Arts MOHteam
Guest

Post by Guest »

Thanks Angex/TheStorm for your tips. I'll try the door and see how I go on.

Cheers.
Guest

Post by Guest »

I have also got a question. When i am mapping and make a door. i make the texture look normal. So that means i add a more lenght to one side and take away some from the other side to make it look like a real door. But when i compile the game and play it the doors are HUGE they are like for GIANTs any one got any idea on how to fix this?
Innkeeper
Colonel
Posts: 475
Joined: Mon Nov 25, 2002 10:13 pm
Location: NC, USA (about 7.5 klicks from the capital dome)
Contact:

Post by Innkeeper »

I make my common household interior doors about 6'8" high and 3' wide. That works out to 108 units high and 48 units wide. Put your texture on the door and press Ctrl-F. this will fit the texture to the size of the brush.
Slyk
Lieutenant Colonel
Posts: 361
Joined: Sun Jul 14, 2002 12:42 am
Location: Elizabethtown, PA

Post by Slyk »

Door heights and widths depend on where they are and their purpose, of course. I actually think that some textures look better on a door that is either wider than others or even taller. Depends on your design. Usually I go with 7 feet (112 units tall) and either 48, 56, or 64 units wide, depending on the type of building etc. I like to vary them a little to break up the mono tone of design. Actually, more door textures would be a great thing.
TheStorm
Captain
Posts: 233
Joined: Mon Oct 07, 2002 7:45 am
Location: Gavle, Sweden
Contact:

Post by TheStorm »

Then you should go HERE

You will find these textures, but If you include them in your map you must rename the texture and shader (use your own name or something) and include them in your pk3. If you don't do that then everybody who plays the map must have this door.pk3 in their main.

Image
TMT admin, visit www.modtheater.com
HITP Lead Mapper
Member of Electronic Arts MOHteam
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Hmm some really nice textures there 8).
Image
Post Reply