Page 2 of 2

Re: [HL2:DM] Infinite aux power for sprinting OR breathing

Posted: Sun Jun 02, 2019 7:20 am
by Painkiller
Nice, Many Thanks.

Re: [HL2:DM] Infinite aux power for sprinting OR breathing

Posted: Sat Oct 10, 2020 9:57 pm
by VinciT
While working on a plugin of my own, I came across a more efficient way for setting the drain rate of aux:
The CHL2_Player::SuitPower_AddDevice() function gets called only when the player starts running or diving, while RunCommand() gets called at least 30 times per second if I'm not mistaken.

Re: [HL2:DM] Infinite aux power for sprinting OR breathing

Posted: Sun Oct 11, 2020 9:04 am
by Painkiller
Nice, thanks for update.