YesNoOk
avatar

SLOW OR FAST HADOUKEN (Read 845 times)

Started by bonizuka, October 26, 2007, 09:33:55 am
Share this topic:
SLOW OR FAST HADOUKEN
#1  October 26, 2007, 09:33:55 am
  • avatar
  • **
is there a way to make it more slower or faster the hadouken even if you are using this kind of code? :S :S :S

;hadoken
[StateDef 1000]
type = S
movetype= A
physics = S
juggle  = 0
velset = 0,0
ctrl = 0
anim = 1000
poweradd=345

[State 900]
type = VarSet
trigger1 = time = 0
v = 10
value = ifelse(command = "QCF_z",2,ifelse(command = "QCF_x",1,0))

[State 0, PlaySnd]
type = PlaySnd
trigger1 = animelem = 2
value = S1000,0
channel = -1

[State 1000, Dust]
type = Explod
trigger1 = animelem = 5
anim = 10000
ID = 10000
pos = 10,2
postype = p1  ;p2,front,back,left,right
facing = 1
vfacing = 1
bindtime = 1
vel = -.5,0
accel = 0,0
random = 0,0
removetime = -2
supermove = 9999
pausemove = 9999
scale = .5,.8
sprpriority = 4
ontop = 0
shadow = 0,0,0
ownpal = 1
removeongethit = 100
ignorehitpause = 100
persistent =0


[State 0, Helper]
type = Helper
trigger1 = animelem = 5
;trigger2 = animelem = 8
trigger2 = animelem = 11
;trigger2 = animelem = 14
helpertype = normal ;player
name = "hadouken"
ID = 1000
stateno = 10990
pos = 60,-68
postype = p1    ;p2,front,back,left,right  edit
facing = 1
keyctrl = 0
ownpal = 0
sprpriority = 5
supermove =
pausemove =
Re: SLOW OR FAST HADOUKEN
#2  October 26, 2007, 09:41:24 am
  • ******
  • Limited time to use Infinite power !
    • France
    • network.mugenguild.com/cybaster/
The speed of the hadoken depends on the vel parameter you give to the helper.
Re: SLOW OR FAST HADOUKEN
#3  October 26, 2007, 02:57:15 pm
  • avatar
  • **
Re: SLOW OR FAST HADOUKEN
#4  October 26, 2007, 04:39:57 pm
  • ******
  • [E]
    • Mexico
post state

stateno = 10990

Re: SLOW OR FAST HADOUKEN
#5  October 27, 2007, 04:54:53 am
  • avatar
  • **
Last Edit: October 27, 2007, 05:49:11 am by bonizuka
Re: SLOW OR FAST HADOUKEN
#6  October 27, 2007, 07:56:24 am
  • ****
Look in the .cns and ctrl+F 'Statedef 10990' and post it.
Re: SLOW OR FAST HADOUKEN
#7  October 27, 2007, 08:29:58 am
  • avatar
  • **
Look in the .cns and ctrl+F 'Statedef 10990' and post it.
here sir.
Spoiler, click to toggle visibilty
Re: SLOW OR FAST HADOUKEN
#8  October 27, 2007, 08:33:23 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Quote
velset = ifelse(parent,var(10) = 2,7.2,ifelse(parent,var(10) = 1,6,4)),0

Thats your important line. Vels are 7.2, 6 and 4 respectively. Personally i'd have just used a float var and set that to the specific vel values. Oh well each to their own.

Change those 3 up or down as neccessary. 7.2 will be the strong one i imagine and 4 will be the weak.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: SLOW OR FAST HADOUKEN
#9  October 27, 2007, 08:42:54 am
  • avatar
  • **
Quote
velset = ifelse(parent,var(10) = 2,7.2,ifelse(parent,var(10) = 1,6,4)),0

Thats your important line. Vels are 7.2, 6 and 4 respectively. Personally i'd have just used a float var and set that to the specific vel values. Oh well each to their own.

Change those 3 up or down as neccessary. 7.2 will be the strong one i imagine and 4 will be the weak.
thank you  sir its working!!!