042F

From GTAMods Wiki
Revision as of 03:09, 13 April 2017 by Spaceeinstein (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GTA III Vice City REGISTER_HIGHEST_SCORE


Description
Records high record stats
Syntax
042F: register_highest_int_stat [int1] to [int2]
Parameter
[int1]
Stat id
[int2]
Integer value

This opcode saves the highest value to almost any stat in the game. The stat can only be overwritten by a value larger than the previously saved value. The value set with this opcode is saved in block 17 of the save file in GTA III and block 19 in Vice City. This opcode is a no operation in San Andreas.

List of stats

These are all the stats that were used in the original script.

Id GTA III Vice City
0 Bling-bling Scramble Highest score for Shooter
1 Diablo Destruction Best Percentage of hits for Shooter
2 Mafia Massacre Number of drug deals made
3 Casino Calamity
4 Rumpo Wrecker

Extended stats

Using a similar exploit here for San Andreas, almost all stats can be edited using this technique for GTA III and Vice City. The second parameter accepts floating-point values for stats that require it.

For GTA III v1.0, these are the steps to edit most stats:

The resulting value is used as the stat id for this opcode. For example, the following line sets the "Hospital visits" stat to 10:

042F: 131659 10

For Vice City v1.0, these are the steps to edit most stats:

The resulting value is used as the stat id for this opcode. For example, the following line sets the "Hospital visits" stat to 10:

042F: -67264 10

See also

  • GTA III Vice City San Andreas 042E, register lowest int stat

Keywords

record, add, stat, statistics