Hello I have recently created
https://gist.github.com/LuaTenshi/85783551ebad9c410ae7497059fca732 and it works well.
However I would like to build it into one easy to use tool, that I may publish to the workshop.
The problem here is that I'm not sure how to create a tool for the task above without tons of messy and potentially laggy networking.
For me one of the biggest issues is that base_brush is NULL on the client however I would like to have an option for clients to be able to see the borders of the protection.
Would I have to create a separate client-side model to follow the brush around or is there some sort of trick for getting this to work?
The smaller issue of course is the networking, how would I get info from the tool to the entity without constantly sending net messages back and forth? (Too many net messages cause lag.)
P.S. I've done stuff with Garry's Mod for so long but never bothered to learn how to properly do tools.
Update: Eventually figured it out... kinda had to work around base_brush being NULL on the client. But hey it all worked out in the end.
https://steamcommunity.com/sharedfiles/filedetails/?id=737811322