GMod - What are you working on? - February 2014

What Are You Working On? - February 2014 (#30)
Highlights from the previous thread:

Trap Door by LinkTwilight

Garry and Fighters by RocketMania - A MOBA style gamemode.

Prone by Rebel1324

Surf Gamemode by Ilyaaa

Custom Movetypes by AzuiSleet - “This is going to revolutionize gmod.”

Particle Spewing by ollie

GMod Minecraft by thelastpenguin - Generation of a voxel based world using only pure Lua.

http://cloud-2.steampowered.com/ugc/3336341088054781516/7CB587431E6CBA8EF8E1E077CEFD4560B4674E88/[/t] [t]http://cloud-3.steampowered.com/ugc/705110818710831630/60E1F7508FB3BA2CF8F91AD9FBF57E7EF75566B5/[/t]
You can find more pictures here: http://steamcommunity.com/id/LPSTheLastPenguin/screenshots/

License-Plate System by Acecool
[t]http://cloud-4.steampowered.com/ugc/3316074889852032609/F184763E71171397803E9576B45DDCA8A5B21268/[/t] [t]http://cloud-4.steampowered.com/ugc/3316074889857530193/75E8467FBDEF96D7040B66735A5E293D003C74E3/[/t]

Voxels by PortalGod
[t]http://puu.sh/6oYZb.jpg[/t] [t]http://puu.sh/6p02b.jpg[/t]
[t]http://puu.sh/6pIuv.jpg[/t] [t]http://puu.sh/6pICS.jpg[/t]
[t]http://puu.sh/6pIem.jpg[/t] [t]http://puu.sh/6pIEL.jpg[/t]

Worms 3D by _Kilburn - vinh’ll fix it
[t]http://cloud-4.steampowered.com/ugc/487814329754483354/1EAC606E66254D515A64AF34E79DF05548DD0D16/

same old crappy smell of this thread

Is there just going to be a new thread for every month?

I’ll skip April for a full 10/10 comedy April fools joke.

Well, here’s some content to start:

http://puu.sh/6eO7r

Working on a crafting system - recipes are pulled from an outside database.

Button in the server menu that gets you permabanned

[editline]1st February 2014[/editline]

a lot of people have clicked it, and we don’t talk about the button

(Idiot cull reason is the button)

[editline]Swag[/editline]

Also updated the mod tools since my last post, now you can view a player’s warnings in the menu by clicking ‘Show Warnings’

Bit of a repost, but it actually works now and isn’t just a blank gui:

http://share.bybservers.co.uk/2014-02-01_16-47-26.png

just my two cents, but I don’t like that purple at all, I’d suggest something from here or similar

-whatever-

Which one? I don’t see any that look as dark as yours.

Been doing some work with loadouts. Sorry about the piss poor quality… If I didn’t lower the resolution it would have taken me all day to upload. View in 480P and fullscreen…

For some reason the red looks a lot brighter then it really is. On my end it’s a darker end red, comparable to blood.

Also note: There’s a few more options I haven’t added in yet. The large space on the right will be filled be filled with the playermodel changer.

Edit: Also I made an anti teamkill thing. Only thing is your own grenades can’t kill you which to be honest is somewhat annoying sometimes…

share? <3

Just updated ACT_ enums on the wiki, there were about 100 missing, see changes here:

No, as I coded it to work specifically with my PlayersCanHearVoice hook to reduce lag, although changing it to DarkRP2.5 would be a quick fix. Don’t worry someone will make a quick version of it for $20 on CoderHire within a week.

Has anyone noticed how there’s no way to determine whether or not someone is speaking on the server?

Between those two hooks you can do that.

Nevermind, those hooks are clientside.

Do I hear a challenge, sir?

For you guys who were having issues with sublime text and autorefresh:
A little while ago I had the same issue and wrote some crappy plugin that is a little hacked together, but does seem to work. It winds up re-saving the file. (So essentially should be just like disabling atomic save, but that didn’t work for me either whereas using the plugin did)


import sublime_plugin
import os


def plugin_loaded():
    return


def is_lua_file(view):
    filename = view.file_name()

    return filename and \
        os.path.splitext(filename)[1][1:].strip().lower() == 'lua' and \
        filename.find('garrysmod') != -1


class gmod_handler(sublime_plugin.EventListener):

    def on_post_save(self, view):
        if is_lua_file(view):
            filename = view.file_name()
            print('Resaving ' + filename)
            f = open(filename, 'r+')
            data = f.read(1)
            f.seek(0)
            f.write(data)
            f.close()

    def on_load(self, view):
        if is_lua_file(view):
            view.set_syntax_file('Packages/GMod Lua/Lua.tmLanguage')


It could be done a whole lot better so feel free to fix it up or whatever.
You might also want to disable the GMod Lua highlighter package but keep it installed, the plugin will set the highlighter if it’s a lua file and has ‘garrysmod’ in the path. You can change that just by editing it if you don’t want that anyways.

[editline]2nd February 2014[/editline]

I almost forgot, throw that in gmod_handler.py in packages/user (Preferences/Browse Packages)

Something i’m working on for GCC.
I know video quality is shit, but I don’t want to spend an hour uploading a huge video file.

My relatively unimpressive loadout menu so far in screenshot form because my video was shit/I added some stuff.