YesNoOk
avatar

how to remove the character's victory screen (Read 3711 times)

Started by Hecarleith, April 29, 2021, 10:53:59 am
Share this topic:
how to remove the character's victory screen
#1  April 29, 2021, 10:53:59 am
    • Peru
how do you remove the character's very own victory screen, I want to know how, ahuron's nameless has its own victory screen, so how do I remove it? by the fighter factory or something?
Re: how to remove the character's victory screen
#2  April 29, 2021, 11:43:26 am
  • **
  • Jesus died for our sins... one more won't hurt
    • Spain
Open the file system.def in your M.U.G.E.N (usually located in the folder data and the folder mugen1).

Search for
[Victory Screen]
enabled = 1

Change the 1 in enabled to 0
Re: how to remove the character's victory screen
#3  May 01, 2021, 07:48:49 pm
  • ****
  • Still lurks regularly, but posts once a blue moon
    • Canada
I think the OP is looking to remove a character's custom victory screen that plays during matches, rather than the universal system victory screen.

Unfortunately, there's no easy way around it.  You'll have to dig into the character's code, identify the victory screen code, and then disable the parts that activate it.  (You can probably just get away with disabling the ChangeState ...or Helper sctrl if the author uses that instead.)
You can enable debug mode in Mugen and check your character's states/existing helpers to identify this easier.

You can pretty much use any text editor to do this, but Fighter Factory helps a lot as an IDE due to its color coded text.
Re: how to remove the character's victory screen
#4  May 01, 2021, 08:25:58 pm
  • ***
  • 하나뿐인 한국인 대표
  • Ambassador of MugenRevival
    • South Korea
    • sites.google.com/view/kolossoni-mugen
It'll probably contain "Roundstate" as its trigger.

Just null the entire thing or delete it.
Re: how to remove the character's victory screen
#5  May 02, 2021, 01:18:32 am
    • Peru
I think the OP is looking to remove a character's custom victory screen that plays during matches, rather than the universal system victory screen.

Unfortunately, there's no easy way around it.  You'll have to dig into the character's code, identify the victory screen code, and then disable the parts that activate it.  (You can probably just get away with disabling the ChangeState ...or Helper sctrl if the author uses that instead.)
You can enable debug mode in Mugen and check your character's states/existing helpers to identify this easier.

You can pretty much use any text editor to do this, but Fighter Factory helps a lot as an IDE due to its color coded text.



In case of finding the "changestate" how can I remove it. You'll excuse me, I'm just a newbie to Mugen.



Download May Lee from Ohgaki and played with her CNS, that character was similar to Ikaruga, I managed to remove some decorative characters that came with the char ... (It's that her May Lee had the style of KOF98), but now I'm trying to remove its victory sequence and I found the code but when I totally remove it it generates a clone; this is the code:


[Statedef 10010] ;KO‰‰o
type    = S
movetype= I
physics = S
anim = 9999

[State 3000, Super A]
type = changestate
trigger1 = parent,WINKO
value = 10011

[State 3000, Super A]
type = playsnd
trigger1 = (parent,Wintime||parent,Losetime)&&roundstate=3
trigger2 = parent,drawgame&&parent,alive&&roundstate=3
value = 25,4
persistent=0

[State 181, 1]
type = NotHitBy
trigger1 = 1
value = SCA
time = 1
[State 181, 1]
type = posset
trigger1 = 1
x = parent,pos X-(80*var(40))*parent,facing
y = parent,pos Y
[State 200, 5]
type = parentvarset
trigger1 = 1
var(12) = ifelse(inguarddist,1,0)
[State 200, 5]
type = turn
trigger1 = parent,facing!=facing
trigger1 = parent,var(12) = 0
[State 200, 5]
type = varset
trigger1 = parent,var(12) = 0
var(40) = ifelse(gametime%2=0,1,-1)

[Statedef 10011] ;KO‰‰o
type    = S
movetype= I
physics = S
anim = 9999

[State 3000, Super A]
type = BGpalfx
trigger1 = parent,teammode = simul
trigger1 = (time%4) = [0,1]
trigger1 = time < 36
add = 1000,-1000,-1000
time = 2
[State 3000, Super A]
type = BGpalfx
trigger1 = parent,teammode = simul
trigger1 = (time%4) = [2,3]
trigger1 = time < 36
add = 1000,1000,1000
time = 2

[State 3000, Super A]
type = envcolor
trigger1 = parent,teammode = single || parent,teammode = turns
trigger1 = (time%4) = [0,1]
trigger1 = time < 36
value = 255,0,0
under = 1
[State 3000, Super A]
type = envcolor
trigger1 = parent,teammode = single || parent,teammode = turns
trigger1 = (time%4) = [2,3]
trigger1 = time < 36
value = 255,255,255
under = 1

[State 3000, Super A]
type = playsnd
trigger1 = time = 0
value = 7,3
volume = 255

[State 3000, Super A]
type = AssertSpecial
trigger1 = time < 36
flag = noFG
flag2 = globalnoshadow

[State 3000, Super A]
type = AssertSpecial
trigger1 = 1
flag = NoBarDisplay

[State 3000, Super A]
type = explod
trigger1 = time = 38
trigger1 = parent,var(14) = 0
anim = 8011
id = 10010
ownpal = 1
pos = 8,55
postype = left
bindtime = -1
ontop = 1
[State 3000, Super A]
type = explod
trigger1 = time = 38
trigger1 = parent,var(14) = 1
anim = 8010
id = 10010
ownpal = 1
pos = 8,55
postype = left
bindtime = -1
ontop = 1

[State 3000, Super A]
type = playsnd
trigger1 = time = 38
value = 25,0
volume = 255
persistent=0
[State 3000, Super A]
type = playsnd
trigger1 = parent,var(14) = 0
trigger1 = time = 96
value = 25,3
volume = 255
persistent=0

[State 3000, Super A]
type = destroyself
trigger1 = time > 38
trigger1 = numexplod(10010) = 0

What should I remove or place there to suppress the voice scenes that come out with the "winner" sign and the "victory screen" from the final scene?


Re: how to remove the character's victory screen
#6  May 02, 2021, 06:40:53 am
  • avatar
  • ***
  • If you rip sprites i´ll rip your code
    • Mexico
    • www.m3xweb.260mb.com

In case of finding the "changestate" how can I remove it. You'll excuse me, I'm just a newbie to Mugen.

Download May Lee from Ohgaki and played with her CNS, that character was similar to Ikaruga, I managed to remove some decorative characters that came with the char ... (It's that her May Lee had the style of KOF98), but now I'm trying to remove its victory sequence and I found the code but when I totally remove it it generates a clone; this is the code:

Spoiler, click to toggle visibilty

What should I remove or place there to suppress the voice scenes that come out with the "winner" sign and the "victory screen" from the final scene?

It seems that all that code starting from statedef 10010 is a helper itself because the use of parent phrases, so in order to disable it you need to find what character state or statedef create or call the 10010.

Usually those changes are on the contained common1.cns from the character files in some of the win states or if not common1 it must be in some of the state files from said character.

Open the texts in any editor and use the "search tool" to find faster the "10010" number and erase or disable the helper state who invoke that screen. Probably is in the form of:

Code:
[state x or whatever]
type= helper
trigger1 = whatever that trigger it you can erase it or just nullify with a simple "null" word
trigger1 = null ; work done
stateno= 10010; here is the magic number of the helper statedef showing itself.

And that´s it, try if this help you.
There is no knowledge that is not power
--------------------------------------
My Web Site
Last Edit: May 02, 2021, 06:44:11 am by MangeX
Re: how to remove the character's victory screen
#7  May 02, 2021, 07:50:38 am
  • ***
  • 하나뿐인 한국인 대표
  • Ambassador of MugenRevival
    • South Korea
    • sites.google.com/view/kolossoni-mugen
Good explanation.
Deleting codes is the last resort if smth doesn't work.

Nullifying them is usually the safer, more optimal option.

Let us know if his method worked.