• Trails in Pointshop not working
    0 replies, posted
I'm trying to use the workshop to upload my trails on. But when I load it in game the image works fine but when the trail is equipped. Nothing shows up. I get this error though. [CODE]Unable to load sprite material materials/sprites/mudkips.vmt![/CODE] Here is my .lua inside the pointshop folder [CODE]ITEM.Name = 'Mudkips Trail' ITEM.Price = 2000 ITEM.Material = 'mudkips.vmt' function ITEM:OnEquip(ply, modifications) ply.TubeTrail = util.SpriteTrail(ply, 0, modifications.color, false, 15, 1, 4, 0.125, self.Material) end function ITEM:OnHolster(ply) SafeRemoveEntity(ply.TubeTrail) end function ITEM:Modify(modifications) PS:ShowColorChooser(self, modifications) end function ITEM:OnModify(ply, modifications) SafeRemoveEntity(ply.TubeTrail) self:OnEquip(ply, modifications) end [/CODE] My trails files are saved under /materials/mudkips.vmt and /materials/mudkips.vtf
Sorry, you need to Log In to post a reply to this thread.