• GMod - What are you working on? October 2015 (#50)
    345 replies, posted
[img]http://i.imgur.com/0LMKzLl.png[/img] [B]Highlights from the [URL="https://facepunch.com/showthread.php?t=1483696"]previous thread[/URL][/B] [QUOTE=mib999's CS:GO team select;48595182]I've been making a CS:GO styled team select because why the hell not. I'm not finished, mind. [t]https://dl.dropboxusercontent.com/u/79424230/ShareX/2015/September/Garry%27s_Mod_2015-09-01_21-56-27.png[/t][/QUOTE] [QUOTE=Failure's bouncing betty;48598189][video=youtube;tUNpSnuwNtc]https://www.youtube.com/watch?v=tUNpSnuwNtc[/video][/QUOTE] [QUOTE=Netheous's desk;48607103]Radio plays smooth jazz, clicking on books shows recipes, lamp works. [img]http://puu.sh/jYFaI/4d634033b3.jpg[/img][/QUOTE] [QUOTE=FPtje's atom.io glualint;48613961][img]http://i.imgur.com/1CDnlh7.png[/img] glualint plugin for Atom. [url=https://atom.io/packages/linter-glualint]Get it here[/url][/QUOTE] [QUOTE=Nak's dogfight;48620206][media]https://www.youtube.com/watch?v=m4EH4ZTEKFg[/media] I have to override the map and the skybox, however PreDrawTranslucentRenderables seems to mess up other transparent things. Also those damn bots are aiming too good. Todo: - Ability to scroll to First Person for better aim. - Power-ups (I abused the speed one in the video). - Fix the rendering. - More ships. - A HUD to outline your team.[/QUOTE] [QUOTE=Sapd's iInventory;48621593][img]https://i.gyazo.com/f9fb19036eb25b0d3cf2a4fbdb4ac28f.gif[/img] [img]https://i.gyazo.com/ff8a853ff72025155d993ef96acb1660.gif[/img] Here a not/light compressed picture: [url]http://i.imgur.com/x7HnNii.jpg[/url] I'm currently doing a grid based inventory, which supports stacks and supports item sizes (like in dayz/diablo). Holding shift, will move a whole stack. Different items, can have different max. stacks. Also the whole gui is dynamic, e.g. I just need to change a number if I want more slots. I just finished the client part, which was really really really hard.... Using DModelPanels was really a pain to work with, also I had to make a concept about how I support different item sizes. Furthermore the hovering animation is also complex to implement (see second gif)[/QUOTE] [QUOTE=Killstr3aKs's Rust Racers;48632425]Hoffa and I started working on a new project a couple of days ago. Basically junk car races with customizable parts. Some features that are already implemented (but far from finished): *Manual gear shifting (with an exhaust backfire effect on each shift) *Engine RPM and horsepower simulation *Hoffa's Spongy Suspension Systemâ„¢©® *Damage detection on each car part *Headlights, taillights and exhaust effects (different for each type of exhaust pipe) *Hands-free driving :v: [video=youtube;BUNIW4ITusA]http://www.youtube.com/watch?v=BUNIW4ITusA&feature=youtu.be[/video] [QUOTE=Hoffa1337;48635333]The random crashing from doing the most trivial shit made me say nope. Instead I went with retarded bots with a strong vocabulary, you'll be so busy recovering from the verbal abuse you won't notice the crappy movement. On a different note: Shitbox on Wheel now has animated steering and armor rating based on your bodygroup (higher bodygroup, more visual armor, less player damage taken) I'll capture a video tomorrow :) [t]http://puu.sh/k3Ayv/12a248b6a4.jpg[/t] [t]http://puu.sh/k3A7R/37a00454be.jpg[/t] and making a car is as easy* as: [code] AddCSLuaFile() ENT.PrintName = "Ol' Shitbox" ENT.Author = "Hoffa & Killstr3aks" ENT.Category = "Rust Racers" ENT.Base = "sent_neurotec_car_framework" ENT.Spawnable = true ENT.AdminSpawnable = false ENT.InitialHealth = 750 ENT.HealthVal = 750 -- Vehicle Health ENT.Model = "models/MMcars/die_rolla/die_rolla_chassis.mdl" -- 3d model ENT.BodyGroupArmorDamageScale = { 1.0, 0.8, 0.5, 0.4, 0.25, 0.05 } -- One entry for each bodygroup§ ENT.DriveTrain = { SteeringRatio = 2.0, SteeringWheel = "models/MMcars/die_rolla/die_rolla_swheel.mdl", SteeringWheelPos = Vector(3, -19, 55 ), SteeringWheelAng = Angle( 20, 0, 0 ), Engine = { Mdl = "models/MMcars/common/v6_5.mdl", Pos = Vector(), Ang = Angle(), Health = 100, HorsePower = 300, MaxRPM = 6500, TurboDuration = 3, TurboCooldown = 15, TurboBoostFactor = 1.5, // 150% of engine output Gears = 5, GearRatios = { 2.57, // 1st gear 2.00, // 2nd gear 1.53, // 3rd gear 1.20, // 4th gear 0.90, // 5th gear -2.28 // reverse }, StartupDuration = 3, Sounds = { StartupSound = "vehicles/jetski/jetski_no_gas_start.wav", ShutdownSound = "vehicles/airboat/fan_motor_shut_off1.wav", IdleSound = Sound("vehicles/crane/crane_idle_loop3.wav"), GearSounds = { "vehicles/v8/first.wav", // 1st "vehicles/v8/second.wav", // 2nd "vehicles/v8/third.wav", // 3rd "vehicles/v8/fourth_cruise_loop2.wav", // 4th "vehicles/v8/v8_turbo_on_loop1.wav", // 5th "vehicles/v8/fourth_cruise_loop2.wav" // Reverse } } }, Axles = { { Pos = Vector(0,0,-5), Ang = Angle(), Mdl = "models/mmcars/common/front_axle.mdl", Health = 100 }; { Pos = Vector(0,0,-5), Ang = Angle(), Mdl = "models/mmcars/common/rear_axle.mdl", Health = 100 }; }, Wheels = { { Pos = Vector( 63, 40, 24-5 ), Mdl = "models/MMcars/common/wheel_6.mdl" }; { Pos = Vector( 63, -40, 24-5 ), Mdl = "models/MMcars/common/wheel_6.mdl" }; { Pos = Vector( -72, 40, 20-5 ), Mdl = "models/MMcars/common/wheel_6.mdl" }; { Pos = Vector( -72, -40, 20-5 ), Mdl = "models/MMcars/common/wheel_6.mdl" }; }, Seats = { { Pos = Vector( -18, -21, 30 ), Ang = Angle(0,-90,15), Mdl = "models/nova/airboat_seat.mdl", NoDraw = true }; { Pos = Vector( -15, 19, 30 ), Ang = Angle(0,-90,15), Mdl = "models/nova/airboat_seat.mdl", NoDraw = false }; { Pos = Vector( -68, 13, 28 ), Ang = Angle(0,-90,5), Mdl = "models/nova/airboat_seat.mdl", NoDraw = true }; { Pos = Vector( -68, -13, 28 ), Ang = Angle(0,-90,5), Mdl = "models/nova/airboat_seat.mdl", NoDraw = true }; }, Parts = { { Pos = Vector(), Ang = Angle(), Mdl = "models/MMcars/common/bumper_4.mdl", Health = 100, Weld = 75000 }; { Pos = Vector(), Ang = Angle(), Mdl = "models/MMcars/die_rolla/die_rolla_hood.mdl", Health = 100, Weld = 15000 }; { Pos = Vector(), Ang = Angle(), Mdl = "models/MMcars/die_rolla/die_rolla_ldoor.mdl", Health = 100, Weld = 15000 }; { Pos = Vector(), Ang = Angle(), Mdl = "models/MMcars/die_rolla/die_rolla_rdoor.mdl", Health = 100, Weld = 15000 }; { Pos = Vector(), Ang = Angle(), Mdl = "models/MMcars/die_rolla/die_rolla_exhaust_5.mdl",Health = 100, Weld = 55000, Solid = COLLISION_GROUP_DEBRIS }; } }[/code] * then you need some bones for exhaust, lights and about a ridiculous amount of spare parts :v:[/QUOTE] [/QUOTE] [QUOTE=johnnyaka's atom.io glua autocomplete;48641988]Inspired by FPtje's linter, I will make a GLua-Autocomplete package for Atom.io with all the infos I can get out of the wiki: * function return type * argument names + types * function type * small description * hyperlink to the function wiki page [T]http://i.imgur.com/CzFFcMn.gif[/T] The most difficult part will propably be saving/loading of all the functions, but I guess I will go for a local database or something. (webserver would add a lot of latency and response time is affected by the users location) [QUOTE=johnnyaka;48648690]Got hooks mostly done, I wonder how the performance will get once I have Libraries and Classes in :rollout: Currently, hooks are only shown on ''TYPE:" and "function TYPE:". I may change it to just ':', but I will need to see. [T]http://i.imgur.com/Nefpqml.gif[/T] (laggy because gif, didn't see any performance impact yet :D) I also plan to implement generators, so you just type "__EntShared" and it will generate a shared.lua entity file for you[/QUOTE][/QUOTE] [QUOTE=LegoGuy's phone;48659189][B]I'VE BEEN WORKING ON THIS THING FOR TOO LONG[/B] [vid]http://www.aritzcracker.ca/uploads/aritz/Garry%27s%20Mod%202015-09-11%207_54_34%20AM.mp4[/vid] Somehow my stencil randomly broke while I was recording, can anyone show me a proper way to do them? [QUOTE=LegoG
Still no highlight :cry: <insert wasted here> Truly, though, I don't code enough.
omfg, I'm dying, my closet made it to the highlights. why is it so popular? lmao
[QUOTE=Z0mb1n3;48798679]omfg, I'm dying, my closet made it to the highlights. why is it so popular lmao.[/QUOTE] -snip- wrong addon :v:
Damn my AI still not good enough for highlights ='(
[QUOTE=vrej;48798807]Damn my AI still not good enough for highlights ='([/QUOTE] should have given them the ability to hide in closets.
Working on some really, [I]really[/I] buggy vehicle AI using the new functions. [I]It's like GTA all over again[/I]. [vid]http://sharex.mastercodes.biz/2015_09/2015-09-30_20-04-05.mp4[/vid] [vid]http://sharex.mastercodes.biz/2015_09/2015-09-30_20-02-54.mp4[/vid] It turns right perfectly, but left turns result in one of the following: bouncing its suspension ghetto-style, glitching into the ground, or defying physics and taking a trip to space. [B]Edit:[/B] The voices in the background are my friends, who have absolutely no idea they were accidentally recorded. [editline]30th September 2015[/editline] [QUOTE=vrej;48798807]Damn my AI still not good enough for highlights ='([/QUOTE] [URL="http://wiki.garrysmod.com/page/Category:Vehicle"]you should give it the ability to drive cars.[/URL]
[QUOTE=Noi;48799040]If I posted there, you guys would be amazed how much of shit I'm doing every day :v: [editline]1st October 2015[/editline] "shit" not in terms of quality, ofc[/QUOTE] but how do you put out on a Mac? [img]http://macosx.com/data/attachments/3/3838-635f524aeb1ea76dd379f63ee86cf73e.jpg[/img]
having fun with my ion cannon, added more particles to it and an extra bass-y horn from mass effect's reapers to give it that oomph. also forgot that shadowplay records music, but I find it hilarious I had this song on when I was doing this [video=youtube_share;g60kA3ElQSs]http://youtu.be/g60kA3ElQSs[/video]
Need to add some lensflare at the bottom to cover up that clipping
[QUOTE=Ott;48799664]Need to add some lensflare at the bottom to cover up that clipping[/QUOTE] I tried, but the particle clips through the world, too. Is there a way to make it ignore the world? Or like, perform a trace and if it hits, draw the particle?
You could just draw something in HUDPaint.
ok honest to god last video of this i post [video=youtube_share;tlHhJ8psqiE]http://youtu.be/tlHhJ8psqiE[/video] Now it has a sprite to cover up the clipping, and looking directly at / somewhere near the impact site will cause blindness
[QUOTE=Noi;48797327]Anyone tried making self-driving cars? I can't really fix this wobbly steering, which is really annoying.[/QUOTE] You could maybe experiment with using PIDs (how robots which follow lines don't spazz, also how quadcopters self level)
I promise I'll post content here again. Starting my new job next week, and my last day for my shitty one is Sunday. I'll have time again, something I haven't had in ages!
[QUOTE=Nookyava;48800636]I promise I'll post content here again. Starting my new job next week, and my last day for my shitty one is Sunday. I'll have time again, something I haven't had in ages![/QUOTE] I'm at my internship today .. I think they forgot I was coming early as nobody is around. I got too much time and with sublime it looks like I'm doing something useful, lol.
[url]http://steamcommunity.com/sharedfiles/filedetails/?id=527885257[/url] The navmesh tool if you need it.
Started working on my game again, renamed it to Ship Wars... Not much changed since the last video but whatever. [video=youtube;Xc1NqNn67iQ]http://www.youtube.com/watch?v=Xc1NqNn67iQ[/video]
[QUOTE=find me;48805534]Started working on my game again, renamed it to Ship Wars... Not much changed since the last video but whatever. [video=youtube;Xc1NqNn67iQ]http://www.youtube.com/watch?v=Xc1NqNn67iQ[/video][/QUOTE] Turn down your Gmod game volume, The volume itself is really way to loud
[QUOTE=Z0mb1n3;48799564] also forgot that shadowplay records music, but I find it hilarious I had this song on when I was doing this [/QUOTE] I honestly thought that it was on purpose :v:
[QUOTE=Noi;48806692]what the fuck is going on here?[/QUOTE] He's taken a liking to watermelons!
[QUOTE=MasterDaPro11;48798868]Working on some really, [I]really[/I] buggy vehicle AI using the new functions. [I]It's like GTA all over again[/I]. [vid]http://sharex.mastercodes.biz/2015_09/2015-09-30_20-04-05.mp4[/vid] [vid]http://sharex.mastercodes.biz/2015_09/2015-09-30_20-02-54.mp4[/vid] It turns right perfectly, but left turns result in one of the following: bouncing its suspension ghetto-style, glitching into the ground, or defying physics and taking a trip to space. [B]Edit:[/B] The voices in the background are my friends, who have absolutely no idea they were accidentally recorded. [editline]30th September 2015[/editline] [URL="http://wiki.garrysmod.com/page/Category:Vehicle"]you should give it the ability to drive cars.[/URL][/QUOTE] That reminds me of something I made almost a decade ago :v: [media]https://www.youtube.com/watch?v=k7pAnQSqEfU[/media]
[QUOTE=Shenesis;48811462]Made another HUD thing [video]https://youtu.be/4UCoUkY1pp4[/video] Not in video: health bar transitioning [vid]https://my.mixtape.moe/xpecvw.mp4[/vid][/QUOTE] OMG I would kill for this!
Progress on gm_console is "slow" but it's progress: [t]http://i.imgur.com/jQVrbiV.png[/t] [editline]lmao[/editline] Oh! Forgot to mention that it's usable now! [URL="https://github.com/glua/gm_console"]https://github.com/glua/gm_console[/URL] [editline]2nd October 2015[/editline] Build: [url]https://github.com/glua/gm_console/releases/tag/v1.0.0[/url] [editline]2nd October 2015[/editline] Documentation: [url]https://github.com/glua/gm_console/wiki[/url]
[QUOTE=zerf;48813039]snip[/QUOTE] Just bruteforce the interface.
[QUOTE=kila58;48813784]Just bruteforce the interface.[/QUOTE] -snip-
[QUOTE=zerf;48813891]-snip-[/QUOTE] snip
Started working on my gamemode Solarpower again [t]http://i.imgur.com/R5zeuLf.jpg[/t]
So i tried to play with workshop and add "save", "demo", "dupe" tags to my addon. [IMG]http://puu.sh/kwNS2/ce2a06c14a.png[/IMG] [IMG]http://puu.sh/kwNUv/df959074f6.jpg[/IMG] And now i can't edit it back :goodjob: [editline]value[/editline] Fixed
[video=youtube;GfzDRouCeIo]https://www.youtube.com/watch?v=GfzDRouCeIo[/video] Gibs up in this frag
Sorry, you need to Log In to post a reply to this thread.