monday
Expert
- Joined
- Jun 23, 2014
- Messages
- 1,127
- Solutions
- 1
- Reaction score
- 158
Keys:
numpad 9 - increase fighting speed
numpad 3 - decrease
Source:
numpad 9 - increase fighting speed
numpad 3 - decrease
Source:
Code:
{$CLEO .cs}
0000: NOP
1@ = 1.0
0@ = 1
:First
wait 0
if key_down 105// numpad9
then
1@ += 0.1
wait 100
0AD1: show_formatted_text_highpriority "fightSpeed rate = %0.1f" time 1000 1@
end
if key_down 99// numpad3
then
1@ -= 0.1
wait 100
0AD1: show_formatted_text_highpriority "fightSpeed rate = %0.1f" time 1000 1@
end
0AB1: @setFightingRate 1 value 1@
jump @First
//0AB1: @setFightingRate 1 value 1@
:setFightingRate
0393: actor $PLAYER_ACTOR perform_animation "FightA_1" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightA_2" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightA_3" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightA_block" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightA_G" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightA_M" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FIGHTIDLE" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightShB" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightShF" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightSh_BWD" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightSh_FWD" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightSh_Left" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightSh_Right" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightB_1" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightB_2" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightB_3" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightB_block" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightB_G" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightB_IDLE" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightB_M" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "HitB_1" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "HitB_2" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "HitB_3" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightC_1" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightC_2" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightC_3" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightC_block" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightC_blocking" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightC_G" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightC_IDLE" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightC_M" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightC_Spar" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "HitC_1" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "HitC_2" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "HitC_3" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightD_1" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightD_2" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightD_3" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightD_bock" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightD_G" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightD_IDLE" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightD_M" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "HitD_1" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "HitD_2" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "HitD_3" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightKick" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "FightKick_B" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "Hit_fightkick" at 0@ times_normal_rate
0393: actor $PLAYER_ACTOR perform_animation "Hit_fightkick_B" at 0@ times_normal_rate
0AB2: ret 0