Garry's Mod

Garry's Mod

Glide // Circular Functions (Nitrous, Health Bar)
 This topic has been pinned, so it's probably important
AludriX  [developer] 3 Sep @ 4:43am
For Vehicle Developers
If you are a Glide vehicle developer and you'd like to specify your own attributes (nitrous for example) within your vehicles, you can do that!

Circular Functions reads certain variables from your vehicle and applies them to your car on spawn. If they are not present then CF will use the convar values for the missing vars.

Below is a list of available variables:
  • ENT.NitrousEnabled: bool
  • ENT.NitrousPower: float
  • ENT.NitrousDepletionRate: float
  • ENT.NitrousRegenRate: float
  • ENT.NitrousRegenDelay: float
  • ENT.NitrousBurst: bool
  • ENT.NitrousColor: Color()

  • ENT.NitrousStartSound: string
  • ENT.NitrousLoopingSound: string
  • ENT.NitrousEndSound: string
  • ENT.NitrousEmptySound: string
  • ENT.CriticalDamageSound: string
Last edited by AludriX; 5 Sep @ 7:05pm
< >
Showing 1-1 of 1 comments
AludriX  [developer] 3 Sep @ 4:47am 
Note: For sound variables, ensure that they do not include "sound/"

e.g. ENT.NitrousStartSound = "glide_nitrous/nitrous_burst.wav"
< >
Showing 1-1 of 1 comments
Per page: 1530 50