TTT-2 / TTT2

Trouble in Terrorist Town 2 for Garry's Mod (gmod)
https://steamcommunity.com/sharedfiles/filedetails/?id=1357204556
178 stars 74 forks source link

Some weapon icons are broken in the bottom left hud #1168

Closed mexikoedi closed 10 months ago

mexikoedi commented 10 months ago

Your version of TTT2 (mandatory)

Describe the bug (mandatory)

If you pick a weapon the icon of the ammunition is shown in the bottom left hud. But the weapon: "H.U.G.E-249" has a missing icon. Custom addons like the "Baby Launcher" and some other addons/weapons also have a missing icon.

To reproduce

Steps to reproduce the behaviour:

  1. Load into a map
  2. Pick up a H.U.G.E-249 or a custom weapon
  3. See missing icon

Expected behaviour

The icon shouldn't be missing and should be replaced by a placeholder icon, something similar or it should be removed if the icon is not available (so that you don't see the pink/black error square).

sbzlzh commented 10 months ago

The only thing I know so far is that the icon for the HUGE-249 ammo is fixed in the GitHub version. the workshop version has had players responding that they can't see this ammo icon.

image

Histalek commented 10 months ago

I also can't reproduce the issue on the current master. Weapons with non of the 5 standard types should always get the 'AmmoBox' Icon.

mexikoedi commented 10 months ago

Ok, nice. I have tested it with the workshop version and the HUGE + custom weapons had broken icons. But if it is fixed already here at GitHub then this issue can be closed.

TimGoll commented 10 months ago

You updated the addon on your server but not on the client. If you have subscribed to TTT2 on steam, you have to restart the game. If you didn't, then make sure that you have an workshop downloader addon installed.

This is a Gmod issue where sometimes new graphics are not yet available on the client

mexikoedi commented 10 months ago

You updated the addon on your server but not on the client. If you have subscribed to TTT2 on steam, you have to restart the game. If you didn't, then make sure that you have an workshop downloader addon installed.

This is a Gmod issue where sometimes new graphics are not yet available on the client

TTT2 updated normally on Steam and I also restarted Gmod after it was done. (Tested it on a P2P server.) Either way if it's working fine then I should also get it to work.

saibotk commented 10 months ago

Actually the icon was missing, but was included in the weaponstats addon. will be fixed.

TimGoll commented 10 months ago

Fixed in #1181. This issue is due to the icon only being part of weaponstats and nobody noticing this because we all use it

saibotk commented 10 months ago

Thanks for reporting this!