Home » MODDING HQ 1.13 » Flugente's Magika Workshop » New feature: strategic militia command
New feature: strategic militia command[message #330693] Tue, 18 February 2014 23:54 Go to previous message
Flugente

 
Messages:3461
Registered:April 2009
Location: Germany
Move militia in strategic map

Mobile militia is next to useless, especially as it wanders around in random directions. No more! I've added the ability to order them around in the map screen.

'Bad' stuff first: you don't get this ability for free (it is my deep conviction that powerful abilities need some sort of drawback to maintain balance). After all, only someone with a good outlook on the overall strategic situation and the necessary leadership skills should be allowed to send scores of loyal troops to their death victory. So the Alma military HQ gets a new facility assignment: Command Militia. Only experienced mercs with high enough leadership and wisdom (lvl 5, WIS 70, LDR 70) are up to this task. Only when someone is at this task (and awake :sleep: ) can you order militia around on the map.

How do you move militia then? Make sure Show Militia & Enemies(Z) is toggled. Then select the sector of the militia you want to move. You can then order them into an adjacent sector by pressing W, A, S or D. This isn't possible if one cannot move to the other sector, or if RESTRICT_ROAMING is TRUE and militia is forbidden from a sector. If the order was successful, a green arrow will indicate where the militia will move.

http://i57.tinypic.com/1q1lpz.png
  • Militia travels as fast as mercs do (without any ranger or background boni).
  • Militia will engage any hostile force it encounters.
  • If your militia has gear equipped, it will move with them of course.
  • Militia will not move out of a sector if there is currently a fight in that sector.
  • VERY IMPORTANT: to avoid exploits, the military HQ needs to be staffed not only when the order is given, but also when the militia squad arrives. Otherwise one could just wait for a full hour, order militia around, and then have the guy in HQ do something else. We don't want that, so keep your HQ staffed at all times if you want this ability. Due to this, you can assign more than one guy to this task, so they can work in shifts :taskmaster:
  • The facility assignment trains leadership and wisdom a tiny bit.
  • While the HQ is staffed, mobile militia does not wander around randomly on its own. Because why should it?
  • Creating this took me one evening. Plotting a path to any sector and having the militia follow that path, while showing the ETA, is possible, but would take at least 3 evenings, as this UI is an ugly, stupid piece of unwieldy crap. So don't ask me about that. :junkyarddog:
Does not break savegame compatibility.

Requires exe r6943 and GameDir r1946.

Using exe r6943 without the new stis found in GameDir r1946 or newer will crash the game, as images won't be found.
Using GameDir r1946 without exe r6943 or newer will crash the game when reading FaciltyTypes.xml, as tags will be unknown.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New feature: move equipment via assignment
Next Topic: Proof of concept: JA2 in 3D
Goto Forum:
  


Current Time: Sun Sep 22 00:47:46 EEST 2019

Total time taken to generate the page: 0.01496 seconds