Audio Chat through commands
-
I was thinking to add souch a command to FLHook, if its possible. What I thought is to create a command that will play an audio message commonly used by NPCs (using a dynamic comm window to display the player’s look) to the players in scanner range, or a selected player.
Examples for messages" “I’m scanning your cargo bay for contraband”, “Thought you could use some help”, “Ahh… This is better be worth it”(my favourite) and so on.
I thought that maby it could be possible to “transfer” this part from the AI to FLHook or something like this.Thanks for the help,
Poly. -
I think you understood wrong. Its like in online FPS shooter games - its in addition to the chat (when you shout “Go,go,go!” or “Area clear”…)!!
You just set the voice you want with a command (male/female, civilian/pirate…), and use those in addition to chatting. It doesn’t hurt the RP at all this way.
Does it sound better?
If it does, maby you can help me to create this, or just guide me how. -
It is rather simple actually:
In
HkCbSendChat
you just check the chat message for any codewords that you want sounds for. Then with
pub::Audio::Play
(or something like that), you can play any Freelancer sound on clients (check the latest SDK files).If you cannot do any FLHook programming though, you’re out of luck because I just dont have the time to churn out plugins right now.