Infinity MUGEN Team

IMT Main => M.U.G.E.N Help => Topic started by: Founder of SonicX on July 07, 2009, 12:53:16 AM

Title: Code help?
Post by: Founder of SonicX on July 07, 2009, 12:53:16 AM
Hi I was wondering does anyone know how to add and electric Aura to a char?
Title: Re: Code help?
Post by: El Chupacabras on July 07, 2009, 10:22:00 AM
You can add those with the use of an explod. If you want to have appear all the time, then you probably want to put it in statedef -2/-3.

http://mugenguild.com/docs/sctrls.html#Explod (http://mugenguild.com/docs/sctrls.html#Explod)
Title: Re: Code help?
Post by: Founder of SonicX on July 07, 2009, 06:23:32 PM
I didn't understand that at all
Title: Re: Code help?
Post by: Acey on July 07, 2009, 06:36:01 PM
There is no easy way to do it:

1) You would have to find/create a graphic of the electric effect you wanted, then convert it to 256 colors with the correct color in index 0.

2) The you load it into the character's SFF file and animate it in the air file

3) Then program it into your character's CNS file, probably in the [statedef -2] or [statedef -3] section.

If you're serious about doing this then you should start with step one and ask specific questions along the way.
Title: Re: Code help?
Post by: El Chupacabras on July 07, 2009, 06:43:49 PM
Well, you didn't mention how familiar you were with coding, so I made some assumptions. If you don't understand that at all, then do what Acey suggested.
Title: Re: Code help?
Post by: Founder of SonicX on July 10, 2009, 06:27:20 PM
There is no easy way to do it:

1) You would have to find/create a graphic of the electric effect you wanted, then convert it to 256 colors with the correct color in index 0.

2) The you load it into the character's SFF file and animate it in the air file

3) Then program it into your character's CNS file, probably in the [statedef -2] or [statedef -3] section.

If you're serious about doing this then you should start with step one and ask specific questions along the way.

Okay thanks I have no problem with graphics at all cause I do work with the Army and we had to learn a lot of stuff during our training I'm off now till sometime next month but I wanted to get this done for my Char and another question how do I do a power up/charge code
Title: Re: Code help?
Post by: El Chupacabras on July 10, 2009, 08:54:42 PM
Power charge -

[youtube=425,350]Ho0bJQe9Gs0[/youtube]
Title: Re: Code help?
Post by: Founder of SonicX on July 11, 2009, 12:44:12 AM
I tried that and got the biggest error ever, saying

UNDEFINED COMMAND "hold_c"
Title: Re: Code help?
Post by: El Chupacabras on July 11, 2009, 01:14:45 AM
You need to define that command in the cmd, otherwise it doesn't know what "hold_c" means. Look at the cmd and check how the other commands are defined.
Title: Re: Code help?
Post by: Founder of SonicX on July 11, 2009, 03:56:54 AM
You need to define that command in the cmd, otherwise it doesn't know what "hold_c" means. Look at the cmd and check how the other commands are defined.

I did and I still don't know whats wrong
Title: Re: Code help?
Post by: ClubSyN-X-TReME on July 12, 2009, 09:32:18 AM
[command]
name = "hold_c"
command = /$C
time = 1

you need to add this also to your command file.
SimplePortal 2.3.5 © 2008-2012, SimplePortal