Damage Amount problem.

Started by MUGENforever, February 25, 2008, 02:29:21 AM

Previous topic - Next topic

MUGENforever

I was trying to get this projectile to do around 250 life points of damage, so I set its damage to 50,5.  It wouldn't do 250 damage though it did a lot less.  So I changed to 100, 20 and now it does 250 damage, but sometimes it does a lot more.  When I do it in training mode, it does the 250 damage, but when I watch the AI fight another AI and it does it, it does a lot more.

Ignore the two seperate damage sections, there is just projectiles sent in two different directions, one in front and one behind.

;-------------------------------
;Super Tornado
[StateDef 3040]
type = S
movetype= A
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
anim = 1013
poweradd = -1000

[State 3040, 1]
type = Projectile
trigger1 = AnimElem = 2
projanim = 1012
projhitanim = 1012
projpriority = 50
projheightbound = -240, 100
projedgebound = 100
projscreenbound = 100
projshadow = -1
projhits = 5
projremovetime = 16
offset = 0, 0
velocity = 10
attr = S, SP
damage = 100, 20
animtype = heavy
guardflag = MA
hitflag = MAFDP
pausetime = 10,10
hitsound   = 5,2
sparkxy = 500,500
guardsound = S6,0
ground.type = trip
ground.slidetime = 25
ground.hittime  = 25
ground.velocity = -8
air.animtype = Back
air.velocity = -10,-12
air.juggle = 3
air.fall = 1
down.velocity = -4,-6
down.hittime = 30
down.bounce = 0
getpower = 0

[State 3040, 1]
type = Projectile
trigger1 = AnimElem = 2
projanim = 1012
projhitanim = 1012
projpriority = 25
projheightbound = -240, 100
projedgebound = 100
projscreenbound = 100
projshadow = -1
projhits = 5
projremovetime = 16
offset = 0, 0
velocity = -10
attr = S, SP
damage = 100, 20
animtype = heavy
guardflag = MA
hitflag = MAFDP
pausetime = 10,10
hitsound   = 5,2
sparkxy = 500,500
guardsound = S6,0
ground.type = trip
ground.slidetime = 25
ground.hittime  = 25
ground.velocity = -8
air.animtype = Back
air.velocity = -10,-12
air.juggle = 3
air.fall = 1
down.velocity = -4,-6
down.hittime = 30
down.bounce = 0
getpower = 0

[State 3040, Snd 2]
type = PlaySnd
trigger1 = AnimElem = 2
value = 5, 2
volume = 50

[State 3040, end]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

Cyanide

All opponents are different, some are fat, some are thin. If your projectiles hitbox has passed over theirs before 5 hits have occured then it won't do the full damage.

Either fiddle with the projmisstime, or change your velocities so the projectile pulls them along a little. It's not mugen, it's how you've set it up.


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.

MUGENforever

All five hits hit both times, but the damage is different, my projectile actually stops after it hits the opponent.

I uploaded video because I don't think you would have believed me if I only used words.

Fastforwar to 1:40, and watch the double tornado attack and look how much damage it does, then watch as I quit after, goto training mode and no matter where I am the damage always does the same but less than what it did when the AI used it.

http://www.youtube.com/watch?v=nD_CjlFQldU

Cyanide

Why is it, that if this is meant to be a test between 2 similar characters, the stances change. You sure the AI version of that evil ryu doesn't tone down his defence?

I suggest checking something that's NOT evil and cheap and seeing what the damage is like.


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.

MUGENforever

Against some characters it does normal damage but against others it does more damage.  Reu's Evil Ken and Ryu it does more and his Dragon Claw it does less.  Against Iceman and someothers it does less to, but vs Evil Ryu, Sakura, and Shin gouki by Phantom.of.the.Server it does more.  Is it always gonna be like this or can I fix it so it does the same vs all?

Here is another Video if you need to see it.

http://www.youtube.com/watch?v=4sHf-ZNH19c

Tornado vs Psylock (Little Damage) 00:20

Tornado vs Evil Ryu (by Phantom.of.the.Server not reu) (Lot of damage) 1:27

Tornado Vs Darkbolt (Little Damage) 2:18

Tornado Vs Dragonclaw (Little Damage) 3:08

Tornado Vs Evil Ken (Lot of Damage) 3:58

Shinnox

you gotta keep in mind that not all characters have the same amount of life and defense.


Cyanide

Go look through all these other characters .cns files and see what their life and defence is actually set to.


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.

MUGENforever

All of them have there life and defense set to
life = 1000
defense = 100
Some of them have lower attacks then others, but everytime i get a character I try to balance that character into my game which results with all of them having 1000 life and 100 defense except for very few.

If you look at the first video, you will see it does different amounts vs evil ryu in battle and in training mode.

Bastard Mami

it completely looks like it's the other character's fault. there is a workaround for that, though and that is using a helper projectile and using lifeadd to inflict damage instead of the hitdef.

MUGENforever