Prop Rotating on Func Button.

02-01-2006, 10:34 AM
Well my first question is can you rotate a prop_dynamic about an origin using the func_door_rotating, and if so can you relate this rotation to a func button. Or by any means a func_button onto a door.. or brush.

I am trying to make a mock street with Axis Soldier models on a rotation to swing into windows or doors on a button push.

Thank You,

prone ranger
02-01-2006, 10:47 AM
couldn't you use the train to make them move into the window/doorway?

otF yetihw
02-01-2006, 11:00 AM
Not entirely sure what you're getting at, but here's a few things you could try.

Make a func_door_rotating. Name it door1 or whatever.

Make a func_dynamic with an Axis model (assuming you can do this) and name it axis1.

Then cover the func_dynamic in a brush, texture it nodraw and tie it to a func_rotating and call it rotation1.

Then go back to the func_dynamic and in the parent field put rotation1.

Then make a func_button, and in the outputs put OnPressed - rotation1 - Start.

Then another output with OnPressed - rotation1 - Stop and set the 'After a delay of' to about 0.50.

Then another with OnPressed - door1 - Open - 0.50.

Or something like that.. my brain just started hurting. Experiment.

02-01-2006, 11:34 AM
Hey man Ill try it, I get exactly what your saying thats the weird part for me....

If worst comes to worst ill try the func_tracktrain, but i just dont mant to mess with it, I rather them rotate. If worst comes to worst, Ill try and put them in a texture on a brush, instead of the model itself...

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.