; KFM's constants and state file.
; There are comments scattered through this file, so you may like to
; take a look if would like to learn more about the cns.

; これはKFMの定数と状態のファイルです。
; このファイルの中には注釈が散らされているので、CNSを習いたいお方は
; 読んでみたらいいです。

[Data]
;Amount of life to start with
;体力ゲージの初期値
life = 1000
;attack power (more is stronger)
;攻撃ダメージ
attack = 100
;defensive power (more is stronger)
;体力パワー
defence = 100
;Percentage to increase defense everytime player is knocked down
fall.defence_up = 50
;Time which player lies down for, before getting up
liedown.time = 60
;Number of points for juggling
airjuggle = 15
;Default hit spark number for HitDefs
sparkno = 0.5,0.5



;Default guard spark number
guard.sparkno = 40
;1 to enable echo on KO
KO.echo = 0
;Volume offset (negative for softer)
volume = 0
;Variables with this index and above will not have their values
;reset to 0 between rounds or matches. There are 60 int variables,
;indexed from 0 to 59, and 40 float variables, indexed from 0 to 39.
;If omitted, then it defaults to 60 and 40 for integer and float
;variables repectively, meaning that none are persistent, i.e. all
;are reset. If you want your variables to persist between matches,
;you need to override state 5900 from common1.cns.
IntPersistIndex = 60
FloatPersistIndex = 40



[Size]
xscale = 0.5    ;Horizontal scaling factor.
yscale = 0.5          ;Vertical scaling factor.
ground.back = 14;24     ;Player width (back, ground)
ground.front = 12;26    ;Player width (front, ground)
air.back = 20        ;Player width (back, air)
air.front = 20       ;Player width (front, air)
z.width = 3          ;Player width (into and out)
height = 60	         ;Height of player (for opponent to jump over)
attack.dist = 160    ;Default attack distance
proj.attack.dist = 90 ;Default attack distance for projectiles
proj.doscale = 0     ;Set to 1 to scale projectiles too   
shadowoffset = 0     ;Number of pixels to vertically offset the shadow
draw.offset = 0,0    ;Player drawing offset in pixels (x, y)

[Velocity]
walk.fwd  = 6.2    ;Walk forward
walk.back = -2.3     ;Walk backward
run.fwd  = 9, -3.8 ;Run forward (x, y)
run.back = -7.7,-3.4 ;Hop backward (x, y)
jump.neu = 0,-11.5     ; 垂直ジャンプ速度
jump.fwd = 4.30      ; 前方ジャンプ速度
jump.back = -3.80       ;Jump forward Speed (x, y)
runjump.back = -2.65,-8.1 ;Running jump speeds (opt)
runjump.fwd = 4,-10      ;.
airjump.neu = 0,-10     ;.
airjump.back = -2.5      ;Air jump speeds (opt)
airjump.fwd = 2.5         ;.

[Movement]
airjump.num = 1   ;Number of air jumps allowed (opt)
airjump.height = 15  ;Minimum distance from ground before you can air jump (opt)
yaccel = .54       ;Vertical acceleration
stand.friction = .85  ;Friction coefficient when standing
crouch.friction = .82 ;Friction coefficient when crouching


