Garry's Mod

Garry's Mod

162 arvostelua
Glide // Circular Functions (Nitrous, Health Bar)
3
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Content Type: Addon
Addon Type: Vehicle
Addon Tags: Fun, Roleplay, Realism
Tiedostokoko
Julkaistu
Päivitetty
9.601 MB
4.8. klo 8.29
2.10. klo 9.50
15 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Glide // Circular Functions (Nitrous, Health Bar)

1 kokoelmassa, tekijä Roboboy
Unit Vehicles Addons
65 luomusta
Kuvaus
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
Suositut keskustelut Näytä kaikki (1)
1
3.9. klo 4.47
TÄRKEÄ: For Vehicle Developers
AludriX
27 kommenttia
Throatimus The Mad 15.9. klo 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.9. klo 1.19 
nvm, i ended up hooking it on OnUpdateMisc(), worked fine.
Matsilagi 8.9. klo 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.9. klo 13.40 
Thanks!
AludriX  [tekijä] 5.9. klo 19.06 
@Animaritides ENT.NitrousEnabled, added to Stool too
Animaritides 5.9. klo 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  [tekijä] 3.9. klo 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.9. klo 8.46 
Would be great to have an option to configure the ability for certain vehicles to use nitrous.
Ifrit 28.8. klo 10.30 
what vehicle is in the thumbnail? been looking for it for about a week

no luck lol
AludriX  [tekijä] 18.8. klo 21.12 
sure thing cuties