AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   [TFC] Nail grenade bug fix (https://forums.alliedmods.net/showthread.php?t=259149)

pizzahut 03-01-2015 15:31

[TFC] Nail grenade bug fix
 
1 Attachment(s)
A popular but frowned upon bug in TFC is setting off a nail grenade below a ceiling or at a wall. When this happens the nail grenade will rise and get stuck inside, causing damage to the whole hallway upon explosion.

There's a Metamod plugin which fixes this issue to a degree, but it seems limited to separating floor and ceiling, while an enemy who is below a ceiling or door with a stuck grenade still gets damaged from far away.

So here's my attempt at fixing it, it's not perfect but hopefully good enough.

I've used Ramono's Automatic Unstucking plugin as basis.

Cvars:
fix_ng_bug_enabled - 0 = off, 1 = on
fix_ng_bug_version - The version number of this plugin.

pizzahut 11-13-2015 17:48

Re: [TFC] Nail grenade bug fix
 
When I wrote this plugin I thought nail grens which are stuck in a wall also trigger this bug, but apparently that's not the case. So it needs to be modified to only remove nail grens which are inside a ceiling.

I've reverted to Sparky since I discovered this, however I have problems with the server sometimes crashing with a "corrupted double-linked list" error which I suspect Sparky is causing it. So this is another reason to use the AMXX plugin instead of Sparky, just needs to be tweaked.

RoboCop 11-14-2015 08:18

Re: [TFC] Nail grenade bug fix
 
Hope it goes well!


All times are GMT -4. The time now is 09:44.

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