Short phrases for NPC

If you liked this item, please rate it up on Steam Workshop page.

Author: Don Juan

Last revision: 23 Feb, 2025 at 09:33 UTC

File size: 16.61 KB

On Steam Workshop

Description:
History of Addon

Having seen enough of many different scraping games from Hoyovers, I noticed an interesting detail,
When, passing by NPC or any other character, a window pops up above his head
With a short phrase in it and I decided to implement it in Garry’s Mod!

In this addon you can:

– change the language of phrases (all players on the server change and all the settings can only be done by admin);
– add your own phrases and clean them (mode with your own phrases can be turned off or turned on);
– It works with custom NPC!
– There are 3 phrases modes:

0 disconnects phrases
1 included all phrases of both calm and combat
2 only combat

console commands and how to write them:

npc_chat_clear_custom (deleys all the recorded custom phrases)
npc_chat_language eng (eng is installed by default, you can change the launguage to Russian by writing rus!)
npc_chat_phrases friend calm "Hello!" "How are you?" (you can write that many phrases how you want, but before record phrases
You need to choose who you want to give them, if the NPC is friendly, then write friend, then in what condition they show the phrase if the calm
then we write calm.)
(Types: friend – enemy – dog – birds, calm – combat)

npc_chat_toggle 0 (from 0 to 2, default 1)
npc_chat_use_custom 1 (from 0 to 1, turns on and off your own phrases. By default 0)

authors of this addon

Don Juan – a lot of code and changes …

Ar|es – tester