YesNoOk
avatar

Removing background animations, dark screen, etc (Read 716 times)

Started by puissance, December 27, 2014, 07:19:41 pm
Share this topic:
Removing background animations, dark screen, etc
#1  December 27, 2014, 07:19:41 pm
  • avatar
  • *
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
Re: Removing background animations, dark screen, etc
#2  December 27, 2014, 07:33:13 pm
  • ******
  • Hedgehog Whisperer
  • Red Bull addict
    • Spain
    • xgargoyle.mgbr.net
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.
XGargoyle: Battle posing since 1979
http://xgargoyle.mgbr.net
http://www.pandorabots.com/pandora/talk?botid=e71c0d43fe35093a  <-- Please click that link
http://paypal.me/XGargoyle  <-- Donations welcome!
Re: Removing background animations, dark screen, etc
#3  December 27, 2014, 08:19:38 pm
  • avatar
  • *
Thanks XGargoyle for the tip. 

 That should save me a lot of time going forward.