GMod - What are you working on? January 2015 (#41)
781 replies, posted
The top bar's gray background is too wide. Make it extrude the same as the height
Not too sure on how to properly rotate this in order to make the barrel face my true eye angles. I've tried a few different methods like rotating eye angles in CalcViewModelView hook and returning my new values but I don't notice any changes.
[media]http://www.youtube.com/watch?v=WzRrx5ESZeM[/media]
[QUOTE=Commander11;46849331]Not too sure on how to properly rotate this in order to make the barrel face my true eye angles. I've tried a few different methods like rotating eye angles in CalcViewModelView hook and returning my new values but I don't notice any changes.
[media]http://www.youtube.com/watch?v=WzRrx5ESZeM[/media][/QUOTE]
Use [noparse][media][/media][/noparse] tags, and remove the S from HTTPS.
[vid]http://puu.sh/e1Fnj/9c48cbca9b.mp4[/vid]
[QUOTE=AIX-Who;46849004]Working on recoding one of my favourite gamemodes, No, It's not DarkRP.
[t]http://puu.sh/e1u1j/66e7bb6512.jpg[/t]
Not sure if i like the hud or not :<[/QUOTE]
Something tells me it's basewars?
[QUOTE=fghdx;46846523]It is a windows remake. Internet Explorer is the browser that came with windows. I don't think anyone is going to care that there is an icon called ie anyway.[/QUOTE]
<snip>
Well, I suppose it shall remain Internet Explorer, but I feel like that's an insult to the steam overlay browser. I feel like steam's browser functions very nicely, where as internet explorer is a little laggy. Hell, I'll even say it, on my computer when I start up Internet Explorer it freezes almost instantly. I have a pretty good computer, or so I've been told when I share my specs. 16 GB of RAM and 8 processor cores.
[QUOTE=WalkingZombie;46849893]<snip>
Well, I suppose it shall remain Internet Explorer, but I feel like that's an insult to the steam overlay browser. I feel like steam's browser functions very nicely, where as internet explorer is a little laggy. Hell, I'll even say it, on my computer when I start up Internet Explorer it freezes almost instantly. I have a pretty good computer, or so I've been told when I share my specs. 16 GB of RAM and 8 processor cores.[/QUOTE]
What do you think the overlay browser uses for rendering? Opera?
Something really fucking outdated and shit
[QUOTE=StonedPenguin;46849543]Something tells me it's basewars?[/QUOTE]
Dam, you guessed.
I've always had trouble with the old gamemode and decided that the best way to understand how the dam gamemode works would be to make it myself.
I'm not going to do what the other versions have done and change how the game plays, as that ruins it.
It will be the same style of gameplay, just far less laggy and troublesome.
Will post updates somewhere, probably here.
[QUOTE=WalkingZombie;46849893]<snip>
Well, I suppose it shall remain Internet Explorer, but I feel like that's an insult to the steam overlay browser. I feel like steam's browser functions very nicely, where as internet explorer is a little laggy. Hell, I'll even say it, on my computer when I start up Internet Explorer it freezes almost instantly. I have a pretty good computer, or so I've been told when I share my specs. 16 GB of RAM and 8 processor cores.[/QUOTE]
What, at 1.33GHz a core? IE loads fine on my machine, even though I don't use it.
[QUOTE=Phoenixf129;46850081]What, at 1.33GHz a core? IE loads fine on my machine, even though I don't use it.[/QUOTE]
Are i only one who used ie 1 time?
I used it to download Chrome when i changed windows and never opened.
I dont even know where it is located at my desktop...
Just found a decent way of generating glow around stuff, it's actually quite neat:
[img]http://puu.sh/e23En/462876063f.png[/img]
[QUOTE=ExtReMLapin;46848684]Updated it with my W8 theme, almost finished, too lazy to make the bottom looking nice, and the cross for closing the window won't draw.
[IMG]http://puu.sh/e1mVd/d3a3f04a44.jpg[/IMG]
Forked from your repo :
[url]https://github.com/ExtReMLapin/GMod-Terminal[/url][/QUOTE]
I've looked at your code and decided all those ifs for commands looked ugly.
So I've added command handling:
[t]https://dl.dropboxusercontent.com/u/46283290/comp.png[/t]
( sorry for such a shitty comparison, wasn't sure how else to show this really )
Also forked from the repo, [url]https://github.com/HumilityTH/GMod-Terminal[/url]
[QUOTE=cartman300;46849967]What do you think the overlay browser uses for rendering? Opera?[/QUOTE]
Whether or not it references IE's files and/or DLL's, it functions a lot better!!!
[editline]3rd January 2015[/editline]
[QUOTE=Phoenixf129;46850081]What, at 1.33GHz a core? IE loads fine on my machine, even though I don't use it.[/QUOTE]
No, 3.40 GHz
Huh wow, it's not running that poorly now... hmm... I started it up and it was VERY laggy, but after a few seconds it fixed up... still, I recall times trying to just open google and the whole app froze. I think it doesn't function very well with too many tabs open at once. With Chrome, I went a while when I always had at least 20 tabs open, each one for a reason, and no problem. (right now I have 9 open, 3 of them are facepunch threads)
Well you'll be happy to hear that it doesn't use the overlay browser.
[QUOTE=HumbleTH;46850638]I've looked at your code and decided all those ifs for commands looked ugly.
So I've added command handling:
[t]https://dl.dropboxusercontent.com/u/46283290/comp.png[/t]
( sorry for such a shitty comparison, wasn't sure how else to show this really )
Also forked from the repo, [url]https://github.com/HumilityTH/GMod-Terminal[/url][/QUOTE]
@ExtReMLapin wow, ever heard of tables? jeez.
[QUOTE=HumbleTH;46850638]I've looked at your code and decided all those ifs for commands looked ugly.
So I've added command handling:
( sorry for such a shitty comparison, wasn't sure how else to show this really )
Also forked from the repo, [url]https://github.com/HumilityTH/GMod-Terminal[/url][/QUOTE]
[QUOTE=Netheous;46850883]@ExtReMLapin wow, ever heard of tables? jeez.[/QUOTE]
Blame me. I got lazy. :~)
[QUOTE=fghdx;46851588]Blame me. I got lazy. :~)[/QUOTE]
Yeah, but using tables is the lazy and efficient way O_o.
Also, I think I've @ the wrong guy :#.
Regardless...
Wot.. Sideeffects of playing with submaterials
[img]http://puu.sh/e2xLP/3f661dde02.gif[/img]
[QUOTE=Netheous;46851671]Yeah, but using tables is the lazy and efficient way O_o.
Also, I think I've @ the wrong guy :#.[/QUOTE]
It aint easy to think when you've been up for like 30 hours. No bully.
[QUOTE=Netheous;46850432]Just found a decent way of generating glow around stuff, it's actually quite neat:
[img]http://puu.sh/e23En/462876063f.png[/img][/QUOTE]
how did you achieve this?
just some mathens?
Maybe a few rounded boxes of differing sizes with differing alpha ( largest has smallest alpha )...
Shadowed text / glow-text is achieved by outputting the text more than once in several positions offset from the original text so this looks similar.
Glowing text can be done by drawing the text first with a font with some blursize parameter greater than 1 and then drawing text with an equivalent font on top of it with the blursize parameter set to 0. For small blursizes you don't really need to draw the second piece of non-blurred text though.
[editline]4th January 2015[/editline]
blursize 0
[img]http://puu.sh/e3r3f/bbe8cb3c62.png[/img]
blursize 1
[img]http://puu.sh/e3qZx/a08b4f507b.png[/img]
blursize 6
[img]http://puu.sh/e3qVx/7c0ad8a105.jpg[/img]
I'm just done with NutScript PAC3 Integration.
[t]http://i.imgur.com/9NKjKfp.png[/t]
[t]http://i.imgur.com/z8CfPwk.png[/t]
[t]http://i.imgur.com/5j3CfMW.png[/t]
[video=youtube;VKDd9haEV7Q]http://www.youtube.com/watch?v=VKDd9haEV7Q[/video]
Getting this weird stencil issue in the radar.
In the background that changes color is suppose to be solid black.
Seems like stencils are conflicting with each other.
I use [B]render.RenderView[/B] and [U][B]render.PushCustomClipPlane[/B][/U]
Tried [B]render.StencilEnable, render.Clear, render.EnableClipping, etc....[/B]
It would be interesting to understand why it changes like that.
[QUOTE=Acecool;46852316]Maybe a few rounded boxes of differing sizes with differing alpha ( largest has smallest alpha )...
Shadowed text / glow-text is achieved by outputting the text more than once in several positions offset from the original text so this looks similar.[/QUOTE]
Nope, nope and nope.
I didn't blur the text but EvacX was the closest.
I've drawn the thing I want to glow (green rectangle), then I applied blur to it and then I've drawn it again.
Quite simple, but I am not sure of how efficient is it because it's a blur afterall.
[QUOTE=EvacX;46853930]Glowing text can be done by drawing the text first with a font with some blursize parameter greater than 1 and then drawing text with an equivalent font on top of it with the blursize parameter set to 0. For small blursizes you don't really need to draw the second piece of non-blurred text though.
[editline]4th January 2015[/editline]
blursize 0
[img]http://puu.sh/e3r3f/bbe8cb3c62.png[/img]
blursize 1
[img]http://puu.sh/e3qZx/a08b4f507b.png[/img]
blursize 6
[img]http://puu.sh/e3qVx/7c0ad8a105.jpg[/img][/QUOTE]
[url=https://github.com/meepdarknessmeep/gmodutil/blob/master/draw.lua]Here's an example in code[/url]
[vid]http://a.pomf.se/mnltfo.webm[/vid]
[QUOTE=EthanTheGreat;46854565][video=youtube;VKDd9haEV7Q]http://www.youtube.com/watch?v=VKDd9haEV7Q[/video]
Getting this weird stencil issue in the radar.
In the background that changes color is suppose to be solid black.
Seems like stencils are conflicting with each other.
I use [B]render.RenderView[/B] and [U][B]render.PushCustomClipPlane[/B][/U]
Tried [B]render.StencilEnable, render.Clear, render.EnableClipping, etc....[/B]
It would be interesting to understand why it changes like that.[/QUOTE]
Garry uses stencils for halos. Use render.SetStencilWriteMask(255) and render.SetStencilTestMask(255).
[QUOTE=Netheous;46850883]@ExtReMLapin wow, ever heard of tables? jeez.[/QUOTE]
wow, ever heard of git ?
you know, forking a repo.
[QUOTE=ExtReMLapin;46856522]wow, ever heard of git ?
you know, forking a repo.[/QUOTE]
Ofcourse I did, I am using it.
Also, as I said there: [URL]http://facepunch.com/showthread.php?t=1444245&p=46851671&viewfull=1#post46851671[/URL]
I @ the wrong guy, it wasn't related to your post
Sorry, you need to Log In to post a reply to this thread.