Page 1 of 1

Doors and Windows

Posted: Mon Jan 13, 2003 6:02 am
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

Posted: Mon Jan 13, 2003 12:40 pm
by Angex
Look here for a very brief explanation, for the window problem:

http://dynamic4.gamespy.com/%7Emap/phpB ... php?t=1239

Posted: Mon Jan 13, 2003 12:55 pm
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.

Posted: Mon Jan 13, 2003 2:40 pm
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.

Posted: Mon Jan 13, 2003 5:50 pm
by Guest
Thanks Angex/TheStorm for your tips. I'll try the door and see how I go on.

Cheers.

Posted: Mon Jan 13, 2003 9:10 pm
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?

Posted: Mon Jan 13, 2003 9:35 pm
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.

Posted: Mon Jan 13, 2003 10:58 pm
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.

Posted: Tue Jan 14, 2003 7:04 am
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

Posted: Tue Jan 14, 2003 8:11 am
by jv_map
Hmm some really nice textures there 8).