Results 1 to 7 of 7

Thread: How to disable the troops replenish option after land battle?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Ducenarius
    Join Date
    Aug 2010
    Location
    Poland --> Upper Silesia region (pl=Górny Śląsk).
    Posts
    920

    Icon5 How to disable the troops replenish option after land battle?

    ===========================================================================

    ---> Post outdated, head to post nr. 5 <---

    ===========================================================================
    Last edited by p.jakub88; October 26, 2010 at 12:36 PM.
    Remember of the Alamo!

  2. #2
    Indefinitely Banned
    Join Date
    Jan 2009
    Location
    Somewhere
    Posts
    12,379

    Default Re: How to disable the troops replenish option after land battle?

    Actually their experience reduces when retrained.

  3. #3
    Ducenarius
    Join Date
    Aug 2010
    Location
    Poland --> Upper Silesia region (pl=Górny Śląsk).
    Posts
    920

    Icon5 Re: How to disable the troops replenish option after land battle?

    ===========================================================================

    ---> Post outdated, head to post nr.5. <---

    ===========================================================================
    Last edited by p.jakub88; October 26, 2010 at 12:35 PM.
    Remember of the Alamo!

  4. #4
    Ducenarius
    Join Date
    Aug 2010
    Location
    Poland --> Upper Silesia region (pl=Górny Śląsk).
    Posts
    920

    Default Re: How to disable the troops replenish option after land battle?

    ===========================================================================

    ---> Post outdated, head to post nr. 5. <---

    ===========================================================================
    Last edited by p.jakub88; October 26, 2010 at 12:39 PM.
    Remember of the Alamo!

  5. #5
    Ducenarius
    Join Date
    Aug 2010
    Location
    Poland --> Upper Silesia region (pl=Górny Śląsk).
    Posts
    920

    Icon4 Re: How to disable the troops replenish option after land battle?

    ================================================================================

    Finally i was managed to disable this option after battle!

    It is still visible, but highlighted units couldn't be replenished, even if they are decimated after battle!


    Important : Deleting vanilla files it is not recommend!!


    I deleted those files from packs :


    --> from patch.pack ( layout.army_replenish.luac )

    --> from ui.pack ( layout.army_replenish.luac )


    and from data/UI/campaign ui :

    --> layout.army_replenish.lua


    Note :

    I attached some images from the Grand Campaign.

    I made those images in the first turn ( starting gold 7500 ).

    As you see i wasn't able to replenish those troops ( amount of the gold is the same.... )


    ================================================================================
    Last edited by p.jakub88; October 26, 2010 at 12:39 PM.
    Remember of the Alamo!

  6. #6
    Ducenarius
    Join Date
    Aug 2010
    Location
    Poland --> Upper Silesia region (pl=Górny Śląsk).
    Posts
    920

    Icon4 Re: How to disable the troops replenish option after land battle?

    ==================================================================================

    There is another file that is responsible of displaying this replenish button.

    It is called : Army.lua and it is located in data/UI.

    So, as someone said all the buttons in ETW are controlled by *.lua files.

    I found some interesting lines in this Army.lua file, but i don't know which value i must set to make the replenish button disabled ( invisible ).

    Now, when i want to replenish troops, the button is still gold ( when unit selected ), but i' m unable to use this option ( button don't work ).

    I know that some of you think, that i 'm interested in useless modding, but this option is unrealistic.

    I must check if the enemy is unable to use this option to.....

    ================================================================================
    Remember of the Alamo!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •