Author Topic: Pointshop - Adding Trails  (Read 18933 times)

0 Members and 1 Guest are viewing this topic.

Offline Zmaster

  • Full Member
  • ***
  • Posts: 235
  • Karma: 25
Re: Pointshop - Adding Trails
« Reply #30 on: May 31, 2014, 05:03:39 PM »
Did as you said. As you exptected, it still does not fix the problem. Image shows in PointShop menu, does not show when I walk.

Just noticed this in client console, by the way.

(Not sure what that means)

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Pointshop - Adding Trails
« Reply #31 on: May 31, 2014, 06:05:52 PM »
Looks like you still have references to (what appears to be) an older version of the material somewhere in your code that it's trying to load.

This is why it's not recommended to edit material and texture files by hand.

It's also possible that particular material just won't work as a trail. This is not as likely, but anything is possible.



In source, when a material fails to load or is missing, it shows as a purple and black checkerboard. The fact that yours is just *invisible* means that it is loading, you just can't see it.

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: Pointshop - Adding Trails
« Reply #32 on: June 01, 2014, 03:01:37 AM »
Did you make the material files yourself, or did you just find it?
Out of the Garry's Mod business.

Offline Zmaster

  • Full Member
  • ***
  • Posts: 235
  • Karma: 25
Re: Pointshop - Adding Trails
« Reply #33 on: June 01, 2014, 08:02:43 AM »
I found the Saw image online, but I made it into a .vmt and .vtf
I'll get to what MrPresident said soon

Offline Zmaster

  • Full Member
  • ***
  • Posts: 235
  • Karma: 25
Re: Pointshop - Adding Trails
« Reply #34 on: June 01, 2014, 12:31:21 PM »
For MrPresident:
To make sure there was nothing wrong with the thing you said about referencing an old .vmt, I changed the name of it and changed the name in all of the files to sync it up.
I also moved the .vmt and .vtf from the materials folder to materials/trails.
It works perfectly now. (Besides it being a little small, but I can fix that)
I also created a second trail to make sure I can do it, and that works fine too.


Thanks so much for all of the help! I "complimented" both of you! (Neku and MrPresident)

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Pointshop - Adding Trails
« Reply #35 on: June 01, 2014, 01:34:51 PM »
Good! I'm glad that you got it working.

We're always here to help you, even if it takes some time to hash out the problem.

Offline CaptainWood

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: Pointshop - Adding Trails
« Reply #36 on: December 22, 2014, 12:53:13 PM »
BUMP
I'm having the same problem.
Zee is one of my buddies trying to help me through Steam but that didn't seem to help.

I pretty much did everything he did but i'm having missing textures in the pointshop menu of the trails icon, and in game when I purchase it there is no trail following behind me.

Here's also the code for one of my VMT files

"UnlitGeneric"
{
   "$baseTexture" "trails/mine/anon"
   "$additive" 0
   "$vertexalpha" 1
   "$vertexcolor" 1
}
« Last Edit: December 22, 2014, 04:02:45 PM by CaptainWood »