Fighting Styles

From GTAMods Wiki
Jump to navigation Jump to search

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      - Another animation (Not sure about the naming)

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