TTT-2 / TTT2

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

HUD issue for Vampire and Hitman #113

Closed Alf21 closed 5 years ago

Alf21 commented 6 years ago

I‘ve received a bugreport that the TargetHUD and the BloodlustHUD is invisible after the last update. If it‘s true, I did a mistake the last 2 commits (in Hitman and Vampire) ago. There have been a change to support HUD modifications for those roles. I will check (and if it‘s true) fix it directly in the evening.

dok441 commented 6 years ago

image Вот как я до этого создавал запрос, вот такая сейчас ситуация. [ERROR] gamemodes/terrortown/entities/entities/vampire/shared.lua:276: attempt to index local 'color' (a nil value)

  1. fn - gamemodes/terrortown/entities/entities/vampire/shared.lua:276
    1. unknown - addons/ulib/lua/ulib/shared/hook.lua:109
Alf21 commented 6 years ago

Not again this color error o.O I really don‘t understand gmod and this HUD hook, every time there is a problem if I don‘t check everything that really don‘t need to be checked ... I will fix this in the evening finally..

Alf21 commented 6 years ago

Okay should be fixed now :D

dok441 commented 6 years ago

232 Нету hud жажды крови.

Alf21 commented 6 years ago

But no error too xD Please show me your modified version of this file (shared.lua of vampire add-on). Maybe a link to pastebin or something like this. There is no reason why it shouldn’t work, so i think you modified the vampire role OR TTT2 (but it seems to be the vampire).

dok441 commented 6 years ago

Все нормально, обновил vampire, видимо фиксы не все отображаются.

Alf21 commented 6 years ago

Alright. By the way, I suggest sending commits with your Russian translations. This could improve TTT2 as well and in this way, you don't need to modify the new add-ons all the time and could be able to use the Workshop as well, if you want too.