• GMod - What are you working on? October 2017 (#74)
    289 replies, posted
[IMG]https://i.gyazo.com/15aa46d943a6f6817f3da37bd2f7b254.png[/IMG] tfw you downgrade to windows xp, first time i actually made a dframe panel for an addon
[QUOTE=MGFear;52746539][IMG]https://i.gyazo.com/15aa46d943a6f6817f3da37bd2f7b254.png[/IMG] tfw you downgrade to windows xp, first time i actually made a dframe panel for an addon[/QUOTE] I would make the main focus the textbox, so that would involve shrinking down everything else. That's the first step I'd take at least.
[QUOTE=Nookyava;52746596]I would make the main focus the textbox, so that would involve shrinking down everything else. That's the first step I'd take at least.[/QUOTE] had to choose a size that would work on all resolutions, really bad at this
[QUOTE=MGFear;52746628]had to choose a size that would work on all resolutions, really bad at this[/QUOTE] You could always just scale it based on the resolution the user is playing at. ScrW() * %, ScrH() * % Although someone correct me - isn't diving it by 2 or such better?
[QUOTE=Richtofen;52746524]Very nice, would you ever think about adding a texture behind the frame?[/QUOTE] I have messed around with other background stuff other than blur, but I felt like blur is best suited here as it's not distracting and it "lifts" the ui a bit. I do like the animated tiled texture, though! [QUOTE=Nookyava;52746636]You could always just scale it based on the resolution the user is playing at. ScrW() * %, ScrH() * % Although someone correct me - isn't diving it by 2 or such better?[/QUOTE] Just do panel:SetSize(x, y); panel:Center()
[QUOTE=Invule;52746640]I have messed around with other background stuff other than blur, but I felt like blur is best suited here as it's not distracting and it "lifts" the ui a bit. I do like the animated tiled texture, though! Just do panel:SetSize(x, y); panel:Center()[/QUOTE] I'm not talking about centering though, I'm more interested in making sure the menu resizes properly on resolution.
Ok so seeing as over the past few months WAYWO has been getting bombarded with VGUI stuff, shall we bring back the old VGUI WAYWO thread?
[QUOTE=Yashirmare;52747173]Ok so seeing as over the past few months WAYWO has been getting bombarded with VGUI stuff, shall we bring back the old VGUI WAYWO thread?[/QUOTE] It's always suggested and then the thread ends up dying. Might as well just keep it all here.
[QUOTE=Invule;52746337]Talking about UI's... Not much but got the base of it done, now it's time to implement the fun stuff!! ui stuff Always appreciate feedback![/QUOTE] Looks great.
[QUOTE=Yashirmare;52747173]Ok so seeing as over the past few months WAYWO has been getting bombarded with VGUI stuff, shall we bring back the old VGUI WAYWO thread?[/QUOTE] Sorry not sorry
[QUOTE=Nookyava;52746636]You could always just scale it based on the resolution the user is playing at. ScrW() * %, ScrH() * %[/QUOTE] Never scale hud using ScrW() unless you are making something that is supposed to cover the entire screen. Some people, like me use an ultrawide resolution at 21:9 aspect ratio which would stretch out the scaled object which can make it look really bad in some cases. (TL;DR Never scale HUD using ScrW(), positioning with ScrW() is fine.) Alot of stupid game developers scale all their interface using ScrW() which causes half the healthbar to go outside of the screen sometimes. [B]Edit:[/B] Oh boy a lot of people are rating this dumb but nobody has any argument against it because its true. Do the community a favor and don't.
Just to add in my two cents: this thread would be basically dead without VGUI and splitting the community in half would just lead to the death of both. We're already much smaller than we've been in previous years, and we need to stay united. This is one of the nicest dev communities out there, as we've got a really talented brilliant mix. Taking away some of the most beautiful UI in the world (such as Koolaidmini) would be devastating. This thread is a home to some of the nicest people I've ever met, and we do seem to be slowly dwindling in numbers over time. Garry's Mod is what originally started my passion for programming, and I've learned heaps thanks to your help. I've bugged Niandra Lades more times than I count on both hands, yet she's never been rude or seemed annoyed at all. Bobbleheadbob's amazing maths thread helped me get through a part of maths I was really struggled, and my love of maths could have died without him being here. I know this is a bit of a strong reaction to creating a VGUI WAYWO thread, but we should stick together. I know I don't contribute all that much here; but I know that the GMod dev community should stay as united as possible.
[QUOTE=coolcat99;52748334]Niandra Lades[/QUOTE] [QUOTE=coolcat99;52748334]she[/QUOTE] Wait what the fuck [editline]5th October 2017[/editline] the prophecy is true
[QUOTE=Thiefdroid;52748321]Never scale hud using ScrW() unless you are making something that is supposed to cover the entire screen. Some people, like me use an ultrawide resolution at 21:9 aspect ratio which would stretch out the scaled object which can make it look really bad in some cases. (TL;DR Never scale HUD using ScrW(), positioning with ScrW() is fine.) Alot of stupid game developers scale all their interface using ScrW() which causes half the healthbar to go outside of the screen sometimes.[/QUOTE] [url]https://facepunch.com/showthread.php?t=1558784&p=52056629&viewfull=1#post52056629[/url] I agree with you completely.
Should I do a tutorial on a customized vgui registered element on the wiki? :v: Tis but a joke. Everyone that's been posting in this thread with VGUI are very talented people :cat:
I've been working on something that shows weld lines between welded props. It is simple but usefull. [IMG]https://puu.sh/xRe3V/ab78eb739c.png[/IMG] [IMG]https://puu.sh/xRe5D/2ecef0f738.png[/IMG] It shows only related welds when you look to a specific prop. Line colors are based on distance. (Thanks to NeatNit for helps.)
Man it's been a while since I've posted stuff. University has kept me busy, but I've been very rarely touching my Gmod, fixing up my old shit and working on a new weapon base, a PROPER one unlike my infamous one. I've been using LerpVector and holy shit it's simply one of the most amazing things in this game. In this video, the ironsight animations just use a single blank animation where the weapon's slide moves back and forth. All the back and forth movement from the hands are handled by code, which is why the weapons feel really smooth and not as choppy as you would get when you use normal animations. Plus, when you hold down on the primary attack button, it moves back more, instead of always going back the same amount. This will also be useful for stuff like the CSS models, which always change position at the last frame of the animation, meaning the ironsights never line up. [video=youtube;N_4FpPNR4nA]https://www.youtube.com/watch?v=N_4FpPNR4nA&feature=youtu.be[/video] I apologize for the music (was using it when coding) and for the awful weapon sounds (really old addon of mine, but I really like the animations, so I comprimized. Maybe one day I'll go browse through all of Far Cry's sounds and try to find the bloody things). Enough dicking around though, gotta get back to studying.
:snip: got too excited [URL="https://facepunch.com/showthread.php?t=1548067&p=52752616&viewfull=1#post52752616"]I just saved a deleted file I've been working on for 2-3 weeks[/URL] [URL="https://github.com/HandsomeMatt/glua-cache-extract"]thanks to Handsome Matt[/URL]. Lesson learnt: get a backup feature for your text editor or you will sweat all over your laptop and cry for hours.
[vid]https://dl.dropboxusercontent.com/s/36q731an23cb5k9/2017-10-06_15-02-18.mp4[/vid] I've created a texture sampler, it works well, i've wanted really hard to make it work with meshes, but i couldn't rotate vertex correctly :( If anyone wants the code [url]https://pastebin.com/N4MSjT2x[/url]
Well, after a bit of work I managed to transform one of my older models to something a bit nicer. Mostly by adding the ability to color it ._. Old Image [IMG]https://i.imgur.com/3EyjQuS.jpg[/IMG] New Image [IMG]https://i.imgur.com/vztqDxW.jpg[/IMG] In my next post I'll show people who don't know about this how to do it as well with a few more content updates. ~Enjoy your weekend!
I got bored and did a thing [video=youtube;uqW2Jp9nEn0]https://www.youtube.com/watch?v=uqW2Jp9nEn0[/video] Skip to 0:21 for the actual thing
You never showed us the other side of the portal, I'm onto you.
First time ever posting on one of these, hopefully it's something good, won't be as good as your lot though. Skip to 20secs to avoid loading in... :/ [video]https://youtu.be/at6L4iR4sc0[/video] Recreating a tips system of mine, don't know how it looks, looking to get some feedback on the UI/Design. Will most probably be adding different themes/fonts, etc... it's something. Duration and fade time is like that to just show in video, same with text.
Been working on some stuff recently. Models are heavily WIP. [t]https://i.imgur.com/owikE62.jpg[/t] [t]https://i.imgur.com/UsECxkK.jpg[/t] Ignore the white combobox, that's a placeholder until technology catch up [t]https://i.imgur.com/eeJdVvG.jpg[/t]
[QUOTE=IcarusCoding;52757688]:snip:[/QUOTE] out of curiosity, were your designs inspired by visual studio code by any chance? :v: [t]https://i.imgur.com/1f18aoN.png[/t]
[QUOTE=swadicalrag;52757697]out of curiosity, were your designs inspired by visual studio code by any chance? :v: [t]https://i.imgur.com/1f18aoN.png[/t][/QUOTE] If you define inspired as "literally taking their design" then yes, yes I was inspired.
And some more taking of designs! I've been playing the new Star Wars Battlefront 2 beta recently and decided to throw up a new UI design. [quote] [img]http://devultj.co.uk/i/lild4b.jpg[/img] [/quote] As you can see from the pictures, I think I'm already set on selling it. ;_;
[QUOTE=mib999;52757959]And some more taking of designs! I've been playing the new Star Wars Battlefront 2 beta recently and decided to throw up a new UI design. As you can see from the pictures, I think I'm already set on selling it. ;_;[/QUOTE] Wow, that's so good I was about to ask why you posted a picture of BF2's title screen. Wonderful job!
[QUOTE=Moat;52757632]Here are some tips for your tips: - Don't have the color of the text be the same color as the background. It looks really hard to read. - Try to cover less of the screen, big boxes could get annoying. - Don't have them be in random places of the screen, try to keep them all in the same place. - Make sure you're not covering up other HUD elements when display the tip.[/QUOTE] Thanks for the tips on my tips, changed the size a lil' and the text color(s), and managed to add some icons that can have different colors as well. Ignore randomness of positions/timings, etc... [video=youtube;SGKf25dvrtE]https://www.youtube.com/watch?v=SGKf25dvrtE&feature=youtu.be[/video] Not much at the moment, but something.
[URL="https://facepunch.com/showthread.php?t=1548067&p=52761190&viewfull=1#post52761190"]Thanks to NeatNit and bigdogmat[/URL], I finally got my bullet holes to look 3D! [video]https://youtu.be/CN5B-QRV4jg[/video] Sorry for the lag, recorded on a Mac. I also fixed the alignment, so (if you take away the black bit) it looks seamless: [t]https://steamuserimages-a.akamaihd.net/ugc/862861700724734722/1D3EB6C0077468537EB36AD9AE3EEC86A1188216/[/t] [t]https://steamuserimages-a.akamaihd.net/ugc/862861700724797101/908F004E7C97DA715801307E12802883F7371CA4/[/t]
Sorry, you need to Log In to post a reply to this thread.