[HL2:DM] Infinite aux power for sprinting OR breathing
- Painkiller
- Senior Member
- Posts: 751
- Joined: Sun Mar 01, 2015 8:09 am
- Location: Germany
- Contact:
Re: [HL2:DM] Infinite aux power for sprinting OR breathing
Nice, Many Thanks.
Re: [HL2:DM] Infinite aux power for sprinting OR breathing
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.
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.
- Painkiller
- Senior Member
- Posts: 751
- Joined: Sun Mar 01, 2015 8:09 am
- Location: Germany
- Contact:
Re: [HL2:DM] Infinite aux power for sprinting OR breathing
Nice, thanks for update.
Who is online
Users browsing this forum: No registered users and 42 guests