• GMod - What are you working on? October 2014 (#38)
    706 replies, posted
Hey guys, new her. Just started learning glua and working on the vgui elements of a team deathmatch gamemode. [IMG_THUMB]http://puu.sh/cdzrL/5e75817f49.jpg[/IMG_THUMB] [IMG_THUMB]http://puu.sh/cecqH/a0b8885d6e.jpg[/IMG_THUMB] Didn't turn out like I wanted to, inspired more by Destiny's Hud and look. Still simple looking though.
[QUOTE=stupid-;46248240]Hey guys, new her. Just started learning glua and working on the vgui elements of a team deathmatch gamemode. [IMG_THUMB]http://puu.sh/cdzrL/5e75817f49.jpg[/IMG_THUMB] [IMG_THUMB]http://puu.sh/cecqH/a0b8885d6e.jpg[/IMG_THUMB] Didn't turn out like I wanted to, inspired more by Destiny's Hud and look. Still simple looking though.[/QUOTE] Welcome, Stupid. I'd put the Spectate button between Red and Team though Other than that, looks quite nice.
Seat Weaponiser STool has been released. [url]http://facepunch.com/showthread.php?t=1431385[/url] [url]http://steamcommunity.com/sharedfiles/filedetails/?id=327307684[/url]
[QUOTE=stupid-;46248240]Hey guys, new her. Just started learning glua and working on the vgui elements of a team deathmatch gamemode. [IMG_THUMB]http://puu.sh/cdzrL/5e75817f49.jpg[/IMG_THUMB] [IMG_THUMB]http://puu.sh/cecqH/a0b8885d6e.jpg[/IMG_THUMB] Didn't turn out like I wanted to, inspired more by Destiny's Hud and look. Still simple looking though.[/QUOTE] Very nice. Coincidentally I'm actually working on a TDM myself for the past few weeks. The HUD looks much better than mine. But I wonder how are you going to handle team spawns? It's my main problem.
[QUOTE=RonanZer0;46250622]Very nice. Coincidentally I'm actually working on a TDM myself for the past few weeks. The HUD looks much better than mine. But I wonder how are you going to handle team spawns? It's my main problem.[/QUOTE] TBH I have no idea yet, it's definitely something I want, especially something that detects if the other team is nearby. But I really did just start learning glua, and I gotta figure out my round and score system first. I'll probably be stuck on team spawns in a week or so. [QUOTE=HumbleTH;46248488]I'd put the Spectate button between Red and Team though[/QUOTE] idk why I didn't think of that... it only seems natural to put spectate in the middle, thanks.
[QUOTE=RonanZer0;46250622]But I wonder how are you going to handle team spawns? It's my main problem.[/QUOTE] [url]http://wiki.garrysmod.com/page/GM/PlayerSelectSpawn[/url] FindByClass with: Teambased: info_player_combine -- HL2:DM info_player_rebel -- HL2:DM info_player_allies -- DOD:S info_player_axis -- DOD:S info_player_counterterrorist -- CS:S info_player_terrorist -- CS:S info_player_knight -- PVKII info_player_pirate -- PVKII info_player_viking -- PVKII NonTeam: info_player_start -- All info_player_deathmatch -- All, mostly in HL2DM and TTT IDK: info_player_blue info_player_coop info_player_red info_player_human -- i think that is ZombieMaster:Source info_player_zombie -- i think that is ZombieMaster:Source info_player_zombiemaster -- i think that is ZombieMaster:Source So with this information it should be easy as a cake.
[QUOTE=Tomelyr;46253493][url]http://wiki.garrysmod.com/page/GM/PlayerSelectSpawn[/url] FindByClass with: Teambased: info_player_combine -- HL2:DM info_player_rebel -- HL2:DM info_player_allies -- DOD:S info_player_axis -- DOD:S info_player_counterterrorist -- CS:S info_player_terrorist -- CS:S info_player_knight -- PVKII info_player_pirate -- PVKII info_player_viking -- PVKII NonTeam: info_player_start -- All info_player_deathmatch -- All, mostly in HL2DM and TTT IDK: info_player_blue info_player_coop info_player_red info_player_human -- i think that is ZombieMaster:Source info_player_zombie -- i think that is ZombieMaster:Source info_player_zombiemaster -- i think that is ZombieMaster:Source So with this information it should be easy as a cake.[/QUOTE] I tried multiple built in functions like changing the actual spawn entity, using acecool's code, making blank ones, and much more that I can't recall but spawn points are the bane of my existence. ( Only because players get stuck in eachother D: ) EDIT: I get what you're suggesting but again it's not setting spawn point entitys that is the problem, it's making players not be stuck in each other. The game by default seems great at this, but I don't know why there isn't code for it...?
[QUOTE=RonanZer0;46253608]I tried multiple built in functions like changing the actual spawn entity, using acecool's code, making blank ones, and much more that I can't recall but spawn points are the bane of my existence. ( Only because players get stuck in eachother D: ) EDIT: I get what you're suggesting but again it's not setting spawn point entitys that is the problem, it's making players not be stuck in each other. The game by default seems great at this, but I don't know why there isn't code for it...?[/QUOTE] [lua] local good = {} for k,v in pairs(ents.GetByClass("info_player_ct") do table.insert(good, v) end -- spawn handler local cache = good[random] -- the thing u choosed as a spawn table.remove(good, random) timer.Simple(5, function() tabel.Add(good, cache) end) [/lua] pseudocode i wrote in lazy 5 minutes. edit:// OR just add an noblock as long they don't moved away.
[QUOTE=Tomelyr;46253665] noblock[/QUOTE] ? Google gave no results about it besides assmod or something.
[lua]hook.Add( "ShouldCollide", "noblock", function( ent1, ent2 ) if !IsValid(ent1) or !IsValid(ent2) then return end if ent1.NoBlock and ent2.NoBlock then return false end end)[/lua] Maybe you should start with something easier, like some little vgui panels.
Wow wow take it easy
[QUOTE=Tomelyr;46253843][lua]hook.Add( "ShouldCollide", "noblock", function( ent1, ent2 ) if !IsValid(ent1) or !IsValid(ent2) then return end if ent1.NoBlock and ent2.NoBlock then return false end end)[/lua] Maybe you should start with something easier, like some little vgui panels.[/QUOTE] But I already made a working loadout menu... That you know kinda counts as vgui panels...
How many threads took you to make it
3-4 but mainly because I had to figure out how to paint things instead of standard ugly derma. c: [editline]nope[/editline] I find it funny you accuse me of trying to be 'spoonfed' when you probably once or twice wanted it in your early coding days... cough cough [b]COUGH[/b] [editline]uh oh[/editline] Let's not turn this into a DramaFodder thread...?
[QUOTE=RonanZer0;46254545]3-4 but mainly because I had to figure out how to paint things instead of standard ugly derma. c: [editline]nope[/editline] I find it funny you accuse me of trying to be 'spoonfed' when you probably once or twice wanted it in your early coding days... cough cough [b]COUGH[/b] [editline]uh oh[/editline] Let's not turn this into a DramaFodder thread...?[/QUOTE] yeah I needed help but instead of creating 8 threads I used the wiki and googled things.
[QUOTE=nettsam;46254745]yeah I needed help but instead of creating 8 threads I used the wiki and googled things.[/QUOTE] I'm not sure why or how that matters? These forums are meant to ask help if need be and if they learn better by asking questions than by reading the wiki for themself does it really matter how they learned? We should be encouraging learning lua regardless of the method because Gmod needs all the coders it can get. A body investigation menu I've been working on for police: The buttons have tooltips but gmod doesn't record them. [vid]http://beigelands.com/files/body_investigation.webm[/vid]
[QUOTE=nettsam;46254745]yeah I needed help but instead of creating 8 threads I used the wiki and googled things.[/QUOTE] How pretentious of you. Sometimes you just can't find out a problem so you need help. There is nothing wrong with people asking for help. If he posts a bunch of threads for help more power to him. That is what this section is about, right?
[video=youtube;p1DnbaDx6wE]http://www.youtube.com/watch?v=p1DnbaDx6wE&feature=youtu.be[/video] Added sorting and filtering methods. Also added a full view page thing that still needs alot of work. Might want to full screen if you want to be able to make anything out. Any suggestions[I](besides the logo)[/I]?
[QUOTE=RonanZer0;46254545]3-4[/QUOTE] [QUOTE=nettsam;46254745]8[/QUOTE] ok
[QUOTE=residualgrub;46255407]How pretentious of you. Sometimes you just can't find out a problem so you need help. There is nothing wrong with people asking for help. If he posts a bunch of threads for help more power to him. That is what this section is about, right?[/QUOTE] one or two threads are fine but once you start making one for every single question that you could google and it would be the first thing on the results it's irritating ontopic: [QUOTE=Blasphemy;46255211]I'm not sure why or how that matters? These forums are meant to ask help if need be and if they learn better by asking questions than by reading the wiki for themself does it really matter how they learned? We should be encouraging learning lua regardless of the method because Gmod needs all the coders it can get. A body investigation menu I've been working on for police: The buttons have tooltips but gmod doesn't record them. [vid]http://beigelands.com/files/body_investigation.webm[/vid][/QUOTE] i really like your gui but the close button feels a little out of place edit: scale it like the top button where the name of the player is
[QUOTE=residualgrub;46255407]How pretentious of you. Sometimes you just can't find out a problem so you need help. There is nothing wrong with people asking for help. If he posts a bunch of threads for help more power to him. That is what this section is about, right?[/QUOTE] There's nothing wrong with asking for help, but it's also good to be self-sufficient since sometimes, you can find the answer quicker than we can reply via a simple google search That and this thread isn't really the place for it :v:
Started working on gravity platforms today. [video=youtube;mXwGbD3EJes]http://www.youtube.com/watch?v=mXwGbD3EJes[/video] Still working on the move hook / reliable view mapping. Gonna have a hell of a time changing the player's AABB and fixing the view height.
I always say the same, and i'm not the only one...But...How does this looks in thirdperson/multiplayer
[QUOTE=gonzalolog;46255870]I always say the same, and i'm not the only one...But...How does this looks in thirdperson/multiplayer[/QUOTE] I haven't coded anything special for that yet, so my guess is, it looks like a player rubbing himself against stuff like an idiot.
[QUOTE=Hxrmn;46255814]Started working on gravity platforms today. [vid]https://dl.dropboxusercontent.com/u/2686756/gmod%20%2815%29.mp4[/vid] Still working on the move hook / reliable view mapping. Gonna have a hell of a time changing the player's AABB and fixing the view height.[/QUOTE] Add it to GMod tower karts -> Mario Kart 8 in GMod
[QUOTE=Hxrmn;46255814]Started working on gravity platforms today. [vid]https://dl.dropboxusercontent.com/u/2686756/gmod%20%2815%29.mp4[/vid] Still working on the move hook / reliable view mapping. Gonna have a hell of a time changing the player's AABB and fixing the view height.[/QUOTE] Will this be a public, paid, or private release?
[QUOTE=BFG9000;46256105]Will this be a public, paid, or private release?[/QUOTE] I got ripped a new asshole last time for asking about something like that, apparently its rude and "he is free to do whatever he wants with it". So prepare yourself
so rude :tinfoil:
[QUOTE=BFG9000;46256105]Will this be a public, paid, or private release?[/QUOTE] public release, if I manage to finish it.
I was bored so i updated this [QUOTE][IMG]http://i.imgur.com/RV0md9l.jpg[/IMG][/QUOTE]
Sorry, you need to Log In to post a reply to this thread.