Installer Steam
log på
|
sprog
简体中文 (forenklet kinesisk)
繁體中文 (traditionelt kinesisk)
日本語 (japansk)
한국어 (koreansk)
ไทย (thai)
Български (bulgarsk)
Čeština (tjekkisk)
Deutsch (tysk)
English (engelsk)
Español – España (spansk – Spanien)
Español – Latinoamérica (spansk – Latinamerika)
Ελληνικά (græsk)
Français (fransk)
Italiano (italiensk)
Bahasa indonesia (indonesisk)
Magyar (ungarsk)
Nederlands (hollandsk)
Norsk
Polski (polsk)
Português (portugisisk – Portugal)
Português – Brasil (portugisisk – Brasilien)
Română (rumænsk)
Русский (russisk)
Suomi (finsk)
Svenska (svensk)
Türkçe (tyrkisk)
Tiếng Việt (Vietnamesisk)
Українська (ukrainsk)
Rapporter et oversættelsesproblem
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.