Page 1 of 1

Rotor blades

Posted: Sun Feb 16, 2003 9:11 pm
by Yarik
How do you umake it spin faster then it spins? I have a blade spining tut

but i dont know how to make it faster or slower.

Code: Select all

fan1:
	$blade1 bind $fan1
	$blade2 bind $fan1
	$blade3 bind $fan1
	$blade4 bind $fan1
	$fan1 rotatey 325
end
so how do i?

Posted: Sun Feb 16, 2003 9:27 pm
by jv_map
Try increasing the 325. I think it's in degrees per second.

This is scripting by the way :wink:

Posted: Sun Feb 16, 2003 9:30 pm
by Yarik
one more thing how do you add sound?

Posted: Sun Feb 16, 2003 9:31 pm
by Yarik
I mean like not music but specific sound

Posted: Sun Feb 16, 2003 11:10 pm
by TheShiznaeSpe
well a

Code: Select all

playsound "sound/whatever/whatever.wav"
would work, but you's need to follow jv_map's ubersound work-around or edit the ubersound itself

EDIT: SRY, I ALWAYS MAKE THOS LITTLE TYPOS

Posted: Mon Feb 17, 2003 12:32 am
by Yarik
Yea i know i can follow that later . You forgot to add the / at the end like this [/code]

like this

Code: Select all

asdasd

Posted: Wed Feb 19, 2003 12:38 am
by Yarik
One more thing i get it to spin only on the X-Axis

Code: Select all

$fan1 rotatey 325 
Is there another code or piece of strinf i can add to make it spin on the Y-Axis?

Posted: Wed Feb 19, 2003 7:20 am
by jv_map
Try rotatex or rotatez :roll:

Posted: Wed Feb 19, 2003 5:10 pm
by Yarik
thanks man. Where do you find these terms? Is it in teh g_allclass or Basic Scripts

Posted: Thu Feb 20, 2003 7:15 am
by jv_map
g_allclasses -> all server game classes and commands.