Difference between revisions of "Fighting Styles"

From GTAMods Wiki
Jump to navigation Jump to search
(Added SA fighting styles lists)
 
(Adding style and moves description, revising the 8 6 which turns out to be a bat animation)
 
Line 10: Line 10:
 
   6        6      - Kung Fu
 
   6        6      - Kung Fu
 
   7        6      - Kick Boxing
 
   7        6      - Kick Boxing
   8        6      - Another animation (Not sure about the naming)
+
   8        6      - Bat/Nightstick/Shovel/Pool Cue/Golf Club animation
 +
  9        6      - Knife animation
 +
  10      6      - Bat animation, with faster 3rd combo (unused, probably registered as GOLFCLUB in the melee.dat)
 +
  11      6      - Katana/Cane animation
 +
  12      6      - Chainsaw animation
 +
  13      6      - Dildo animation
 +
  14      6      - Flower animation
 +
  15      6      - Punch and Kick (Default 2 hit combo)
 +
  16      6      - Gun Butt (Elbow using gun)
  
 +
Take care to only uses the stated combination above to avoid crashing the game   
 +
 
 
{{Incomplete}}
 
{{Incomplete}}

Latest revision as of 15:19, 9 March 2023

In CLEO there is an opcode(07FE) available for GTA SA to set character animations, specifically their melee attacks or fighting styles.

GIVE_MELEE_ATTACK_TO_CHAR (actor_handle) (style) (moves)

The opcode takes an actor handle as the first argument followed by style and moves. There are a few known working combinations of style & moves which produce different fighting animations.

style    moves
 4        6      - Default
 5        6      - Boxing
 6        6      - Kung Fu
 7        6      - Kick Boxing
 8        6      - Bat/Nightstick/Shovel/Pool Cue/Golf Club animation
 9        6      - Knife animation
 10       6      - Bat animation, with faster 3rd combo (unused, probably registered as GOLFCLUB in the melee.dat)
 11       6      - Katana/Cane animation
 12       6      - Chainsaw animation
 13       6      - Dildo animation
 14       6      - Flower animation
 15       6      - Punch and Kick (Default 2 hit combo)
 16       6      - Gun Butt (Elbow using gun)

Take care to only uses the stated combination above to avoid crashing the game

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