Page 1 of 1

Editor: making a branching campaign

Posted: Sun Mar 25, 2018 6:52 am
by Ktonos
I just started toying with the editor and I wonder if we can make a branching campaign. If there is a way to have the player play a different battle depending on the result of the previous one.

For example if Battle A was a decisive victory then proceed to Battle D. If it was a minor defeat proceed to Battle B etc

Edit: Ah...I guess this ought to be moved to the Modding forum. Sorry for any inconvinience

Re: Editor: making a branching campaign

Posted: Mon Mar 26, 2018 7:46 am
by rbodleyscott
Ktonos wrote:I just started toying with the editor and I wonder if we can make a branching campaign. If there is a way to have the player play a different battle depending on the result of the previous one.
Not currently. The game is moddable so it might be possible, though not easy.

You could of course do it as a text message at the end of the preveous battle, telling you which scenario to play next, depending on the result of the battle.

Re: Editor: making a branching campaign

Posted: Mon Mar 26, 2018 4:44 pm
by pipfromslitherine
It would be fairly easy to script I would think. You would just need a custom campaign UI, though that could be harder for FoG as it uses its own custom UI in most places. But StartBattle can trigger whatever battle you with to play, so it would be a simple screen and some state determining where you are in the flow.

Cheers

Pip