rehlds / ReGameDLL_CS

:hammer: Reverse-engineered gamedll (CS 1.6 / CZero)
GNU General Public License v3.0
584 stars 203 forks source link

[Feature Request] Bots using unused audios/Improvise Bot Chatter #565

Open Agent3554 opened 4 years ago

Agent3554 commented 4 years ago

I would like to add some unused sounds when some bots react on certain events (for example, spotting a sniper), or make them more talkative and informative, but unfortunately I have no experience when it comes with coding, I only rely on configuration files rather than changing the hard-coded configuration inside dll files, my apologies. Basically, make them more talkative and informative than their previous versions, just for immersion.

Reason: I want to make my bots be responsive to my commands, like when I desperately asking for fire support, they have no response (I was expecting to hear "Hang on, I'm coming", but it only plays when bots spotted bomb carrier), and I want them feel more human than before. CZ Hostage bots react to grenades, and have different reactions to each grenades, like coughing when it's a smoke grenade, and screams "My eyes!" when it's a flash grenade, etc.. I want that functionality to be applied in the bots as well (well, using the same hostage voice as well, only on grenade reactions).

Optional: Make it written as an AMXX mod (.sma) to make it compatible with other bot types (cz bot, PODbot, YaPB, etc.) and make it configurable, by giving it ability to add more and edit custom voices depends on their reactions on certain events.

Edit: They're already added in BotChatter.db, but I don't know how to make them actually play the audio to them on certain conditions, all I can do is to add and change the .wav file names/directory locatin, rather than adding the event itself.

SergeyShorokhov commented 4 years ago

for amxx plugin need to implement CSBotAPI