• GMod Gamemodes & Addon- WAYWO - #27
    1,001 replies, posted
I heard ShouldLocalPlayerDraw was fixed in the Gmod SVN. can anyone confirm?
[QUOTE=Archemyde;39641727]I heard ShouldLocalPlayerDraw was fixed in the Gmod SVN. can anyone confirm?[/QUOTE] If by heard you mean [URL="http://facepunch.com/showthread.php?t=1247068&p=39633653&viewfull=1#post39633653"]Garry said it,[/URL] then yes it should be fixed. [QUOTE=grobov13;39641551]Small hud that I've made few days ago (not that fancy tho): [img]http://bbq.to/hud_1953.png[/img][/QUOTE] May I ask what addon or gamemode is this for?
[QUOTE=rebel1324;39641619]I still want to know how to make those sexy rounded HUD. can you let me know how?[/QUOTE] This one is kinda simple. I just use 2 textures for mana and health and rotate them while clipping with ScissorRect: [code] render.SetScissorRect( size about 50% of hud, true) surface.DrawTexturedRectRotated(......, rotation based on health/mana amount) render.SetScissorRect( size about 50% of hud, false) [/code] [QUOTE=CrashLemon;39641785] May I ask what addon or gamemode is this for?[/QUOTE] For my small gamemode "Darkest Days" that I still can't finish :<
[QUOTE=grobov13;39641950]This one is kinda simple. I just use 2 textures for mana and health and rotate them while clipping with ScissorRect: [code] render.SetScissorRect( size about 50% of hud, true) surface.DrawTexturedRectRotated(......, rotation based on health/mana amount) render.SetScissorRect( size about 50% of hud, false) [/code] For my small gamemode "Darkest Days" that I still can't finish :<[/QUOTE] Wow, that's really clever, never would of thought of that!
[QUOTE=CrashLemon;39641785]If by heard you mean [URL="http://facepunch.com/showthread.php?t=1247068&p=39633653&viewfull=1#post39633653"]Garry said it,[/URL] then yes it should be fixed. May I ask what addon or gamemode is this for?[/QUOTE] Thank you!
Reminds me of Dishonored.
[QUOTE=grobov13;39641551]Small hud that I've made few days ago (not that fancy tho): [img]http://bbq.to/hud_1953.png[/img][/QUOTE] Damn that looks nice. Where do you find textures like those?
[QUOTE=CrashLemon;39641785]If by heard you mean [URL="http://facepunch.com/showthread.php?t=1247068&p=39633653&viewfull=1#post39633653"]Garry said it,[/URL] then yes it should be fixed. [/QUOTE] Has the game already been updated for this?
[QUOTE=MrGregsWorld;39647032]Has the game already been updated for this?[/QUOTE] No, it'll be rolled out later.
[QUOTE=Stiveno;39636301]looks like pirate warriors he he [img]http://i.imgur.com/BBxwlcK.jpg[/img][/QUOTE] I like the colors, reminds me of pokemangz
[QUOTE=Persious;39646066]Damn that looks nice. Where do you find textures like those?[/QUOTE] Just Photoshop and various brushes.
Lment Redux #2 Test video, [B]I would really like ideas for melee effects as I can't use custom animations atm[/B] [video=youtube;ki2lu3gjJqM]http://www.youtube.com/watch?v=ki2lu3gjJqM[/video]
[video=youtube;XN4XKM4LnMM]http://www.youtube.com/watch?v=XN4XKM4LnMM[/video] now comes with a primary fire for when you're aiming at something that zaps the shit out of it and an area attack for when you're not that zaps the shit out of the enemy closest to you within a small radius and heals allies not to mention the fact that i'm using the model from the tf2 promo not once when i started this project several months ago was i anticipating a brutal legend pc release, let alone tf2 promos for it :v:
"Small" thing I'm working on. Sorry for quality of images but photobucket don't want to upload bigger images: [t] http://i262.photobucket.com/albums/ii113/Frankess/gm_flatgrass0000.jpg[/t] [t]http://i262.photobucket.com/albums/ii113/Frankess/gm_flatgrass0001.jpg[/t] The way how it works is similar to EVOLVEs plugin system. You only need to know basics of lua to create your own tutorial. I think in next weekend I'll release beta version.
[QUOTE=Frankess;39654135]"Small" thing I'm working on. Sorry for quality of images but photobucket don't want to upload bigger images: [t] http://i262.photobucket.com/albums/ii113/Frankess/gm_flatgrass0000.jpg[/t] [t]http://i262.photobucket.com/albums/ii113/Frankess/gm_flatgrass0001.jpg[/t] The way how it works is similar to EVOLVEs plugin system. You only need to know basics of lua to create your own tutorial. I think in next weekend I'll release beta version.[/QUOTE] Should make them stored online and let anyone contribute, then it could be really powerful
[QUOTE=Drakehawke;39654915]Should make them stored online and let anyone contribute, then it could be really powerful[/QUOTE]Agreed, as long as it has spam control, and GOOD filters, It would be cool for Garry to do something like this, and use the workshop...
I had similar idea but I also have one problem: I'm coding since begining of this month so I don't know too well lua. But, during beta I'll share the code and then ask you guys to help me make it better. EDIT: I thought you meant that you want downloadable in-game tutorials. Now I realize that you meant a tutorial database. I plan to do something like this.
[video=youtube;zUmam84_iXo]http://www.youtube.com/watch?v=zUmam84_iXo[/video] [video=youtube;JKt1coxEhWo]http://www.youtube.com/watch?v=JKt1coxEhWo[/video] Getting back into Gmod Lua after a long time of C#
[QUOTE=dylanb5123;39655038] Getting back into Gmod Lua after a long time of C#[/QUOTE] About the corpse. Maybe turn it into one of the gibs?
[QUOTE=grobov13;39652495]Just Photoshop and various brushes.[/QUOTE] Wish I knew how :P
[QUOTE=Persious;39655427]Wish I knew how :P[/QUOTE] You could just remove the body and spawn gibs with semi-random velocities.
Explained the game movement system [url]http://wiki.garrysmod.com/page/Lua/Tutorials/Game_Movement[/url]
-snip-
[QUOTE=garry;39656072]Explained the game movement system [url]http://wiki.garrysmod.com/page/Lua/Tutorials/Game_Movement[/url][/QUOTE] lol starts with explaining stuff then says "or just use the drive system" would be cool if you can make one for the drive system as well
Yeah I will make one for the drive system. The drive system is pretty much the same thing though - it's just a nicer class based way to create new move types. [url]https://github.com/garrynewman/garrysmod/tree/master/garrysmod/lua/drive[/url]
Made drag-and-drop equip. It has some bug about disappearing item in specific case but that's not seems so complicated. I'm just happy about It is just working fine. without super glitch and teleporting and excessive lua error spam :D [img]https://dl.dropbox.com/u/41909844/K-16.png[/img]
To whoever this concerns, I saw that the avatar image was broken and decided to make a workaround since I saw that it hadn't been fixed yet. [lua] local DMain = vgui.Create("DFrame") DMain:SetSize(120,120) DMain:MakePopup() DMain:Center() local DHTML = vgui.Create("DHTML",DMain) DHTML:SetSize(100,100) DHTML:SetPos(10,32) local AvatarImages = { ["small"] = {"avatar", ".jpg", 32}, ["medium"] = {"avatarmedium", "_medium.jpg", 64}, ["large"] = {"avatarfull", "_full.jpg", 184} } function GetImage(steamid64,type) if !AvatarImages[type] then return end local divStartName = AvatarImages[type][1] local divStartEnd = AvatarImages[type][2] local apikey = "" --GetKeyFromHere: [url]http://steamcommunity.com/dev/apikey[/url] local url = "http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key="..apikey.."&steamids="..steamid64 http.Fetch(url, function(result, size) if size > 0 then local divStart = string.find(result, divStartName) local divEnd = string.find(result, divStartEnd) if divStart and divEnd then local url = string.sub(result, divStart+divStartName:len()+4, divEnd+divStartEnd:len()-1) local size = AvatarImages[type][3] DMain:SetSize(size+20,size+42) DMain:Center() DHTML:SetSize(size,size) DHTML:OpenURL(url) end end end) end GetImage(LocalPlayer():SteamID64(), "large") [/lua] This is an example of how it can be retrieved. [IMG]http://puu.sh/25MS5[/IMG] This is how it will look ingame with this example.
Can't you get the material instead? Also don't you have to give away your API key for that? If so that's REALLY bad.
[QUOTE=Wizard of Ass;39661897]Can't you get the material instead?[/QUOTE] Not sure what you mean, but I did it the way I thought would be suitable and it does work. Click on the API link in the code and steam will just give you one for putting in a website name. It works with anyone :) [IMG]http://puu.sh/25Qsj[/IMG]
Should probably add a proxy to keep you API key private.
Sorry, you need to Log In to post a reply to this thread.