Description
Melee dat is a data text file found in; San Andreas/data/melee.data
This file has information, on melee functions, such as kung-fu, and other fighting styles, range, and force.
This file can be opened and edited with any text editor.
The game must be restarted, in order to make effect.
Editing
Editing the file is very simple, it goes like this:
- Code:
START_COMBO ## // ## meaning the combo
ANIMGROUP ## // ## meaning the anim group
RANGES
ATTACK1
ATTACK2
ATTACK3
AGROUND
AMOVING
ABLOCK
FLAGS
Then the values:
- Code:
Hit, Chain, Radius, Hitlevel, Damage, Hit, AltHit, GroundLoop
When you need to end a combo, you need to use:
- Code:
END_COMBO
Struct
- Code:
Start 0xC170D0
Size 0x88
Num 0x0F
- Code:
+0x00 DWord ANIMGROUP
+0x04 Float RANGES
+0x08 Float ATTACK1 hit / 30.0
+0x0C Float ATTACK2 hit / 30.0
+0x10 Float ATTACK3 hit / 30.0
+0x14 Float AGROUND hit / 30.0
+0x18 Float AMOVING hit / 30.0
+0x1C Float ATTACK1 chain / 30.0
+0x20 Float ATTACK2 chain / 30.0
+0x24 Float ATTACK3 chain / 30.0
+0x28 Float AGROUND chain / 30.0
+0x2C Float AMOVING chain / 30.0
+0x30 Float ATTACK1 radius
+0x34 Float ATTACK2 radius
+0x38 Float ATTACK3 radius
+0x3C Float AGROUND radius
+0x40 Float AMOVING radius
+0x44 Float AGROUND groundLoop / 30.0
+0x48 Float ABLOCK hit / 30.0
+0x4C Float ABLOCK chain / 30.0
+0x50 Byte ATTACK1 hitlevel
+0x51 Byte ATTACK2 hitlevel
+0x52 Byte ATTACK3 hitlevel
+0x53 Byte AGROUND hitlevel
+0x54 Byte AMOVING hitlevel
+0x55 Byte ATTACK1 damage
+0x56 Byte ATTACK2 damage
+0x57 Byte ATTACK3 damage
+0x58 Byte AGROUND damage
+0x59 Byte AMOVING damage
+0x5A Byte Padding
+0x5B Byte Padding
+0x5C DWord ATTACK1 hit + 60
+0x60 DWord ATTACK2 hit + 60
+0x64 DWord ATTACK3 hit + 60
+0x68 DWord AGROUND hit + 60
+0x6C DWord AMOVING hit + 60
+0x70 DWord ATTACK1 altHit + 60
+0x74 DWord ATTACK2 altHit + 60
+0x78 DWord ATTACK3 altHit + 60
+0x7C DWord AGROUND altHit + 60
+0x80 DWord AMOVING altHit + 60
+0x84 DWord FLAGS
* Index of array = *(Byte*)(0xC8AB26 + WeaponID * 0x70) - 4;