Filesystem/Race/Common.szs/kartAIActionParam.bin

From Custom Mario Kart
< Filesystem‎ | Race‎ | Common.szs
Revision as of 21:11, 19 August 2020 by Palapeli (talk | contribs) (Created page with "'''kartAIActionParam.bin''' is a sub file of '''/Race/Common.szs'''. It contains random number probabilities for CPU actions, for each difficult...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

kartAIActionParam.bin is a sub file of /Race/Common.szs. It contains random number probabilities for CPU actions, for each difficulty mode. AIParam.baa overrides the entire file if it's present in the AIParam folder in the course's file.

File Format

The file consists of 36 entries, each one containing eight single-precision floating point values (0x20 bytes). These entries are split up into three sections, which match the CPU difficulty, or engine class if the mode is Grand Prix.

kartAIActionParam.bin Sections
Offset Size Description
0x0 0x20*12 Easy difficulty entries (50cc GP)
0x180 0x20*12 Normal difficulty entries (100cc GP)
0x300 0x20*12 Hard difficulty entries (150cc/Mirror GP)
0x480 End of the file


Entry

There are 12 entries in each section, for each CPU player. Each value represents a percentage, from 0 to 100, of the probability that the action is performed.

Offset Type Description
0x00 Float Unknown
0x04 Float Probability of failing the start boost.
0x08 Float Unknown
0x0C Float Unknown
0x10 Float Unknown
0x14 Float Unknown
0x18 Float Unknown
0x1C Float Unknown