YesNoOk
avatar

Need Help Adding this PROJECTILE (Read 345 times)

Started by Curse_Mark Ryu, October 22, 2008, 08:36:09 pm
Share this topic:
Need Help Adding this PROJECTILE
#1  October 22, 2008, 08:36:09 pm
  • *
Trying to add a projectile but the shit won't work....PLease help o_O

Heres the code so far...


CNS
[mcode][StateDef 1125]
type = S
movetype= A
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
anim = 1125
poweradd = 20

[State 1125, 1]
type = Projectile
trigger1 = AnimElem = 3
projanim = 4202
projhitanim = 4217
projpriority = 1
projheightbound = -240, 100
projedgebound = 100
projscreenbound = 100
projshadow = -1
offset = 47,-41
velocity = 3
attr = S, SP
damage   = 70
animtype = heavy
guardflag = MA
hitflag = MAFDP
pausetime = 10,10
hitsound   = 5,2
sparkxy = 500,500
guardsound = S6,0
ground.type = Low
ground.slidetime = 25
ground.hittime  = 25
ground.velocity = -6
air.animtype = Back
air.velocity = -4,-6
air.juggle = 3
air.fall = 1
down.velocity = -4,-6
down.hittime = 30
down.bounce = 0

[State 1125, end]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1[/mcode]



I dont kno wat to do next...Tried putting it in CMD and making a command for it but all that did was have the projectile come out every second with him just standing there (not doing any damage).

Need some advice...this is more complicated than i thought.
Re: Need Help Adding this PROJECTILE
#2  October 23, 2008, 06:18:44 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
That code should be in the .cns.

You then make a command changestate in the .cmd to activate that state. The pojectile should have red clsns.

If you haven't already, try out narutorial 4 on my webpage. Thats all about making a projectile attack.


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.