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

A place for requesting new Source.Python plugins to be made for your server.

Please request only one plugin per thread.
User avatar
Painkiller
Senior Member
Posts: 725
Joined: Sun Mar 01, 2015 8:09 am
Location: Germany
Contact:

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

Postby Painkiller » Sun Jun 02, 2019 7:20 am

Nice, Many Thanks.
User avatar
VinciT
Senior Member
Posts: 331
Joined: Thu Dec 18, 2014 2:41 am

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

Postby VinciT » Sat Oct 10, 2020 9:57 pm

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.
ImageImageImageImageImage
User avatar
Painkiller
Senior Member
Posts: 725
Joined: Sun Mar 01, 2015 8:09 am
Location: Germany
Contact:

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

Postby Painkiller » Sun Oct 11, 2020 9:04 am

Nice, thanks for update.

Return to “Plugin Requests”

Who is online

Users browsing this forum: No registered users and 16 guests