[CS:GO] Hitbox Changer
This is an extension I made to emulate the effects of this thread, because I didn't want to go and recompile all of my models.
Capabilities This extension provides natives with the ability to modify the hitboxes of a model without recompilation. You can modify a hitboxes:
A test plugin is in the sourcecode as well if you want to check out how to use the different features. Natives
Due to the many differences in code between csgo and previous games, this extension was only made for CS:GO, but most of the core code should work if you want to edit it for another game, mostly stuff like removing the capsule hitbox code, feel free to fork it for other games. This is also the reason for including the modified csgo code, much of it was updated past the point where it would be compatible with the old mirrors, so It took a lot of trial and error to merge old and new together into a functional frankenstein. The extension now works for windows thanks to help from Peace-Maker, thanks. Note: This extension is now included in the latest version of ZR, if you have the latest version, this is already done, just add the extension. If you are using the ZR plugin, and want to remove human hitboxes for a performance boost, simply alter the zr/models.inc file to include the extension and edit the ModelsPrecache function to be: Code:
/** Get the extension and include on GitHub |
Re: [CS:GO] [Linux] Hitbox Changer
IVModelInfo received two more overloads of GetVCollide at the end with some additonal float parameter. The vtable layout on msvc puts all overloads next to each other instead of keeping them at the position in the class like gcc does. So the windows build calls the wrong function 2 below the desired one - GetIlluminationPoint instead of GetStudiomdl.
Adding the new overloads to the end of IVModelInfo in engine/ivmodelinfo.h in the sdk fixes the windows build. Code:
virtual vcollide_t *GetVCollide(const model_t *model, float unk1) const = 0; |
Re: [CS:GO] [Linux] Hitbox Changer
Quote:
|
Re: [CS:GO] Hitbox Changer
I added support for your extension on my zr version here.
|
Re: [CS:GO] Hitbox Changer
https://forums.alliedmods.net/showthread.php?t=313027
here is solution without nees use extensions... |
Re: [CS:GO] Hitbox Changer
Quote:
Actually no: The extension allows you to bypass those checks completly instead of checking for each penetration, beside that it gets triggered by player collisions aswell. This method is much more cpu friendly which is a huge deal on zombie escape servers. |
Re: [CS:GO] Hitbox Changer
Hi guys, I wrote an extension to make teammates completely ignore bullets, thanks to BotoX for his CSSFixes extension https://github.com/vanz666/BulletPenetrationFix
|
Re: [CS:GO] Hitbox Changer
Quote:
Thats better as the plugin only version. But disabling the hitbox completly still saves more performence. |
Re: [CS:GO] Hitbox Changer
Could someone do a plugin using this that disable nade collision on teammates?
Sometimes, whe I throw grenades, teammates blocks them and it's annoying. |
Re: [CS:GO] Hitbox Changer
Could you put the link with the compiled version for windows?
|
All times are GMT -4. The time now is 18:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.