Garry's Mod

Garry's Mod

Not enough ratings
Console Command Macro
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun
File Size
Posted
Updated
21.411 KB
23 Jul @ 1:01pm
1 Sep @ 11:24am
2 Change Notes ( view )

Subscribe to download
Console Command Macro

In 1 collection by PenolAkushari
Simple GMod tools for animation/posing
6 items
Description
This only works in singleplayer, as it won't appear in the menu in multiplayer instances.

Lua script that allows to run a sequence of console commands. Personally I was going to use it to render out soft lamps lightbounces together with SMH, but probably others will find some use for it too. It only works on singleplayer, as otherwise it won't appear.

Console commands from this thing:

peak_mac_start - Starts executing your macro, stops it if it was being run

peak_concommac_file [name of the macro file inside "cocomacro" folder in data] - Set macro to be loaded into the script. convar is used to load last selected macro on game start

peak_concommac_messageoff [1 or 0] - Turn off chat notifications that macro is being ran/stopped

peak_concommac_soundoff [1 or 0] - Turn off sound notifications that macro is being ran/stopped

Valve wiki Source engine console commands list (may not represent accurately what gmod does have, and certainly doesn't include console commands added by your addons)

Console commands that this script can't execute (or any Lua script really)[wiki.facepunch.com]

1 Comments
БананМед 31 Jul @ 1:34am 
wow