fan wont work

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
wcs rufus
Lance Corporal
Posts: 15
Joined: Sat Jul 26, 2003 1:46 am
Contact:

fan wont work

Post by wcs rufus »

i mad the fan that is on this sitei think i might have a prob with where i put the script
Angex
Major
Posts: 293
Joined: Mon Dec 30, 2002 1:23 pm
Contact:

Post by Angex »

Just put the script in the same folder as the *.bsp

e.g. for single player maps its main/maps

If that's not your problem have a look in the console for any errors and 'em here.
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

fan

Post by tltrude »

You don't really need a script for a fan because you can make it rotate in the entity properties. Doing it this way will make it rotate all the time--no on/off switch.

1. Open you map in the editor and highlight all the parts of your script_object fan.

2. Hit key N and type this in:

Key: rotateY
Value: 360

4. Hit key N again and save your map.

5. Recompile your map and place the BSP file in the maps/dm folder in main (if you want to test it with weapons and sound).

Hope that helps!
Tom Trude,

Image
User avatar
small_sumo
Lieutenant General
Posts: 953
Joined: Mon Jul 01, 2002 4:17 pm
Contact:

Post by small_sumo »

How do you regulate the speed?
Image

www.smallsumo.tk

Yeah Truth above Honor Man ;)
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

speed

Post by tltrude »

The number used as the value is "degrees
per second" I think, but all you need to know is, the higher the number, the faster it will go. The center of rotation is (just like a door) at the center of the object or the object's origin brush, if one is used.

RotateY would be for a ceiling fan, but you can also use "rotateX" and "rotateZ".
Tom Trude,

Image
User avatar
small_sumo
Lieutenant General
Posts: 953
Joined: Mon Jul 01, 2002 4:17 pm
Contact:

Post by small_sumo »

Too easy thanks tom.

:)
Image

www.smallsumo.tk

Yeah Truth above Honor Man ;)
Post Reply