• GMod - What are you working on? April 2017 (#68)
    273 replies, posted
[img]http://i.imgur.com/zr34yQE.png[/img] [B]Highlights from the [URL="https://facepunch.com/showthread.php?t=1554601"]previous thread[/URL][/B] [QUOTE=bizzclaw's resurgence menu;51903215]Finally got around to working on crafting for Resurgence, the crafting system can generate completely unique items based on the creator's skill. I've also somewhat emulated New Vegas's reloading bench, but a bit simpler. [vid]https://dl.dropboxusercontent.com/u/41867685/sharex/pics032017/2017-03-02_17-42-37.mp4[/vid] Primers, Gunpowder and lead are used in pretty much all ammo types, so you can break down ammo types you're not using, build casings with scrap metal and use the primers, lead and gunpowder from broken down rounds to make new ones. The system is more or less done, now I just need to add crafting recipies. with this system it would be easy to add unique stimpaks that heal more based on your medicine skill and whatnot. You can also tell who made a unique item: [img]https://dl.dropboxusercontent.com/u/41867685/sharex/pics032017/vivaldi_2017-03-02_17-56-38.png[/img][/QUOTE] [QUOTE=LegoGuy ARC phone app switching;51932769][video=youtube;nJJgiPVRl9A]https://www.youtube.com/watch?v=nJJgiPVRl9A[/video] App switching.[/QUOTE] [QUOTE=CapsAdmin's ways to die;51980234]i also made some deaths [media]https://www.youtube.com/watch?v=hmkwZ7E3N4g[/media] [editline]19th March 2017[/editline] and some potions (using the salute gesture) [media]https://www.youtube.com/watch?v=l8I_zkpSwxg[/media][/QUOTE] [QUOTE=rebel1324's mortar guns;52006103]Doing some favor for my friend [media]https://www.youtube.com/watch?v=QV3_fl25Pa0[/media] [media]https://www.youtube.com/watch?v=d30SW5fcwx4[/media] [QUOTE=rebel1324;52037002]Finishing up requested artillery I love making private scripts because I don't have to give a shit about other things [media]https://www.youtube.com/watch?v=4-Y7wAOSTQU[/media] [media]https://www.youtube.com/watch?v=QL3E1-5z0p4[/media] [media]https://www.youtube.com/watch?v=e1gRLLrKHZY[/media][/QUOTE][/QUOTE] [QUOTE=bobbleheadbob's zone designator;52014828]Zone designator for a few script ideas I have. [video=youtube;L8QLaVzzJ9k]http://www.youtube.com/watch?v=L8QLaVzzJ9k[/video] Also check out the [URL="https://facepunch.com/showthread.php?t=1558060"]new version of draw.Arc()[/URL] if you haven't seen it.[/QUOTE]
first [highlight](User was banned for this post ("Shitpost" - Kiwi))[/highlight]
bobbleheadbob's zones thing is pretty cool. you guys should use [URL="https://facepunch.com/showthread.php?t=1558948"]it[/URL] [t]https://i.imgur.com/qrrbrMo.png[/t]
not first [highlight](User was banned for this post ("Shitpost" - Kiwi))[/highlight]
[QUOTE=Apickx;52049423]bobbleheadbob's zones thing is pretty cool. you guys should use [URL="https://facepunch.com/showthread.php?t=1558948"]it[/URL] [t]https://i.imgur.com/qrrbrMo.png[/t][/QUOTE] i take it you have it so when a player goes in a zone it tp's them to a pos or to a diffrent server?
I think it is interesting, I'd just like to show what my friends and I have been working on. Censored for security reasons x) [img]http://i.imgur.com/nrjpuqD.png[/img] We installed a local version of github on our own personal server (gogs) and we use git to manage a main repository for our gmod server. Using this, have bash scripts set up that pull the current master of our TTT server, and push it to the server, and automatically grabs all resources and creates symlinks to our fastdl, which allows us to save space. (No need to copy it over!) It's really fun because all we need to do is git push it, then go to part of our website, choose what "branch" of gogs we want, and click the button. This restarts the server with the chosen branch and sync'd files. It works fantastically and is in my opinion really awesome. My friend is great with programming and linux, so I'm happy I have him to help me! I know lua but none of bash or c++ :P I'd love to hear what others think! edit: That being said, learning git has been a... tedious road since I've never used it before. [img]https://i.imgur.com/0boAcQa.png[/img]
[QUOTE=Lilyxfce;52052163]I think it is interesting, I'd just like to show what my friends and I have been working on. Censored for security reasons x) [img]http://i.imgur.com/nrjpuqD.png[/img] We installed a local version of github on our own personal server (gogs) and we use git to manage a main repository for our gmod server. Using this, have bash scripts set up that pull the current master of our TTT server, and push it to the server, and automatically grabs all resources and creates symlinks to our fastdl, which allows us to save space. (No need to copy it over!) It's really fun because all we need to do is git push it, then go to part of our website, choose what "branch" of gogs we want, and click the button. This restarts the server with the chosen branch and sync'd files. It works fantastically and is in my opinion really awesome. My friend is great with programming and linux, so I'm happy I have him to help me! I know lua but none of bash or c++ :P I'd love to hear what others think! edit: That being said, learning git has been a... tedious road since I've never used it before. [img]https://i.imgur.com/0boAcQa.png[/img][/QUOTE] This looks like an extremely useful system for test servers with multiple developers.
[QUOTE=Lilyxfce;52052163]I think it is interesting, I'd just like to show what my friends and I have been working on. Censored for security reasons x) - We installed a local version of github on our own personal server (gogs) and we use git to manage a main repository for our gmod server. Using this, have bash scripts set up that pull the current master of our TTT server, and push it to the server, and automatically grabs all resources and creates symlinks to our fastdl, which allows us to save space. (No need to copy it over!) It's really fun because all we need to do is git push it, then go to part of our website, choose what "branch" of gogs we want, and click the button. This restarts the server with the chosen branch and sync'd files. It works fantastically and is in my opinion really awesome. My friend is great with programming and linux, so I'm happy I have him to help me! I know lua but none of bash or c++ :P I'd love to hear what others think! edit: That being said, learning git has been a... tedious road since I've never used it before. -[/QUOTE] Is it censored because [highlight][REDACTED][/highlight] and [highlight][REDACTED][/highlight] did [highlight][REDACTED][/highlight] without [highlight][REDACTED][/highlight]?
[QUOTE=bobbleheadbob;52052837]This looks like an extremely useful system for test servers with multiple developers.[/QUOTE] Yeah, it became REALLY useful on monolith since uploading via ftp is really awful and we can track changes and avoid corrupted files that ftp can bring
[QUOTE=Lilyxfce;52052163]I think it is interesting, I'd just like to show what my friends and I have been working on. ... That being said, learning git has been a... tedious road since I've never used it before. [img]https://i.imgur.com/0boAcQa.png[/img][/QUOTE] A really great resource for those learning git that I like to give to people is: [url]http://learngitbranching.js.org/[/url] I don't recall if it touched on patch versions of commands, but also [I]REALLY[/I] get to know them and start using them. The patch version of commands basically allows you to "cherry-pick" from files directly to be organized and accurate. Say you just made a bunch of changes to a file and want to commit. However, some of the changes aren't directly related. You can issue a [code]git add --patch[/code] And stage only the related changes before you commit.
[QUOTE=vexx21322;52053638]A really great resource for those learning git that I like to give to people is: [url]http://learngitbranching.js.org/[/url] I don't recall if it touched on patch versions of commands, but also [I]REALLY[/I] get to know them and start using them. The patch version of commands basically allows you to "cherry-pick" from files directly to be organized and accurate. Say you just made a bunch of changes to a file and want to commit. However, some of the changes aren't directly related. You can issue a [code]git add --patch[/code] And stage only the related changes before you commit.[/QUOTE] Or just use a client for your git and never have to learn anything. The future is now, old man.
[QUOTE=bobbleheadbob;52053723]Or just use a client for your git and never have to learn anything. The future is now, old man.[/QUOTE] [url=https://packagecontrol.io/packages/GitSavvy]Gitsavvy[/url] sublime plugin. Absolutely stellar for advanced git stuff.
[QUOTE=bobbleheadbob;52053723]Or just use a client for your git and never have to learn anything. The future is now, old man.[/QUOTE] I've never found a git client that's easier to use than the command line.
[QUOTE=Rocket;52053859]I've never found a git client that's easier to use than the command line.[/QUOTE] It's a lot easier to use than the command line if you have no idea what you're doing :downs:
[QUOTE=bobbleheadbob;52053972]It's a lot easier to use than the command line if you have no idea what you're doing :downs:[/QUOTE] True, but the best way to learn is to not know anything while breaking every repository you touch.
[QUOTE=bobbleheadbob;52052837]This looks like an extremely useful system for test servers with multiple developers.[/QUOTE] Exactly what we do! [img]http://i.imgur.com/86kYrPj.png[/img] Put in the server you wish to be used, put in the branch you wish to be pushed, and put in the password, and click button! Server will have its addons/cfg folder wiped and placed with the new build and restarted. It works like a charm. I'm glad my friend taught me git because when I become a programmer when I am older I can have that on my resume :)
[QUOTE=Lilyxfce;52056036]Exactly what we do! Put in the server you wish to be used, put in the branch you wish to be pushed, and put in the password, and click button! Server will have its addons/cfg folder wiped and placed with the new build and restarted. It works like a charm. I'm glad my friend taught me git because when I become a programmer when I am older I can have that on my resume :)[/QUOTE] Jesus you're adorable. What are you, 14? You're perfect. Never grow older. In fact, be my child.
[QUOTE=Lilyxfce;52056036]Exactly what we do! Put in the server you wish to be used, put in the branch you wish to be pushed, and put in the password, and click button! Server will have its addons/cfg folder wiped and placed with the new build and restarted. It works like a charm. I'm glad my friend taught me git because when I become a programmer when I am older I can have that on my resume :)[/QUOTE] Don't loose your hope and optimism, man. It's the most important thing you've got.
[QUOTE=bobbleheadbob;52056367]Jesus you're adorable. What are you, 14? You're perfect. Never grow older. In fact, be my child.[/QUOTE] I... I am 20.
The problem with learning git is that your only opportunity to do so is while developing something else. You have to pause development, then get lost in git help pages, then give up and just use the usual git add *, git commit -m "fuck this", git push. It works.
[QUOTE=NeatNit;52056528]The problem with learning git is that your only opportunity to do so is while developing something else. You have to pause development, then get lost in git help pages, then give up and just use the usual git add *, git commit -m "fuck this", git push. It works.[/QUOTE] I just kept breaking things and had to ask my friend how do I do it and then he would fix it. After repeating that 30x I kinda figured it all out!
[QUOTE=Lilyxfce;52056529]I just kept breaking things and had to ask my friend how do I do it and then he would fix it. After repeating that 30x I kinda figured it all out![/QUOTE] It must be nice to have that friend. :saddowns:
[QUOTE=NeatNit;52056554]It must be nice to have that friend. :saddowns:[/QUOTE] Anyone can be that friend! Simply find a friend who enjoys programming with you and sit on teamspeak with each other. You can join me or anyone else :)
Messing around with the render hooks and what I can/can't trick the engine into doing, with a focus on projected textures. [t]http://i.imgur.com/akA5uET.jpg[/t] Pictured: 1. The book cabinet does not cast a shadow, but is otherwise completely normal. (is a normal prop, no properties were changed - just RenderOverride) 2. The playermodel is casting a shadow even while in firstperson 3. hideous debug thing I made that lists every render hook called and the values that lua hooks return. What I found out I can't do: REALLY control what casts shadows. I can disable individual entities (via RenderOverride), but I can't disable the map geometry... Unless I can RenderOverride for the world entity as well? Edit: nope. RenderOverride doesn't work on worldspawn. Edit: render hook reverse engineering code is at [url]https://gist.github.com/NeatNit/a0d67229734888009ca12e7639f78856[/url] if anyone's interested. All the rest was just lua_run_cl.
[QUOTE=Lilyxfce;52052163]I think it is interesting, I'd just like to show what my friends and I have been working on. Censored for security reasons x) [IMG]http://i.imgur.com/nrjpuqD.png[/IMG] We installed a local version of github on our own personal server (gogs) and we use git to manage a main repository for our gmod server. Using this, have bash scripts set up that pull the current master of our TTT server, and push it to the server, and automatically grabs all resources and creates symlinks to our fastdl, which allows us to save space. (No need to copy it over!) It's really fun because all we need to do is git push it, then go to part of our website, choose what "branch" of gogs we want, and click the button. This restarts the server with the chosen branch and sync'd files. It works fantastically and is in my opinion really awesome. My friend is great with programming and linux, so I'm happy I have him to help me! I know lua but none of bash or c++ :P I'd love to hear what others think! edit: That being said, learning git has been a... tedious road since I've never used it before. [IMG]https://i.imgur.com/0boAcQa.png[/IMG][/QUOTE] You mean everyone doesn't do this? I think we've done something along this line for about 5 years now. Currently we have 2 branches, master and test. Pushing to test instantly updates out test server, master the master server. We also have 4-5 different repo's all updating to the changelog for gamemode / addons / web site work etc. You are right, it's super fucking cool and handy though. [IMG]http://i.imgur.com/iFnvsfB.jpg[/IMG] Just kinda surprised that people are shocked by this, it's a fairly basic and sexy use of git.
[QUOTE=Pantho;52058718]You mean everyone doesn't do this? I think we've done something along this line for about 5 years now. Currently we have 2 branches, master and test. Pushing to test instantly updates out test server, master the master server. We also have 4-5 different repo's all updating to the changelog for gamemode / addons / web site work etc. You are right, it's super fucking cool and handy though. [IMG]http://i.imgur.com/iFnvsfB.jpg[/IMG] Just kinda surprised that people are shocked by this, it's a fairly basic and sexy use of git.[/QUOTE] Does someone want to create a tutorial on the GMod wiki, or maybe just create a simple version which works with any GMod server?
[QUOTE=bobbleheadbob;52059430]Does someone want to create a tutorial on the GMod wiki, or maybe just create a simple version which works with any GMod server?[/QUOTE] If everyone is using the method I'm thinking of, it's purely a git thing. * Create a bare git repo on the server. * Setup the git configs. * Add a post-receive hook to checkout the new commits to your worktree (where the files go). The rest is just setting up the right users and permissions. While not that complicated, a tutorial for all these steps would be nice so more people could use it.
[QUOTE=bobbleheadbob;52059430] which works with any GMod server?[/QUOTE] Not possible, the post-receive script will be different between linux/windows servers, and likely needs to be customzied between different linux setups. Also, be sure to fork the process or the `git push` will take forever for some reason.
Added full-body perspective and weapon lowering to my base. It adjusts which bones to show based on how many hands are active in the viewmodel space [video]https://youtu.be/-T3Rn-k3fus[/video]
Here's some of my work on Monolith RP. I work on it alongside some other developers here around, including code_gs, Gonzo and Metamist. Trading: [video=youtube;TbRa2nfdKiE]https://www.youtube.com/watch?v=TbRa2nfdKiE[/video] Elections: [thumb]https://i.pyroman.io/eImtb8.jpg[/thumb] [thumb]https://i.pyroman.io/Scwjh4.jpg[/thumb] Mayor tablet + taxes: [thumb]https://i.pyroman.io/0SrAl3.jpg[/thumb] Laws: [thumb]https://i.pyroman.io/7uJCSw.jpg[/thumb]
Sorry, you need to Log In to post a reply to this thread.