YesNoOk
avatar

I need some advice, please test my Chun-li. (Read 639 times)

Started by bfdm, August 19, 2013, 08:20:12 pm
Share this topic:
I need some advice, please test my Chun-li.
#1  August 19, 2013, 08:20:12 pm
  • *
    • Brazil
    • brenomacedo1995@gmail.com
She is unfinished yet.

I need some advice...

I can't make her Kikoushou

She can do spinning bird kick in the middle of other attacks, how can in fix it? (This only happen in spinning bird kick, EX version too)

How, can I control her damage? Like in SF4.

and juggle?

Please, tell me everything that is wrong with her and explain how to fix it, if is possible.

Thanks!

Dowload here:
http://www.4shared.com/rar/SaePENO-/Bfdm_Chun-Li2.html?
Re: I need some advice, please test my Chun-li.
#2  August 19, 2013, 08:51:54 pm
  • ***
  • I hate coding helpers.
    • Brazil
Instead of using the trigger

triggerall = Stateno != 1010||Stateno != 1011||Stateno != 1012||Stateno != 1013

for her Spinning Bird Kicks why don't you use the same trigger you use for her other special and supermoves?

Quote
trigger1 = Ctrl
trigger2 = (Stateno = 200||Stateno = 210||Stateno = 215 && Time >= 37|| Stateno = 225) && Movecontact
trigger3 = (Stateno = 245||Stateno = 255||Stateno = 400||Stateno = 410||Stateno = 430) && Movecontact



Just in case...

Quote
[State -1, EX Spinning Bird Kick]
type = ChangeState
value = 1013
triggerall = statetype != A
trigger1 = Ctrl
trigger2 = (Stateno = 200||Stateno = 210||Stateno = 215 && Time >= 37|| Stateno = 225) && Movecontact
trigger3 = (Stateno = 245||Stateno = 255||Stateno = 400||Stateno = 410||Stateno = 430) && Movecontact
triggerall = power >= 700
trigger1 = command = "EXSpinningBirdKick"

Change the red part to triggerall. Notice that this code has 2 lines saying trigger1 = XXXXX. You made so that performing the command is only required when she has control, but not when other basic moves make contact with the opponent.



For the kikoushou you need extra triggers for the hitdefs. For example, you have this hitdef in her helper 3001:

[State 1005, HitDef]
type = HitDef
trigger1 = Animelem = 4
trigger2 = Animelem = 11
attr = S,NP
animtype = Heavy
damage = 69
pausetime = 0,1
givepower = 10
guardflag = M
hitflag = MAF
ID = 3001
guard.sparkno = S5503
sparkno = S5502
sparkxy = -35, 0
hitsound = S1000,2
guardsound = S2,6      
ground.type = High
ground.slidetime = 20
ground.hittime = 13
ground.velocity = -9
air.animtype = Back
air.velocity = -4.5,-6

The animelems 16, 24 and 28 have red hitboxes but doesn't have triggers in the hitdef to tell how thwy should cause damage to the opponent. Hence they don't activate.

Add these lines in the code of the hitdef:

[State 1005, HitDef]
type = HitDef
trigger1 = Animelem = 4
trigger2 = Animelem = 11
trigger3 = animelem = 16
trigger4 = animelem = 24
trigger5 = animelem = 28

attr = S,NP
animtype = Heavy
damage = 69
pausetime = 0,1
givepower = 10
guardflag = M
hitflag = MAF
ID = 3001
guard.sparkno = S5503
sparkno = S5502
sparkxy = -35, 0
hitsound = S1000,2
guardsound = S2,6      
ground.type = High
ground.slidetime = 20
ground.hittime = 13
ground.velocity = -9
air.animtype = Back
air.velocity = -4.5,-6

Notice also the pausetime in this hitdef is 0,1. I suggest changing it to a value like 0,8 so that the opponent doesn't slide after being hit by the helper. Give a try.


About the damage control, there are many ways to create a dampener code.

Dince you seem to intend to create a CVS-like gameplay for her, I recommend using PotS' damapener codes. Just add these codes in Chun-Li's statedef -2.

Quote
[State -2, Damage Dampener]; Scaling in action
type= attackmulset
trigger1= numenemy
value= ifelse(enemynear, gethitvar(hitcount) < 3, 24, ifelse(enemynear, gethitvar(hitcount) >= 24, 2, 26 - enemynear, gethitvar(hitcount))) / 24.0
ignorehitpause= 1

[State -2, Damage Dampener]; Full damage
type= attackmulset
trigger1= numenemy
trigger1= enemynear,movetype!=H || (enemynear,stateno=[120,155])
value= 1.0
ignorehitpause= 1

I don't like much this code (it dampeners too much the damage of chars whom have multi-hit moves like Chun-Li herself or VegetaZ2 and hard-hitting chars like Ryo Sakazaki or Zangief receive an unfair advantage IMO), but this is how the damage dampener works in CVS2, give or take a few tweaks.

The damage dampener code in SF4 or SFxT works similarly, but one or other values are modified so that the dampener is more severe.
Last Edit: August 19, 2013, 09:02:24 pm by Zzyzzyxx
Re: I need some advice, please test my Chun-li.
#3  August 19, 2013, 09:19:37 pm
  • *
    • Brazil
    • brenomacedo1995@gmail.com
I tried this before asking help, but, she just stops doing EX spinningbirdkick at all, I don't know why.

When I change the triggerall = command = "EXSpinningBirdKick" to trigger1 = command = "EXSpinningBirdKick" and delete trigger1 = Ctrl she comes back doing EX spinning bird kick.

For the damage dampener, I will try it...

Thank you so much for the help!
Re: I need some advice, please test my Chun-li.
#4  August 20, 2013, 12:51:50 am
  • ***
Sprites don't seem to work in the download.
Re: I need some advice, please test my Chun-li.
#5  August 20, 2013, 01:35:46 am
  • *
    • Brazil
    • brenomacedo1995@gmail.com
Really?

Strange, here it's working perfectly.

What is exactly happening?
Re: I need some advice, please test my Chun-li.
#6  August 20, 2013, 01:52:00 am
  • ***
Really?

Strange, here it's working perfectly.

What is exactly happening?

No visible sprites in fighter factory.  I assumed there was a problem with the download.  It works, though.  Nevermind.  Hold on, let me take a look...  Character seems to be okay, so far.  Aside from the floatyness.

EDIT:There's quite a bit wrong with the way you coded this character.  I'm cleaning it up a bit.

EDIT2:  All of your attacks have infinite priority, because there's no collision boxes at all on the arms, or legs.  Some of the hit boxes are way too large on top of that.  Hold on, I'll fix this first, then get back to your other problem.

EDIT3:  It just occurred to me that spinning bird kick is a Down+Up charge move.  The problem is that she jumps with the up button.  I honestly use her more in mugen than her actual games.

I'm not going to fix every single bad box you have for the collisions, but, she is doing both moves properly, (When you charge in mid-air and do it immediately on landing.
Last Edit: August 20, 2013, 03:51:34 am by Burning_Typhoon
Re: I need some advice, please test my Chun-li.
#7  August 20, 2013, 04:26:12 am
  • *
    • Brazil
    • brenomacedo1995@gmail.com
hm,. Ok, I will change her collision boxes...

aaam, But is veery hard to do... If I rise the command time? Will change something?

You don't need to fix, just show me and I fix. It's a lot of work to do.

Thank You!
Re: I need some advice, please test my Chun-li.
#8  August 20, 2013, 04:30:11 am
  • ***
hm,. Ok, I will change her collision boxes...

aaam, But is veery hard to do... If I rise the command time? Will change something?

You don't need to fix, just show me and I fix. It's a lot of work to do.

Thank You!

Don't worry about it.  I'll take care of it.  Just take note of what I did.  Almost done.
Re: I need some advice, please test my Chun-li.
#9  August 20, 2013, 05:26:50 am
  • *
    • Brazil
    • brenomacedo1995@gmail.com
Ok.
Re: I need some advice, please test my Chun-li.
#10  August 20, 2013, 05:58:53 am
  • ***
Okay.  It was a success.  Sorry it took so long, I wouldn't stop until I had it working just the way I wanted.

Notes:
Spinning Bird Kick, nor EX Spinning Bird Kick will interrupt attacks.   She must do it from a stance or crouch.
If Chun-Li is already doing a grounded attack, she can do Spinning Bird Kick directly after, but, not during.

Hold on, I'm uploading.  I'll update this post with the link.

Also, I only did a few attacks to show you how the boxes should look, I didn't go through the trouble of changing every one.

https://dl.dropboxusercontent.com/u/42882055/chunliupdated0.rar
Last Edit: August 20, 2013, 06:04:21 am by Burning_Typhoon
Re: I need some advice, please test my Chun-li.
#11  August 20, 2013, 06:39:42 pm
  • *
    • Brazil
    • brenomacedo1995@gmail.com
Problem solved! She is doing spinning bird kick when I want!

Now I know the right place where the boxes must be.

Thanks a lot!