I am trying to make a custome Q menu skin.
I can figure out how to get it working at all. I couldn't find much documentation on it either.
'GWEN' kept coming up but everytime I asked about it I was told it basically was not in use anymore.
[QUOTE=skatehawk11;49276342]Are you trying to make a playermodel? If so you need to learn modeling. I would not start off with modeling with Garry's Mod if it is your first time.[/QUOTE]
No. I wanted to change the skin of the Menu that comes up when you hit Q. hence 'Q menu', I can't find anything on it that is useful.
Well what I have right now allows me to change the background color depending on team color. I just don't know how to do the rest.
[code]
derma.DefineSkin("Skintest", "skinbs", {
PaintPropertySheet = function ( self, panel, w, h )
-- TODO: Tabs at bottom, left, right
local ActiveTab = panel:GetActiveTab()
local Offset = 0
if ( ActiveTab ) then Offset = ActiveTab:GetTall()-8 end
self.tex.Tab_Control( 0, Offset, w, h-Offset , team.GetColor(LocalPlayer():Team()) )
end
})
hook.Add("SpawnMenuOpen", "SkinChanger", function()
if g_SpawnMenu.skinWasChanged then
return
end
g_SpawnMenu.skinWasChanged = true
g_SpawnMenu.CreateMenu:SetSkin("Skintest")
end)
[/code]
Sorry, you need to Log In to post a reply to this thread.