I've gotten closer to establishing a workable system, and it should be good to go this weekend or the next. This is what's in place:
- Large (500+) bandit armies led by unique heroes (sometimes with their own units) have a small chance of spawning when the "spawn_bandits" script is called (every 24 hours).
- The bandit leader can be captured; subsequently, the player may execute, exile, or ransom (~25k denars) him/her.
- Multiple heroes for each bandit type (so the same bastard isn't respawning), each with a distinct army composition
Still a WIP:
- Dialogue with the hero when he/she is a captive
- Altering the chance of spawns (e.g., asking about "rumors" to increase the probability of unique spawns)
- Party AI - right now the army just gallops about in a benign fashion, not attacking anyone (though they can be engaged through deliberate contact)
Before I go any further, my real concern is how I'll go about applying this mod to Floris. Right now it's entirely standalone, and I could end up releasing it as an independent module. However, my intention was always to juice up the banditry in Floris, as I haven't played vanilla Warband in eons. I assume that I'll have to copy code (it's all neatly demarked right now) to the Floris source files, and make versions for Basic, Expanded, etc., then share it here as a sub-mod (with the creator's permission). This would also involve re-tooling all the troops with Floris armor and weaponry (which is what I had in mind all along). On the other hand, I could just release it as an independent module and leave it to the team's discretion (though adapting it could be laborious). Any thoughts or advice?
I don't want to step on any toes, but simply want to throw in extra options for a great mod.
Other proposed features (assuming I have the skill to implement them):
- If the bandit hero is left to his/her own devices for some time, more "generic" armies may spawn (this would be late-game content, obviously)
- Hero-led armies could sack cities (again, taking cues from Prophesy of Pendor)
- Defeating bandit armies would temporarily cut down on the spawn rate for that bandit type
- Besides bandits, there could be other spawns:
- Outlawed Knights
- Rebels (Once you're an independent kingdom)
- Peasant uprisings
- Black Khergit Horde (late-game!)
- Rogue Slavers
- etc.