Open keyz182 opened 4 months ago
Auto haunts like that have indeed been considered a worthwhile feature. Having a dev tool to export does sound super handy too.
I’d be slightly dubious about patching the comp onto ALL pawns; imo a haunt-tracker game component is the way, or map component I suppose so they have to have died map-local. That way you have your map/game comp tick decide it’s been a while, let’s find a valid unused, deceased pawn and apply the haunt comp and the whole thing can be async on its own thread so no perf impact at all. Could also be implemented as an incident which might be a nice way to do it; player gets a haunted notification. Probably using relationships to pick valid pawns.
On Sun, 21 Jul 2024 at 20:30, Kieran Evans @.***> wrote:
Would it be useful to add a method to choose a specific pawn in-game?
I'd imagine a comp wrapping the Athena stuff (or maybe instead of), exposing a few dev gizmos. Could use something like the pawn gray scaling code from Homebound to make the sprite ghostlike.
Would also open the way for doing things like having a comp to randomly haunt pawns with dead colonists. Patch the comp in to all pawns, and if there's any record of dead pawns, have some random chance to have them show up for some period of time. Maybe even a slight buff based on the ghosts skills/stats.
— Reply to this email directly, view it on GitHub https://github.com/MrSamuelStreamer/Haunts/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA3LY22OA5DJEN6D3FMVG5LZNQD6PAVCNFSM6AAAAABLHDKZNCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQZDCNJXGE3TGNI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
That approach seems sensible.
Could have positive and negative versions of the event too. Rival, or enemy haunting you is a debuff, friendly is a buff.
Would it be useful to add a method to choose a specific pawn in-game?
I'd imagine a comp wrapping the Athena stuff (or maybe instead of), exposing a few dev gizmos. Could use something like the pawn gray scaling code from Homebound to make the sprite ghostlike.
Would also open the way for doing things like having a comp to randomly haunt pawns with dead colonists. Patch the comp in to all pawns, and if there's any record of dead pawns, have some random chance to have them show up for some period of time. Maybe even a slight buff based on the ghosts skills/stats.