Garry's Mod

Garry's Mod

161 betyg
Glide // Circular Functions (Nitrous, Health Bar)
3
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Content Type: Addon
Addon Type: Vehicle
Addon Tags: Fun, Roleplay, Realism
Filstorlek
Lades upp
Uppdaterades
9.601 MB
4 aug @ 8:29
2 okt @ 9:50
15 ändringsnotiser ( visa )

Abonnera för att ladda ner
Glide // Circular Functions (Nitrous, Health Bar)

I 1 samling av Roboboy
Unit Vehicles Addons
61 artiklar
Beskrivning
Circular Functions is an addon to Glide, adding in various additional features to the vehicle base.



Features (more coming soon)
  • Nitrous System; Accelerate faster and get more traction! Use the Nitrous Editor Tool under "Glide" to edit it!
  • Health Bar displayed on the Speedometer

Adjust the settings via Glide extensions menu!



FAQ
Question
Answer
How do I use Nitrous?
By default, Nitrous is bound to Left Alt, but can be changed in Glide Settings (under Land vehicle controls).



Credits
  • Roboboy - Main idea & Coding
  • AludriX - Coding
  • Moka - Coding
Populära diskussioner Visa alla (1)
1
3 sep @ 4:47
KLISTRAD: For Vehicle Developers
AludriX
27 kommentarer
Beef Stroganoff 15 sep @ 14:23 
is there a way to add a engine heat system for nitrous? sort of like in motorstorm where boosting makes the engine heat up until the car explodes, basically a feature to enable something like that
Matsilagi 9 sep @ 1:19 
nvm, i ended up hooking it on OnUpdateMisc(), worked fine.
Matsilagi 8 sep @ 17:38 
Any idea where on a glide vehicle i could hook a function to change the color in real-time?
Im trying to introduce the Boost Switch function on the Hawker Mech and i managed to get everything working but the nitrous color changes. No matter what, it only works on post initialize.

If i try to replace or hijack think, it causes the car to act weirdly, and i dont know where else it would be good to add that function without copying a bunch of unnecessary code into it.

I do know it has to change that value in the CLIENT side, but it sitll doesnt work.
Animaritides 7 sep @ 13:40 
Thanks!
AludriX  [skapare] 5 sep @ 19:06 
@Animaritides ENT.NitrousEnabled, added to Stool too
Animaritides 5 sep @ 9:13 
Yeah, I am aware you can change those attributes.

What I am saying is that an attribute to enable/disable the nitrous on a specific vehicle, would be great.

As currently to disable nitrous on a single vehicle, you have to set the depletion rate to a high number and the regen rate to 0. It works, but it's kinda hacky.

For example, maybe have like a variable like, ENT.HasNitrous = 0 or ENT.CanUseNitrous = 0.

If that variable is set to 0, then optionally remove the nitrous bar for that specific vehicle.
AludriX  [skapare] 3 sep @ 4:30 
@Animaritides You can already change attributes per vehicle using the Nitrous Editor STool

If you are a Glide vehicle dev and you'd like to add your own nitrous attributes to your vehicle, you can do that within the vehicle lua as well by setting entity variables:

ENT.NitrousPower
ENT.NitrousDepletionRate
ENT.NitrousRegenRate
ENT.NitrousRegenDelay -- how long it takes until nitrous starts regenerating
ENT.NitrousBurst
ENT.NitrousColor -- Color()

-- Custom sounds, provide path to them without sound/
ENT.NitrousStartSound
ENT.NitrousLoopingSound
ENT.NitrousEndSound
ENT.NitrousEmptySound
ENT.CriticalDamageSound
Animaritides 1 sep @ 8:46 
Would be great to have an option to configure the ability for certain vehicles to use nitrous.
Ifrit 28 aug @ 10:30 
what vehicle is in the thumbnail? been looking for it for about a week

no luck lol
AludriX  [skapare] 18 aug @ 21:12 
sure thing cuties