Scripting Voice Commands

Community News ÜBERFEST 2025 Invite preview 2 ÜBERFEST 2025 viewers' guide 0 RGL LAN 2025 viewers' guide 0 LAN Downunder 2025 viewers' guide 6 Pacific Showdown: The Ultimate East vs. South Clash 6 MGE.tf announces $5000 1v1 World Championship 1 Physgun Fireside Denver 2025 Invitational preview 0 Physgun Fireside Denver 2025 viewers' guide 17 Upcoming Events 12h › ETF2L 6v6 S51 W7: kek minoin samurai vs. The Sopranos 0 ETF2L 6v6 S51 W7: JOEY GUNZ vs. MANDEM 0 ETF2L 6v6 S51 W5: kek minoin samurai vs. DIRTY MAGGOTS 0 RGL HL S23 W1: DZCreatures vs. Locked In Syndrome 0 ETF2L 6v6 S51 W4: JOEY GUNZ vs. kek minoin samurai 0 ETF2L 6v6 S51 W6: MANDEM vs. The Sopranos 0 ETF2L 6v6 S51 W3: The Ender Pearls vs. JOEY GUNZ 0 ETF2L 6v6 S51 W3: kek minoin samurai vs. MANDEM 0 Recent Discussion poLANd.tf 2026 #highlander 3 poLANd.tf 2026 31 Reporting Misconduct in the Community 1 wtf happened to ammomod mge 39 best pub quotes 1974 Game Won't Open :( 13 Frag Clips Thread 10116 Favorite part about your comp journey? 20 Worst TF2 Frag Videos? 354 2025-2026 NBA Season 13 Flamethrower Rehabilitation 6 Team Comtress 2 221 RGL PUGs Public Alpha 345 ETF2L 6v6 S51 W7: kek minoin samurai vs. The Sopranos 0 ETF2L 6v6 S51 W7: JOEY GUNZ vs. MANDEM 0 Live Streams TF.TV TF2 CS:GO Dota2 b4nny TF2. NEW !youtube VID || !MannCo !giveaway !star #ad 355 Kegaman Stuffs 5 super back in the mix ready to effortlessly take over pummel and win the competition EASILY!!!!! 4562 Sideshow ranked until pacific 411 MrDelDongo THE BIS CRUSADE DAY TREE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 3 Sezco Vital Shell 1 b4nny TF2. NEW !youtube VID || !MannCo !giveaway !star #ad 355 Gummyia TF2 CLASSIFIED??? Can I Backstab Better than your Ex? | 100k backstabs and counting! 43 chikorit4 16ª live do ano - 1 mix stomp. 19 DRK34_ 1º SUBATHON de 2026 - DIA 3! ARC RAIDERS, JOGOS COM O CHAT e RESENHA! - !subathon | !allu !youtube !pix 16 Pinkis_Games you'll call me the clawler after this one 16 jdi11 11 DG_AU 16k+ hours | tour 2.8k+ | !giveaway 10 jajelly_jso (FIRST TIME PLAYING)I WAS FORCED TO PLAY TEAM FORTRESS BY MY FRIEND 7 Kegaman_ Stuffs 5 CannyBow_ its chaining time 4 nammsayin 3 team_fortress2_logan_weys Веселимся :) в Team Fortress 2 3 brantuz ТФ 2 2 vante955 Jugando TF2 De Nuevo 2 cheetodevil EARLY MGE 2 lorddodo13 tf2 time 1 Terengineer 1 HamsterRivals Team Fortress 2 gaming 1 deliverr_hope TF2 para disasociar - STREAM 100% BASADO. BASADO EN QUÉ? TEXTO DE EJEMPLO 1 DatKendrickVerse Random game run until something breaks. Most likely me. 1 hypetried rank#1 faceit solo prem вернулся тащить 2782 Cozart_2s1 КОРОЛИ ФЕЙСИТА✅ @m0NESYof w @donk1437/!Розыгрыш!elo!донат !роспись 1587 ESLCS RERUN: Falcons vs. 3DMAX - IEM Kraków 2026 - Group B 1490 QRUSHcsgo 3600 ELO | КАПИТАНИМ ПРЕМИАЛЬНЫЙ FACEIT !PREM !TG 1427 keliencs 4500 ELO TOP 10 RU | solo gameplay | !tg !club 1123 churchd0gg Mindfreak vs Rooster | DFRAG Open Series 3 FINALS! | Caster: churchd0gg 974 baycon_ Cheering on Team OMEGA | !subcusties !rankdle !tattoo 937 Gaules RERUN: IEM Krakow 2026 - !socio - Siga @Gaules nas redes sociais! 892 guuiizera1 729 closetape 13 AVG ДЕМОН ВЕРНУЛСЯ В ИНДУСТРИЮ , ПОКАЗЫВАЮ PRIME ☠️ Купил машину !машина !ставка 542 BUICHKA 472 CroissantStrike IEM KRAKOW 2026 - REDIFFUSION - !WINAMAX !LOGITECH 444 lavieoubourse чуть чуть непонятно @fineshine52 | !tg !mycsgo (cкример 666) 409 shuazon 392 BandovicLexi CS DAILY STREAMER | !operagx !skinport !eldorado 388 SANYAXAKEP АУК НА НИК! У МЕНЯ РЕАЛЬНО 1 LVL FACEIT СЕЙЧАС | !ак !elo !hltv !tg 276 Akke4x Суетологи, суеты навести охота#tg! 258 1juniorcs NA FPL !skinrave 255 xeiqzin [+18] domingo de derbi. ❗️telegram 254 goodoq ⛄Винстрик 15 игр [Dota 2]⛄-> 13:00 2733 absolut3 CEO mid ✅ Болею ✅ 13к ммр ✅ !BC !tg 1739 Gunnar GUYS MY SLEEP SCHEDULE IS SO FRIED !supps 1309 nogpyra ДОБРАЯ ДОТА НА 1к ММР. ПОЗ 4 | !GGSEL !WOW 1142 dnmdota !giveaway +100 tryhard day 16 (form 5.9/10) 1123 toy38 นับ 40 521 SpeedManq шанс на позор 100% !tg !egb 393 MAXON_V_CASINO_4916629 MAXON! теги для поиска: ЗУБАРЕВ ЛОРД БУСТЕР ЛУДОЖОП ЕГОРКРИД ЕГОРКРИД vitus vitus_tv медисон евелон zubarefff zubarev зубареффф хованский 383 AMOR_ED micro on (язык зажил) челлендж иммортал драфт до лета 2089 382 blackrabbit342 Пацанчик с гофроцентрала 13500 -> 20000 дорога !playlist !song 354 maddogsleague 351 destinyleague_d2_ru [RU] Destiny Dota 2 League | BO3 | (2 min delay) 295 justhatemeeecatq 7000-10000 ММР! АПАЮ ТОП 100! ТОП 1 ШТОРМ ДБ! ПАТИ 300 Р✅ РЕПЛЕЙ 750✅ КОУЧ 1500!! ПРИНИМАЮ ЗАКАЗЫ!!! !буст !пати !донатх !коуч !тг 288 nikobaby 14400 mmr grind , !coaching 253 Rinlar :-0 230 ESL_DOTA2 RERUN: Team Spirit vs. PARIVISION - DreamLeague Season 27 - Playoffs 192 neDenTRo23 2 к балдеж 187 DOTASAMKA 1 поз, Играю рейтинг со всеми, 172 antohahahha не офну пока не апну 15к. 14000 сапорт. посмотрите пожалуйста 156 Neuro 141 Upvote Upvoted 5 Downvote Downvoted Scripting voice commands posted in Customization 1 #1 Cosbolt 0 Frags +

One thing that I've noticed when making cfgs that involve voice lines is that the "voicemenu" command is slightly screwed up. The TF2 wiki says that voicemenu 1 1 corresponds to the "Medic" voiceline. In-game, this is technically true; when you open the first voice menu 1 (z by default) then 1, your class will call for a medic. However, when scripting, voicemenu 1 1 corresponds to the "Spy!" voiceline. Essentially, for writing voice commands in your cfgs you have to simply subtract 1 from each number you would ordinarily put for the voice commands.

For example, the "Dispenser Here" command in-game is voice menu 2 (bound to x by default) and 5. But when scripting you need to type it as "voicemenu 1 4."

For convenience, I've organized all of the menu commands with their respective voice lines.

  • voicemenu 0 0 - Medic
  • voicemenu 0 1 - Thanks
  • voicemenu 0 2 - Go Go Go
  • voicemenu 0 3 - Move gear up
  • voicemenu 0 4 - Go Left
  • voicemenu 0 5 - Go Right
  • voicemenu 0 6 - Yes
  • voicemenu 0 7 - No
  • voicemenu 0 8 - Pass to me (who uses this???)
  • voicemenu 1 0 - Incomming
  • voicemenu 1 1 - Spy (Will designate class when crosshair is pointed at player)
  • voicemenu 1 2 - There's a Sentry Ahead
  • voicemenu 1 3 - Put a Teleporter Here
  • voicemenu 1 4 - Put a Dispenser Here! (most important command in the game)
  • voicemenu 1 5 - Put a Sentry here
  • voicemenu 1 6 - Activate Übercharge
  • voicemenu 1 7 - Übercharge Ready (Can only be used by medics or spies disguised as medics
  • voicemenu 1 8 - Pass to me
  • voicemenu 2 0 - Call for Help
  • voicemenu 2 1 - Battlecry
  • voicemenu 2 2 - Cheers
  • voicemenu 2 3 - Shit-talking
  • voicemenu 2 4 - Positive
  • voicemenu 2 5 - Negative
  • voicemenu 2 6 - Nice Shot
  • voicemenu 2 7 - Good job

If I missed anything feel free to correct me.

Edit: Formatting issues

One thing that I've noticed when making cfgs that involve voice lines is that the "voicemenu" command is slightly screwed up. [url=https://wiki.teamfortress.com/wiki/Voice_commands] The TF2 wiki [/url] says that voicemenu 1 1 corresponds to the "Medic" voiceline. In-game, this is technically true; when you open the first voice menu 1 (z by default) then 1, your class will call for a medic. [i]However,[/i] when scripting, voicemenu 1 1 corresponds to the "Spy!" voiceline. Essentially, for writing voice commands in your cfgs you have to simply subtract 1 from each number you would ordinarily put for the voice commands. For example, the "Dispenser Here" command in-game is voice menu 2 (bound to x by default) and 5. But when scripting you need to type it as "voicemenu 1 4." For convenience, I've organized all of the menu commands with their respective voice lines. [list] [*] voicemenu 0 0 - Medic [*] voicemenu 0 1 - Thanks [*] voicemenu 0 2 - Go Go Go [*] voicemenu 0 3 - Move gear up [*] voicemenu 0 4 - Go Left [*] voicemenu 0 5 - Go Right [*] voicemenu 0 6 - Yes [*] voicemenu 0 7 - No [*] voicemenu 0 8 - Pass to me (who uses this???) [*] voicemenu 1 0 - Incomming [*] voicemenu 1 1 - Spy (Will designate class when crosshair is pointed at player) [*] voicemenu 1 2 - There's a Sentry Ahead [*] voicemenu 1 3 - Put a Teleporter Here [*] voicemenu 1 4 - Put a Dispenser Here! (most important command in the game) [*] voicemenu 1 5 - Put a Sentry here [*] voicemenu 1 6 - Activate Übercharge [*] voicemenu 1 7 - Übercharge Ready (Can only be used by medics or spies disguised as medics [*] voicemenu 1 8 - Pass to me [*] voicemenu 2 0 - Call for Help [*] voicemenu 2 1 - Battlecry [*] voicemenu 2 2 - Cheers [*] voicemenu 2 3 - Shit-talking [*] voicemenu 2 4 - Positive [*] voicemenu 2 5 - Negative [*] voicemenu 2 6 - Nice Shot [*] voicemenu 2 7 - Good job [/list] If I missed anything feel free to correct me. Edit: Formatting issues posted about 8 years ago quote multi-quote link 2 #2 gibus 6 Frags +

ok so add that to the wiki? nvm its already there lol

"It is to be noted, that when trying to use voice commands in a script, that each of the menus has a different number that must be used. For example, voice menu 1 would be voice menu 0 when trying to script. More information can be found in the Wiki's Scripting page."

also its not "screwed up" who cares if it starts at 0 and not 1

[s]ok so add that to the wiki?[/s] nvm its already there lol "It is to be noted, that when trying to use voice commands in a script, that each of the menus has a different number that must be used. For example, voice menu 1 would be voice menu 0 when trying to script. More information can be found in the Wiki's Scripting page." also its not "screwed up" who cares if it starts at 0 and not 1 posted about 8 years ago edited about 8 years ago quote multi-quote link 3 #3 Brimstone 4 Frags +

Starting at 0 and not 1 is simply because that's how computers like to work, index 0 is a thing

Starting at 0 and not 1 is simply because that's how computers like to work, index 0 is a thing posted about 8 years ago quote multi-quote link 4 #4 Cosbolt 0 Frags + BrimstoneStarting at 0 and not 1 is simply because that's how computers like to work, index 0 is a thing

TIL, thanks

[quote=Brimstone]Starting at 0 and not 1 is simply because that's how computers like to work, index 0 is a thing[/quote] TIL, thanks posted about 8 years ago quote multi-quote link Please sign in through STEAM to post a comment.

Tag » How To Bind Voice Commands Tf2