Mooses2k / SecretHistories

First-person stealth/combat roguelite
Other
15 stars 12 forks source link

further voice effects based on conditions - player and opponents #176

Open Mooses2k opened 2 years ago

Mooses2k commented 2 years ago

*shortlist for demo

Player:

Cultists:

Stewie: Kind of, if you know the situations you want those things to happen, you can extract the data from the character state for some, and keep some statistics trackers for the other ones Like you would to to have an achievements system or something like that for achievements? some global achievement tracker, yeah not on settings tho but for the voice line stuff, that's per character so probably a dedicated node on each character that hooks up to everything else to keep track of stuff

load_sounds singleton tracking the directory for cultist audio?

Should stop playing speech or play a hurt sound if interrupted through damage (other events should probably stop speech too)

two other issues: 1) is this going to take a lot of memory if we have multiple cultists all loading ~175MB of WAVs? How can we optimize this? 2) Maybe we have each cultist only have a random subset of the available lines for that voice?

also, ensure it doesn't say the previous line twice in a row

Speech Priority (interrupts self if priority above previous):

Mooses2k commented 1 year ago

factotum and dylanb neophyte cleaned and ready

Mooses2k commented 1 year ago

got the basics implemented. need the AI lag removed to test the cultist idle. Currently testable in voice branch with the \ key

Mooses2k commented 1 year ago

no more repeating lines as of a5bfbbcbed2f12a06ab1d879f095d221f07aa9ed

Mooses2k commented 1 year ago

merged, now need partial and confirmed detection lines, maybe cleanup detection time as well

Mooses2k commented 1 year ago

in PR, ready for testing

Mooses2k commented 1 year ago

we have idle, alert, detection, fight done, could use more testing and tweaking because cultist's are a bit too talky now

Mooses2k commented 1 year ago
Mooses2k commented 1 year ago

Made them less talky

Mooses2k commented 1 year ago

Possible method to implement cultist Q and A:

Eventually by Q and A category (what, when, yes/no, statement, etc)