Short phrases for NPC
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
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)
Don Juan – a lot of code and changes …
Ar|es – tester