Jump to content
Dingo With a Shotgun

Rotating Callout System

Recommended Posts

(Before you ask, no, this mess is not part of the event guide.)

Ever wish your callout  bind could say a different phrase every time you pressed it?  Well, I've devised a system to do just that. Only problem is that it's a little... odd. If you aren't familiar with the dev console or keybinding in general, please peruse wildmonkei's ultimate guide on the subject, as this will look like absolute moonspeak otherwise.

This whole ball of madness revolves around one bind, a few alias commands, and a handful of .cfg files. The last of which are located in your game's cfg folder which is located at ...\Steam\steamapps\common\GarrysMod\garrysmod\cfg  and should look like this (minus the callouts folder):folder1.thumb.png.a99c18df06f2d93d369b4752e3a10826.png

To begin, open up autoexec.cfg using notepad, and write this at the bottom (replace mouse3 with whatever your preferred callout key is):

exec callouts/callout1.cfg
bind mouse3 +callout

Save and close autoexec.cfg. That sets up the bind and tells the game to read the contents of callout1.cfg from the callouts folder. Speaking of which, create that callouts folder you saw earlier. Inside of it, make one empty .cfg for each callout you want, and title them like so:

folder2.thumb.png.11fd1c749f42261d1c00836d3975f235.png

Now, open callout1.cfg and toss in

alias "+callout" "ttt_radio traitor; say PHRASE1"
alias "-callout" "exec callouts/callout2.cfg"

Replace PHRASE1 with what you want it to say, then save and close. Blam, first callout is already done. Now when you press down on your callout key,  it'll do your normal callout bind stuff, but when you lift off of that key, the game will import the setings from callout2.cfg

The content of the other .cfg files is almost identical, except that each one execs the next one in line like so:

alias "+callout" "ttt_radio traitor; say PHRASE2"
alias "-callout" "exec callouts/callout3.cfg"

alias "+callout" "ttt_radio traitor; say PHRASE3"
alias "-callout" "exec callouts/callout4.cfg"

alias "+callout" "ttt_radio traitor; say PHRASE4"
alias "-callout" "exec callouts/callout5.cfg"

alias "+callout" "ttt_radio traitor; say PHRASE5"
alias "-callout" "exec callouts/callout1.cfg"

 

But, notice that the last one imports the settings from callout1.cfg, thus creating a loop. Once you have each callout set up, you are done. Enjoy.

(sidenote: mashing the callout key somehow causes it to fire out of order. That's a bug. That's the premium shuffle feature.)

Edited by Dingo With a Shotgun (see edit history)
  • Funny Funny x 1
  • Informative Informative x 2

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this post...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Viewing Now   0 members

    Guest

×
×
  • Create New...