Hello everyone! Recently I've been working on extending functionality to the GM mode, and I figured I'd show a little teaser of my current project.Companions:
I know this was one of the many ideas people had for the GM mode, and so I've been hard at work figuring out how to bring it into the game mode.
- Companions will automatically follow the player character they're attached to.
- Companions are controllable by the player.
- Companions will transfer scenes with the party as long as "Follow Party" is set by the GM.
There's a few quirks that I need to iron before I feel that it's release-ready. Currently they do not automatically transfer with the player party. This can be fixed by the GM enabling "Follow Party" in the context menu. I don't actually know how this works under the hood yet, whether it sets a flag or adds the character to some sort of DB, but I am trying to see if I can set this through Osiris.
Adding and removing companions works pretty well too. I tested briefly how many can be attached to a single character. I was expecting it to crash or throw some kind of error but it worked. If you wanted you could just keep adding companions until it gets silly (there's probably some software limit though).
Here's a couple of more screenshots from a previous test: How does it work?
Due to the limitations of UI editing, I had to find an easy way for the GM to be able to assign NPCs to the player on the fly. The way I'm going about this is by having a custom status effect (that does nothing) that the GM can apply through the status effect window, and then I use a story script that triggers on the CharacterStatusApplied event when the custom status effect is applied. This script then calls CharacterAddToPlayerCharacter to attach the character. It's a bit hacky but it works.Character Reroll:
This is still very experimental, as I am mostly exploring what can and can't be done with story scripting.
Nevertheless, I have successfully been able to switch out the player's character:
I've not tested this extensively yet, but one of the more pressing issues is that the new character will also not automatically transfer scenes unless "Follow Party" is set beforehand by the GM. Other than that it seems to work straight out of the box.
If you have any questions or suggestions, fire away.