YesNoOk
avatar

How do i set the speed of VelSet? (Read 1564 times)

Started by NEMESI5, December 10, 2009, 08:00:41 pm
Share this topic:
How do i set the speed of VelSet?
#1  December 10, 2009, 08:00:41 pm
  • avatar
  • *
Whenever I use VelSet it moves my character too fast. How do i make it go slower.
Re: How do i set the speed of VelSet?
#2  December 10, 2009, 08:18:00 pm
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Please tell me you're kidding about that one? You've told your character to go fast. YOU set that value. Change it.


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: How do i set the speed of VelSet?
#3  December 10, 2009, 08:26:57 pm
  • avatar
  • *
Whats the Code? What is it called? i don't know how to do it. I want the speed of the Velset to be slower. I done Velset = 20, 0. My character goes right but he goes too fast. If I decrease it he moves less right.
Last Edit: December 10, 2009, 08:34:52 pm by NEMESI5
Re: How do i set the speed of VelSet?
#4  December 10, 2009, 08:46:17 pm
  • ******
    • www.mugenguild.com/pots/
Wow...
Use anything you want from my works.  If you need to contact me use email, not private messages.
Re: How do i set the speed of VelSet?
#5  December 10, 2009, 08:48:49 pm
  • ******
    • Bolivia
    • www.justnopoint.com/dshiznetz
adjust your horizontal velocity...
I wouldn't consider that a infinite since you have to make your opponent bounce of the wall and if you do it on the wrong side of the stage the stage interaction would activate.
Re: How do i set the speed of VelSet?
#6  December 10, 2009, 09:41:09 pm
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
[mcode]velset[/mcode]

CLICK IT.

You shouldn't have even had to POST this. Look it up. See what it does. I mean, 20 it goes too fast? Don't you think that maybe, just maybe, altering the numbers would give a different result?


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: How do i set the speed of VelSet?
#7  December 10, 2009, 09:54:19 pm
  • *****
  • Most dangerous person in Mugen
    • USA
    • caddie.smeenet.org
When I was starting out, the best way for me to learn was to take stuff like that and mess around with it myself. Ya, change the number to something smaller. Learn what it means, and read up on the docs when you can.

Velocity is the number of pixels that your character moves per frame(frames are also called "ticks" in Mugen). There are 60 "ticks" per second. With a velset of 20, your character is moving 1200 pixels every second. Ya, that's fast.
Re: How do i set the speed of VelSet?
#8  December 11, 2009, 06:01:40 pm
  • avatar
  • *
Its not working, look at my code

;HurricaneKickHard----------------------------------------------------------

[StateDef 8200]
type = S
movetype= A
physics = S
juggle  = 1
velset = 20, 0
ctrl = 0
anim = 8200
poweradd = 20
sprpriority = 2

[State 8200, 1]
type = HitDef
trigger1 = animelem = 2 || animelem = 6 || animelem = 10 || animelem = 14 || animelem = 18 || animelem = 20 || animelem = 22 || animelem = 24 || animelem = 26 || animelem = 28
attr = S, NA
damage = 20, 10
animtype = Light
guardflag = MA
hitflag = MAF
priority = 3, Hit
pausetime = 10, 10
sparkno = 0
sparkxy = -10, -76
hitsound = S1, 2
guardsound = S1, 3
ground.type = High
ground.slidetime = 0
ground.hittime  = 12
ground.velocity = -4
airguard.velocity = -1.9,-.8
air.type = High
air.velocity = -1.4,-3
air.hittime = 12

[State 8200, PlaySnd]
type = PlaySnd
trigger1 = animelem = 2 || animelem = 6 || animelem = 10 || animelem = 14 || animelem = 18 || animelem = 22 || animelem = 26
value = S0,1
volume = 10

[State 8200, end]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1


I done velset 20 and its moving about 20 pixels to the right but its going too fast. So i changed it to 200 and he moves all the way to the right 200 pixels and hes still going toooo fast. How do i change the speed of him traveling from point A to B.
Re: How do i set the speed of VelSet?
#9  December 11, 2009, 06:06:46 pm
  • *****
    • Mexico
Re: How do i set the speed of VelSet?
#10  December 11, 2009, 06:07:59 pm
  • ******
?? Why do you speed it up when you already think he goes too fast ? Don't you realize that 200 is higher than 20, so it will make him go faster ??
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.
Re: How do i set the speed of VelSet?
#11  December 11, 2009, 06:12:41 pm
  • avatar
  • *
If i change it to 200 he goes all the way across the screen. I only want him to move a little bit
Re: How do i set the speed of VelSet?
#12  December 11, 2009, 06:15:28 pm
  • ****
  • M.D.W.I.P.
    • Bahamas
    • www.mabskmk.webs.com
change to 2
Re: How do i set the speed of VelSet?
#13  December 11, 2009, 06:17:24 pm
  • ***
-.- OMG..you r the most stupid guyu i've ever seen....didnt you read??

"Velocity is the number of pixels that your character moves per frame(frames are also called "ticks" in Mugen). There are 60 "ticks" per second. With a velset of 20, your character is moving 1200 pixels every second. Ya, that's fast."

just put 2 or 3 on the VELSET!
Re: How do i set the speed of VelSet?
#14  December 11, 2009, 06:25:03 pm
  • ****
  • HAHAHAHAHAHAHAHA
    • Chile
Realize that a second = 60 tics. With a Velset of 4, for example, your character will move 4 x 60 = 240 Pixels.
Re: How do i set the speed of VelSet?
#15  December 11, 2009, 06:31:58 pm
  • ****
  • M.D.W.I.P.
    • Bahamas
    • www.mabskmk.webs.com
Re: How do i set the speed of VelSet?
#16  December 11, 2009, 06:41:55 pm
  • ***
it wasnt to you...I was talking With nemesis...but u wrote first so ur mesage appears before mine....SRRY I didnt meant to offend u  :'(
Re: How do i set the speed of VelSet?
#17  December 11, 2009, 06:42:40 pm
  • avatar
  • *
then how do i move my character 20 pixels to the right and make him go slowly?
Re: How do i set the speed of VelSet?
#18  December 11, 2009, 06:45:29 pm
  • ***
reading the docs maybe :)
Re: How do i set the speed of VelSet?
#19  December 11, 2009, 06:45:43 pm
  • ****
  • M.D.W.I.P.
    • Bahamas
    • www.mabskmk.webs.com
Re: How do i set the speed of VelSet?
#20  December 11, 2009, 06:51:21 pm
  • ******
then how do i move my character 20 pixels to the right and make him go slowly?
-Twenty pixels is very small. This is not what you want.
-See how many ticks the animation lasts, and divide by the total distance you want to travel, this will give you the number of pixels you have to travel per tick - that is, the velocity.
-Don't give physics = S to a move where you are in the air.
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.
Re: How do i set the speed of VelSet?
New #21  December 11, 2009, 08:10:11 pm
  • avatar
  • *
Done it, Thanks Byakko. I had to change the physics to N.
Last Edit: December 11, 2009, 08:25:59 pm by NEMESI5