Cutstuff Forum
Mega Man 8-bit Deathmatch => Help & Editing => Topic started by: Laggy Blazko on May 30, 2012, 04:17:19 PM
-
Is there a way to make a speed power up not make the player fuzzy, or at least a way to disable that after you use it?
-
The trail? Um...That's native...there might be an option for it, but as far as I know it cannot be disabled.
-
Use this
script 732 (int speed) //change 732 to something else
{
if(speed==1){
SetActorProperty(0,APROP_SPEED,0.64); //replace 0.64 with your new speed
}
if(speed==0){
SetActorProperty(0,APROP_SPEED,1.0);
}
}
And in the weapon:
XXXX A 0 ACS_ExecuteAlways(732,0,1) //replace 732 with above number
(###,0,1) for on
(###,0,0) for off
-
Yeah, I guess I'll use that.
Except I'll use it this way
Script 140 (int s)
{
SetActorProperty (0,APROP_Speed,s);
}
And in the weapon:
BW00 A 0 ACS_ExecuteAlways(140,0,65536/2)//Half speed
Thanks for your help!
EDIT: How did you know I was going to use it on a weapon?
-
EDIT: How did you know I was going to use it on a weapon?
I just assumed. I knew it would have to be done this way cause it's how scorch wheel and Trollman's CSCC class does it.