Bad sprite type ERROR

Sep 3, 2023
33
1
I'm trying to create a custom animated sprite for my map. Everything works, the sprite is visible when I compile the map, but when I try to pack and test it on a separate server the image won't appear and an error would show up in the console.
I usually test textures by removing the materials folder from /Team Fortress 2/tf to another location just to see if everything is packed inside the .bsp file. I also use Vide to pack any custom content which is usually detected automatically but not for the sprites for some reason.
Screenshot 2023-12-29 141225.png
Screenshot 2023-12-29 145521.png
Screenshot 2023-12-29 132327.png
Screenshot 2023-12-29 144133.png
 

AllInTw0

all in 2??? :D
Nov 25, 2022
88
32
If you use compilePal it looks for custom stuff in the /Team Fortress 2/tf/custom folder and not /Team Fortress 2/tf
Hope that fixes your problem.
 
Sep 3, 2023
33
1
I'm switching compile editors. Compile pal was able to fix the issue. I also had to change the code in the .vmt file since the animation would stay frozen. Thank you for the help!

Screenshot 2023-12-29 163507.png
Screenshot 2023-12-29 153327.png