config #

The configuration file provides various settings for automatic actions in your Tekken automation script. It includes character mappings, probability settings, and script functionalities. This configuration is dynamic and can be accessed or modified through config.xx.


Character ID Mapping #

Description: Maps numerical IDs to character names. This mapping is used to reference characters in the script by their ID. The mapping can be accessed and modified dynamically.

Character ID to Name Mapping:

  • 0 : Paul
  • 1 : Law
  • 2 : King
  • 3 : Yoshimitsu
  • 4 : Hwoarang
  • 5 : Xiaoyu
  • 6 : Jin
  • 7 : Bryan
  • 8 : Kazuya
  • 9 : Steve
  • 10 : Jack
  • 11 : Asuka
  • 12 : Devil_Jin
  • 13 : Feng
  • 14 : Lili
  • 15 : Dragunov
  • 16 : Leo
  • 17 : Lars
  • 18 : Alisa
  • 19 : Claudio
  • 20 : Shaheen
  • 21 : Nina
  • 22 : Lee
  • 23 : Kuma
  • 24 : Panda
  • 25 : Zafina
  • 26 : Leroy
  • 27 : Jun
  • 28 : Reina
  • 29 : Azucena
  • 30 : Victor
  • 31 : Raven
  • 33 : Eddy
  • 34 : Lidia
  • 116 : Dummy

File Naming Convention: The script files for each character should be placed in the \scripts\Character\ directory. Each file should be named according to and a .lua extension. For example:

  • Paul.lua corresponds to Paul
  • Law.lua corresponds to Law
  • Devil_Jin.lua corresponds to Devil_Jin
  • Dummy.lua corresponds to Dummy

Example Path: /scripts/Character/Paul.lua for Paul

Dynamic Access:

  • The characters mapping is dynamic and can be accessed or modified through the config.characters interface.

Configuration Parameters #

DUCK_WHIP_PUNISH_CHANCE:

  • Description: Probability of automatic duck whiff punish. A higher value means a higher chance of executing a duck whiff punish (0-100).
  • Type: Integer (0-100)
  • Default: 100

BLOCK_HIGH_CHANCE:

  • Description: Probability of automatically blocking high attacks. A higher value means a higher chance of blocking high attacks (0-100).
  • Type: Integer (0-100)
  • Default: 100

BLOCK_MID_CHANCE:

  • Description: Probability of automatically blocking mid attacks. A higher value means a higher chance of blocking mid attacks (0-100).
  • Type: Integer (0-100)
  • Default: 100

BLOCK_LOW_CHANCE:

  • Description: Probability of automatically blocking low attacks. This value represents a 100% chance of blocking any incoming low attacks.
  • Type: Integer (0-100)
  • Default: 100

LOW_PARRY_CHANCE:

  • Description: Probability of performing a low parry instead of a block when a low attack is detected. This value represents a 50% chance of parrying within the overall 100% chance of defending against low attacks.
  • Type: Integer (0-100)
  • Default: 50

BLOCK_PUNISH_CHANCE:

  • Description: Probability of automatic block punish. A higher value means a higher chance of executing a block punish (0-100).
  • Type: Integer (0-100)
  • Default: 100

THROW_BREAK_CHANCE:

  • Description: Probability of automatically breaking throws. A higher value means a higher chance of successfully breaking throws (0-100).
  • Type: Integer (0-100)
  • Default: 100

USE_SCRIPT_COMBO_FUNCTION:

  • Description: Indicates whether to enable the built-in automatic macro input in the script.
  • Type: Boolean
  • Default: true (ON)

Dynamic Access:

  • All configuration parameters can be accessed or modified dynamically through the config.xx interface.
  • To retrieve or update configuration values, use the methods provided by the config.xx API.