1. Post #521
    I'm living in the Best Korea. 사랑해요 김치맨!
    rebel1324's Avatar
    December 2008
    2,366 Posts
    That means you can hook prop_static?
    Reply With Quote Edit / Delete Show Events Disagree Disagree x 1 (list)

  2. Post #522
    Gold Member
    CrashLemon's Avatar
    November 2007
    989 Posts

    Implementing this hook was completely worth it.
    Is that in the next version or is it already impletemented?
    Reply With Quote Edit / Delete Canada Show Events

  3. Post #523
    Gold Member
    Ducky3426's Avatar
    May 2012
    231 Posts
    Does anyone remember the helper thing for creating circular progress bars that was released in WAYWO some time ago? I really can't find it..
    Reply With Quote Edit / Delete Windows 8 Denmark Show Events

  4. Post #524
    Acecool discovered a way to get classes working in Lua; MetaTable users hate him, ArmA devs love him

    February 2012
    5,839 Posts
    Does anyone remember the helper thing for creating circular progress bars that was released in WAYWO some time ago? I really can't find it..
    http://facepunch.com/showthread.php?t=1277997 -- Bobble posted something at the bottom: http://facepunch.com/showthread.php?...1#post41023275

    I'm not sure if that's what you're looking for or not. It is possible to create a circle poly: https://dl.dropboxusercontent.com/u/..._with_poly.lua
    Reply With Quote Edit / Delete United States Show Events Winner Winner x 2Friendly Friendly x 1 (list)

  5. Post #525
    Jvs
    PENISCorp's First Employee
    Jvs's Avatar
    June 2009
    2,069 Posts
    Is that in the next version or is it already impletemented?
    Next version.
    Reply With Quote Edit / Delete Italy Show Events Agree Agree x 2Informative Informative x 1Optimistic Optimistic x 1 (list)

  6. Post #526
    PM ME FOR A FREE RUST STEAM KEY OR VAC UNBAN
    Dennab
    November 2013
    714 Posts
    Working on a very simple lua library for people who don't really understand how animations work, or the maths to do them.


    See it in action! [ Press MP4 for no lag ]

    The syntax is very simple, and is the same for a normal way to draw a box, but instead we add 3 new arguments.

    Code:
    Animations:BouncingBox( Direction , Distance , Speed , Rounded , LeftRight , UpDown, Width, Height, Color1 )
    Animations:BouncingText( Direction, Distance, Speed, Text, Font, UpDown, LeftRight, Color1, Color2 )
    
    --Very simple as you can see, and some particle uses. ( See Link above! )
    
    Animations:BouncingBox("Longitude",70,100,8,100,100,100,100, Color ( 0, 0, 250, 130 ) )
    Animations:BouncingBox("Latitude",-70,100,8,100,100,100,100, Color ( 250, 0, 0, 130 ) )
    Animations:BouncingBox("Diagonal",-70,25,8,100,100,100,100, Color ( 0, 250, 0, 130 ) )
    
    -- Produces http://gyazo.com/96046f74869a6b49f386684a75b40a7e
    It will be released in my new gamemode. More on this soon!
    Reply With Quote Edit / Delete Show Events Winner Winner x 7Friendly Friendly x 1Useful Useful x 1 (list)

  7. Post #527
    _Hal0x_'s Avatar
    August 2013
    11 Posts
    Doing my first ever gamemode... I really wish to find a good GUI and HUD tutorial sometime soon
    http://imgur.com/pD6xUI4,UbmRK6N
    Reply With Quote Edit / Delete Show Events Artistic Artistic x 2Dumb Dumb x 1 (list)

  8. Post #528

    December 2013
    1,797 Posts
    Doing my first ever gamemode... I really wish to find a good GUI and HUD tutorial sometime soon
    http://imgur.com/pD6xUI4,UbmRK6N
    I like the maurits wiki ones.
    http://maurits.tv/data/garrysmod/wik...index7a06.html
    I haven't really used the HUD ones, mainly used the derma tuts
    Reply With Quote Edit / Delete Poland Show Events

  9. Post #529
    I'm living in the Best Korea. 사랑해요 김치맨!
    rebel1324's Avatar
    December 2008
    2,366 Posts
    Quick Turret with exaggerated sounds.

    Reply With Quote Edit / Delete Show Events Artistic Artistic x 2 (list)

  10. Post #530
    Kamshak's Avatar
    July 2008
    526 Posts
    Working on a very simple lua library for people who don't really understand how animations work, or the maths to do them.


    See it in action! [ Press MP4 for no lag ]

    The syntax is very simple, and is the same for a normal way to draw a box, but instead we add 3 new arguments.

    Code:
    Animations:BouncingBox( Direction , Distance , Speed , Rounded , LeftRight , UpDown, Width, Height, Color1 )
    Animations:BouncingText( Direction, Distance, Speed, Text, Font, UpDown, LeftRight, Color1, Color2 )
    
    --Very simple as you can see, and some particle uses. ( See Link above! )
    
    Animations:BouncingBox("Longitude",70,100,8,100,100,100,100, Color ( 0, 0, 250, 130 ) )
    Animations:BouncingBox("Latitude",-70,100,8,100,100,100,100, Color ( 250, 0, 0, 130 ) )
    Animations:BouncingBox("Diagonal",-70,25,8,100,100,100,100, Color ( 0, 250, 0, 130 ) )
    
    -- Produces http://gyazo.com/96046f74869a6b49f386684a75b40a7e
    It will be released in my new gamemode. More on this soon!
    Would be cool if you can make it function like TweenJS it's the best i've ever used for animations, the callbacks are really useful http://www.createjs.com/#!/TweenJS/documentation
    Reply With Quote Edit / Delete Windows 7 Germany Show Events Friendly Friendly x 1 (list)

  11. Post #531
    PM ME FOR A FREE RUST STEAM KEY OR VAC UNBAN
    Dennab
    November 2013
    714 Posts
    http://facepunch.com/showthread.php?t=1277997 -- Bobble posted something at the bottom: http://facepunch.com/showthread.php?...1#post41023275

    I'm not sure if that's what you're looking for or not. It is possible to create a circle poly: https://dl.dropboxusercontent.com/u/..._with_poly.lua
    Saw some broken code on that thread, fixed it so it works.

    Code:
    function DrawPartialCircle( x, y, radius, linewidth, startangle, endangle, aa )
        aa = aa or 1
        startangle = math.Clamp( startangle or 0, 0, 360 )
        endangle = math.Clamp( endangle or 360, 0, 360 )   
        if endangle < startangle then
            local temp = endangle
            endangle = startangle
            startangle = temp
        end
        for i=startangle, endangle, aa do
            local _i = i * math.rad( startangle / radius )       
            surface.DrawTexturedRectRotated(math.cos( _i ) * (radius - linewidth) + x,math.sin( _i ) * (radius - linewidth) + y, linewidth, aa*2, -i )
        end
    end
    It can now be called using

    Code:
    DrawPartialCircle( 500, 100, 10, 50, 10, 180, 1)
    Which will produce



    You can have a ton of fun with this, this code

    Code:
    DrawPartialCircle( 100, 200, 10, 100, 360, 180, 1)
    Will produce this!



    Be careful with the last argument as it can cause crashes!

    Update

    Agree this post if you want me to release my animations and circle drawing library!

    Reply With Quote Edit / Delete United Kingdom Show Events Agree Agree x 24Funny Funny x 3 (list)

  12. Post #532
    "The superior man understands what is right; the inferior man understands what will sell"
    Chessnut's Avatar
    August 2011
    3,671 Posts

    Demonstrated:
    - Ability to provide an array to list multiple things (e.g. !slay [#me, #this, #dead]). Arrays can be within arrays too.
    - Targeters (#alive, #dead, #admin, #all, #me, etc...)
    - Group creation and editing in the menu (also synchronized instantly)

    Part of an admin mod coming soon
    Reply With Quote Edit / Delete Show Events Winner Winner x 6Lua King Lua King x 1 (list)

  13. Post #533
    Awesome Gmod Servers!
    brandonj4's Avatar
    September 2011
    2,081 Posts
    Not flawless but still beats spending hours making bodygroups for each model:



    Reply With Quote Edit / Delete Windows 7 Canada Show Events Funny x 28Winner x 1Useful x 1Disagree x 1Friendly x 1Lua King x 1 (list)

  14. Post #534
    EthanTheGreat's Avatar
    September 2010
    607 Posts
    I wrote a script for removing displacements by modifying BSP files.



    Pictured is evocity with the cave removed.


    The same location (different angle) with the cave.
    Is it possible to start a new map, where the previous map ends? That'd be an interesting idea.
    Reply With Quote Edit / Delete Show Events Optimistic Optimistic x 3 (list)

  15. Post #535
    Nak
    Gold Member
    Nak's Avatar
    October 2010
    1,221 Posts
    Been sick .. so had at lot of time.


    (Tested ~40 bots + a ton of nukes/missiles and how did that bot score 1 point?)

    - Added a temporary skin for the nuke.
    - Gave all the weapons an icon.
    - Gave the player animation-reactions. (On kills so far)
    - Added a custom death-note to the hud.
    - Tweaked all the weapons.
    - Added scoreboard (first-place, second-place, third-place, most kills and most deaths).
    - Fixed a few bugs.
    - Is now playable. (Kinda)

    - Todo: Fix the face color .. got no clue why it happens after I make the player visible again.
    Reply With Quote Edit / Delete Windows 7 Denmark Show Events Funny Funny x 1Artistic Artistic x 1 (list)

  16. Post #536
    Gold Member
    TheMrFailz's Avatar
    July 2012
    2,988 Posts
    Finally got some decent looking scope overlays using hud paint. Now only if they wouldn't spaz so much when reloading...


    (Ignore that SG552 pic on the thumbnail. Didn't have any other ones and was feeling lazy.)
    Reply With Quote Edit / Delete Show Events Disagree Disagree x 5Winner Winner x 1 (list)

  17. Post #537
    net.WriteEntity(LocalPlayer())
    Arizard's Avatar
    May 2013
    556 Posts
    Here's a Hub for my community that me and a co-owner have been working on

    Ignoring the few visual bugs, does anyone know how I could black out the world and only draw the player? Like how Murder blacks out the world when you die.
    Reply With Quote Edit / Delete Windows 7 Australia Show Events Artistic Artistic x 12Informative Informative x 1Winner Winner x 1 (list)

  18. Post #538
    rejax's Avatar
    April 2013
    1,118 Posts
    that looks really good
    also try move the shop panel up so that it's connecting with the tabs at the top

    and here's how murder does it
    function GM:RenderDeathOverlay()
    	local client = LocalPlayer()
    	local sw, sh = ScrW(), ScrH()
    
    	if GAMEMODE.SpectateTime > CurTime() then
    
    		// render black screen
    		surface.SetDrawColor(0,0,0,255)
    		surface.DrawRect(-1,-1,sw + 2,sh + 2)
    
    		render.SetColorModulation(1, 1, 1)
    		render.SetBlend(1)
    
    		
    		// render body
    		cam.Start3D( EyePos(), EyeAngles() )
    		cam.IgnoreZ(true)
    		local ent = client:GetRagdollEntity()
    		if IsValid(ent) then
    			ent:DrawModel()
    		end
    		cam.IgnoreZ(false)
    		cam.End3D()
    	end
    end
    

    edited:
    sonics the name speeds my game
    Reply With Quote Edit / Delete Windows 7 Australia Show Events Lua Helper Lua Helper x 4 (list)

  19. Post #539
    Handsome Matt's Avatar
    August 2008
    7,684 Posts
    does anyone know how I could black out the world and only draw the player? Like how Murder blacks out the world when you die.
    Just draw a black rect over the entire screen and then draw your player model manually.

    Edited:

    Reply With Quote Edit / Delete United Kingdom Show Events Funny Funny x 1Lua Helper Lua Helper x 1Dumb Dumb x 1Lua King Lua King x 1 (list)

  20. Post #540
    I'm living in the Best Korea. 사랑해요 김치맨!
    rebel1324's Avatar
    December 2008
    2,366 Posts
    Done some texture job for my combine turret.
    It's bit useless but yeah-


    Reply With Quote Edit / Delete Windows 7 Korea, Republic of Show Events Artistic Artistic x 11 (list)

  21. Post #541
    Gold Member
    cartman300's Avatar
    April 2011
    3,199 Posts


    Anybody interested in scripting gmod in C#?
    Reply With Quote Edit / Delete Croatia Show Events Agree x 8Disagree x 3Winner x 1Useful x 1Funny x 1 (list)

  22. Post #542
    PM ME FOR A FREE RUST STEAM KEY OR VAC UNBAN
    Dennab
    November 2013
    714 Posts


    Anybody interested in scripting gmod in C#?
    Yes please tia <3
    Reply With Quote Edit / Delete United Kingdom Show Events Friendly Friendly x 1 (list)

  23. Post #543
    Gold Member
    gonzalolog's Avatar
    April 2011
    3,829 Posts
    Anybody interested in scripting gmod in C#?
    Damn! i lost my vs2012 installer!
    Reply With Quote Edit / Delete Argentina Show Events Funny Funny x 2Disagree Disagree x 1 (list)

  24. Post #544
    I'm living in the Best Korea. 사랑해요 김치맨!
    rebel1324's Avatar
    December 2008
    2,366 Posts
    Mmmmmmmm Ask me about turret fetish




    Reply With Quote Edit / Delete Show Events Funny Funny x 1Winner Winner x 1 (list)

  25. Post #545
    Extraction Point
    Empty_Shadow's Avatar
    July 2006
    8,147 Posts

    Pistols that lock onto people's heads and SMGs that shoot around corners.
    What whacky ideas will they invent next.
    Reply With Quote Edit / Delete Australia Show Events Lua King Lua King x 5Artistic Artistic x 3Agree Agree x 1Winner Winner x 1 (list)

  26. Post #546
    Gold Member
    gonzalolog's Avatar
    April 2011
    3,829 Posts
    Amazing :0
    Reply With Quote Edit / Delete Argentina Show Events Agree Agree x 1 (list)

  27. Post #547
    Gold Member
    cartman300's Avatar
    April 2011
    3,199 Posts
    Repo (Binaries are in bin/ folder)

    Files go as follows:
    * gmsv_netscript_win32.dll into garrysmod/garrysmod/lua/bin
    * ManagedWrapper.dll into garrysmod/

    It loads all .cs files from the folder garrysmod/garrysmod/netscript/
    Example script can be found here

    It also adds following lua functions
    * Netscript.Load(PATH) - Load file and all containing scripts, relative to garrysmod/ folder (the one with hl2.exe)
    * Netscript.Unload(ID) - Unload script by id (not file, a file can contain multiple scripts)
    * Netscript.Reload() - Unloads all scripts and reloads them from netscript folder

    The script files have the System, ManagedWrapper and gmsv_netscript_win32 dlls referenced.
    Reply With Quote Edit / Delete Croatia Show Events Winner Winner x 5Useful Useful x 1 (list)

  28. Post #548
    I code stuff.
    MadParakeet's Avatar
    November 2009
    937 Posts
    I started screwing around with Gcompute and had this an hour later.


    I should totally try selling it to RP servers.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Funny Funny x 14Winner Winner x 1Artistic Artistic x 1 (list)

  29. Post #549
    Pandaman09's Avatar
    January 2012
    1,278 Posts
    I've already posted this in the gamemode thread, but I figured it wouldn't hurt for more publicity on an awesome gamemode. It's not a lot but there is quite a lot of back-end that is being worked on.
    I'll post more as things progress
    Reply With Quote Edit / Delete Show Events Winner Winner x 2 (list)

  30. Post #550

    May 2013
    1,204 Posts
    Was messing around with my auto-montage feature and decided that it was not extreme enough, so I added screen shake and music. Yeah I don't know

    Headphones and epilepsy warning

    Reply With Quote Edit / Delete United States Show Events Useful x 5Funny x 4Dumb x 3Artistic x 2Agree x 2Winner x 1Friendly x 1 (list)

  31. Post #551

    December 2013
    1,797 Posts
    Was messing around with my auto-montage feature and decided that it was not extreme enough, so I added screen shake and music. Yeah I don't know

    Headphones and epilepsy warning

    This is better than CoD. Where do I buy it?
    Reply With Quote Edit / Delete Show Events Agree Agree x 7Friendly Friendly x 1 (list)

  32. Post #552
    WalkingZombie's Avatar
    June 2013
    1,182 Posts
    I decided to wait this time instead of posting you a processing video.

    This was just a little something I scripted to keep me muy ocupado, and for fun as well

    Nothing special... but for some reason I had fun killing things with these! Especially scanners
    I forgot to demonstrate the HUD color changing when you get suit armor. I laid out all the batteries and forgot to record picking them up... oops!
    Reply With Quote Edit / Delete United States Show Events Dumb Dumb x 4Late Late x 1Friendly Friendly x 1 (list)

  33. Post #553
    your lack of title is bothering me
    Nookyava's Avatar
    January 2013
    3,412 Posts
    I doubt we needed a four minute plus video to see how you created simple melee weapons.
    Reply With Quote Edit / Delete United States Show Events Agree Agree x 5Zing Zing x 1Disagree Disagree x 1 (list)

  34. Post #554
    NeuroTec Vehicles
    Hoffa1337's Avatar
    August 2006
    3,036 Posts
    Crew roles and damage for NeuroTanks


    Crew gets randomized on tank spawn using 206 possible faces.

    All tanks have weak spots that can be utilized to deal damage on the crew members. (look for cupolas and hatches mainly) High Explosive rounds will not hurt the crew but AP, APHE and Kinetic ammo is pretty devastating. The tank is affected based on what role gets killed. If the driver goes down the tank stops until you r-enter it to assume his role. If the loader dies it will take twice as long to chamber a new round. Next up is the commander and gunner but I haven't decided what their death should impact.

    To summarize the tank damage system:
    Damage scales based on armor thickness around the tank. Ass takes more damage, front takes less, sides takes slightly lower damage.
    Shells can bounce if you hit at bad angles. Armor and tank size is taken into consideration.
    Damage taken from behind can result in either gearbox breakdown, engine coolant leak or oil leak. If gearbox goes the tank stops and cant be repaired in the field. If coolant or oil starts leaking the tank will overheat after a short while where you have wait a minute or two before you can keep driving another short distance before overheating again.
    There's a sweet spot for the ammo rack that instantly cooks the tank if you hit it. Seated at the base of the turret. I've only seen this occur maybe 2-3 times over several days of testing.
    If you focus your fire on the tower the tank will cook.
    Threads can take damage and will affect tank accordingly, if both tracks gets broken the tank stops.
    Reply With Quote Edit / Delete Show Events Winner Winner x 3Zing Zing x 1 (list)

  35. Post #555
    Gold Member
    Divran's Avatar
    April 2008
    2,626 Posts
    Commander death: forced lag. Every action gets a 0.5 second delay.
    Gunner death: Extra cannon spread so you miss more often
    Reply With Quote Edit / Delete Windows 8 Sweden Show Events Useful Useful x 2Agree Agree x 1 (list)

  36. Post #556
    NeuroTec Vehicles
    Hoffa1337's Avatar
    August 2006
    3,036 Posts
    Commander death: forced lag. Every action gets a 0.5 second delay.
    Gunner death: Extra cannon spread so you miss more often
    excellent ideas.
    Reply With Quote Edit / Delete Windows 7 Sweden Show Events

  37. Post #557
    Gold Member
    TheMrFailz's Avatar
    July 2012
    2,988 Posts
    -ultra sexy tanks-
    It would be cool (Although a bit ineffective) if there was an option to have actual players fill the roles of the fo-players. (Using their playermodel's faces in replacement of the fo-player's ones.)

    Only bad thing is almost everyone would have to use mics to be effective OR each member would have to be able to point at a location and be able to place a marker at said location that only the tank crew can see.
    Reply With Quote Edit / Delete United States Show Events

  38. Post #558
    Gold Member
    Divran's Avatar
    April 2008
    2,626 Posts
    It would be cool (Although a bit ineffective) if there was an option to have actual players fill the roles of the fo-players. (Using their playermodel's faces in replacement of the fo-player's ones.)

    Only bad thing is almost everyone would have to use mics to be effective OR each member would have to be able to point at a location and be able to place a marker at said location that only the tank crew can see.
    If you add the feature to allow players to be in the same tank, I suggest giving them a bonus to reload speed and accuracy and other things to compensate, and also to give some incentive to actually do it.
    Reply With Quote Edit / Delete Windows 8 Sweden Show Events

  39. Post #559
    Gold Member
    Commander11's Avatar
    February 2007
    325 Posts
    Cannon recoil and throttle control would be cool.
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  40. Post #560
    ash47's Avatar
    March 2010
    759 Posts
    Update on that evocity patch:



    McSimp wrote a module to load my modified map on the server, while the clients load the regular map, the cave no longer crashes, the way it's patched at the moment, it has very weird collisions, I intend to remove the collisions all together eventually :D
    Reply With Quote Edit / Delete Australia Show Events Winner Winner x 3 (list)