Tutorial / Settings

Voice Lines

Let players say voice lines from a wheel, make your own voice line sets, and give sets to jobs or everyone.

What it does

Players hold the voice key (default K) to open a wheel of voice lines. They point at a line and let go to say it. The sound plays from them, and nearby players see a caption above their head.

The toolbox has four built-in sets: Citizen (male), Citizen (female), Metro Police and Combine soldier. By default each player gets the built-in set that fits their model. On this page you can make your own sets and give sets to everyone or to single jobs.

Where to find it

Q menu > KGX's Admin Toolbox > Settings > Voice Lines.

Anyone can open the page, but only superadmins can change the settings. The set editor below the settings only shows for superadmins.

Players change the wheel key in Settings > Keybinds ("Voice lines: hold for the wheel"). They pick the lines on their wheel with !voice, /voice or the console command kgxat_voice.

The panel

The two checkboxes apply at once. The slider applies when you click Apply. Sets are saved with Save the set, and assignments with Save who gets which sets.

Settings
Option What it does Default
Voice lines on Master switch for the wheel. On
Players near see a caption Shows what the line says to players nearby. On
Seconds between lines Cooldown per player. 2 (0-30)
Apply Sends the slider.
Sets
Option What it does
Set list (Set, Id, Lines) Built-in sets are marked "(built-in)". Click a set to load it below. Clicking a built-in set loads an editable copy.
Set id (letters, digits, _ -) The set's id, used when giving it out.
Set name The name players see.
Line list (Caption, Sound) The lines in the set.
Line caption (what it says) The text shown in the wheel and the caption.
Line sound The sound path.
Browse sounds... (vo/ has voices) Opens the sound browser to fill Line sound.
Add the line Adds the caption and sound to the set.
Remove the selected line Removes a line from the set.
Save the set Saves the set to the server.
Delete the selected set (own sets) Deletes one of your sets. Built-in sets cannot be deleted.
Who gets which sets
Option What it does Default
Everyone gets the built-in set that fits their model (citizen male / female, police, combine) Gives each player their model's set. On
Sets everyone gets (ids, comma separated) Sets for every player. empty
Job Pick a job to edit.
Sets this job gets (ids, comma separated) Sets for players in the selected job. empty
Save who gets which sets Saves the assignments.

How to use it

Make your own set
  1. Open Settings > Voice Lines as a superadmin.
  2. Type a Set id (letters, digits, _ -) and a Set name.
  3. Type a Line caption (what it says), click Browse sounds... (vo/ has voices) and pick a sound.
  4. Click Add the line. Repeat for each line.
  5. Click Save the set.
Copy and change a built-in set
  1. Click a built-in set in the list. Its lines load with the id ending in _copy.
  2. Add or remove lines and change the name.
  3. Click Save the set.
Give a set to a job
  1. Pick the job in Job.
  2. Type the set ids in Sets this job gets (ids, comma separated).
  3. Click Save who gets which sets. Every player online gets their new sets at once.
Say a voice line as a player
  1. Hold K. The wheel opens.
  2. Point at a line. Scroll the mouse wheel for more pages.
  3. Let go of K to say it.
  4. Type !voice to tick the lines you want on your wheel, then click Save my wheel.

Settings and commands

Setting or command What it does Default Range
kgxat_voice Voice lines on 1 0-1
kgxat_voice_captions Captions for players near 1 0-1
kgxat_voice_cooldown Seconds between lines 2 0-30
kgxat_voice_key Players: the wheel key (client) K key
!voice, /voice, kgxat_voice Players: pick the lines on your wheel
kgxat_voicesay <set id> <line number> Players: say a line (to bind to a key)

Tips and limits

  • A player's sets are their job's sets, their model's built-in set (when that is on), and the sets everyone gets.
  • With no lines picked, the wheel shows the first 8 lines of each set. The wheel shows 8 lines per page.
  • Lines whose sound file the game does not have are left off the wheel.
  • Captions reach players within 700 units.
  • Muted players cannot say voice lines.
  • An own set cannot use the id of a built-in set.
  • At most 64 own sets, and 64 lines per set. Sets and assignments are saved in data/kgx_admin_toolbox/voice.json.
  • A player's own wheel picks are saved on their computer.

Back to Settings

Type to search every tool, panel, setting, FAQ answer and release.