Post your scripting questions / solutions here
Moderator: Moderators
-
Yarik
- General
- Posts: 1031
- Joined: Thu Jan 09, 2003 7:12 pm
-
Contact:
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?
-
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

-
Yarik
- General
- Posts: 1031
- Joined: Thu Jan 09, 2003 7:12 pm
-
Contact:
Post
by Yarik »
one more thing how do you add sound?
-
Yarik
- General
- Posts: 1031
- Joined: Thu Jan 09, 2003 7:12 pm
-
Contact:
Post
by Yarik »
I mean like not music but specific sound
-
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
-
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
Is there another code or piece of strinf i can add to make it spin on the Y-Axis?
-
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

-
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
-
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.