-
October 25, 2010, 04:53 PM
#1
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!
-
October 25, 2010, 05:18 PM
#2
Indefinitely Banned
Re: How to disable the troops replenish option after land battle?
Actually their experience reduces when retrained.
-
October 26, 2010, 05:11 AM
#3
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!
-
October 26, 2010, 06:43 AM
#4
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!
-
October 26, 2010, 11:42 AM
#5
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!
-
October 26, 2010, 12:20 PM
#6
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.....
================================================================================
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules