Garry's Mod

Garry's Mod

174 个评价
Glide // Circular Functions (Nitrous, Health Bar)
3
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 载具
插件标签: 快乐, 角色扮演, 写实
文件大小
发表于
更新日期
9.599 MB
8 月 4 日 上午 8:29
11 月 9 日 上午 5:14
19 项改动说明 ( 查看 )

订阅以下载
Glide // Circular Functions (Nitrous, Health Bar)

在 Roboboy 的 1 个合集中
Unit Vehicles Addons
71 件物品
描述
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
28 条留言
7H3_HuN73R-03 13 小时以前 
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