collapse

Author Topic: Player2 Coding help...or other alternatives???  (Read 345 times)

0 Members and 1 Guest are viewing this topic.

Offline aPoCaLyPsE

  • :+:Simply Twist'D:+:
  • IMT Content Architect
  • *
  • Posts: 1022
  • Last Login:January 30, 2018, 06:11:39 PM
  • ...I spit blood before I speak...
    • -"aPoCaLyPsE's Bio... Enter with Caution..."
    • Email
Player2 Coding help...or other alternatives???
« on: January 01, 2008, 01:44:41 AM »
I was wondering if i can get a little guildance with coding a player two statedef. I'm working on a move where the final blow needs to hit the opponent to the opposite end of the screen. I tryied creating "HitVelSet"'s, "Targetbind"'s,  and "Targetstate" from the constants options but nothing works. I also need to know how to create a fire affect using the PalFX generator, I can make the character change colors (fire, ice, orange burn etc.) only thing is that it's my character that glows and not player 2 as he's being hit. What am I doing wrong?

I know changing the ground velocity creates distances btween me and the opponent, but I only want him to move with the last blow while the ground velocity of the other hits remain the same. help?

-"aPoC."





Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: Player2 Coding help...or other alternatives???
« Reply #1 on: January 01, 2008, 09:13:44 AM »
Check the kfm it makes the opponent go to the other side with an attack

To make the opponent glow with an attack, modify these values on the hitdef or projectil

palfx.time = 0
;palfx.mul = 0,0,0
;palfx.add = 0,0,0


sig made by shullbocka

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: Player2 Coding help...or other alternatives???
« Reply #2 on: January 02, 2008, 08:34:27 PM »
kfm (the char that cames with mugen), have an special that sends the enemy to the other side of the screen (If I remember well its the triple kung fu palm)


sig made by shullbocka

Offline Sub-Zero

  • Infinity Regular
  • ****
  • Posts: 1411
  • Last Login:July 18, 2010, 11:11:29 PM
  • When i move throught the Ghetto i drive slow
Re: Player2 Coding help...or other alternatives???
« Reply #3 on: January 02, 2008, 08:43:35 PM »
[Statedef 3000]
type    = S
movetype= A
physics = S
juggle  = 4
velset = 0,0
anim = 3000
ctrl = 0
sprpriority = 2

[State 3000, Width]
type = Width
trigger1 = AnimElem = 2, >= 0
value = 15,0

[State 3000, Super A]
type = SuperPause
trigger1 = AnimElem = 2, 1
pos = 25, -57
anim = 100
sound = 20, 0
poweradd = -1000

[State 3000, Super B]
type = AfterImage
trigger1 = AnimElem = 2, 1
time = 2

[State 3000, Super C]
type = AfterImageTime
trigger1 = AnimElemTime(2) >= 1 && Time < 60
time = 2

[State 3000, Super D]
type = NotHitBy
trigger1 = AnimElem = 2
value = , NA, SA, AT
time = 11

[State 3000, Super E]
type = NotHitBy
trigger1 = AnimElemTime(2) >= 0 && AnimElemTime(14) < 0
value2 = C, NA
time = 1

[State 3000, 1]
type = PlaySnd
trigger1 = AnimElem = 4
trigger2 = AnimElem = 12
trigger3 = AnimElem = 20
value = 0, 3

[State 3000, 2]
type = PosAdd
trigger1 = AnimElem = 2
x = 20

[State 3000, 3]
type = PosAdd
trigger1 = AnimElem = 3
trigger2 = AnimElem = 11
trigger3 = AnimElem = 13
trigger4 = AnimElem = 19
trigger5 = AnimElem = 21
trigger4 = AnimElem = 31
x = 10

[State 3000, 4]
type = VelSet
trigger1 = AnimElem = 5
trigger2 = AnimElem = 13
trigger3 = AnimElem = 21
x = 6

[State 3000, 4]
type = PosAdd
trigger1 = AnimElem = 5
x = 5

[State 3000, 5]
type = HitDef
trigger1 = AnimElem = 5
trigger2 = AnimElem = 13
attr = S, HA
animtype  = Hard
damage    = 72,4
getpower  = 0
priority  = 6
guardflag = MA
pausetime = 15,15
sparkxy = -10,-60
hitsound   = 5,4
guardsound = 6,0
ground.type = Low
ground.slidetime = 30
ground.hittime  = 30
ground.velocity = -6
air.velocity = -3,-2.8
air.fall = 1
fall.animtype = Hard
fall.recover = 0

[State 3000, 6]
type = HitDef
trigger1 = AnimElem = 21
attr = S, HA
animtype  = Hard
damage    = 75,4
getpower  = 0
priority  = 5
guardflag = MA
pausetime = 15,15
sparkxy = -10,-60
hitsound   = 5,4
guardsound = 6,0
ground.type = Low
ground.slidetime = 30
ground.hittime  = 30
ground.velocity = -5, -4
guard.velocity = -12
air.velocity = -5,-4
airguard.velocity = -3,-3
fall.animtype = Hard
fall = 1
fall.recover = 0

[State 3000, 7]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1


his triple palm send u far um there were chibi naruto mugen characters that wen they kick they could make p2 hit the wall but the original forum got hacked but here is temporary

http://z3.invisionfree.com/Naruto__Mugen/index.php?act=idx

most of the ppl that made naruto characters are here

Offline Sub-Zero

  • Infinity Regular
  • ****
  • Posts: 1411
  • Last Login:July 18, 2010, 11:11:29 PM
  • When i move throught the Ghetto i drive slow
Re: Player2 Coding help...or other alternatives???
« Reply #4 on: January 03, 2008, 07:57:57 PM »
WOW, Thanks for the insight Fallen Angel and Triumph. I'll be sure to figure it out now. I'll keep you posted.

-"aPoC."
O and ppl on that forum tend to be ASSES so if they say nething f**ked up to u message sub-zero

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

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]


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]

* 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