Rotor blades

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Yarik
General
Posts: 1031
Joined: Thu Jan 09, 2003 7:12 pm
Contact:

Rotor blades

Post 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?
Skype: Yarik_usa
www.skype.com <---free pc2pc phone
Image
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Try increasing the 325. I think it's in degrees per second.

This is scripting by the way :wink:
Image
Yarik
General
Posts: 1031
Joined: Thu Jan 09, 2003 7:12 pm
Contact:

Post by Yarik »

one more thing how do you add sound?
Skype: Yarik_usa
www.skype.com <---free pc2pc phone
Image
Yarik
General
Posts: 1031
Joined: Thu Jan 09, 2003 7:12 pm
Contact:

Post by Yarik »

I mean like not music but specific sound
Skype: Yarik_usa
www.skype.com <---free pc2pc phone
Image
TheShiznaeSpe
Major
Posts: 304
Joined: Wed Feb 05, 2003 11:45 pm
Location: US
Contact:

Post 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
Last edited by TheShiznaeSpe on Mon Feb 17, 2003 6:43 am, edited 1 time in total.
Yarik
General
Posts: 1031
Joined: Thu Jan 09, 2003 7:12 pm
Contact:

Post 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
Skype: Yarik_usa
www.skype.com <---free pc2pc phone
Image
Yarik
General
Posts: 1031
Joined: Thu Jan 09, 2003 7:12 pm
Contact:

Post 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?
Skype: Yarik_usa
www.skype.com <---free pc2pc phone
Image
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Try rotatex or rotatez :roll:
Image
Yarik
General
Posts: 1031
Joined: Thu Jan 09, 2003 7:12 pm
Contact:

Post by Yarik »

thanks man. Where do you find these terms? Is it in teh g_allclass or Basic Scripts
Skype: Yarik_usa
www.skype.com <---free pc2pc phone
Image
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

g_allclasses -> all server game classes and commands.
Image
Post Reply