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 I saw something similar used on another server once (but for music instead), but I’m not too keen on the idea. Kinda just kills the idea of RP if you just play a generic audio message every time.
-
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. -
Last time I visited HHC, they had a feature similar to this. Perhaps w0dk4 would be kind enough to explain how this was implemented.
-
HHC is Hamburg City right? I think I played it once. Well, lets just hope w0dk4 is reading this now…
I’ll check for more replies tomorrow. Thanks for the help guys! -
Crazy implemented a similar function on DFLS for the Worldcup, too (Vuvuzela >_> ) ^^
-
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.
-
I’ll try to do something. Thanks for the help w0dk4!
5/8