G1R:MP Forum Alpha
Log in Join
Gothic 1 Remake Multiplayer

The Colony Forum

News, support, development discussions, server communities, and stories from beyond the Barrier.

Colony discussion

playSoundFromGame

Started by Rul3zZ in Suggestions

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
09-27-2026, 09:25 AM (This post was last modified: 09-27-2026, 09:31 AM by Rul3zZ.)
#1
Play a sound or voice line directly from the installed game, with the same behavior and handle as playSound playSound3D.
Code:
local handle = playSoundFromGame("GVL_G1R_VOICE24_CONVERSATIONSMALLTALK_3", false, 0.8)
Code:
local handle = playSoundFromGame3D("GVL_G1R_VOICE24_CONVERSATIONSMALLTALK_3", x, y, z, false, 0.72, 1.5, 18.0)
Code:
stopSound(handle)
  • Plays in the player's own game language.
  • Returns false if the key doesn't exist.
  • The handle works with the existing audio functions (stopSound, setSoundVolume, setSound3DPosition, ...).

Use case: ambient NPC chatter on RP servers using the game's own voice types.
Forum Jump: