ok i follow the fan tut on this site and when i put everything into the script it doesnt spin
//MAP NAME: AdvancedMap2
//ARCHITECTURE: aLpHa2
//SCRIPTING: aLpHa2
main:
exec global/ai.scr
exec global/loadout.scr maps/dm/AdvancedMap2.scr
exec global/friendly.scr
level waittil prespawn
exec global/ambient.scr AdvancedMap2
exec global/weather.scr
level waittil spawn
level.script = "maps/dm/AdvancedMap2.scr"
thread fan1
end
fan1:
$blade1 bind $fan1
$blade2 bind $fan1
$blade3 bind $fan1
$blade4 bind $fan1
$fan1 rotatey 325 // the number indicates the speed of the fans rotation. Use -325 to rotate the fan the other way.
end
it doesnt work
what is the prob?
P.S. I also did the script_object stuff
fan help?
Moderator: Moderators
fan help?
In a battle never ever look back. If you ever need help drop but dont stop. Keep going! A battle is not won over the luck if you shoot someone or if they shoot you its about the men beside you. They help you, they put pride in you, and they guide you.
This is to my Bro that was lost in Desert Storm.
UNITY.BROTHERHOOD.PEACE
This is to my Bro that was lost in Desert Storm.
UNITY.BROTHERHOOD.PEACE
You need to add a move command after the $fan1 rotatey 325
.
.
Do you need to bind all the parts later why not just make it from brushes choose all the parts and then select script_object from the menu and give it just one Targetname . If you where makeing a larger object that does not spin in the middle you can make a part that has the origin texture on it and choose all the parts includeing the origin brush and make that a script object and your object will spin around with the origin brush as its piviot point .fan1:
$blade1 bind $fan1
$blade2 bind $fan1
$blade3 bind $fan1
$blade4 bind $fan1
$fan1 rotatey 325 // the number indicates the speed of the fans rotation. Use -325 to rotate the fan the other way.
$fan1 move
end
lol whoops
o ya and my uncle told me that in order for the fan to work dont u have to put a trigger at the player start?
target/fan1?
o ya and my uncle told me that in order for the fan to work dont u have to put a trigger at the player start?
target/fan1?
In a battle never ever look back. If you ever need help drop but dont stop. Keep going! A battle is not won over the luck if you shoot someone or if they shoot you its about the men beside you. They help you, they put pride in you, and they guide you.
This is to my Bro that was lost in Desert Storm.
UNITY.BROTHERHOOD.PEACE
This is to my Bro that was lost in Desert Storm.
UNITY.BROTHERHOOD.PEACE
fan1:
$blade1 bind $fan1
$blade2 bind $fan1
$blade3 bind $fan1
$blade4 bind $fan1
$fan1 rotateY 360
$fan1 move
end
You can also just put:
Key: rotateY
Value: 360
right in the properties of the script_object ($fan1). Then you would not need to script it at all. Unless you want the blades to do something different from the fan hub, they can be part of the $fan1 script_object as well.
$blade1 bind $fan1
$blade2 bind $fan1
$blade3 bind $fan1
$blade4 bind $fan1
$fan1 rotateY 360
$fan1 move
end
You can also just put:
Key: rotateY
Value: 360
right in the properties of the script_object ($fan1). Then you would not need to script it at all. Unless you want the blades to do something different from the fan hub, they can be part of the $fan1 script_object as well.

