collapse

Author Topic: Freezing Opponent  (Read 1455 times)

0 Members and 1 Guest are viewing this topic.

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
Freezing Opponent
« on: August 26, 2012, 05:52:37 PM »
Questions

  • How do I determine how long hes frozen for * SOLVED*

  • While P2 is frozen, How do I make it that when i try to freeze him again it will unfreeze him and take some of his life away...atm it just going straight through him

This is the code below
(click to show/hide)

It's basically the same as binho's sub zero.  It's not fully finished on my part.

If you didn't understand anything I said, just ask
« Last Edit: August 27, 2012, 12:19:27 PM by A! »


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 Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Freezing Opponent
« Reply #1 on: August 27, 2012, 12:27:50 AM »
You have it set up so it's meant to go through him. P2 is in state 1096 so the hitdef doesn't activate. Do this

trigger1 = time = 0
p2stateno = 1096
p2getp1state = ifelse(p2stateno = 1096,0,1)

p2getp1state is a boolean which defines whether the opponent should be custom stated or not. In this case if they are in 1096 it's 0, and will hit but not freeze. If they're not in 1096 it's 1, so will receive the custom state.

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: Freezing Opponent
« Reply #2 on: August 27, 2012, 02:28:41 PM »
Thanks man, it works great now.  Only have one problem now, both helpers are not hitting each other instead there through each other.  I added a 'hitby' but that just froze both helpers then made a clone...







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 Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Freezing Opponent
« Reply #3 on: August 28, 2012, 03:22:00 AM »
You need a hitoverride for projectiles.

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: Freezing Opponent
« Reply #4 on: August 28, 2012, 03:55:04 PM »
Yeah tried that it doesn't work well for this kind of projectile, must have something to do with posfreeze...anyway thanks for the help i'll probably figure something out
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."

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 Lord_Enemil
[June 15, 2024, 08:23:51 PM]


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]

* 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