collapse

Author Topic: new punch  (Read 291 times)

0 Members and 1 Guest are viewing this topic.

Offline warecus

  • Infinity Regular
  • ****
  • Posts: 1466
  • Country: Japan jp
  • Last Login:January 22, 2023, 01:28:41 AM
new punch
« on: January 08, 2009, 12:51:05 AM »
hello everyone I hope someone can help, here goes can anyone tell me how to make my character like acey's super eoh hulk so that when i hit p2 with a fierce punch he flies towards the other end of the stage and my char chases



Offline bdcirck

  • Initiate
  • **
  • Posts: 154
  • Last Login:March 23, 2013, 11:48:21 AM
    • Email
Re: new punch
« Reply #1 on: January 09, 2009, 08:07:51 AM »
I have created the follow code for my Quasar when he turns into the hulk. The
[State 0, ScreenBound]
type = ScreenBound
trigger1 = 1
value = 0
movecamera = 0,0
;ignorehitpause =
;persistent =

makes it possible to hit the oppenent of the screen and statenumber 3003 make the character run back into the screen. See code below

[State 3002, 1]
type = HitDef
trigger1 = AnimElem = 12
attr = S, HA
damage = 700,30
animtype = Hard
guardflag = MA
hitflag = MAF
priority = 3, Hit
pausetime = 10, 10
sparkno = 0
sparkxy = -10, -76
hitsound = 5, 0
guardsound = 6, 0
ground.type = High
ground.slidetime = 5
ground.hittime  = 24
ground.velocity = -80,0
airguard.velocity = -80,0
air.type = High
air.velocity = -40,0
air.hittime = 12
fall=1
ground.cornerpush.veloff = 0
air.cornerpush.veloff = 0
down.cornerpush.veloff = 0
guard.cornerpush.veloff = 0
airguard.cornerpush.veloff = 0

[State 0, ScreenBound]
type = ScreenBound
trigger1 = 1
value = 0
movecamera = 0,0
;ignorehitpause =
;persistent =




[State 0, NotHitBy]
type = NotHitBy
trigger1 = 1
trigger1 =  time > 12
value = SCA,NA,SA,HA,NP,SP,HP,NT,ST,HT
;value2 = S,NA
time = 1
;ignorehitpause =
;persistent =


[State 3001, End]
type = ChangeState
trigger1 = animtime=0
trigger1 = BackEdgeBodyDist > -1
value = 0
ctrl = 1

[State 3001, End]
type = ChangeState
trigger1 = animtime=0
trigger1 = BackEdgeBodyDist < -1
value = 3003
ctrl = 1

[Statedef 3003]
type = S
physics = S
anim = 100

[State 0, ScreenBound]
type = ScreenBound
trigger1 = 1
value = 0
movecamera = 0,0
;ignorehitpause =
;persistent =

[State 100, 1]
type = VelSet
trigger1 = 1
x = const(velocity.run.fwd.x)

[State 100, assert]
type = AssertSpecial
trigger1 = 1
flag = nowalk

[State 100, 2]
type = ChangeState
trigger1 = BackEdgeBodyDist > 30
value = 0

Offline Buddah

  • Initiate
  • **
  • Posts: 119
  • Last Login:May 17, 2020, 01:09:18 PM
  • Its Been So Long
    • Email
Re: new punch
« Reply #2 on: January 09, 2009, 11:06:12 AM »
is this opensource??
Dont Gamble With Your Life If Your Not Cheating

Offline bdcirck

  • Initiate
  • **
  • Posts: 154
  • Last Login:March 23, 2013, 11:48:21 AM
    • Email
Re: new punch
« Reply #3 on: January 09, 2009, 04:34:11 PM »
lol your kiddin right? This is Mugen scripting all the scripts where made standard so that everyone can easilly create characters. If you had tried to make it (and successed) then there was a 99% change that you had the exact same code. If you would consider these code to be closed source then only 1 person could make that kind of attack witch is completly insane (because like I stated there is a 99% change you had made the same code). As long as I haven't compiled my code/scripts I consider it to be open source and if you can safe hours/weeks of trying by just coping go right ahead (I actually made the script myself since I am a developer and find these small challenges fun to do.). The only thing I consider to be closed source are the custom made sprites. lol and people still wonder why I went private with my stuff  :D.

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

Classic VS : Cheng / Athena by ELECTRO
[June 13, 2024, 03:03:58 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]


[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]

* 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

No calendar events were found.
SimplePortal 2.3.5 © 2008-2012, SimplePortal