GMod - What are you working on? September 2016 (#61)
330 replies, posted
[QUOTE=Snappy29;51000644]:snip:[/QUOTE]
Stuff like this is why there needs to be an interesting rating.
[QUOTE=Snappy29;51000644]Made a cool little sound visualizer thing, basically a expanding circle appears where a sound is created ingame. Size of the circle is determined by the volume of the sound.
[video=youtube;pQY861KrtB4]https://www.youtube.com/watch?v=pQY861KrtB4[/vieo][/QUOTE]
What happens when you shoot a wall?
[QUOTE=Ott;51000666]What happens when you shoot a wall?[/QUOTE]
[video=youtube;dSeFCfLJ_u4]https://www.youtube.com/watch?v=dSeFCfLJ_u4[/video]
EDIT: Oops forgot to turn my music off, sorry about that.
Little thing, very mesmerizing.
[quote][vid]http://puu.sh/r02yU/433a091e9d.webm[/vid][/quote]
[video=youtube;_8Ub4AVlHNY]https://www.youtube.com/watch?v=_8Ub4AVlHNY&feature=youtu.be[/video]
Submaterials now apply in thirdperson, which is nice.
[QUOTE=Snappy29;51000644]Made a cool little sound visualizer thing, basically a expanding circle appears where a sound is created ingame. Size of the circle is determined by the volume of the sound.[/QUOTE]
So, how does it decide what direction to make the circle in? What about a grenade exploding in mid-air? Or walking on props (instead of the map)?
this looks really cool :D
So i decided to give these pokemans a try.
[video=youtube;E8jHdq-gWCg]https://www.youtube.com/watch?v=E8jHdq-gWCg[/video]
Notes:
Walk to hatch eggs, they will give you a random NPC with random stats etc.
After releasing a pokemon you can tell it to go somewhere or attack somthing, otherwise it will just follow you around.
Just a few more features to finish/add and then i'll release it on workshop.
Gyms are very basic, i'm going to rewrite them entirely once i have the first version on workshop.
Was curious to see which of the following four returned the name of the gamemode the fastest right after a server restart. Here are my results:
[img]http://i.imgur.com/uDbjq6g.png[/img]
[img]http://i.imgur.com/9nJ3Adh.png[/img]
Verdict, it doesn't matter.
[editline]5th September 2016[/editline]
Btw I tested this in sandbox.
[QUOTE=YourStalker;51006240]Was curious to see which of the following four returned the name of the gamemode the fastest right after a server restart. Here are my results:
[img]http://i.imgur.com/uDbjq6g.png[/img]
[img]http://i.imgur.com/9nJ3Adh.png[/img]
Verdict, it doesn't matter.
[editline]5th September 2016[/editline]
Btw I tested this in sandbox.[/QUOTE]
These numbers aren't useful at all; what's useful is the earliest hook that they become available in. Regardless even that doesn't matter because if you need to use any of these functions, the appropriate time is in a PostGamemodeLoaded hook.
[QUOTE=YourStalker;51006240]Was curious to see which of the following four returned the name of the gamemode the fastest right after a server restart. Here are my results:
[img]http://i.imgur.com/uDbjq6g.png[/img]
[img]http://i.imgur.com/9nJ3Adh.png[/img]
Verdict, it doesn't matter.
[editline]5th September 2016[/editline]
Btw I tested this in sandbox.[/QUOTE]
Is that in seconds? If so, why are they so high?
I guess he ran it 1000 times
[QUOTE=gonzalolog;51007030]I guess he ran it 1000 times[/QUOTE]
No, he said "which of the following four returned the name of the gamemode the fastest right after a server restart."
That said, I do wonder why it's over a second.
Oh, the way I tested it was sorta silly cuz I didn't really know the best way to test it. What I did was check each method in a Think hook till they returned "sandbox". So I grabbed SysTime when the file loaded and then when one of the four methods returned sandbox I did the subtraction. So it took X seconds since the Lua file loaded till the gamemode name became available.
[editline]6th September 2016[/editline]
I wasn't checking which was the fastest, just which was available to use first.
[media]https://www.youtube.com/watch?v=HoBNdmlqm4c[/media]
Weapon System a la Borderlands style.
Gave some character to the weapon manufactures.
[code]
Spiritwheels: What beats bullets? More bullets!
+ Firerate
+ Magazine
- Damage
Rundex: Make your enemy feel the elements.
+ Always elemental
+ Damage
- Magazine
GreenShark: One bullet is all you need. (Edited)
+ Firerate
+ Damage
- Everything else
Redustries: Whats the point of a gun that can't hit anything?
+ Accuracy
- Firerate
BiteMark: "F*CKING AWESOME!","300% MORE AWESOME!","EXPLOSION NOISE!"
+ Damage
+ More Damage
+ Firerate
- Overall bad stats
- Never elemental[/code]
Oh and BiteMark always misspell their weapons.
[t]https://dl.dropboxusercontent.com/u/14214411/WepSys.png[/t]
if we ignore the 5 random stats. There are 60.100 weapon possibilities for each gun.
(Todo)
Fix magazine. (Might just make it consume less for each bullet)
Add special rare abilities: A gun that fires two bullets, shoot through thin walls or a gun that curses at your bad aim.
Had another interesting idea I wanted to experiment with. Basically an entity which reflects its contents onto a surface of moving "columns" kind of like one of those pin art toys.
Was quite fun to mess around with, scales nicely as well. More just a proof of concept though definitely needs to be refined smooth out the animations between each update, probably noticed the detection is slightly off as well as number of other issues. But yeah the general idea if the video doesnt quite show it, everything above the wireframe prop is being "displayed" on the grid of props ahead. (Green rope was used because my traces are slightly off)
[video=youtube;tTgFM68aelc]https://www.youtube.com/watch?v=tTgFM68aelc[/video]
Was trying to think of some actual practical uses, maybe a small little minigame where each player has a ball that has to reach an end point, then to move the ball they have a singular cube or something to manipulate the surface with. Imagine that could get quite funny with 3-4 people changing the surface.
picture of it scaling
[t] http://i.imgur.com/baH1axF.jpg [/t]
p.s Mikey wants credit for something so he is the guy jumping in the video
Updating my custom environment optimizer. Currently making it load custom server settings from a file:
[url]https://github.com/dvdvideo1234/EnvironmentOrganizer[/url]
[QUOTE=dvd_video;51013326]custom environment optimizer[/QUOTE]
Will you also be updating your custom quantum defraggler?
I made this.. thing.. today.
[video]https://youtu.be/Yx56wm-vgdE[/video]
An idea it could be used for: simulating a police response in a bank robbery gamemode. When the alarm is pulled, a police car spawns at the police station and drives to the bank. A bunch of police NPCs spawn next to the car and try to kill the players. Thoughts?
Took me the entire morning to do this
[vid]https://dl.dropboxusercontent.com/u/251205348/ShareX/2016/09/2016-09-07_15-18-50.mp4[/vid]
It saves messages locally, so there's no heavy load on server, you can see messages when players are offline
Not big thing, but makes roleplaying and communication between 2 users a better task
I'm using Whatsapp Web layout for this
You aren't the one who made the iMessage thing, are you?
nope, but i internally called imessage
[QUOTE=gonzalolog;51015253]nope, but i internally called imessage[/QUOTE]
Just wondering, what font is the text? Looks great btw
Purista, battkefield uses it
[QUOTE=TFA;50992235]New viewbob system based on deltas rather than absolute attachment angles:
[video]http://youtube.com/watch?v=guO-A39iy_4[/video][/QUOTE]
I love view bobs. People who play on my gamemodes are always against them though :C
[editline]8th September 2016[/editline]
[QUOTE=geferon;50994632]many examples of a serial dumb rater[/QUOTE]
I noticed this. Also, how long did this take you to copy, edit and then upload and put into this thread?
[editline]8th September 2016[/editline]
Working on one of my little "back from the dead projects." Still working on PiRATBYRAN Jailbreak. With the help of a friend, I got the VGUI all up to scratch. Working on the tMySQL now. I have never done SQL from fresh before, so I am actually looking for some advice on queries and stuff, if anyone is interested in sending me any tutorials or anything like that.
[t]http://i.imgur.com/drkhATB.png[/t]
I also want to work on replacing the animations with the default HL2 ones (gm12) but I have no clue on how to work with animations. I think I need to change the IdleActivityTranslations
[QUOTE=SatoshiAaron;51017313]
I noticed this. Also, how long did this take you to copy, edit and then upload and put into this thread?[/QUOTE]
ehm... Gyazo = Ctrl + shift + c 1 time per pic, and copy image direction and put it in a image tag.
So it took me around... 1 minute.
Would you Gentlemen consider RunString/eval a shit way of going and creating dynamic helper functions? i.e. you want a table to have functions so you call AddHelpers(tbl) and it generates all of the helper functions for that table via RunString. I'm curious, in Ruby/Rails the eval method is extremely useful in that aspect.
[QUOTE=jrj996;51018063]-snip-[/QUOTE]
Why would you need runstring for that?
[QUOTE=geferon;51017381]- dumb rating talk -[/QUOTE]
Sir TEST is doing this too
[QUOTE=gonzalolog;51014921]Took me the entire morning to do this
[vid]https://dl.dropboxusercontent.com/u/251205348/ShareX/2016/09/2016-09-07_15-18-50.mp4[/vid]
It saves messages locally, so there's no heavy load on server, you can see messages when players are offline
Not big thing, but makes roleplaying and communication between 2 users a better task
I'm using Whatsapp Web layout for this[/QUOTE]
How are you running multiple instances of Garry's Mod? I'd like to do this for gamemode testing.
[QUOTE=ar-kade;51018334]How are you running multiple instances of Garry's Mod? I'd like to do this for gamemode testing.[/QUOTE]
[url]http://wiki.garrysmod.com/page/Command_Line_Parameters[/url]
-multirun should do the trick but server needs to have sv_lan 1
Sorry, you need to Log In to post a reply to this thread.