Which is where?
What is the exact folder because i don't think i have a materials folderI
[editline]26th April 2014[/editline]
If i didnt have a materials folder would i just add one?
I added it to terrortown/materials
If there is no materials folder, add one. Simply extract!
[QUOTE=RG | SheepLeg;44656338]I added it to terrortown/materials[/QUOTE]
No. garrysmod/materials.
I was getting some complaints that the panel wasn't closing sometimes. I've only experienced the issue once, but it is as if the timer was never created. I don't see any errors, but just to be safe I've added a close button. Figure it wouldn't hurt for you to add it to your master.
[lua] local lbl4 = vgui.Create("DButton", holder)
lbl4:SetFont( "marlett" )
lbl4:SetText( "r" )
lbl4:SetColor( color_white )
lbl4:SetSize( 15, 15 )
lbl4:SetDrawBackground(false)
lbl4:SetPos( holder:GetWide() - 25, 10 )
lbl4.DoClick = function()
holder:Remove()
end[/lua]
EDIT: June 9th
I've also added it so that if you're not on the same team as a traitor then you cannot see the identity of the traitor that killed you. I'd share the code with anyone who messages me for it, but you'd need to find/make your own image to add. (Note that I have had some issues with the
My users are also reporting that sometimes the window 'sticks' they can't remove it even though I added the button SaintSin6 so kindly provided :(
The only thing they can do is relog unfortunately, which is a bit of a pain as my server is usually pretty full with queues. My LUA-knowledge isn't sufficient enough to fix this either, I'd say it's the timer borking up, but I can't be sure!
I don't think you were the original creator of this because i used to be friends with a guy named Blu who coded Lua and he made this exact thing about 1 year ago for the JCraft servers. It looks the exact same and i remember using it on my server about 7 months ago.
[QUOTE=SkyzAEColo;45338375]I don't think you were the original creator of this because i used to be friends with a guy named Blu who coded Lua and he made this exact thing about 1 year ago for the JCraft servers. It looks the exact same and i remember using it on my server about 7 months ago.[/QUOTE]
In the OP post, Loures says this was made for Empyrean Gaming. As said owner of Empyrean Gaming, we've had this death panel for a long time, before it was publicly released here. We reinstalled our server back in January, but still have the old one on our dedi. I went and checked the creation date for you, if this helps clear things up:
[img]http://puu.sh/a3Mu7/a418081c5a.png[/img]
[QUOTE=NiandraLades;45338418]-snip-[/QUOTE]
Thanks for allowing it to go public, I love this addon and it really settles disputes quick and easy. Pretty much a must need for any TTT server.
[QUOTE=Vipes;45338439]Thanks for allowing it to go public, I love this addon and it really settles disputes quick and easy. Pretty much a must need for any TTT server.[/QUOTE]
I never actually said he could, but Loures did stop working for us so it was fair game for him to release it. I do agree though, it's a lovely death panel and still haven't seen someone make one that looks nicer!
[QUOTE=TripsLetash;45306728]My users are also reporting that sometimes the window 'sticks' they can't remove it even though I added the button SaintSin6 so kindly provided :(
The only thing they can do is relog unfortunately, which is a bit of a pain as my server is usually pretty full with queues. My LUA-knowledge isn't sufficient enough to fix this either, I'd say it's the timer borking up, but I can't be sure![/QUOTE]
I'm experiencing the same bug, Its quite annoying. What makes it worse is that we have a [URL="http://coderhire.com/scripts/view/753"]TTT Event[/URL] called "Shuffle" (Team deathmatch everyone gets 3 lives). In shuffle people die quickly so the person that killed them first gets stuck on their screen after they die the second time (Normally this happens is someone is killed too quicky). I hope someone can fix this because this is a must-have addon.
I'll be updating this with some new features and a couple bugfixing in the next few days.
-snip-
Updated the addon. (FINALLY)
The disappearing bug is fixed and I added a damage counter to the badge, enjoy.
Would be cool if you could add killed using: (weapon name) under the person(s) steam name(s)
Couple things:
Thank you for releasing this!
You could do what I did for grammar and add a fourth value to the index table, so it becomes this:
[lua]
local index = {
[-1] = {Color(237, 179, 34), Color(171, 130, 25), "The World"},
[0] = {Color(33, 177, 33), Color(27, 146, 27), "Innocent", "an"},
[1] = {Color(226, 43, 43), Color(178, 34, 34), "Traitor", "a"},
[2] = {Color(9, 101, 203), Color(14, 69, 148), "Detective", "a"}
}
[/lua]
and also change this
[lua]
if ply:IsPlayer() then
Msg("You were killed by " .. ply:Nick() .. ", he was a " .. index[role][3]:upper() .. ".\n")
else
Msg("You were killed by the world.\n")
end
[/lua]
to this
[lua]
if ply:IsPlayer() then
MsgC( COLOR_WHITE, "You were killed by ", index[role][1], ply:Nick(), COLOR_WHITE, ", he was "..index[role][4].." ", index[role][1], index[role][3]:upper() .. ".\n")
else
Msg("You were killed by the world.\n")
end
[/lua]
But it really doesn't matter.
Also, I do believe you should put this on github.
What was your fix for AvatarImage being broken as fuck?
[IMG]http://i.gyazo.com/5626b51e805f4b59055ae00ad1b14a7c.png[/IMG]
Thanks for the update!
[QUOTE=Exho;45779738]What was your fix for AvatarImage being broken as fuck?
[IMG]http://i.gyazo.com/5626b51e805f4b59055ae00ad1b14a7c.png[/IMG][/QUOTE]
When I tested this add-on it was broken just have to wait for that updated to be pushed out so it's fixed.
Its fixed in the newest Gmod update, now we wait
this issue happens when a person gets killed in specdm and then dies again while the last death panel was still visible on the screen.
[url]http://i.imgur.com/fkdojFS.png[/url]
it stays throughout the game and doesn't remove itself.
[QUOTE=DannyCore;46117103]this issue happens when a person gets killed in specdm and then dies again while the last death panel was still visible on the screen.
[url]http://i.imgur.com/fkdojFS.png[/url]
it stays throughout the game and doesn't remove itself.[/QUOTE]
I know it's been awhile since the last post but I wanted to address this issue with SpecDM.
Go to line 10 of dmsg.lua and change it to
[CODE]if GetRoundState() == ROUND_ACTIVE and not (vic.IsGhost and vic:IsGhost()) then
[/CODE]
[QUOTE=xthenarwhalx;46883365]I know it's been awhile since the last post but I wanted to address this issue with SpecDM.
Go to line 10 of dmsg.lua and change it to
[CODE]if GetRoundState() == ROUND_ACTIVE and not (vic.IsGhost and vic:IsGhost()) then
[/CODE][/QUOTE]
Even though its late, I really appreciate this!
After today's Gmod update the avatar is broken.
[IMG]https://i.imgur.com/CtsINIL.png[/IMG]
Also the Deathbadge still sticks on peoples screens sometimes, and I have the latest release.
[QUOTE=ZiM900;47291491]After today's Gmod update the avatar is broken.
[IMG]https://i.imgur.com/CtsINIL.png[/IMG]
Also the Deathbadge still sticks on peoples screens sometimes, and I have the latest release.[/QUOTE]
They're not even popping up on my server, after the GMod update.
Edit: Nevermind. They work now. Not sure what that was about.
I'll fix this later on today.
If you're fixing it, stick it on garrysmods.org instead :) garrysmods.org needs a bit of popularizing atm
[QUOTE=Baron von Hax;47369726]If you're fixing it, stick it on garrysmods.org instead :) garrysmods.org needs a bit of popularizing atm[/QUOTE]
GitHub with an entry on garrysmods.org pointing to it*
Sorry, you need to Log In to post a reply to this thread.