View Single Post
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 05-03-2011 , 00:16   Re: [TF2] RocketBounce
Reply With Quote #18

The IncrementDeflect sig is the only one that changed for rocketBounce...
It'd be better to use offsets for these, since those are easier to find. I have the version, will post later.

EDIT: Now, 1.4. The sm_rb_all cvar is now sm_rb_which, which determines which projectiles to bounce.
You add up the numbers of the ones you want to bounce.
1 - rocket
2 - flare
4 - arrow
8 - crossbow bolt
16 - sentry rocket
32 - mangler bolt
64 - bison "bolt" (really just the invisible gravity-affected invisible projectile that comes from it every time you fire; very very useless)

The following still respect sm_rb_max and sm_rb_which:
Cvar: sm_rb_defaultenable - default "toggle" setting for joining clients (1 means they should have it enabled when they join, 0 disabled)
Command: sm_rb_toggle - default generic admin flag, toggles RB being enabled on self.
Override: sm_rb_toggle_others - default cheats flag, allows sm_rb_toggle to target others.

Thanks to McKay for his stuff, though too many if statements and too much repeated code.

Plugin (1.5) updated 7/10/2013, gamedata updated 03/29/2020.
Attached Files
File Type: sp Get Plugin or Get Source (rocketBounce.sp - 940 views - 11.8 KB)
File Type: smx rocketBounce.smx (8.6 KB, 541 views)
File Type: txt tf2.rocketbounce.txt (334 Bytes, 104 views)
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.

Last edited by FlaminSarge; 03-29-2020 at 04:11.
FlaminSarge is offline