Infinity MUGEN Team

IMT Main => M.U.G.E.N Help => Topic started by: C.R.O.M. Zaxis on January 13, 2013, 07:56:43 PM

Title: Darken Screen
Post by: C.R.O.M. Zaxis on January 13, 2013, 07:56:43 PM
I want one of my characters to have a certain effect when performing a hyper.  I want the screen to go black, and for images to appear.  How do I make the screen go black? :-??
Title: Re: Darken Screen
Post by: Cyanide on January 14, 2013, 02:28:12 AM
Totally black, or just the BG?

type = bgpalfx
trigger1 =
add = 255,255,255
mul = 0,0,0
time =

That'll turn the BG black, you have some stuff to fill in.

Turn everything black you use type = Allpalfx. Any explods you create will need to be set with ownpal = 1 or they'll be black too. If you wish to make your character/opponent visible at random times the opponent will need to be in a custom state and you will need to reset the palfx to normal then black again.
Title: Re: Darken Screen
Post by: C.R.O.M. Zaxis on January 14, 2013, 04:23:50 PM
Totally black, or just the BG?

type = bgpalfx
trigger1 =
add = 255,255,255
mul = 0,0,0
time =

That'll turn the BG black, you have some stuff to fill in.

Turn everything black you use type = Allpalfx. Any explods you create will need to be set with ownpal = 1 or they'll be black too. If you wish to make your character/opponent visible at random times the opponent will need to be in a custom state and you will need to reset the palfx to normal then black again.
Thank you! :thumbsup:  So I just add this at the end of the Hyper section of his cns?  Im not very good at coding at all.  Sorry.  Im a little new at it.
Title: Re: Darken Screen
Post by: Cyanide on January 16, 2013, 02:50:45 AM
Try it and see. The worst that will happen is mugen will crash. The best is it will work.

Either way you learn something.
Title: Re: Darken Screen
Post by: C.R.O.M. Zaxis on January 17, 2013, 06:03:17 PM
It worked! sorta.  I wanted Player 2 to also not be visible during the duration, but that is not the case.
Quote
[State 3000, 3]
type = Allpalfx
trigger1 = AnimElem = 1
add = 255,255,255
mul = 0,0,0
time = 300
Here is what I put in (no changes beyond the time).  What should I do to make this affect P2?
Title: Re: Darken Screen
Post by: Cyanide on January 18, 2013, 02:20:37 AM
That should affect p2 as well. If it's not he's applying his own palfx to override it.

Is this a move where you hit him before it goes black? There are a couple of other options. One is using envcolor, but the only things that will bypass that are explods with ontop = 1, the other is to make a black explod and scale it up to giant so it covers the screen then increase it's sprpriority.
SimplePortal 2.3.5 © 2008-2012, SimplePortal