The goal here is to cater to those who want an added level of strategy in the planning of their battle engagements--or, more pointedly, to get beyond the repetitive keystrokes of giving the same orders at the start of each battle. It is also the first step in an attempt to respond to the various comments and suggestions around this community to implement pre-battle setup and options (cf. calls for a "deployment phase").
The Prebattle Orders kit adds to the pre-battle menu options that the player is presented with during any field encounter with an enemy party. At the most basic, with 1 point of Tactics skill in the party, there are two additional options: rather than just "Charge the Enemy" one can "Take the Field" and your party begins holding position, or "Lead your Troops" and your party begins following you. Add another point of Tactics skill to the party and another menu item appears: "Plan your battle with the enemy".
When planning your battle with the enemy, a presentation similar to the "heads-up" battle menu appears, allowing you to customize 4 orders (eventually to be scaled by tactics skill) to each of your divisions. Movement orders can be repeated up to 4 times. Across the bottom of the presentation are options to Reassess--return to the encounter menu; Scrap all--clear all orders; Prepare Orders--preview the order set up on the right panel; and Dispatch Orders--store the orders and return to the encounter menu.
Orders to specify to each division which Weapon Type to use, whether or not to use shields, and for ranged units, whether to avoid melee or not (skirmish) have been added. In the display where orders are selected, there are now two "pages"--one for forming up, and the second to outline which weapons to use.
Screenshots Galore
[spoiler="Plan Battle with Enemy" Screen]
[/spoiler]
Version 0.8 Beta --
]
Code
Considering its size, I opted to not place the code in spoilers here. Instead it can be downloaded from the M&B Repository: Repository kit download.
The following are modified:
As always, comments, questions, criticisms, suggestions are more than welcome.
Checklist to Version 1
The Prebattle Orders kit adds to the pre-battle menu options that the player is presented with during any field encounter with an enemy party. At the most basic, with 1 point of Tactics skill in the party, there are two additional options: rather than just "Charge the Enemy" one can "Take the Field" and your party begins holding position, or "Lead your Troops" and your party begins following you. Add another point of Tactics skill to the party and another menu item appears: "Plan your battle with the enemy".
When planning your battle with the enemy, a presentation similar to the "heads-up" battle menu appears, allowing you to customize 4 orders (eventually to be scaled by tactics skill) to each of your divisions. Movement orders can be repeated up to 4 times. Across the bottom of the presentation are options to Reassess--return to the encounter menu; Scrap all--clear all orders; Prepare Orders--preview the order set up on the right panel; and Dispatch Orders--store the orders and return to the encounter menu.
Orders to specify to each division which Weapon Type to use, whether or not to use shields, and for ranged units, whether to avoid melee or not (skirmish) have been added. In the display where orders are selected, there are now two "pages"--one for forming up, and the second to outline which weapons to use.
Screenshots Galore










Code
Considering its size, I opted to not place the code in spoilers here. Instead it can be downloaded from the M&B Repository: Repository kit download.
The following are modified:
- 2 triggers added to lead_charge to give the orders
- 5 scripts to run the presentation and store the orders
- 4 menu options added to two menus (simple_encounter and join_battle)
- 1 condition operation added to all menu options of simple_encounter and join_battle
- 1 presentation added
- 1 mesh defined, from Native materials
- 3 constants defined
- 0 globals added; globals from the heads-up battle presentation and custom battle setup are used
- 0 slots added; party slots 250-350 (for centers) are used for "p_main_party"
As always, comments, questions, criticisms, suggestions are more than welcome.
Checklist to Version 1
- Bug testing and squarshing
- Wrap for installation via sphere's ModMerger
Move to M&B RepositoryAllow movement orders to be repeated (Stand Closer x2 or Move Forward x2)Inclusion of my Weapon Type and Skirmish Mode orders- Cleaning up the presentation
- Scale the number of orders available to Tactics skill
v0.8
- Weapon Type, Shield Use and Skirmish orders added
- In-battle order-selection for the above orders akin to Native
- Quick string bug when merging with other mods fixed
- Movement orders can be repeated up to 4 times
- Move Forward/Back 10 bugs fixed. Given 3 seconds after mission start
- Move Forward/Back 10 tied to "Hold" order
- Presentation cleaned, text scaled to fit
- Bug where "Lead Troops"/"Take Field" orders carried over to next battle fixed
- Choosing 'Lead your Troops' or 'Take the Field' won't overwrite the first stored order