r/GLua • u/Dkdps_1 • Jun 02 '20
SENT Spawn Icon
Quick question, how would I go about creating an entity spawn icon. I have followed this tutorial: https://gamebanana.com/tuts/9304 but I can't seem to get it to work
1
Upvotes
1
u/AdamNejm Jun 03 '20 edited Jun 03 '20
Using Wiremod's Balloon Deployer as an example.
2 material related files here:
https://github.com/wiremod/wire/tree/ea9f63ec7eb52ae8809a1e4e744c5eea546c6e1e/materials/vgui/entities
Both must be matching the filename of your entity, which is located here:
https://github.com/wiremod/wire/blob/ea9f63ec7eb52ae8809a1e4e744c5eea546c6e1e/lua/entities/sent_deployableballoons.lua
The same goes for SWEPs, follow the files named laserpointer