Jump to content
  • 0

How to add hitspark on character?


Krypto 'SAM' saiyaN

Question

7 answers to this question

Recommended Posts

  • 0

well heres what i would do for this, in FF theres a save as PCX button, you can use that to extract all the sprites or i think theres a way to save a whole group of sprites, but its different in each one

 

then you can add those to your character, the same way they are in the screenpack, you add a animation etc.

 

then in your hitdef,when you use the hitspark animation what i do to make them show up is to put an S in front of the hitspark animation

 

for example

 

[state 200, 1]
type = HitDef
trigger1 = AnimElem = 3
attr = S, NA
damage = 30
animtype = Light
guardflag = MA
hitflag = MAF
priority = 3, Hit
pausetime = 0, 5
sparkno = S34   <- right here
sparkxy = 10, -15
hitsound = 5, 0
guardsound = 6, 0
ground.type = High
ground.slidetime = 5
ground.hittime  = 12
ground.velocity = -1.5
airguard.velocity = -0.5,-.1
air.type = High
air.velocity = -1,-2
air.hittime = 12

 

 

i hope that helped

:D

Link to comment
Share on other sites

  • 0

where it says

 

sparkno =

 

in the hitdef code.

 

do not use S#

 

use

 

1

2

3

4

 

and so on.

 if you want the proper values open fightfx.air in the data folder.

 

and look for these values

 

; Light hit spark
[begin Action 0]
0,0, 0,0, 2, ,A
0,1, 0,0, 2, ,A
0,2, 0,0, 2, ,A
0,3, 0,0, 2, ,A
0,4, 0,0, 2, ,A
0,5, 0,0, 2, ,A

; Medium hit spark
[begin Action 1]
1,0, 0,0, 2, ,A
1,1, 0,0, 2, ,A
1,2, 0,0, 2, ,A
1,3, 0,0, 2, ,A
1,4, 0,0, 2, ,A

; Strong hit spark
[begin Action 2]
2,0, 0,0, 1, ,A
2,1, 0,0, 1, ,A
2,2, 0,0, 1, ,A
2,3, 0,0, 1, ,A
2,4, 0,0, 1, ,A
2,5, 0,0, 2, ,A
2,6, 0,0, 2, ,A
1,2, 0,0, 1, ,A
1,3, 0,0, 1, ,A
1,4, 0,0, 2, ,A

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...