collapse

Author Topic: Launcher Code  (Read 847 times)

0 Members and 1 Guest are viewing this topic.

Offline DizzyTheConquer

  • Novice Animator
  • Database Moderator
  • *****
  • Posts: 1905
  • Country: United States us
  • Last Login:February 23, 2018, 07:37:31 PM
  • Amateur Animator, Editor, Game Programmer
    • Story-Arc Animations
Launcher Code
« on: November 09, 2008, 01:36:10 PM »
Ok, I got this launcher code from fallen angel

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

Now, I don't know where to put it. Does it go into the cns, the cmd, of both. Please help me because my head is hurting so much from this.

note: I got the super jump in byakkos kyosuke



Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: Launcher Code
« Reply #1 on: November 09, 2008, 01:38:17 PM »
put it on the statedef of the launcher, what that part makes, its that when you press up, you do the superjump


sig made by shullbocka

Offline DizzyTheConquer

  • Novice Animator
  • Database Moderator
  • *****
  • Posts: 1905
  • Country: United States us
  • Last Login:February 23, 2018, 07:37:31 PM
  • Amateur Animator, Editor, Game Programmer
    • Story-Arc Animations
Re: Launcher Code
« Reply #2 on: November 09, 2008, 01:40:36 PM »
put it on the statedef of the launcher, what that part makes, its that when you press up, you do the superjump
The only problem is that I want the launcher to be state 225. so do I plug it in their?

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: Launcher Code
« Reply #3 on: November 09, 2008, 02:36:35 PM »
add that code to statedef 225


sig made by shullbocka

Offline DizzyTheConquer

  • Novice Animator
  • Database Moderator
  • *****
  • Posts: 1905
  • Country: United States us
  • Last Login:February 23, 2018, 07:37:31 PM
  • Amateur Animator, Editor, Game Programmer
    • Story-Arc Animations
Re: Launcher Code
« Reply #4 on: November 09, 2008, 02:41:58 PM »
add that code to statedef 225
Ok, I added the code

Code: [Select]
; close heavy punch
[Statedef 225]
type = S
movetype = A
physics = S
anim = 225
velset = 0
ctrl = 0
poweradd = 20
juggle = 8

[State 200, SFX]
type = PlaySnd
trigger1 = AnimElem = 4
value = 200,8
channel = 2

[State 225, 1]
type = HitDef
trigger1 = 1
attr = S, NA
damage = ceil((1+.01*(power>=1000)+.01*(power>=2000)+.03*(power>=3000)+.15*(life<=300)) * 70),0
animtype = Hard
guardflag = M
hitflag = MAF
priority = 5, Hit
getpower = 40,160
pausetime = 12,14
sparkno = S(8003+random%7)
guard.sparkno = S8030
sparkxy = -5, -55
hitsound = S5,1
guardsound = S6,0
ground.type = High
ground.slidetime = 12
ground.hittime  = 24
ground.velocity = -10
air.velocity = -6,-5
persistent = 0

[State 225, 2]
type = ChangeState
trigger1 = AnimTime = 0
value = 713;ifelse((var(58)&&random<300),1000,ifelse((var(58)&&random<500),1100,0))
ctrl = 1

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

No Launching is happening.

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: Launcher Code
« Reply #5 on: November 09, 2008, 03:01:17 PM »
you need to modify the hitdef, change the groundvelocity  and the airvelocity, make the value something like x,-y (y has to be negative to make the enemy go up

and to make it look good change the animtype to up


sig made by shullbocka

Offline DizzyTheConquer

  • Novice Animator
  • Database Moderator
  • *****
  • Posts: 1905
  • Country: United States us
  • Last Login:February 23, 2018, 07:37:31 PM
  • Amateur Animator, Editor, Game Programmer
    • Story-Arc Animations
Re: Launcher Code
« Reply #6 on: November 09, 2008, 03:40:40 PM »
you need to modify the hitdef, change the groundvelocity  and the airvelocity, make the value something like x,-y (y has to be negative to make the enemy go up

and to make it look good change the animtype to up
IT WORKS!!! Kyosuke by Byakko is now MvC official now. Thnx Fallen Angel!

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: Launcher Code
« Reply #7 on: November 09, 2008, 07:45:15 PM »
your welcome ::salute::


sig made by shullbocka

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

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


[BOR] _Avengers United Battle Force_ by O Ilusionista
[June 03, 2024, 03:13:51 PM]


Mega Man & Bass - Dynamo Man by Sir Rousseau by O Ilusionista
[June 03, 2024, 03:09:50 PM]


D2TD VS Showcase Thread by D2TD
[May 31, 2024, 11:44:23 AM]


Lasombra's IKEMEN Go Interactive Stages' WIP Topic and Releases by Lasombra Demon
[May 26, 2024, 07:39:11 PM]


TMNT Hong Kong Stage for 1.0 & 1.1 Re-Release by LightFlare
[May 24, 2024, 01:44:07 PM]


Captain Commando Stage Pack by Vegaz by LightFlare
[May 24, 2024, 09:20:05 AM]


Street Fighter 1 Ultimate Ryu by ELECTRO
[May 22, 2024, 03:58:25 PM]


China Town (Revenge of Shinobi) by Lord_Enemil
[May 22, 2024, 03:02:10 PM]


Neon Light Force Demo by Uche_of_IMT
[May 22, 2024, 10:21:37 AM]

* 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