Page 2 of 2

Posted: Sun Sep 02, 2007 3:10 pm
by bdbodger
I assume you have a ceiling fan ? The easiest way to do it is not to script it at all . Make your fan and put a brush with the origin texture on it at the very center . Now select all the brushes of the fan including the origin brush and make them a script_object . Press N to open the entity window and give it the key: rotatey and value: 360 or what ever value you want . Thats it the fan will work with no scripting at all . For what you have it should work if you have the right targetnames but you should change the rotatex to rotatey if it is in fact a ceiling fan if not the use rotatex or rotatez . Just in case you don't already know .

Rotation values forward is the yaw angle

X Rotates forward and down -> Pitch
Y Rotates left on the horizontal plane -> yaw
Z Rotates to the left and down -> roll

Use negative value to change the direction of the rotation .

Posted: Sun Sep 02, 2007 4:34 pm
by Private_Ryan
tyvm! :D u just made my life easier :D


1 more thing :oops: :oops:

how do i make a wall passable, as in not solid, as in u can see it but can walk strait thru it, as in..... i think u get it... :lol:

script_object

Posted: Sun Sep 02, 2007 6:16 pm
by tltrude
Turn the wall brush into a script_object and click on the NOT_SOLID Spawnflag. To do that, you highlight the script_object brush and press key "N" to bring up its entity window. Then you'll see the NOT_SOLID check box.

Posted: Sun Sep 02, 2007 6:45 pm
by Private_Ryan
brillient, all is well, thanks guys :D