Help with prop_door_rotating
Quote from Aquanistic on October 9, 2011, 11:41 amI'm working on my first map and having trouble with making a simple pushbar door (the kind with the green sticker on it). I have placed it in my map and used this tutorial (http://developer.valvesoftware.com/wiki/Prop_door_rotating) to try to make it work, but it won't.
In game I can walk right through it and when I press E it rotates on a middle axis with no animation or sound. I tried decompiling a map (sp_a3_portal_intro) and copying a door from there and although it was solid in my map, pressing E did nothing.
Here is a sceenshot of the settings I have on the door now: http://img694.imageshack.us/img694/1532/portaldoor.png
Does the Hinge Axis have anything to do with it?
I figured that making a door would be easy, but it's giving me trouble and I can't find any good information on how to make a functioning one online. Can anyone help me?
I'm working on my first map and having trouble with making a simple pushbar door (the kind with the green sticker on it). I have placed it in my map and used this tutorial (http://developer.valvesoftware.com/wiki/Prop_door_rotating) to try to make it work, but it won't.
In game I can walk right through it and when I press E it rotates on a middle axis with no animation or sound. I tried decompiling a map (sp_a3_portal_intro) and copying a door from there and although it was solid in my map, pressing E did nothing.
Here is a sceenshot of the settings I have on the door now: http://img694.imageshack.us/img694/1532/portaldoor.png
Does the Hinge Axis have anything to do with it?
I figured that making a door would be easy, but it's giving me trouble and I can't find any good information on how to make a functioning one online. Can anyone help me?
Quote from MasterLagger on October 9, 2011, 11:52 amProp_door_rotating only works for certain doors. I had this problem also. I suggest making a func_rotating_door with a nodraw brush and have your door prop Parented to it.
Prop_door_rotating only works for certain doors. I had this problem also. I suggest making a func_rotating_door with a nodraw brush and have your door prop Parented to it.
My Work
[spoiler]Maps:
Revenge of the Angry Turrets
Capture the Cube [Co-op]
Capture the Cube 2 [Co-op]
TPWEGTH Sample Map
Aperture Aquatic Testing Center
Aperture Aquatic Testing Center 2
Aperture Time Testing Center
ML's Halloween Trick - 1000 downloads!
ML's Halloween Treat
ML's Combination - 1000 downloads!
ML's Jailbreak Labyrinth
ML's Tricky Teamwork [Co-op]
WIP:
"Capture the Cube 3"
Workshop Maps Link: http://steamcommunity.com/profiles/76561198008890579/myworkshopfiles/[/spoiler]
Quote from gompasta on October 9, 2011, 12:01 pmJust make it a prop_dynamic, and have a func_button on it, then set the open animation. It comes with sound and everything.
Just make it a prop_dynamic, and have a func_button on it, then set the open animation. It comes with sound and everything.
Quote from Lpfreaky90 on October 9, 2011, 1:10 pmThere's also the thing with the axis: usually the center of the object is the rotation axis.
If you select your brush, you will see that there is a circle in the middle of your brush, that's your axis. If you drag that to the side, the axis will shift thus making the door open like a normal doorHope that helped!
There's also the thing with the axis: usually the center of the object is the rotation axis.
If you select your brush, you will see that there is a circle in the middle of your brush, that's your axis. If you drag that to the side, the axis will shift thus making the door open like a normal door ![]()
Hope that helped!
Quote from ChickenMobile on October 9, 2011, 10:27 pmgompasta wrote:Just make it a prop_dynamic, and have a func_button on it, then set the open animation. It comes with sound and everything.I believe this is the answer. There is no prop that I know of that can be a 'prop_door_rotating' in Portal 2. Look for the correct model and using a func_button or an 'OnUse' output, set the animation to 'open'.
Consequently I will make an instance of this so you can download easier. Will work on it soon.
I believe this is the answer. There is no prop that I know of that can be a 'prop_door_rotating' in Portal 2. Look for the correct model and using a func_button or an 'OnUse' output, set the animation to 'open'.
Consequently I will make an instance of this so you can download easier. Will work on it soon.
Quote from Aquanistic on October 10, 2011, 9:30 amThanks for all of the help! I changed it to a prop_dynamic, but when I selected the door brush and hit Ctrl+T to create the brush entity func_button, it told me that "There are no eligible selected objects." What did I do wrong?
Thanks for all of the help! I changed it to a prop_dynamic, but when I selected the door brush and hit Ctrl+T to create the brush entity func_button, it told me that "There are no eligible selected objects." What did I do wrong?
Quote from Spam Nugget on October 10, 2011, 5:20 pmOkay, prop_dynamic isnt a brush entity, its a point entity. This means that you dont make it from a brush by hitting control T, put it into the map with the entity tool, or shift e. Then click on the 'world model' field and browse for the model of the door.
Okay, prop_dynamic isnt a brush entity, its a point entity. This means that you dont make it from a brush by hitting control T, put it into the map with the entity tool, or shift e. Then click on the 'world model' field and browse for the model of the door.

I think in terms of boolean variables. Generally, it makes things easier.
Quote from ChickenMobile on October 11, 2011, 4:34 amHere is the instance I said I would be making. Remember to put a -1 if the door doesn't close again and leave it at ??? if you can push 'Use' key to open and close the door.
You can also open or close the door by using the proxy through an input.
Here is the instance I said I would be making. Remember to put a -1 if the door doesn't close again and leave it at ??? if you can push 'Use' key to open and close the door.
You can also open or close the door by using the proxy through an input.

