1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Updated Fortified Alert 1.11

Added Guard command in new experimental version

  1. Alert Update

    gyogen2
    I am not sure how to save custom data for a saved game yet, so units will load as just regular fortified units.

    To counteract this for the time being, I added a function that should set fortified units to guard when the game is loaded. I found this less annoying than trying to find all the units I had on guard and reset them when a game was loaded.
  2. Skip-turn fix, added healing units

    gyogen2
    Tried to add a work around for skipping turn when unit wakes, but that part is not working.


    Added a work-around for not being able to skip turn when unit wakes.


    Added wake function for units who are healing.
  3. Optional Update - Testing

    gyogen2
    This update changes the way plots are scanned. It is a simpler method, that hopefully better ensures units will wake if enemy in sight.

    I am not totally sure of later game impact , especially on large map with lots of units. So if anyone wants to test it out and let me know if it slows turns down too much it would be greatly appreciated.
  4. Update Bug Fix

    gyogen2
    Update:
    Found a glitch where units on guard near map border would cause error that stopped that function.
  5. Update for Religious Units

    gyogen2
    Updated so sleeping religious units will be woken by nearby religious units of other players.

    Tested some, but let me know if any issues.
    Littlebob86 likes this.
  6. Optional Update for Different Hotkey

    gyogen2
    It was pointed out to me that anpther mod uses D as a hotkey so I posted this optional update that sets it to G

    If you wish to use a different key, open the UnitPanel.lua file in the mod folder and look for this line near the top:

    Code:
    local KeyChoice = Keys.G
    and change G to whatever key you choose.
  7. Update Added Hotkey

    gyogen2
    Added hotkey for Guard action:

    D
    Sorry I omitted in previous update, I was honestly just so intent on getting the operation to work I didn't even think of it.
  8. Fortified Alert Update - Experimental

    gyogen2
    I have added a guard action to fortifiable units.
    upload_2016-11-20_19-6-20.png

    I am not good with art, so I had to use the fortify icon.
    This will allow regular fortified units to stay fortified, and guard units will fortify until awoken by enemy unit.

    I currently do not know how to save mod data across saves, so for now when you load a game, any unit you want on guard will need to be reissued the command, sorry for the inconvenience. If anyone knows how to save info, I'll be glad to add....
  9. Fortified Alert Update

    gyogen2
    Fixed an error where certain plots would return nil and stop function.
  10. Fixed update

    gyogen2
    Fixed lines I forgot to comment back in