AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   Request: Sandman Stun Restored? (https://forums.alliedmods.net/showthread.php?t=311790)

Doug22 11-02-2018 16:51

Request: Sandman Stun Restored?
 
Is it possible to make the sandman back to what it used to be instead of just a slow? I'd really appreciate if someone could attempt to create a plugin that does this.

nosoop 11-02-2018 23:09

Re: Request: Sandman Stun Restored?
 
I was commissioned to write a plugin that changes the stun (not to revert it, though). I don't have the time nor motivation to write a properly reverted version, but here's some notes in case someone decides to take this on.
  1. Detour / hook CTFStunBall::ApplyBallImpactEffectOnVictim() with a pre-callback. I wrote mine before dynhooks was a thing, but either should be fine. Perform your stun logic there, and return MRES_Supercede.
  2. Projectiles use initial launch time to determine what distance they've traveled. It should be stored at m_iType + 0x04 on the projectile, but you may want to verify using a disassembly on the function mentioned right above around where gpGlobals is referenced (on Linux)

PC Gamer 11-03-2018 01:52

Re: Request: Sandman Stun Restored?
 
I found a Sandman Bonk plugin by Walgrim for you.
Link: https://forums.alliedmods.net/showpo...76&postcount=2


All times are GMT -4. The time now is 22:07.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.