06000208 / ttt-gravity-gun

Half Life's Gravity Gun for TTT
https://steamcommunity.com/sharedfiles/filedetails/?id=1414206909
0 stars 1 forks source link

NULL Entity + Color Fix #12

Closed mechabubba closed 3 years ago

mechabubba commented 3 years ago

This is a fix for Issue #11, aswell as a similar issue where a function has wrong parameter(s) passed to it (numbers instead of a Color).

The solution here is to just remove the bit that breaks it - perhaps a bit of a lazy fix, but it works. It was attempting to create an unknown entity named PhyscannonMuzzle; this entity is not referenced anywhere in the addon or otherwise... so I have no clue what its trying to reference. To me, it sounds like a visual aid to the gun, but alas, no way to find out.

mechabubba commented 3 years ago

I really can't find any information about what this entity is; nothing on Google, gmods code itself, or even the gmod Discord server, so I'm not sure if I can do any better here.