Garry's Mod

Garry's Mod

Glide // Circular Functions (Nitrous, Health Bar)
28 条留言
7H3_HuN73R-03 21 小时以前 
BMW
Throatimus The Mad 9 月 15 日 下午 2: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 日 上午 1:19 
nvm, i ended up hooking it on OnUpdateMisc(), worked fine.
Matsilagi 9 月 8 日 下午 5: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.
Ani 9 月 7 日 下午 1:40 
Thanks!
AludriX  [作者] 9 月 5 日 下午 7:06 
@Animaritides ENT.NitrousEnabled, added to Stool too
Ani 9 月 5 日 上午 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  [作者] 9 月 3 日 上午 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
Ani 9 月 1 日 上午 8:46 
Would be great to have an option to configure the ability for certain vehicles to use nitrous.
Ifrit 8 月 28 日 上午 10:30 
what vehicle is in the thumbnail? been looking for it for about a week

no luck lol
AludriX  [作者] 8 月 18 日 下午 9:12 
sure thing cuties
NextKurome76TheSoldier 8 月 17 日 下午 5:08 
the critical damage warning doesnt fit well with old style vehicles, it could use an ConVar
bearishplane17 8 月 16 日 上午 9:38 
Need a option to turn off that AI voice when your vehicle's hp is low.

It doesn't really make sense in some circumstances.
ButtercupUtoniumGaming 8 月 8 日 上午 5:57 
Cool
Nate, some fluffy Lu 8 月 6 日 下午 3:38 
Would love to get a fire trail boost, not unlike the P12 88 in Burnout Paradise
vyquad 8 月 6 日 上午 8:24 
Are there plans for different nitro modes? Like Mode A is default, Mode B is overheat (see motorstorm monument valley or pacific rift), Mode C is midnight club style with charge buildup, and Mode D is like speed racer the videogame where theres charge buildup but each charge if done in sequence is more powerful
pibab 8 月 6 日 上午 6:29 
need for speeeed
Gplay47 8 月 6 日 上午 5:37 
perfect
Nitride 8 月 5 日 下午 5:08 
Can I have the Nitrus today
IgnitedRadium 8 月 5 日 上午 1:13 
pretty neat so far, i assume y'all will eventually add configurable options for the Nitrous feature (stuff like meter capacity, depletion/recharge rate, cooldown time), curious to see what's in store in the future
G-G-G-GAMERSHOT 8 月 4 日 下午 8:31 
SCars has finally been usurped
Vinnie Sift Heads 8 月 4 日 下午 7:46 
and now Cameras Glide please
/PROTAILSPROWER/ 8 月 4 日 上午 9:30 
Glad N2O is a thing now. Thanks!
Sing 8 月 4 日 上午 8:58 
Finally, rubberbanding.
Majster 8 月 4 日 上午 8:57 
she fast on my furious till i 2
TalonSolid 8 月 4 日 上午 8:42 
Best thing ever
Klonoa 8 月 4 日 上午 8:41 
Finally some fast and furious in my gmod races that looks crazy even without it
gustito 8 月 4 日 上午 8:41 
Nice🤑