collapse

Author Topic: How to add superjump to a char  (Read 9057 times)

0 Members and 1 Guest are viewing this topic.

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
How to add superjump to a char
« on: September 29, 2007, 11:42:09 PM »
I've read many users asking  for the superjump, so I decided to make a little tutorial, fist these goes in the cns

Code: [Select]
;Super Jump
[Statedef xxx]; change these for the number that you want
type = A
movetype = I
physics = N
anim = 40 ; these is the jump anim
velset = 0,0
ctrl = 0


[State 0, ]
type = VarSet
trigger1 = Time = 0
sysvar(1) = 0

[State 0, ]
type = VarSet
trigger1 = command = "holdfwd"
sysvar(1) = 1

[State 0, ]
type = VarSet
trigger1 = command = "holdback"
sysvar(1) = -1

[State 0, ]
type = VelSet
trigger1 = animtime = 0
x = ifelse(sysvar(1)=0, const(velocity.jump.neu.x), ifelse(sysvar(1)=1, const(velocity.jump.fwd.x), const(velocity.jump.back.x)))
y = const(velocity.jump.y)*1.7 ; you can change these value, to make it fit how you want the superjump


[State 0, ]
type = ChangeState
trigger1 = animtime = 0
value = 50
ctrl = 1

and these goes in the cmd


[Command]
name = "DU"
command = D, U
time = 10

[State -1, super jump ]
type = ChangeState
value = xxx
trigger1 = command = "DU"
trigger1 = ctrl ; these means that you can make the move when you control the char
trigger1 = statetype != A ; these is to make that you cant use the superjump while you are in the air
; If you want to make a launcher you can use these
trigger2 = (stateno = yyy) && (movehit) && (command = "holdup") ;yyy right here is the stateno for your lancher

If you have any question about these I will try to help you
« Last Edit: January 16, 2008, 10:16:54 AM by Fallen_Angel »




sig made by shullbocka

Offline A!

  • Novice Coder
  • Infinity Regular
  • ****
  • Posts: 1318
  • Country: United Kingdom gb
  • Last Login:August 03, 2019, 06:10:28 PM
  • Don't Hate If You Cant Create
Re: How to add superjump to a char
« Reply #1 on: September 30, 2007, 01:56:59 PM »
does this tell you how high you want him to jump to because what if i want him to jump higher than he usualy does.... talkin about editing a character
A guy told me one time, "Don't let yourself get attached to anything you are not willing to walk out on in 30 seconds flat if you feel the heat around the corner."

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: How to add superjump to a char
« Reply #2 on: September 30, 2007, 04:11:15 PM »
the code that I put is, the superjump from marvel vs capcom, if you want to change the normal jump, in the cns you have to edit these value.

[Movement]
airjump.num = 2    ;Number of air jumps allowed (opt)
airjump.height = 50  ;Minimum distance from ground before you can air jump (opt)
yaccel = .44         ;Vertical acceleration
stand.friction = .85  ;Friction coefficient when standing
crouch.friction = .82 ;Friction coefficient when crouching



sig made by shullbocka

Offline A!

  • Novice Coder
  • Infinity Regular
  • ****
  • Posts: 1318
  • Country: United Kingdom gb
  • Last Login:August 03, 2019, 06:10:28 PM
  • Don't Hate If You Cant Create
Re: How to add superjump to a char
« Reply #3 on: September 30, 2007, 04:13:29 PM »
Quote
airjump.height = 50  ;Minimum distance from ground before you can air jump (opt)

so this is how high he goes up
A guy told me one time, "Don't let yourself get attached to anything you are not willing to walk out on in 30 seconds flat if you feel the heat around the corner."

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: How to add superjump to a char
« Reply #4 on: September 30, 2007, 09:06:31 PM »
Tupac, youre right thats it


sig made by shullbocka

Offline puissance

  • New Member
  • *
  • Posts: 2
  • Last Login:December 25, 2016, 03:48:33 AM
Re: How to add superjump to a char
« Reply #5 on: November 06, 2007, 09:41:49 PM »
Hi Fallen Angel,

I tried your superjump technique on several characters and it worked flawless.  Thank you so much.  However, when I tried putting the code on Ryu LVL2, he keeps doing the superjump without me doing anything.     Hope you can help me out on this.   I am very much a newbie, so I am learning as I go.  Thanks

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: How to add superjump to a char
« Reply #6 on: November 07, 2007, 09:11:20 AM »
puissance, I think that the error could be that you are repeating the statedef number, try changin it, if it still doesnt work, send me the char and I will tell you what is the problem


sig made by shullbocka

Offline megaman781

  • Initiate
  • **
  • Posts: 185
  • Last Login:September 07, 2018, 11:58:50 PM
  • Capcom baby!!!
    • Email
Re: How to add superjump to a char
« Reply #7 on: November 07, 2007, 02:34:11 PM »
do you know what can go here: value = xxx
some characters get the super jump, but the normal jump is the same as the super what can i do?
Damn!!

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: How to add superjump to a char
« Reply #8 on: November 07, 2007, 04:13:13 PM »
do you know what can go here: value = xxx
some characters get the super jump, but the normal jump is the same as the super what can i do?


the value has to be the same number as the statedef.

I dont know what could be the problem. Can you tell me one char that has the problem??.

maybe the problem could be these


[Movement]
airjump.num = 2    ;Number of air jumps allowed (opt)
airjump.height = 50  ;Minimum distance from ground before you can air jump (opt)
yaccel = .44         ;Vertical acceleration
stand.friction = .85  ;Friction coefficient when standing
crouch.friction = .82 ;Friction coefficient when crouching


sig made by shullbocka

Offline M79

  • Initiate
  • **
  • Posts: 31
  • Last Login:May 27, 2012, 11:18:03 AM
    • Emuparadise
    • Email
Re: How to add superjump to a char
« Reply #9 on: November 20, 2007, 07:17:29 PM »
I uh, cut and pasted the information into the right files, saved, and I never got any super jump. =\
I'm in your computerz.......lurkin' ur internetz.

Offline nick09

  • Contributor
  • ****
  • Posts: 3481
  • Last Login:December 21, 2011, 10:16:38 PM
  • Avatar Credit to CD.
    • Nick09's creations
    • Email
Re: How to add superjump to a char
« Reply #10 on: November 20, 2007, 07:37:28 PM »
you can't just cut and paste...... :-"

Offline M79

  • Initiate
  • **
  • Posts: 31
  • Last Login:May 27, 2012, 11:18:03 AM
    • Emuparadise
    • Email
Re: How to add superjump to a char
« Reply #11 on: November 20, 2007, 07:49:25 PM »
you can't just cut and paste...... :-"
What exactly do I do then?  :|
I'm in your computerz.......lurkin' ur internetz.

Offline nick09

  • Contributor
  • ****
  • Posts: 3481
  • Last Login:December 21, 2011, 10:16:38 PM
  • Avatar Credit to CD.
    • Nick09's creations
    • Email
Re: How to add superjump to a char
« Reply #12 on: November 20, 2007, 08:03:53 PM »
read the coding.

see the x's here?

Code: [Select]
;Super Jump
[Statedef xxx]; change these for the number that you want

it can't just be x's.

also the
[State 0, ]

in the cns each must be like

for example.
[State 0, 0], [State 0, 1]

and so on.

Offline dimension_w

  • Initiate
  • **
  • Posts: 14
  • Last Login:May 17, 2008, 07:48:11 AM
  • Dimension W is coming to Mugen! Punishous WIP 50%
    • Email
Re: How to add superjump to a char
« Reply #13 on: November 20, 2007, 08:16:55 PM »
I've done it no problem. But I was wondering how you make it so you can super jump diagonally left and right as well, if I want my char to be able to leap over tall enemies. Jumping straight up doesn't really help :)

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: How to add superjump to a char
« Reply #14 on: November 21, 2007, 12:12:07 AM »
I uh, cut and pasted the information into the right files, saved, and I never got any super jump. =\

change al the xxx , for numbers like 123, or whaterever just make sure to not repeat statedef



I've done it no problem. But I was wondering how you make it so you can super jump diagonally left and right as well, if I want my char to be able to leap over tall enemies. Jumping straight up doesn't really help :)

If you noly want to make the superjump diagonally modify the vel on x. but if you want to make the superjump that can move in the air (its like diagonally), you can add these to your statedef -3, these code will add velocity to your jump


[State -3,veladd]
type = Veladd
triggerall =command = "holdfwd"
triggerall = prevstateno = xxx ; the superjumo state
trigger1 = stateno = 50; jump state
x = .2 ; maybe you need to modify these value

[State state-3,veladd]
type = Veladd
triggerall =command = "holdback"
triggerall = prevstateno = xxx
trigger1 = stateno = 50
x = -.2

the code means that when you made the superjump, if you hold fwr or back while you are jumping you will add velocity to your char

I hope that helps. :w00t:


sig made by shullbocka

Offline dimension_w

  • Initiate
  • **
  • Posts: 14
  • Last Login:May 17, 2008, 07:48:11 AM
  • Dimension W is coming to Mugen! Punishous WIP 50%
    • Email
Re: How to add superjump to a char
« Reply #15 on: November 21, 2007, 09:39:33 AM »
It works perfectly. Thanks mate. :w00t:

Offline dimension_w

  • Initiate
  • **
  • Posts: 14
  • Last Login:May 17, 2008, 07:48:11 AM
  • Dimension W is coming to Mugen! Punishous WIP 50%
    • Email
Re: How to add superjump to a char
« Reply #16 on: November 22, 2007, 08:49:35 AM »
I have another little query.  ;) It sounds simple enough but I need to be sure, how would we go about adding in a dust cloud on the floor as you super jump? And also where would the plysnd go?

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: How to add superjump to a char
« Reply #17 on: November 22, 2007, 09:14:04 AM »
To make that you need to add an explod like these

[State xxx, x] ;Dust Spark
type = explod
trigger1 = Animelem = 1 ; the first sprite of the anim
anim = xxx ; the anim of the dust
pos = 0,0 ; the position, maybe you need to adjust these
sprpriority = 4
ownpal = 1

and for the sound use a playsnd, and use the same trigger ;)


sig made by shullbocka

Offline Jelux Da Casual

  • of the Old Guard
  • Infinity Administrator
  • *
  • Posts: 5324
  • Country: United States us
  • Last Login:March 25, 2024, 03:11:16 PM
  • 7/18/11 - Death of a Legend
    • JeluxDaCasual
    • Email
Re: How to add superjump to a char
« Reply #18 on: November 22, 2007, 05:35:51 PM »
how can i combine a launcher into this superjump? I know I can adjust the value of the attack's vertical, but can I add a chase value to it using this code?
(ಠ_益ಠ) (~_~) CAPCOM
    Fyro^                 ^Me
\(゜0゜)/  (╯°Д°)╯彡WOƆԀ∀Ɔ
(╯^_^)/*\(^o^╯)       WOƆԀ∀Ɔ

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: How to add superjump to a char
« Reply #19 on: November 22, 2007, 10:53:31 PM »
To make  a launcher you need to add these to the statedef of the hit

[state xxx, jump combo]
type = changestate
trigger1 = movehit ; when you hit the opponent
trigger1 = command = "holdup"
value = xxx ; the superjump state
ctrl = 1 ; these menas that you re-gain control


sig made by shullbocka

Offline Jelux Da Casual

  • of the Old Guard
  • Infinity Administrator
  • *
  • Posts: 5324
  • Country: United States us
  • Last Login:March 25, 2024, 03:11:16 PM
  • 7/18/11 - Death of a Legend
    • JeluxDaCasual
    • Email
Re: How to add superjump to a char
« Reply #20 on: November 23, 2007, 03:46:44 AM »
[State xxx, jump combo]
is xxx the superjump value or the attack's value, and at what part do I put this in?

(ಠ_益ಠ) (~_~) CAPCOM
    Fyro^                 ^Me
\(゜0゜)/  (╯°Д°)╯彡WOƆԀ∀Ɔ
(╯^_^)/*\(^o^╯)       WOƆԀ∀Ɔ

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: How to add superjump to a char
« Reply #21 on: November 23, 2007, 09:12:20 AM »
You can put whaterever number on the state xxx (for example state 123), it doesn't affect, its just to identify if you make a mistake, it would affect if it was statedef


you add these to the statedef of the hit


sig made by shullbocka

Offline MysticBlade

  • Initiate
  • **
  • Posts: 27
  • Last Login:March 22, 2008, 01:02:29 PM
    • Email
Re: How to add superjump to a char
« Reply #22 on: November 24, 2007, 12:21:39 PM »
sprpriority = 4

sprpriority is layer right?

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: How to add superjump to a char
« Reply #23 on: November 24, 2007, 10:52:51 PM »
sprpriority its the priority of the sprite,  :)


sig made by shullbocka

Offline MysticBlade

  • Initiate
  • **
  • Posts: 27
  • Last Login:March 22, 2008, 01:02:29 PM
    • Email
Re: How to add superjump to a char
« Reply #24 on: November 25, 2007, 02:48:51 AM »
ohhhh so i think i get it now. sprpriority 4 will follow after spripriority 3 is that correct?

Tags:
 


* IMT Facebook

Help us by Donating!

IMT Discord

Join us at our Discord! Click the image below!

* IMT Shoutbox

Sorry, this shoutbox does not exist.

* Recent Posts

SPIDER-VERSE THE AMAZING MUGENSTORY©EPISODE 10 "THE OTHERVERSE" 1080P BY REB3LTV by Rage
[March 27, 2024, 02:44:21 PM]


D2TD VS Showcase Thread by D2TD
[March 24, 2024, 11:09:37 AM]


Tree Of Erebus Stage 1.1 & 1.0 by MatreroG
[March 22, 2024, 08:13:48 AM]


.Batzarro's. Sprite Edits by MatreroG
[March 20, 2024, 07:58:08 AM]


World Heroes 2 Shura Stage by Vegaz by LightFlare
[March 19, 2024, 12:44:28 PM]


MOVED: Prepare your ****! ***** Soldier gets his **** ready in MUGEN! by Rage
[March 18, 2024, 11:08:23 AM]


[WIP] Pocket Dimensional Clash 2 by O Ilusionista
[March 14, 2024, 01:34:08 PM]


R.I.P. Akira Toriyama "Dragonball Legend" by Rage
[March 12, 2024, 03:01:39 PM]


DBFZ Rocky Field (noon) by jafar
[March 10, 2024, 11:59:23 PM]


World Heroes 2 Neo Geegus Stage by Vegaz by LightFlare
[March 09, 2024, 11:04:56 AM]

* IMT Calendar

March 2024
Sun Mon Tue Wed Thu Fri Sat
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 [28] 29 30
31

SimplePortal 2.3.5 © 2008-2012, SimplePortal