Garry's Mod

Garry's Mod

vFire - Dynamic Fire for Garry's Mod
Badhamknibbs 2019 年 3 月 10 日 上午 4:18
How can I add compatibility with TTT?
Is there any way to get this to work with the default incendiary grenade in TTT? Looking it up was to no avail, and after trying to tweak it in myself I couldn't get it to work (I'm not a lua expert).

I tried changing how it spawns the fire in ttt_firegrenade_proj.lua like so:
StartFires(pos, tr, 10, 20, false, self:GetThrower())
Replacing that line with:
CreateVFireEntFires(pos, 10)
But that didn't work.

Any help would be appreciated (be it providing functioning code to make the incendiary create vfire, or linking to any of the vfire weapons in TTT pre-ported).