collapse

Author Topic: Coding Help!  (Read 364 times)

0 Members and 1 Guest are viewing this topic.

Offline Hien

  • Initiate
  • **
  • Posts: 147
  • Last Login:April 08, 2014, 11:21:15 PM
Coding Help!
« on: June 19, 2009, 01:10:33 AM »
Well im coding a character right and i wanted to know.

How can i make a certain move chain into another move and so.

Like if i wanted My Hadoken ken to chain into a Shoryuken or Ultra or Super move how would i code that?



Offline Alexziq

  • Infinite Loyalist
  • *****
  • Posts: 2624
  • Last Login:November 10, 2017, 01:10:16 PM
    • Email
Re: Coding Help!
« Reply #1 on: June 19, 2009, 08:29:50 AM »
Well the move eventually will go back to stance. At the end of the starting state you should find a "changestate" its value will be "0" to go back to stance. You need to make that into a changestate that goes to the state number of the next move you want it to go into.

Offline Hien

  • Initiate
  • **
  • Posts: 147
  • Last Login:April 08, 2014, 11:21:15 PM
Re: Coding Help!
« Reply #2 on: June 19, 2009, 09:07:46 AM »
Well the move eventually will go back to stance. At the end of the starting state you should find a "changestate" its value will be "0" to go back to stance. You need to make that into a changestate that goes to the state number of the next move you want it to go into.
That helped out a little bit, but i mean like after i did a certain move i wanted to chain that move into a Super or somesort how would i do that

Example -> Hadoken into a Shoryuken or any other move

Offline Alexziq

  • Infinite Loyalist
  • *****
  • Posts: 2624
  • Last Login:November 10, 2017, 01:10:16 PM
    • Email
Re: Coding Help!
« Reply #3 on: June 19, 2009, 09:19:12 AM »
Do you know how to code the next Super?

Say the Hadoken is state number 1000, and the Shoryuken is state number 2000. You need a changestate in state number 1000 thats value=2000 so after the one move, it goes into the next one.

you could always create one long animation too, that has 2 differant hit definitions that trigger on the differant animation #'s as well.

Post Merge: June 19, 2009, 09:23:53 AM
If your taking two specials and making them into a Super, you need to copy the Hadoken, and Shoryuken code and make brand new state numbers for each, and change the damage in the hitdef, as well as add in all the hyper BG's and ports. If your not real familiar with code, you may just have to play around with it.
« Last Edit: June 19, 2009, 09:29:46 AM by ALEXZIQ »

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: Coding Help!
« Reply #4 on: June 19, 2009, 11:01:27 AM »
There are different ways of doing these, in the statedef of the hadouken you can add something like these

[State 0, Changestate]
type = Changestate
triggerall =animelem >=xxx       
trigger1 = command ="shoryuken"
value = xxxx

the triggerall makes that you can only change to the shoryuken, after certain frame of the animation

the trigger1 makes the change when you have made the shoryuken command

The value its the number of the statedef that you want to change


sig made by shullbocka

Offline El Chupacabras

  • Forum Member
  • ***
  • Posts: 315
  • Last Login:June 11, 2010, 04:34:36 PM
Re: Coding Help!
« Reply #5 on: June 19, 2009, 11:33:44 AM »
You can make moves or attacks chain into others by simply adding a trigger to the changestate in the cmd. For example, if you want to chain a shoryuken to a super, you go the super's changestate and add a trigger that'll look something like -

;Super Cool Move
[State -1, Super]
type = ChangeState
value = XXXX
triggerall = Command = "Difficult Command"
triggerall = power >= 1000
triggerall = statetype != A
... typical mumbo jumbo...
triggerZ = stateno = YYYY (shoryuken's state number)

... then you can add some animelemtime or other triggers to make the chain work better.

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

Virtual Bart Science Fair by Rage
[June 21, 2024, 01:25:51 PM]


Turn Battle - Mega Man Robot Master Mayhem by O Ilusionista
[June 18, 2024, 10:11:08 AM]


Classic VS : Cheng / Athena by O Ilusionista
[June 18, 2024, 10:10:26 AM]


Downtown Nekketsu Monogatari Stage Pack by Vegaz by LightFlare
[June 17, 2024, 02:30:12 PM]


Marvel vs. Capcom: Eternity of Heroes REMAKE Game Update 1.3.0 - N.A.O.H. by Uche_of_IMT
[June 10, 2024, 11:25:24 PM]


Street Fighter Spec Ops 2021 by O Ilusionista
[June 08, 2024, 01:36:06 PM]


Lasombra's IKEMEN Go Interactive Stages' WIP Topic and Releases by Lasombra Demon
[June 06, 2024, 07:34:10 PM]


Kirby the Dream Battle by O Ilusionista
[June 06, 2024, 01:04:12 PM]


Neo Geo Pocket by malevka2
[June 05, 2024, 10:53:57 AM]


[WIP] Pocket Dimensional Clash 2 by O Ilusionista
[June 03, 2024, 03:18:12 PM]

* IMT Calendar

June 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

SimplePortal 2.3.5 © 2008-2012, SimplePortal