Yet another speedometer! NFSU-style, with support for NOS and Turbo.
- Grand Theft Auto V
- ScriptHookV by Alexander Blade
Mentioned requirements are partly submodules, so just init/update your cloned repo and you should be good to go.
This script reads the following decorators:
int
-ikt_speedo_nos
: Presence of a nitrous modfloat
-ikt_speedo_nos_level
: Nitrous level, between 0.0f and 1.0fint
-nfsnitro_stage
: Nitrous kit upgrade levelfloat
-nfsdrag_heat
: Drag HUD heatbool
-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.