Skip to content

Metastruct/talon_gmod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Voice Control Garry's Mod ingame (Mostly for VR).

Work in Progress voice control for Garry's Mod.

Does not modify Garry's Mod so it should also be VAC safe! (WINDOWS ONLY)

Warning: If you already use talon voice this may conflict with repositories like knausj_talon!

Although talonvoice supports Mac and Linux, talon_gmod does not yet support them, only Windows (due to valvecmd.exe)!

For Users: How to install (server hosters look below)

  1. Install Talon Voice

  2. Install voice recognition: (Gen2 seems to work for foreign accents. Conformer is more recent and should be more accurate.)

    image

    NOTE: You may need to wait for talon to initialize for over a minute before the button appears. Check logs to see progress. You can also try restarting talon once and waiting for a minute. You can also continue to next step in the meanwhile. Please write in issues what worked.

  3. Open the talon configuration folder from tray

    image

  4. Download talon_gmod zip

  5. Extract talon_user_additionsfrom the downloaded talon_gmod zip file such that the folder structure looks like this (important!):

    image

    If talon is running it will autoreload and install dependencies.

  6. Restart talon voice. It should automatically find GMod. (possibly optional).

  7. Subscribe to the workshop addon for improved command support (Optional). See below.

  8. Make sure garrysmod/cfg/talon.cfg exists. This is used by ingame lua code to see if you have talon. The file can be empty.

  9. Begin using voice commands! See examples below. For example, say toggle flashlight

Troubleshooting

View logs for any errors:

image

It might help restarting talon once more.

Check from issues for any solutions if you cannot get talon to work:

  • Make sure garrysmod/cfg/talon.cfg exists. You can create the file manually yourself. After this, restart GMod and restart talon after finishing joining ingame.

For servers / singleplayer / listen server users

The addon requires clientside/serverside Lua files for support for most commands!

Subscribe to the workshop addon for improved command support.

Alternatively

Please clone the repo to your server's addons folder. You can also download it.

Voice commands

Generic: (gmod.talon)

  • toggle flashlight | flashlight
  • select weapon crowbar
  • enable/disable microphone
  • c̵̳̀o̵͖̚m̷̥̀p̶̼̈ụ̵͗t̷̛̹e̵͔̅r̸̛̪ ̵͕̿t̸̲͆e̵͎̅r̴͘ͅm̵̨͑i̸̼͐n̸͍̆â̴͔ṭ̷̀ẻ̶͖ ̷̜̽u̶̢̓s̶̺͛e̶͊ͅr̶̦͝

Sandbox: (More on gmod_sandbox.talon)

  • spawn crate | spawn tree | spawn oil drum
  • spawn vehicle jeep
  • spawn weapon crowbar
  • sandbox undo | sandbox revert
  • sandbox cleanup everything
  • toolgun weld | toolgun rope | toolgun remover

Admin mod: (only aowl on metastruct servers are presently supported. For ULX See gmod_ulx.talon)

  • teleport to short username
  • computer please bring us short username
  • admin mod go to short username
  • admin mod revive me | admin mod resurrect me
  • teleport back
  • kaboom kaboom
  • go to spawn
  • admin mod teleport there

Also see: gmod_overwatch.talon

TODO / help wanted

  • ULX and other admin mod integration
  • Generic weapon spawning / selection
  • User defined easy listing of props and names for spawning
  • DarkRP / Terrortown
  • Volume control etc.
  • Better goto
  • More toolgun commands
  • Toolgun settings selection?
  • Entity context menu settings (remove this prop)
  • Undo confirmation (sandbox undo. "Confirmation required". Confirm)
  • Print ingame what was printed on screen

Credits