[HL][REQUEST] Gauss fix for lamps.
When a player shoots to two contiguous wall blocks and the first block is very thin (like the lamps in crossfire), the gauss trace will pass the first wall and start the damage radius between the two walls, penetrating a ridiculous amount of "matter".
I've fixed it doing this: In gauss.cpp, line 371
TraceResult tr, beam_tr;
editing the same line adding another traceresult
TraceResult tr, beam_tr, beam_tr2;
and after this block of code (close to line 477):
// trace backwards to find exit point
UTIL_TraceLine( beam_tr.vecEndPos, tr.vecEndPos, dont_ignore_monsters, pentIgnore, &beam_tr);
adding this:
UTIL_TraceLine( beam_tr.vecEndPos, beam_tr.vecEndPos + vecDir * 8, dont_ignore_monsters,pentIgnore, &beam_tr2);
if (beam_tr2.fAllSolid || beam_tr2.fStartSolid || beam_tr2.flFraction != 1.0)
break;
I don't know if this is the better way to fix it but it seems to work very well, without altering the gauss gun mechanics
No no no this doesn't needs to be fixed.. EDIT:This is what pro players are used to.
A professional HL player has no need to use bugs in his favor, unlike newbies do. Maybe using a CVAR will please both worlds (newbies and pros). Also there's an amxmodx's plugin to deal with this but the method used is not practical, because it uses a coordinates list for each lamp, for each map.
My opinion doesn't matter that much, because I am not the average Half-Life player, but to be honest I share the opinion of @HARDSTYLEBG What you see as a bug is a feature for some users. So if you "fix" it, there has to be at least a cvar or s.th.. Also in my humble opinion this "fix" is up to people that create their own modification I think. I remember back in the days how people raged about the CS 1.6 updates where they "fixed" stuff that people had become used to and most didn't really see it as "broken". Of course we can now start an endless debate of where to draw the line between bug and feature, I'd vote for feature in this case though.
Please don't let my comment discourage you from posting further fixes and features! I added your fix in the Wiki.
Well in this case why don't alfred add sv_bhop 1 command for the unlimited bhop cap "will please both worlds (newbies and pros)."
@mikela-valve The PRO scene from HL is long gone, this is an old exploit, shouldn't be treated as a feature.