Pages 1
Universal Fighting Engine Forum We are no longer using the forum to answer questions due to bot attacks. Please use our discord instead: https://discord.gg/hGMZhF7 |
You are not logged in. Please login or register.
Universal Fighting Engine Forum → Suggestions → Negative Gauge Addition
+1 for this. This can open up a lot of possibilities.
Using source it's possible to get gauge subtraction but gauge doesn't seemed to be capped at 0 so it can cause some issues.
Are you sure about that? Currently I've worked around this in the source by changing line 2678 of ControlsScript.cs:
if((int)gaugeInfo.targetGauge == 1)
{
opControlsScript.RemoveGauge(gaugeInfo._opGaugeGainOnBlock, 1);
} else
{
opControlsScript.AddGauge(gaugeInfo._opGaugeGainOnBlock, (int)gaugeInfo.targetGauge);
}
I'm confused about what this code does and where to put it. Is it supposed to prevent gauge from going below 0? The code gave me errors when i tried to paste it in line 2678.
Universal Fighting Engine Forum → Suggestions → Negative Gauge Addition
Powered by PunBB, supported by Informer Technologies, Inc.