Pivity

Customising TTT logo

Last read Never
#1

Hey there, I'm trying to change the TTT logo on the scoreboard to something custom. However, when I change the image I get the missing textures image.

My image is named 'res_score' and is located in '\garrysmod\gamemodes\terrortown\content\materials \vgui\ttt\res_score.png' My sb_main file points the logo to 'local logo = surface.GetTextureID("vgui/ttt/res_score")'

I have created a file at '\garrysmod\lua\autorun\server\logo.lua' to addfiles 'resource.AddFile("vgui/ttt/res_score.png")' I have then synced everything with FastDL.

I don't know what I'm doing wrong, please could someone help me.

Thanks

#2

I Know how to do this, here is a guide!

Dumb x 4Disagree x 3
#3
ByhyPeKat 24th of June 2017 19:10:13
Hey there, I'm trying to change the TTT logo on the scoreboard to something custom. However, when I change the image I get the missing textures image.My image is named 'res_score' and is located in '\garrysmod\gamemodes\terrortown\content\materials \vgui\ttt\res_score.png'My sb_main file points the logo to 'local logo = surface.GetTextureID("vgui/ttt/res_score")'I have created a file at '\garrysmod\lua\autorun\server\logo.lua' to addfiles 'resource.AddFile("vgui/ttt/res_score.png")' I have then synced everything with FastDL.I don't know what I'm doing wrong, please could someone help me.Thanks

can you link your fastdl?

#4

Sure, here it is; <removed>

#5

Put the vgui folder in your materials folder

#6

I've just tried putting it in there Luna and got no results. Thanks for your reply though

#7

The vgui folder is suppose to be in materials regardless. You need to re-sync it once you do cause your folders are all messed up on fastdl.

should look like: materials/vgui/ttt/whatever

also this cannot be a png, jpg or whatever if you look up surface.GetTextureID

try vtf

Agree x 2
#8

Alright, I'll give that a shot. Also, I don't know what I've done but I now have the words 'Role' and 'ERROR' on top of the logo would you happen to know what's caused this? https://gyazo.com/585df2411245a76ebe386b7681d8255b I've tried resetting all of the sb_X files to default and the issue still persists

#9

Did you auto-create a vmt with that vtf?

#10

I have, yes ---- Got the logo working just that role+error thing in the top left now

Thanks Luna

Users viewing this thread
Nobody