Home » MODDING HQ 1.13 » Flugente's Magika Workshop » Expanded Feature: Move militia in strategic map, part 2
Re: Expanded Feature: Move militia in strategic map, part 2[message #339550 is a reply to message #339496] Sat, 21 February 2015 01:39 Go to previous messageGo to previous message
Flugente

 
Messages:3531
Registered:April 2009
Location: Germany
Update, r7743:

  • When clicking on a sector to start militia pathing, and the sector does not have static militia but militia groups, select the last militia group instead of creating a new empty one. This removes the issue where clicking on a sector whose militia are all in movement groups creates a new, empty group. Now the last group of the list is selected (realistically, that's what you want in over 90% of the times anyway).
  • The final sector in a militia group's path is shown while plotting in the strategic map. Usefulin case you forgot where you sent your team to...
  • Militia can now retreat from autoresolve if one clicks the 'retreat' button. However, this command needs to be given to them by our mercs, thereby fitting in with the rest of the feature. Like stated in the first post, a merc can order militia if any of the following are true:
    • they are in the same sector
    • they are in the same town (otherwise we'd have to do tedious town-internal travel)
    • they are a radio operator in an adjacent sector
    • they are a radio operator in a sector adjacent to the militia's town
    • they are a radio operator in a town adjacent to the militia's sector
    • the military HQ is staffed by qualified personnel
    If the militia was in a group, they will retreat to the sector they came from. If they were static (like, say, in a city) they will retreat to the closest (in regards to travel-time) non-hostile adjacent sector. If no such sector exists, they will stay in the sector of the battle, 'cause what else am I gonna do?
    Note that, as to keep this in line with the general enemy and militia movement behaviour, they will move to this sector instantly.

[Updated on: Sat, 21 February 2015 01:40]




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.


 
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
Read Message
Previous Topic: New feature: additional dialogue
Next Topic: New Feature: drag people & corpses
Goto Forum:
  


Current Time: Tue Jul 07 16:39:55 EEST 2020

Total time taken to generate the page: 0.01273 seconds