Created 5 years ago2019-04-17 13:00:54 UTC by pakikakiker
#define MAX_NORMAL_BATTERY 100
// charge the player
if (m_hActivator->pev->armorvalue < 100)
{
m_iJuice--;
m_hActivator->pev->armorvalue += 1;
if (m_hActivator->pev->armorvalue > 100)
m_hActivator->pev->armorvalue = 100;
}
I think that's about it.rc.top += m_iHeight * ((float)(100-(V_min(100,m_iBat))) * 0.01);
So replace 0.01 with 0.02. I haven't tested this, but it should be that. It's around line 103, right after the #else
line. Either way, the code for drawing that stuff on the HUD is there, so change it as you need.