We recommend using the Thunderstore Mod Manager or an alternative for installing mods

NoSelfPing
"Wait, so this entire time you *didn't* actually want to attack yourself?..." -- This fixes a bug causing you to ping yourself at certain camera angles.
By Xan
Last updated | 2 months ago |
Total downloads | 14995 |
Total rating | 0 |
Categories | Tweaks Mods |
Dependency string | Xan-NoSelfPing-1.0.0 |
Dependants | 16 other mods depend on this mod |
This mod requires the following mods to function

bbepis-BepInExPack
Unified BepInEx all-in-one modding pack - plugin framework, detour library
Preferred version: 5.4.9
README
No Self Ping
This mod fixes a bug that made it possible to ping yourself, printing funny (albeit annoying) messages like Xan wants to attack: Xan
.
This is particularly useful for mods that add large character models, as the character model gets in the way of otherwise meaningful pings.
Modders
Modders, please note that this method bypasses PingerController.GeneratePingInfo
such that its second call to Util.CharacterRaycast
is redirected to a method implemented by my own code. This means that the hooks On.RoR2.Util.CharacterRaycast
and On.RoR2.Util.HandleCharacterPhysicsCastResults
will not execute if they are called via GeneratePingInfo
(but other code that uses those methods, such as certain attacks and targeting sequences, will work fine as if nothing has happened).
Basically, if your code does anything with the raycasting specifically when pinging, sorry, this is not compatible. I would like to avoid such an intrusive change, but the IL code is incredibly messy and hard to keep track of without it. I just wanted to mention this since it poses a compatibility issue.
Available versions
Please note that the install buttons only work if you have compatible client software installed, such as the Thunderstore Mod Manager. Otherwise use the zip download links instead.
Upload date | Version number | Downloads | Download link | |
---|---|---|---|---|
2023-1-11 | 1.0.0 | 14995 | Version 1.0.0 | Install |