YesNoOk
avatar

Mugen Character Disappears (SOLVED) (Read 664 times)

Started by PlasmoidThunder, June 11, 2011, 11:11:30 am
Share this topic:
Mugen Character Disappears (SOLVED)
New #1  June 11, 2011, 11:11:30 am
  • ****
  • Glorious Bastard
  • Halfway between both negatives
    • UK
    • plasmoidthunder.neocities.org
This is annoying me. For some reason, when I use a projectile, my char disappears. The anim is correct (810) and the anim in the .air is 810 (and it isn't blank), but I don't know why it disappears. It worked fine when I set it to another anim (although, not the anim I want it to be) which was 200. Please help.

Oh, and here's his Constants and Command parts that you need to look at:

Constants
Code:
;--------------------------------------------------------------------------
; Electro Ball
[Statedef 820]
type    = S
movetype= A
physics = S
juggle  = 4
poweradd= 13
ctrl = 0
velset = 0,0
anim = 810
sprpriority = 2

[State 820, 1]
type = PlaySnd
trigger1 = Time = 1
value = 0, 2
channel = 1

[State 820, 3]
type = projectile
trigger1 = animelem = 1
projanim = 821
projhits = 9999999999999
projmisstime = 1
projremovetime = 500
getpower = 25
projid = 1011
offset = 0,0
postype = p1
velocity = 1,0
remvelocity = 0,0
accel = .5,0
attr = s, sp
hitflag = MA
guardflag = MAF
animtype = Medium
damage = 13, 1
priority = 6
pausetime = 0,8
sparkno = S10000
guard.sparkno = -1
sparkxy = -10, -32
hitsound = s800,3
guardsound = s800,3
ground.type = High
ground.slidetime = 20
ground.hittime  = 12
ground.velocity = 0,0
airguard.velocity = 0,0
air.type = High
air.velocity = 0,0
air.hittime = 12
sprpriority = 1
ownpal = 1
palfx.time = 15
palfx.add = 245,251,17
palfx.mul = 256,256,256
palfx.sinadd = 40,80,40,10
palfx.invertall = 1
palfx.color = 0

[State 820, 5]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

Commands
Code:
;---------------------------------------------------------------------------
;Electro Ball
[State -1, Electro Ball]
type = ChangeState
value = 820
triggerall = command = "Electro Ball"
triggerall = NumProjID(1011) = 0
trigger1 = statetype = S
trigger1 = ctrl

It also does this with two other projectiles.

EDIT: The projectiles DON'T disappear.
3DS FC: 0516 - 7483 - 3564
Oh, I want a diagram. I fucking love diagrams.
Last Edit: June 11, 2011, 11:30:40 am by GarchompMatt
Re: Mugen Character Disappears
#2  June 11, 2011, 11:19:38 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Either you have no time on the animation frames. Or you have added sprites with no palette on them. Those are the options for "invisible sprite"


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: Mugen Character Disappears
New #3  June 11, 2011, 11:25:03 am
  • ****
  • Glorious Bastard
  • Halfway between both negatives
    • UK
    • plasmoidthunder.neocities.org
None of those. Basically, I changed the anim in the .air to a different number (because I added a new move which had the same number and I wanted to make my char look neater by making the projectiles 800+) and updated the constants file with the new anim numbers, but now he disappears.

It worked before hand...

EDIT: Aha... My char was based off a template that had KFM's moveset in and 800/810 was KF throw or something, which had no sprite. Man do I sound stupid now  --; Heh heh...
3DS FC: 0516 - 7483 - 3564
Oh, I want a diagram. I fucking love diagrams.
Last Edit: June 11, 2011, 11:30:10 am by GarchompMatt