Page 1 of 1
Double Doors?
Posted: Sun Jun 29, 2003 7:27 pm
by Shortricci
I want to build the double doors like on the map Southern France (the ones that lead to the bridge) , how would i go on about doing this?
Do i use triggers? If so could you please tell me how to?
Thanks alot
Shortricci
Posted: Sun Jun 29, 2003 7:35 pm
by crunch
By default, two rotating doors that are touching will work together in the game.
Simply create the doors as you normally would, apply your origin, make it a func_rotating door, one at a time, and set your angle (same angle for both doors!).
Once the second door is in place, and you compile, you can go into your map and see that they will both work together with no scripting, and with no extras.
Kill Ya Later!
Posted: Sun Jun 29, 2003 7:36 pm
by Shortricci
OK thanks, ill check it out!
Shortricci
Posted: Sun Jun 29, 2003 7:37 pm
by Shortricci
You dont have to do angles on doors?
Just:
alwaysaway : 1
Is that correct?
Shortricci
Posted: Sun Jun 29, 2003 7:41 pm
by crunch
It is a good idea to get in the habit of applying angles to your doors.
The default angle is 0. This angle is relative to your xy-top view.
So doors that run top-to bottom of your screen don't need angles.
But doors that run left to right, or right to left need an angle of 90 or 270.
If not, alwaysaway/1 will not work properly.
Kill Ya Later!
Posted: Sun Jun 29, 2003 7:48 pm
by Shortricci
When i load the map up, it quits to the console and says
ERROR Functionrotatingdoor :: Setsolidtype
Shortricci
Posted: Sun Jun 29, 2003 7:59 pm
by crunch
Ouch. I have never gotten this error.
You made your door like this, right?
1) made a brush the size of your door.
2) textured the brush with the door tex that you wanted
3) drew your "origin" brush (and applied the "origin" texture to it) on the hinge side of the door.
4) selected both the door brush and the origin and clicked func-->rotating door
5) you opened the entity window and applied the angle.
Then you saved the map and compiled. It should work.
Did you apply a k/v doortype/type of door you made?
If you did that, that could be the cause if the type is not recognized.
What texture did you choose for your door?
I'm sorry I can't be more help here. As I said, I never encountered this error.
Kill Ya Later!
Posted: Sun Jun 29, 2003 8:00 pm
by Shortricci
I did all that, and
doortype : wood
So what could it be?
Shortricci
Posted: Sun Jun 29, 2003 8:07 pm
by crunch
doortype/wood is the default doortype, so you really don't need it in this case.
What texture did you use?
I could be wrong, but I think it could be the texture itself.
Kill Ya Later!
Posted: Sun Jun 29, 2003 9:24 pm
by wacko
As we finally found out after lots of tests and long arguments about it, you don't need a key alwaysaway/1 as long as the angles are set properly. In fact this seems to be default and you'd have to set alwaysaway/0 to make these doors open just in one direction!
And: For double doors that shall open seperatly, you must check DOORS_DON'T_LINK.
Posted: Sun Jun 29, 2003 10:02 pm
by chris_in_cali
And how do you set the angles?
Posted: Sun Jun 29, 2003 10:11 pm
by wacko
hu?
select the door brush, press n, click on the appropriate angle button in the lower left. Then you ought to get in the window above a key/value pair of angle/###.
As crunch stated correctly, this angle must be similar to the angle for a ladder: It represents the direction you look in the xy-view when standing in front of your door and looking at it. It doesn't matter from which side, so an angle of 180 is equal to an angle of 0.
You could also do a search in the forum, half of it is full of rotating doors
