Skip to content

ikt32/GTAVSpeedo

Repository files navigation

GTA V Speedometer

Build status

Yet another speedometer! NFSU-style, with support for NOS and Turbo.

Preview

Requirements

Downloads

Building

Requirements

Mentioned requirements are partly submodules, so just init/update your cloned repo and you should be good to go.

Decorators

This script reads the following decorators:

  • int - ikt_speedo_nos: Presence of a nitrous mod
  • float - ikt_speedo_nos_level: Nitrous level, between 0.0f and 1.0f
  • int - nfsnitro_stage: Nitrous kit upgrade level
  • float - nfsdrag_heat: Drag HUD heat
  • bool - nfsdrag_showhud: Drag HUD toggle

To make the green N2O bars appear in the speedometer, your mod has to set ikt_speedo_nos to 1 on the currently used vehicle, set it to 0 to remove.

N2O level ranges from 1.0f to 0.0f. Again, set ikt_speedo_nos_level to this level on the currently used vehicle.

N2O bars also appear for vehicles with a rocket boost - the rocket boost takes precedence over any external mods.