GMod - What are you working on? November 2016 (#63)
287 replies, posted
[QUOTE=Disseminate;51301424]Indeed there is. Look under the ship's wingspan - it's not very visible in the shot
[/QUOTE]
Definitely not enough, your space gamemode is inferior to any space combat game because of this.
[QUOTE=guigui30110;51300866]Thanks, it's from the TFA's No More Room In Hell swep pack[/QUOTE]
I need to entirely recode the NMRIH melee base. You can see even in the video you posted, impact effects are playing multiple times and there are other issues.
[QUOTE=Disseminate;51299830][t]http://i.imgur.com/IM7WzpO.jpg[/t]
Unrealistic lens flares[/QUOTE]
Reminds me of an old project I was working on a long time ago.
The effects weren't as great as I wanted, but I think it was pretty cool to look at.
Picture was taken: November 24, 2012. Lol
[t]https://dl.dropboxusercontent.com/u/17839069/C.png[/t]
[t]http://i.imgur.com/V6z3439.png[/t]
Hahaha! This is getting beyond ridiculous.
[url]https://fptje.github.io/glualint-web/[/url]
I still need to figure out how to style that pretty print button, though. How about static on the top right? That would probably look like shit on mobile devices. Maybe under the messages?
[QUOTE=FPtje;51303618][t]http://i.imgur.com/V6z3439.png[/t]
Hahaha! This is getting beyond ridiculous.
[url]https://fptje.github.io/glualint-web/[/url]
I still need to figure out how to style that pretty print button, though. How about static on the top right? That would probably look like shit on mobile devices. Maybe under the messages?[/QUOTE]
[vid]https://my.mixtape.moe/bghied.webm[/vid]
neat
[QUOTE=Ott;51303815][vid]https://my.mixtape.moe/bghied.webm[/vid]
neat[/QUOTE]
What on Earth gave you this brilliant idea of shoving a facepunch post into a Lua linter? :v:
[QUOTE=mijyuoon;51304442]What on Earth gave you this brilliant idea of shoving a facepunch post into a Lua linter? :v:[/QUOTE]
computer science!
[QUOTE=Disseminate;51305218][vid]http://kylewindsor.io/screenshots/2016_11/2016-11-04_00-11-41.mp4[/vid]
Whee![/QUOTE]
Sounds like a rusty crane lifting a rusty boat from a junkyard.
[QUOTE=Disseminate;51305218][vid]http://kylewindsor.io/screenshots/2016_11/2016-11-04_00-11-41.mp4[/vid]
Whee![/QUOTE]
It's causing me sickness...What a good feature!
Oh man, it reminds me of the portals in Metroid Prime 2: Echoes. I love it.
Been working on more dynamic gunshot system for weapons (Especially WW2):
[video=youtube;0Hj5FEiLOZ8]https://www.youtube.com/watch?v=0Hj5FEiLOZ8[/video]
what you guys think?
Why has no one done 3d weapon icons yet? :v:
[IMG]http://i.imgur.com/BEESdwI.png[/IMG]
I play with derma animations x')
[video] [url]https://youtu.be/o-YbISTr1KU[/url][/video]
I think you should make the icons smaller, and make them completly white
Looking great!
off to a good month already
Added rendertarget stuff to ARCLib which will make creating and displaying rendertargets a whole lot easier. one thing though.
[vid]http://www.aritzcracker.ca/uploads/aritz/Garry%27s%20Mod%202016-11-04%2010_48_02%20PM.mp4[/vid]
How do I fix? :v:
I can't find where to draw the local player.
[QUOTE=LegoGuy;51310892]I can't find where to draw(the)localplayer.[/QUOTE]
[img]http://i.imgur.com/19gdPcV.png[/img]
[QUOTE=Ott;51310913][img]http://i.imgur.com/19gdPcV.png[/img][/QUOTE]
Yes, but if I use the hook, there's no way to tell if it's drawing LocalPlayer in when I am doing my rendertarget or when it isn't, right?
[QUOTE=LegoGuy;51310935]Yes, but if I use the hook, there's no way to tell if it's drawing LocalPlayer in when I am doing my rendertarget or when it isn't, right?[/QUOTE]
The hook gets called when things get drawn. The render target makes things get drawn twice, so I'm guessing you'd use render.GetRenderTarget to check if it's drawing to a rendertarget.
[QUOTE=LegoGuy;51310935]Yes, but if I use the hook, there's no way to tell if it's drawing LocalPlayer in when I am doing my rendertarget or when it isn't, right?[/QUOTE]
In your rendertarget drawing section set a variable to true, then in ShouldDrawLocalPlayer you can check if that variable is true. That's how the portal gun does it:
[lua]
--Portal rendering hook...
portal:SetNoDraw( true )
RENDERING_PORTAL = true
render.RenderView( view )
render.UpdateScreenEffectTexture()
RENDERING_PORTAL = false
portal:SetNoDraw( false )
render.PopCustomClipPlane()
render.EnableClipping(b)
render.SetRenderTarget( oldrt )
end
end
end
/*------------------------------------
ShouldDrawLocalPlayer()
------------------------------------*/
--Draw yourself into the portal.. YES YOU CAN SEE YOURSELF!
hook.Add( "ShouldDrawLocalPlayer", "Portal.ShouldDrawLocalPlayer", function()
local ply = LocalPlayer()
local portal = ply.InPortal
if RENDERING_PORTAL then
return true
end
end )
[/lua]
[QUOTE=bobbleheadbob;51310991]In your rendertarget drawing section set a variable to true, then in ShouldDrawLocalPlayer you can check if that variable is true. That's how the portal gun does it:
[lua]
--Portal rendering hook...
portal:SetNoDraw( true )
RENDERING_PORTAL = true
render.RenderView( view )
render.UpdateScreenEffectTexture()
RENDERING_PORTAL = false
portal:SetNoDraw( false )
render.PopCustomClipPlane()
render.EnableClipping(b)
render.SetRenderTarget( oldrt )
end
end
end
/*------------------------------------
ShouldDrawLocalPlayer()
------------------------------------*/
--Draw yourself into the portal.. YES YOU CAN SEE YOURSELF!
hook.Add( "ShouldDrawLocalPlayer", "Portal.ShouldDrawLocalPlayer", function()
local ply = LocalPlayer()
local portal = ply.InPortal
if RENDERING_PORTAL then
return true
end
end )
[/lua][/QUOTE]
My mind was slowly ticking to a solution like that, I feel stupid now :v:
Thanks a lot, guys!
failure is the beginning of success.
side note, I don't know what I'm doing with my life.
[vid]https://a.pomf.cat/qjoyxo.webm[/vid]
[vid]https://a.pomf.cat/jsnzwo.webm[/vid]
[QUOTE=Potatofactory;51311346]failure is the beginning of success.
side note, I don't know what I'm doing with my life.
[vid]https://a.pomf.cat/qjoyxo.webm[/vid]
[vid]https://a.pomf.cat/jsnzwo.webm[/vid][/QUOTE]
You're either calling it in the wrong hook or pushing without popping. Don't forget to render.PopCustomClipPlane()
Oh bobbleheadbob, you are the master of rendering in GLua.
[QUOTE=LegoGuy;51311360]Oh bobbleheadbob, you are the master of rendering in GLua.[/QUOTE]
I've just fucked up enough times.
Its not very much. With the help of a lot of googling and looking at the net library along with more additional googling. I've finally got something tangible working.
[video=youtube;lpy-xXzeXeI]https://www.youtube.com/watch?v=lpy-xXzeXeI&feature=youtu.be[/video]
Edit:
Now ill be adding in that when you click "Send Report" it gets received onto the other tab "Pending Cases" where admins+ can review full reports on players and decide whether to warn/punish/waive.
[video=youtube;O3jbbueMrxA]https://www.youtube.com/watch?v=O3jbbueMrxA&feature=youtu.be[/video]
Got predicted/networked reload sounds working in MP. The cycling sounds aren't part of the firing; instead, they're played individually using lua in an event table. Only recently got this feature working properly.
Decided to add another type of puzzle before releasing my rubiks addon.
[vid]http://dl.dropboxusercontent.com/s/48cfhpr0ar0v864/rubiks6.mp4[/vid]
I love when shit works.
[QUOTE=unrezt;51314808]I love when shit works.[/QUOTE]
video not working for me
Sorry, you need to Log In to post a reply to this thread.