News:

MFG's Character of the Month: October 2026 Nominations

Main Menu

Fatalities (Desperate help!!!)

Started by DarkSpinDoctor, October 08, 2011, 08:37:44 PM

Previous topic - Next topic

Rajaa Retired

Explain "virtually fucking everything" and post the relevant codes. More information allows you to be assisted better.

DarkSpinDoctor

Quote from: Rajaa on October 08, 2011, 09:56:27 PM
Explain "virtually fucking everything" and post the relevant codes. More information allows you to be assisted better.

I copied the code from the tutorial, so all the coding is the same.

ChubbyPotato

You can also use juano16's characters coding as a assist tool too.  ;)
YouTube | Google

Spoiler: You want to know what really pisses me off? (click to show)
When someone releases an AWESOME character that end up having a fucking HARD, CHEAP, STRONG, UNBEATABLE, GOD HOLY A.I.

DarkSpinDoctor

Quote from: Raggie on October 08, 2011, 10:33:55 PM
You can also use juano16's characters coding as a assist tool too.  ;)

Ugh. I just looked. It's the most complex thing I've ever seen in MUGEN :/

DarkSpinDoctor

Here's what I used. For some reason, it doesn't bother going into the Finish Him state. To test, I use ctrl+F2 so I don't have to waste a whole round with no finish him.

Here's the .cmd code to execute finish him:

Spoiler (click to show)
; FINISH HIM creator
[State -1]
type = Changestate
trigger1 = Ctrl ;It must have the control.
trigger1 = P2Life <= 1 ;Life of P2 must be equal the 1.
trigger1 = NumHelper(7000) = 0 ;It cannot have another Helper as this.
trigger1 = P2StateNo != 49999 ;Opponent cannot be in Custom State.
trigger1 = RoundNo != 1 ;Round cannot be the first one.
trigger1 = var(24) >= 1 ;You must be to win one round before.
trigger1 = statetype = S ;P1 cannot be in air.
value = 10000

Cyanide

You need a few more things than just that. I have 2 guesses, var(24) is not 1. P2life is not 1. You should have far more code than what i see there.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

DarkSpinDoctor

Quote from: Cyanide on October 08, 2011, 11:17:04 PM
You need a few more things than just that. I have 2 guesses, var(24) is not 1. P2life is not 1. You should have far more code than what i see there.

I set p2life to 1 with ctrl+F2 for now, so I don't have to play a whole round yet.

Cyanide

Yes you do. Because it kicks in on round 2+ as it is meant to, and it requires a variable set. You probably have neither. But without more code (which you don't have?) we can't do that much. I could make what you have changestate. But it would happen every round regardless, and you'd still have issues.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

DarkSpinDoctor

Quote from: Cyanide on October 08, 2011, 11:27:18 PM
Yes you do. Because it kicks in on round 2+ as it is meant to, and it requires a variable set. You probably have neither. But without more code (which you don't have?) we can't do that much. I could make what you have changestate. But it would happen every round regardless, and you'd still have issues.

Can you send me a code to set var 24 to 1 after winning round 1? I think you're right about the var not kicking in. I have a code there in the win pose decider(State 180) but still no finish him. I even tried beating round 1 and 2 the correct way.  :???:

DarkSpinDoctor

Here's the coding of the win pose decider with the VarSet:

Spoiler (click to show)
; Win state decider
; CNS difficulty: basic
[Statedef 180]
type = S

[State 180, DisplayToClipboard]
type = DisplayToClipboard
trigger1 = !Time
text = "var(24) = %d"

[State 180, FinishHim?]
type = Varset
trigger1 = Win = 1
trigger1 = !Roundno >= 2
v = 24
value = 1

[State 180, 1]
type = ChangeState
trigger1 = Time = 0
value = 180+Random%3

Every time I win the round, Var 24 DOES NOT switch to 1!

Cyanide

vars are reset between rounds.

Go to the start of the .cns and look for

intpersistindex = 60

Set the value to 20. Then try again. (this isn't the best solution just the fastest)


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

DarkSpinDoctor

Quote from: Cyanide on October 09, 2011, 12:12:03 AM
vars are reset between rounds.

Go to the start of the .cns and look for

intpersistindex = 60

Set the value to 20. Then try again. (this isn't the best solution just the fastest)

It's set to 23. It's like vars hate me or something. >:/

Cyanide

Then the variable is being reset somewhere else. Turn on displaytoclipboard in state -2 and use the value of the variable as a parameter. See whether it's being set at all, then see if/when it's turning off.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

DarkSpinDoctor

Quote from: Cyanide on October 09, 2011, 12:22:39 AM
Then the variable is being reset somewhere else. Turn on displaytoclipboard in state -2 and use the value of the variable as a parameter. See whether it's being set at all, then see if/when it's turning off.

[State -2, DisplayToClipboard]
type = DisplayToClipboard
trigger1 = 1
text = "var(24) = %d"

Nothing appears in the debug field. I even used ctrl-f to search for any varsets that switch to 0 and there are none. It's like Roger is possessed or something. >.>


Cyanide

params = var(24)

You missed a bit. What you're doing at the moment is entirely basic troubleshooting. You have something that's not triggering, possibly cos a var is turned off. You are turning the variable on, yet it's not working, therefore we find out if the variable IS on, or if it's being reset.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

DarkSpinDoctor

Quote from: Cyanide on October 09, 2011, 12:42:24 AM
params = var(24)

You missed a bit. What you're doing at the moment is entirely basic troubleshooting. You have something that's not triggering, possibly cos a var is turned off. You are turning the variable on, yet it's not working, therefore we find out if the variable IS on, or if it's being reset.

Like this?

[State -2, DisplayToClipboard]
type = DisplayToClipboard
trigger1 = 1
text = "params = var(24)"

This is weird as hell. I can't take an alternative, because I need this variable to register for "FINISH HIM!" at the end of the match.

Cyanide

no

text = "%d"
params = var(24)

The docs are friendly if you haven't used something before.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

Shamrock

Wait a minute, did I see "winpose decider"

The finish him is before "winning" or at least that is the way I coded in the past.

You have to set the attacks to not go past 1% of life on round 2 unless character is in the custom dizzy on every attack. When character reaches the life you set, "finish him" helper pops up from state -2 and sends out a giant red clsn which puts the character into the custom dizzy thing.

Look at Characters from Mike O--- Something I believe they are hosted at RS. I wish I can be more help but I have not memorized how to do this shit or even the technical terms.

DarkSpinDoctor

Quote from: Shamrock on October 09, 2011, 12:55:52 AM
Wait a minute, did I see "winpose decider"

The finish him is before "winning" or at least that is the way I coded in the past.

You have to set the attacks to not go past 1% of life on round 2 unless character is in the custom dizzy on every attack. When character reaches the life you set, "finish him" helper pops up from state -2 and sends out a giant red clsn which puts the character into the custom dizzy thing.

Look at Characters from Mike O--- Something I believe they are hosted at RS. I wish I can be more help but I have not memorized how to do this shit or even the technical terms.

Code plz.  ;)

Here's the code I have:

kill = !var(24) || 1*p2stateno = 49999

Var 24 is supposed to represent that the previous round was won and state 49999 is P2 in the dizzy state before the fatality.