Monthly Target: $400 Donations: $13
 3% 

[TFC] Nail grenade bug fix


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Team Fortress Classic        Category:   General Purpose       
pizzahut
Senior Member
Join Date: Oct 2004
Old 03-01-2015 , 15:31   [TFC] Nail grenade bug fix
Reply With Quote #1

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.
Attached Files
File Type: sma Get Plugin or Get Source (fix_nail_gren_bug.sma - 43 views - 2.1 KB)
__________________
my AMXX plugins (content date 2007-03-29, link check 2013-12-09)

Last edited by pizzahut; 03-01-2015 at 17:34.
pizzahut is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:32.


Powered by vBulletin®
Copyright ©2000 - 2015, vBulletin Solutions, Inc.
Theme made by Freecode