Please or Register to create posts and topics.

Help with prop_door_rotating

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?

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.

Crazy is as crazy does.
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]

Just make it a prop_dynamic, and have a func_button on it, then set the open animation. It comes with sound and everything.

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!

gompasta 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.

?????????????????????????????TWP Releases | My Workshop

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?

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.

Image
I think in terms of boolean variables. Generally, it makes things easier.

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.

?????????????????????????????TWP Releases | My Workshop