The Mugen Fighters Guild

Help => M.U.G.E.N Configuration Help => Topic started by: puissance on December 27, 2014, 07:19:41 pm

Title: Removing background animations, dark screen, etc
Post by: puissance on December 27, 2014, 07:19:41 pm
All,

I don't like for the characters to have background animations or having the background turn a different color when they are performing supers, specials, etc.  So far I've been doing the following to eliminate these

1.) Looking for Assertspecial and deleting lines containing flag= nobg and flag-nofg

2.) looking for superpauses and adding the line: darken = 0

3.) looking for bgpalfx and deleting those lines

4.) looking for envcolor and deleting those lines

5.) manually replacing the sprites that are background animations and replacing with blank/transparent sprites

My question is on # 5, what would be an easier way of removing those background animations without having to manually replace the sprites.  I am still a newbie when it comes to coding so there is a lot I need to learn.    Also, besides these steps, anything else I should be looking for or any better ways of doing this.

Thanks
Title: Re: Removing background animations, dark screen, etc
Post by: XGargoyle on December 27, 2014, 07:33:13 pm
On #5, all these elements are either Helpers or Explods.

If they are helpers, locate the state of the Helper used as the background element and add this line of code to every helper state:
[State 0, AssertSpecial]
type = AssertSpecial
trigger1 = 1
flag = invisible
ignorehitpause = 1

You don't need to replace the sprites within the character or the animations in it. That code will automatically make them invisible.

If they are Explods, simply modify the scale parameter with this:
scale = 0,0
This will make the background element invisible

These methods are non-destructive, meaning that you can undo them easily in case you need them back.
Title: Re: Removing background animations, dark screen, etc
Post by: puissance on December 27, 2014, 08:19:38 pm
Thanks XGargoyle for the tip. 

 That should save me a lot of time going forward.