New feature: strategic militia command[message #330693]
|
Tue, 18 February 2014 23:54
|
|
Flugente |
|
Messages:3507
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.
- 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.
Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: New feature: strategic militia command[message #344838 is a reply to message #339044]
|
Sat, 02 April 2016 07:53
|
|
FurryLovingGuy |
Messages:2
Registered:March 2016 |
|
|
Greetings! I'm afraid I have a question regarding this feature. This may be due to my own incompetence, but I am unable to command militia. With someone meeting the requirements, clicking on a group of normal militia, or a group of mobile militia prompts the user with "We cannot relay orders to this sector, Militia command impossible."
I am running SCI 8110 with Game Directory 2303. When viewing the Ini editor, the settings related to Militia Command are "MISSING", as in they are there, but they don't seem to be reading the actual settings.
I rarely use forums, so I hope I haven't broken any unspoken (or unread due to forum incompetence) rules posting on something as old as this.
I have only recently gotten to a point where I can attempt to fiddle with this feature, so I will Update/Edit if I stumble onto how to fix the problem.
Report message to a moderator
|
Civilian
|
|
|
Re: New feature: strategic militia command[message #344841 is a reply to message #344838]
|
Sun, 03 April 2016 13:29
|
|
Ghost |
Messages:3
Registered:February 2016 Location: Budapest |
|
|
Hi!
As I know, the only way to command your troops, you have to capture the Military HQ at Alma. Otherway is to move them with your character, cause mobile militia follows you if your Leadership is high.
Report message to a moderator
|
Civilian
|
|
|
Re: New feature: strategic militia command[message #344842 is a reply to message #344838]
|
Sun, 03 April 2016 13:34
|
|
Flugente |
|
Messages:3507
Registered:April 2009 Location: Germany |
|
|
Hi FurryLovingGuy, welcome to the pit!
The option for this feature, ALLOW_MILITIA_STRATEGIC_COMMAND, can be found in Ja2_options.ini. The editor does not know of this, so simply use a text editor.
That message appears if
- the feature is off, or
- if you do not have staffed the Alam military HQ with the 'Militia command' order, and none of the following is true
- a merc and the militia group are in the same sector
- a merc and the militia group are in the same town
- a radio operator is in a sector adjacent to sector the militia group is in
- a radio operator is in a sector adjacent to the town the militia group is in
- a radio operator is in a town adjacent to the sector the militia group is in
I know now that it could never work between us, as much as we wanted to, it could never be! Not because you're a rabbit, but because you're black.
If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.Report message to a moderator
|
|
|
|
Re: New feature: strategic militia command[message #344857 is a reply to message #344842]
|
Mon, 04 April 2016 05:38
|
|
FurryLovingGuy |
Messages:2
Registered:March 2016 |
|
|
Flugente wrote on Sun, 03 April 2016 12:34Hi FurryLovingGuy, welcome to the pit!
The option for this feature, ALLOW_MILITIA_STRATEGIC_COMMAND, can be found in Ja2_options.ini. The editor does not know of this, so simply use a text editor.
That message appears if
- the feature is off, or
- if you do not have staffed the Alam military HQ with the 'Militia command' order, and none of the following is true
- a merc and the militia group are in the same sector
- a merc and the militia group are in the same town
- a radio operator is in a sector adjacent to sector the militia group is in
- a radio operator is in a sector adjacent to the town the militia group is in
- a radio operator is in a town adjacent to the sector the militia group is in
Thank you very much! I very much appreciate your detailed response! I've flipped the switch and its like a hole new (much easier) game now.
Report message to a moderator
|
Civilian
|
|
|
Re: New feature: strategic militia command[message #344858 is a reply to message #344857]
|
Mon, 04 April 2016 09:33
|
|
Ghost |
Messages:3
Registered:February 2016 Location: Budapest |
|
|
would it be possible to setup new military hq-s around the map? it could be simulated like training militia, and when the job is done the team would be able to use the "Militia command" order... of course with less range
Report message to a moderator
|
Civilian
|
|
|
|
|
Re: New feature: strategic militia command[message #362945 is a reply to message #344951]
|
Wed, 21 April 2021 14:13
|
|
wcmortalis |
Messages:1
Registered:April 2021 |
|
|
Hi guys, I'm having some problems playing around with this fun feature(ver. 8796).
1.
Once a moving group of militia encounters some enemies, they'll fight bravely but, if they have won, they just stops there and "forget" the movement order I have given to them previously...
Is this a bug or just intended for some realism?
2.
If I won a battle with some militias carrying their own equipment(i.e. MILITIA_USE_SECTOR_EQUIPMENT=TRUE), and captured/made surrendered some enemies that they "joined our cause" after the battle(when some new militias instantly appear with 100% health), all militias would once again pick up their favorite equipment from the battlefield, INCLUDING the previously engaging ones - but they DO NOT drop their own equipment first! I believe some codes behind is wrong here, since it simply makes the equipment our guys were carrying during the battle disappear...
Report message to a moderator
|
Civilian
|
|
|