Vehem
Modmod Monkey
- Joined
- Nov 22, 2005
- Messages
- 3,219
In order to allow for a more complex "army structure", I'd like to have certain units require a number of other units to be present before they can be trained. This would be useful to restrict the creation of Elite-type units to only a certain percentage of the overall force.
Example:
Elite Unit: Praetorian Guard
Requires: 4 Legionaires
In this case, you would be allowed only 1 Praetorian for every 4 Legionaires you currently control (the number you currently control being as they are listed in the [Enhanced?] Military Advisor - Empirewide, not just local).
Ideally the requirement could be for an arbitrary number of different unit types.
Example:
Elite Unit: Grand Knight of the Empire
Requires: 4 Footmen
Requires: 8 Squires
Requires: 16 Peasants
In the above example, the "Grand Knight" would act as a "power-piece" in the game, whilst the other units play a lesser role, doing the day-to-day defending and policing of the empire. One strategy may be to attack an opponent's "peasant-force" in order to prevent him replacing the grand-knight once he is finally toppled. Likewise, a counter strategy may involve having far more support troops than a neccessary to raise a new Knight, to ensure that when he is lost, he can quickly be replaced.
Mechanics-wise
Axeman requires 2 Warriors
If Axeman is killed, but warriors are alive, axeman can be rebuilt using the original warriors as the required units.
If Warriors are killed, the axeman remains in-play, but cannot be replaces until the warriors are also replaced.
If you have 4 warriors, you may have 2 axemen in play at a time.
--
Of course - the above is nothing trivial to code, but I'm hoping one of the codesmiths finds it interesting enough to throw a few lines of C++ at it.
--
Vehem
Example:
Elite Unit: Praetorian Guard
Requires: 4 Legionaires
In this case, you would be allowed only 1 Praetorian for every 4 Legionaires you currently control (the number you currently control being as they are listed in the [Enhanced?] Military Advisor - Empirewide, not just local).
Ideally the requirement could be for an arbitrary number of different unit types.
Example:
Elite Unit: Grand Knight of the Empire
Requires: 4 Footmen
Requires: 8 Squires
Requires: 16 Peasants
In the above example, the "Grand Knight" would act as a "power-piece" in the game, whilst the other units play a lesser role, doing the day-to-day defending and policing of the empire. One strategy may be to attack an opponent's "peasant-force" in order to prevent him replacing the grand-knight once he is finally toppled. Likewise, a counter strategy may involve having far more support troops than a neccessary to raise a new Knight, to ensure that when he is lost, he can quickly be replaced.
Mechanics-wise
Axeman requires 2 Warriors
If Axeman is killed, but warriors are alive, axeman can be rebuilt using the original warriors as the required units.
If Warriors are killed, the axeman remains in-play, but cannot be replaces until the warriors are also replaced.
If you have 4 warriors, you may have 2 axemen in play at a time.
--
Of course - the above is nothing trivial to code, but I'm hoping one of the codesmiths finds it interesting enough to throw a few lines of C++ at it.
--
Vehem