• Derma skin
    9 replies, posted
This is not a final release, This is just to see if you guys want this. I know when I started derma (and I know alot of other people still do) I hated trying to make a skin for it. So if you guys want this I will add support for all the elements. You can change the color of it at the top of the script. Enjoy. [CODE]--To use this just include it on any Client Side script that is using --And call the function accordingly --Please give credit where needed --Do not try to sell this, Its not worth anything xD --To use it call the function on the panel so lets say you had this --local Frame = vgui.Create( "DFrame" ) --Frame:SetPos( 5, 5 ) --Frame:SetSize( 300, 150 ) --Frame:SetTitle( "Name window" ) --Frame:SetVisible( true ) --Frame:SetDraggable( false ) --Frame:ShowCloseButton( true ) --Frame:MakePopup() --Just add call the correct function on it so --Frame:SetCodeBlueSkin_DFrame() --This will then make it draw with the skin. --List of currently supported Panels --DPanel --DFrame --DButton --DCheckBox --DLabel --The point of this is just to see if people want this, If you guys do want this --Then I will be sure to add support for all the VGUI elements, Thanks local meta = FindMetaTable("Panel") local color1 = Color(0,0,0) local color2 = Color(90,90,90) function meta:SetCodeBlueSkin_DPanel() local width = self:GetWide() local height = self:GetTall() self.Paint = function(p , w , h) draw.RoundedBox( 0, 0, 0, w, h, color1 ) draw.RoundedBox( 0, 2, 2, w-4, h-4, color2 ) end end function meta:SetCodeBlueSkin_DFrame() local width = self:GetWide() local height = self:GetTall() self.Paint = function(p , w , h) draw.RoundedBox( 0, 0, 0, w, h, color1 ) draw.RoundedBox( 0, 2, 2, w-4, h-4, color2 ) end end function meta:SetCodeBlueSkin_DButton() local width = self:GetWide() local height = self:GetTall() self:SetTextColor(color1) self.Paint = function(p , w , h) draw.RoundedBox( 0, 0, 0, w, h, color1 ) draw.RoundedBox( 0, 2, 2, w-4, h-4, color2 ) end end function meta:SetCodeBlueSkin_DCheckBox() local width = self:GetWide() local height = self:GetTall() self:SetTextColor(color1) self.Paint = function(p , w , h) draw.RoundedBox( 0, 0, 0, w, h, color1 ) draw.RoundedBox( 0, 2, 2, w-4, h-4, color2 ) if self:GetChecked() then draw.RoundedBox( 0, 3, 3, w-6, h-6, color1 ) end end end function meta:SetCodeBlueSkin_DLabel() self:SetTextColor(color1) end [/CODE]
Pictures? [sp]10 bucks that this is ugly as fuck[/sp]
[QUOTE=Author.;47462045]Pictures? [sp]10 bucks that this is ugly as fuck[/sp][/QUOTE] [IMG]http://i.gyazo.com/459cb606ffddb0617a5102f287456019.png[/IMG] Yes im really bad at making derma look pretty Surri
I find no use in it.
[QUOTE=Netheous;47462084]I find no use in it.[/QUOTE] I Did not say you would, But someone might.
[QUOTE=0V3RR1D3;47462022]This is just to see if you guys want this[/QUOTE] Well, to be honest, [I]no one[/I] wants it. If you're going to release something at least put some work into it.
[QUOTE=Author.;47462096]Well, to be honest, [I]no one[/I] wants it. If you're going to release something at least put some work into it.[/QUOTE] Like I said it was not a full release, It was just to see if people wanted derma skins, Otherwise why put so much effort into this. Why does everyone one here seem so hatred towards things that dosent make you wow?
At least make an actual derma skin.
[QUOTE=0V3RR1D3;47462125]Like I said it was not a full release, It was just to see if people wanted derma skins, Otherwise why put so much effort into this. Why does everyone one here seem so hatred towards things that dosent make you wow?[/QUOTE] Because everyone can make those. Why release something everyone can make? Not to mention that if you make your own - it's your own and is hundred... no... thousand times better in use.
Why not just make a GWEN skin? All you'll have to do is edit an image, unless you want to make some fancier stuff, and it's also what's used by default.
Sorry, you need to Log In to post a reply to this thread.