安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题






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.
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.
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
no luck lol
It doesn't really make sense in some circumstances.