YesNoOk
avatar

How do you fix an opponent's freezing position? (Read 1669 times)

Started by Fighting Toys Freak, February 09, 2014, 05:56:03 am
Share this topic:
How do you fix an opponent's freezing position?
#1  February 09, 2014, 05:56:03 am
  • **
  • New changes, new me!
I want a particular skill that is executed from a character to fix a foe's position when the move successfully hits the foe.  In effect, I will like for the foe who is hit by the move to remain at his position for a certain amount, even if he is hit by  subsequent moves. Is this techinque possible to execute in mugen? If so, I would like you to provide an example of a code or state that executes this, or any other suggestions?
Re: How do you fix an opponent's freezing position?
#2  February 09, 2014, 05:57:57 am
  • ******
  • 日本は素晴らしい国です。
Check out any Dio Brando, they usually have time freeze moves that operate under the same idea.
Re: How do you fix an opponent's freezing position?
#3  February 09, 2014, 05:59:02 am
  • ******
  • tired
    • Skype - Istillhasnoname
RicePigeon's Sakuya also has a similar move that probably has more up-to-date coding than most of the Dios.
Is finding MUGEN to be more enjoyable to play when you're not wearing clothes an underrated opinion?
Re: How do you fix an opponent's freezing position?
#4  February 09, 2014, 06:07:35 am
  • **
  • New changes, new me!
Check out any Dio Brando, they usually have time freeze moves that operate under the same idea.
What are Dio Brando characters? Also, I like for the code or state to be original, not one  that I would have to analyize and to copy.
Re: How do you fix an opponent's freezing position?
#5  February 09, 2014, 06:09:30 am
  • ******
  • 日本は素晴らしい国です。
There are three Dios in mugen, by several authors. All of them have timefreeze moves.


If you get a Rubber soul character they also have a trap move.
Re: How do you fix an opponent's freezing position?
#6  February 09, 2014, 06:13:16 am
  • **
  • New changes, new me!
Re: How do you fix an opponent's freezing position?
#7  February 09, 2014, 06:23:34 am
  • ****
  • Cosmic Creations
  • The Living Dynamo
    • USA
    • electroslair.blogspot.com/
If you want your opponent to freeze where he is at when he is hit, for example sub zero freeze, then you need to put the opponent into a custom state. To send an opponent to a custom state you need to add P2stateno to the HitDef like this :

[State 88910, HitDef]
type = HitDef
trigger1 = !time
attr = S, SP
animtype  = light
damage    = 70,0
getpower = 0,0
givepower = 0,0
hitflag = MA
guardflag = MA
;affectteam=B
pausetime = 5,5
sparkno = -1
sparkxy = 0,0
hitsound   = 31,random%3
guardsound = S2, 6
guard.sparkno = S711
ground.type = high
ground.slidetime = 21
ground.hittime  = 24
ground.velocity = -3,-7
guard.slidetime = 11
guard.hittime = 11
airguard.velocity = 0
guard.velocity = 0
air.velocity = -4,-5
air.fall = 1
p2stateno = 88912  ;state number your opponent goes to. Change to whatever number you decide the custom state will be.
fall.recovertime = 28
ID = 88910

Then make the custom state for your opponent and add this somewhere in there :

[State 88910, PosFreeze]
type = PosFreeze
trigger1 = time <= 20 :will freeze opponent for 20 miliseconds. Change the time to however long you want them to be frozen.
value = 1
Re: How do you fix an opponent's freezing position?
#8  February 09, 2014, 06:40:20 am
  • ******
  • Loyal to the Game
    • USA
    • http://jesuszilla.trinitymugen.net/
RicePigeon's Sakuya also has a similar move that probably has more up-to-date coding than most of the Dios.

Logic error.


But yes, Warusaki3's DIO would probably be a good reference (go to the MugenGuild database). The previous code snippet only works for the first time, and you say you want them to be frozen for a certain period of time regardless of how many times they get hit afterwards.


Also


[State 88910, PosFreeze]
type = PosFreeze
trigger1 = time <= 20 :will freeze opponent for 20 miliseconds. Change the time to however long you want them to be frozen.
value = 1
That's not 20ms. That's 2/6 of a second. Big difference.