Difference between revisions of "Fistfite.dat"

From GTAMods Wiki
Jump to navigation Jump to search
m
(updating styles)
Line 3: Line 3:
  
 
==Format==
 
==Format==
{| {{prettytable}}
+
{|class="wikitable center-col-1"
! {{Icon|3}}
+
!{{Icon|3}} ||{{Icon|VC}} ||Name ||Type ||Description
! {{Icon|VC}}
 
! Name
 
! Type
 
! Description
 
 
|-
 
|-
| colspan="2"| <center>A</center>
+
|colspan="2"|A
| Move Name
+
|Move Name
| string
+
|string
| Any names can be used here. This is only used for identification.
+
|Any names can be used here. This is only used for identification.
 
|-
 
|-
| colspan="2"| <center>B</center>
+
|colspan="2"|B
| Start Fire Time
+
|Start Fire Time
| float
+
|float
|  
+
|
 
|-
 
|-
| colspan="2"| <center>C</center>
+
|colspan="2"|C
| End Fire Time
+
|End Fire Time
| float
+
|float
|  
+
|
 
|-
 
|-
| colspan="2"| <center>D</center>
+
|colspan="2"|D
| Combo follow on time
+
|Combo follow on time
| float
+
|float
| Right after the first attack, the next attack will be the next move in the list within the group. Successive attacks (mashing attack button) will no longer follow the list until the attack is no longer successive. This was never used in the game by default.
+
|Right after the first attack, the next attack will be the next move in the list within the group. Successive attacks (mashing attack button) will no longer follow the list until the attack is no longer successive. This was never used in the game by default.
 
|-
 
|-
| colspan="2"| <center>E</center>
+
|colspan="2"|E
| Strike Radius
+
|Strike Radius
| float
+
|float
| The effective distance to do damage. Can also affect victims behind you.
+
|The effective distance to do damage. Can also affect victims behind you.
 
|-
 
|-
| <center>-</center>
+
| -
| <center>F</center>
+
|F
| Extend Reach Multiplier
+
|Extend Reach Multiplier
| float
+
|float
|  
+
|
 
|-
 
|-
| <center>F</center>
+
|F
| <center>G</center>
+
|{{a|c}} |G
| Hit Level
+
|Hit Level
| character
+
|character
 
|
 
|
G - ground; feet, but can glitch the animation of the victim if the victim is standing.<br>
+
*G - ground; feet, but can glitch the animation of the victim if the victim is standing.
L - low; attack the stomach.<br>
+
*L - low; attack the stomach.
M - mid; attack the face.<br>
+
*M - mid; attack the face.
H - high; unlike to its name, this will automatically select which hit level to use based on the animation.<br>
+
*H - high; unlike to its name, this will automatically select which hit level to use based on the animation.
N - none; does no damage
+
*N - none; does no damage
 
|-
 
|-
| <center>G</center>
+
|G
| <center>H</center>
+
|{{a|c}} |H
| Animation Name
+
|Animation Name
| string
+
|string
| The name of the animation to use from the <code>[[ped.ifp]]</code> file. Any animation should work and do damage as long as the animation is loaded and the animation can reach the victim. You can use <i>default</i> as the name to use default animations that are [[hardcoded]] into the game.
+
|The name of the animation to use from the <code>[[ped.ifp]]</code> file. Any animation should work and do damage as long as the animation is loaded and the animation can reach the victim. You can use <i>default</i> as the name to use default animations that are [[hardcoded]] into the game.
 
|-
 
|-
| <center>H</center>
+
|H
| <center>I</center>
+
|{{a|c}} |I
| Damage
+
|Damage
| integer
+
|integer
| The higher the damage, the more health the victim loses and, if the victim's health is low enough, the father the victim flies into the air. The damage value for punching while running is defined in <code>[[weapon.dat]]</code> and the damage is calculated differently there.
+
|The higher the damage, the more health the victim loses and, if the victim's health is low enough, the father the victim flies into the air. The damage value for punching while running is defined in <code>[[weapon.dat]]</code> and the damage is calculated differently there.
 
|-
 
|-
| <center>I</center>
+
|I
| <center>J</center>
+
|{{a|c}} |J
| Flags
+
|Flags
| integer
+
|integer
|  
+
|
 
|}
 
|}
  
 
==List of moves==
 
==List of moves==
The line number determines which move to use and which group the move belongs to.
 
 
 
{{incomplete}}
 
{{incomplete}}
 
===GTA III===
 
===GTA III===
{| {{prettytable}}
+
{|class="wikitable"
! Line
+
!Entry ||Move ||Description
! Move
 
! Description
 
 
|-
 
|-
| 1 || Null ||
+
|0 ||Null ||
 
|-
 
|-
| 2 || StdPunch ||
+
|1 ||StdPunch ||
 
|-
 
|-
| 3 || Idle ||
+
|2 ||Idle ||
 
|-
 
|-
| 4 || Shuffle_f ||
+
|3 ||Shuffle_f ||
 
|-
 
|-
| 5 || Knee ||
+
|4 ||Knee ||
 
|-
 
|-
| 6 || Headbutt ||
+
|5 ||Headbutt ||
 
|-
 
|-
| 7 || PunchJab ||
+
|6 ||PunchJab ||
 
|-
 
|-
| 8 || PunchHook ||
+
|7 ||PunchHook ||
 
|-
 
|-
| 9 || Kick ||
+
|8 ||Kick ||
 
|-
 
|-
| 10 || LongKick ||
+
|9 ||LongKick ||
 
|-
 
|-
| 11 || RoundHouse ||
+
|10 ||RoundHouse ||
 
|-
 
|-
| 12 || BodyBlow ||
+
|11 ||BodyBlow ||
 
|-
 
|-
| 13 || GroundKick ||
+
|12 ||GroundKick ||
 
|-
 
|-
| 14 || HitFront ||
+
|13 ||HitFront ||
 
|-
 
|-
| 15 || HitBack ||
+
|14 ||HitBack ||
 
|-
 
|-
| 16 || HitRight ||
+
|15 ||HitRight ||
 
|-
 
|-
| 17 || HitLeft ||
+
|16 ||HitLeft ||
 
|-
 
|-
| 18 || HitBody ||
+
|17 ||HitBody ||
 
|-
 
|-
| 19 || HitChest ||
+
|18 ||HitChest ||
 
|-
 
|-
| 20 || HitHead ||
+
|19 ||HitHead ||
 
|-
 
|-
| 21 || HitBigStep ||
+
|20 ||HitBigStep ||
 
|-
 
|-
| 22 || HitOnFloor ||
+
|21 ||HitOnFloor ||
 
|-
 
|-
| 23 || HitBehind ||
+
|22 ||HitBehind ||
 
|-
 
|-
| 24 || Idle2Norm ||
+
|23 ||Idle2Norm ||
 
|}
 
|}
  
Line 133: Line 125:
  
 
====Other====
 
====Other====
{| {{prettytable}}
+
{|class="wikitable"
! Line
+
!Entry ||Move ||Description
! Move
 
! Description
 
 
|-
 
|-
| 1 || Null || null
+
|0 ||Null ||null
 
|-
 
|-
| 2 || StdPunch || standard punch
+
|1 ||StdPunch ||standard punch
 
|-
 
|-
| 3 || Idle || idle
+
|2 ||Idle ||idle
 
|-
 
|-
| 4 || Shuffle_f || shuffle
+
|3 ||Shuffle_f ||shuffle (moving forwards to attack)
 
|}
 
|}
  
 
====Frontal attack====
 
====Frontal attack====
 
These moves are used when you are standing still attacking a victim in front with the fist or small weapons that can melee in close range.
 
These moves are used when you are standing still attacking a victim in front with the fist or small weapons that can melee in close range.
{| {{prettytable}}
+
{|class="wikitable"
! Line
+
!Entry ||Move ||Description
! Move
 
! Description
 
 
|-
 
|-
| 5 || Knee || Attacks with the right knee
+
|4 ||Knee ||Attacks with the right knee
 
|-
 
|-
| 6 || PunchHook || Attacks with the left fist
+
|5 ||PunchHook ||Attacks with the left fist
 
|-
 
|-
| 7 || Jab || Attacks with the left fist
+
|6 ||Jab ||Attacks with the left fist
 
|-
 
|-
| 8 || Punch || Attacks with the right fist
+
|7 ||Punch ||Attacks with the right fist
 
|-
 
|-
| 9 || LongKick || Kicks high in the air with the right leg
+
|8 ||LongKick ||Kicks high in the air with the right leg
 
|-
 
|-
| 10 || RoundHouse || Swings the right leg around in the air
+
|9 ||RoundHouse ||Swings the right leg around in the air
 
|}
 
|}
  
 
====Directional attacks====
 
====Directional attacks====
 
These moves are used when the victim is not in front.
 
These moves are used when the victim is not in front.
{| {{prettytable}}
+
{|class="wikitable"
! Line
+
!Entry ||Move ||Description
! Move
 
! Description
 
 
|-
 
|-
| 11 || FwdLeft || front left kick attack
+
|10 ||FwdLeft ||front left kick attack
 
|-
 
|-
| 12 || FwdRight || front right headbutt attack
+
|11 ||FwdRight ||front right headbutt attack
 
|-
 
|-
| 13 || BackKick || rear left kick attack
+
|12 ||BackKick ||rear left kick attack
 
|-
 
|-
| 14 || BackFlip ||
+
|13 ||BackFlip ||
 
|-
 
|-
| 15 || BackLeft || left elbow attack
+
|14 ||BackLeft ||left elbow attack
 
|-
 
|-
| 16 || BackRight || rear right kick attack
+
|15 ||BackRight ||rear right kick attack
 
|-
 
|-
| 17 || RightSweep || right elbow attack
+
|16 ||RightSweep ||right elbow attack
 
|}
 
|}
  
 
====Special attack====
 
====Special attack====
{| {{prettytable}}
+
{|class="wikitable"
! Line
+
!Entry ||Move ||Description
! Move
 
! Description
 
 
|-
 
|-
| 18 || GroundKick || Kicks ground with right foot
+
|17 ||GroundKick ||Kicks ground with right foot
 
|}
 
|}
  
 
====Responses====
 
====Responses====
 
These moves are responses from being attacked.
 
These moves are responses from being attacked.
{| {{prettytable}}
+
{|class="wikitable"
! Line
+
!Entry ||Move ||Description
! Move
 
! Description
 
 
|-
 
|-
| 19 || HitFront ||
+
|18 ||HitFront ||
 
|-
 
|-
| 20 || HitBack ||
+
|19 ||HitBack ||
 
|-
 
|-
| 21 || HitRight ||
+
|20 ||HitRight ||
 
|-
 
|-
| 22 || HitLeft ||
+
|21 ||HitLeft ||
 
|-
 
|-
| 23 || HitBody ||
+
|22 ||HitBody ||
 
|-
 
|-
| 24 || HitChest ||
+
|23 ||HitChest ||
 
|-
 
|-
| 25 || HitHead ||
+
|24 ||HitHead ||
 
|-
 
|-
| 26 || HitBigStep ||
+
|25 ||HitBigStep ||
 
|-
 
|-
| 27 || HitOnFloor ||
+
|26 ||HitOnFloor ||
 
|-
 
|-
| 28 || HitBehind ||
+
|27 ||HitBehind ||
 
|}
 
|}
  
 
====Melee weapon attacks====
 
====Melee weapon attacks====
{| {{prettytable}}
+
These moves are used for sharp melee weapons.
! Line
+
{|class="wikitable"
! Move
+
!Entry ||Move ||Description
! Description
 
 
|-
 
|-
| 29 || Attack1 ||
+
|28 ||Attack1 ||First swing of sharp melee weapon
 
|-
 
|-
| 30 || Attack2 ||
+
|29 ||Attack2 ||Second swing of sharp melee weapon
 
|-
 
|-
| 31 || Attack3 ||
+
|30 ||Attack3 ||Final swing of sharp melee weapon or screwdriver stabbing
|-
+
|}
| 32 || Idle2Norm ||
+
 
 +
====Miscellaneous====
 +
{|class="wikitable"
 +
!Entry ||Move ||Description
 
|-
 
|-
| 33 || Idle2Norm ||
+
|31 ||Idle2Norm ||
 
|}
 
|}
  
{{N|VC}}
+
{{N|VC|3}}
  
[[Category:File Formats]][[Category:GTA_3]]
+
[[Category:File Formats]]

Revision as of 17:25, 27 January 2017

The fistfite.dat file contains information on melee attacks, including damage and animation, in GTA III and Vice City. The file is located in the \data folder of the game's directory.

Format

GTA III Vice City Name Type Description
A Move Name string Any names can be used here. This is only used for identification.
B Start Fire Time float
C End Fire Time float
D Combo follow on time float Right after the first attack, the next attack will be the next move in the list within the group. Successive attacks (mashing attack button) will no longer follow the list until the attack is no longer successive. This was never used in the game by default.
E Strike Radius float The effective distance to do damage. Can also affect victims behind you.
- F Extend Reach Multiplier float
F G Hit Level character
  • G - ground; feet, but can glitch the animation of the victim if the victim is standing.
  • L - low; attack the stomach.
  • M - mid; attack the face.
  • H - high; unlike to its name, this will automatically select which hit level to use based on the animation.
  • N - none; does no damage
G H Animation Name string The name of the animation to use from the ped.ifp file. Any animation should work and do damage as long as the animation is loaded and the animation can reach the victim. You can use default as the name to use default animations that are hardcoded into the game.
H I Damage integer The higher the damage, the more health the victim loses and, if the victim's health is low enough, the father the victim flies into the air. The damage value for punching while running is defined in weapon.dat and the damage is calculated differently there.
I J Flags integer

List of moves

This section is incomplete. You can help by fixing and expanding it.

GTA III

Entry Move Description
0 Null
1 StdPunch
2 Idle
3 Shuffle_f
4 Knee
5 Headbutt
6 PunchJab
7 PunchHook
8 Kick
9 LongKick
10 RoundHouse
11 BodyBlow
12 GroundKick
13 HitFront
14 HitBack
15 HitRight
16 HitLeft
17 HitBody
18 HitChest
19 HitHead
20 HitBigStep
21 HitOnFloor
22 HitBehind
23 Idle2Norm

Vice City

Other

Entry Move Description
0 Null null
1 StdPunch standard punch
2 Idle idle
3 Shuffle_f shuffle (moving forwards to attack)

Frontal attack

These moves are used when you are standing still attacking a victim in front with the fist or small weapons that can melee in close range.

Entry Move Description
4 Knee Attacks with the right knee
5 PunchHook Attacks with the left fist
6 Jab Attacks with the left fist
7 Punch Attacks with the right fist
8 LongKick Kicks high in the air with the right leg
9 RoundHouse Swings the right leg around in the air

Directional attacks

These moves are used when the victim is not in front.

Entry Move Description
10 FwdLeft front left kick attack
11 FwdRight front right headbutt attack
12 BackKick rear left kick attack
13 BackFlip
14 BackLeft left elbow attack
15 BackRight rear right kick attack
16 RightSweep right elbow attack

Special attack

Entry Move Description
17 GroundKick Kicks ground with right foot

Responses

These moves are responses from being attacked.

Entry Move Description
18 HitFront
19 HitBack
20 HitRight
21 HitLeft
22 HitBody
23 HitChest
24 HitHead
25 HitBigStep
26 HitOnFloor
27 HitBehind

Melee weapon attacks

These moves are used for sharp melee weapons.

Entry Move Description
28 Attack1 First swing of sharp melee weapon
29 Attack2 Second swing of sharp melee weapon
30 Attack3 Final swing of sharp melee weapon or screwdriver stabbing

Miscellaneous

Entry Move Description
31 Idle2Norm