Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
You are the best, mr holder
Briefly tested it works fine & the kislev invocation button is there.
If you still notice any issue, try resubscribe.
Dwarf has no upgrade in vanilla --- should be the mod issue (whichever mod added the upgrade)
@Barmaley
You may ask Chop if he can make this compatible.
Thank you for reporting! I hope you saved your awesome run, because it is now patched :-)
Clan moulder is now excluded from using scrap upgrade. I guess they are supposed to always use flesh lab for upgrade.
The exploit happened because CA used the same db table for flesh lab & scrape upgrade..
Thank you for the great solution!
Implemented & credited you in the description --- if you want to be added an author I am happy to do that too!
@Radious
The updated ui script now has the button hidden for factions without upgrade option.
I wonder if they get confused by bug reports of people trying to load old campaigns that ran scrap mods that CA's random breaking updates with minor actual improvements broke and they take that as signal as "scrap upgrade mods tend to cause instability to the game, lets better not have that as easily moddable"
While working on compatibility using the file you provided, I came across this issue and sought to find a solution.
Thank you for your work and contribution.
However, the current visibility code in the hud_campaign.twui.xml file causes inactive buttons to appear even for factions that cannot upgradeable units.
So, I would recommend the following modification:
I’ve moved from the existing functionality of detecting upgradeable units into the VisibilitySetter condition.
This way, factions with upgradeable units will naturally have the button activated, while those without such units will have the button hidden naturally, without requiring additional options or Lua code.
--
context_function_id="IsContextValid(SelectedCharacter.MilitaryForceContext.FactionLoanedFromContext) == false">
--
from this.
--
context_function_id="Component("units", "main_units_panel").ForceContainsUpgradableUnits">
--
to this.
I've already implemented your solution to my update of "Immortal Armouries".
Let me know if you want to be added as a contributor.
Thank you
That is great, thank you very much for the efforts!
Now some people may miss the free upgrade :-)
Thank you for the info!
Well, this mod only removed CA's check condition on culture (only greenskin & woodelf tree), and only changed two ui files...
Looks to me the script lock no longer works for the new UI. Not sure if it is possible to add such a condition in the ui files..
If nothing else, we can just say it is not meant to be used together due to the free lunch :-)
cm:faction_set_unit_purchasable_effect_lock_state(faction, effect, "", true);
This worked for the vanilla UI that CA removed. I haven't looked at your mod yet but I imagine it would be simple to create a patch that checks for my effects (I use a standard prefix for all of them to ensure any that aren't locked or are added by submods get locked on game load) and doesn't add them to your UI. I'll take a look this weekend
Thank you for the information!
I didn't know that...most mods out there restricts upgrade using money + resource..
Cannot be the UI mod. Must be some other mod adding upgrades.
Do you mean the UI file for his army skills?
You can use context viewer to find out (just google "wh3 context viewer").
Hi Radious! I don't see a direct way to limit the button appearance ... would do if I can.
This is controlled by the "hud_campaign.twui.xml" file under data.pack.
On line 12269, CA limits the button by an if condition for greenskin culture, or Drycha or argwylon.
I simply removed those conditions -- which makes the button appear for every race.
I don't see an easy way to verify if a race has scrap upgrade or not, because it is only coded in UI file only, not any db table entry.
Alternatively, one can add more "or condition" to include any specific culture / faction they wish.
Not a problem at all --- feel free to do so, see the last section.
I think it is because CA didn't do large unit cards for some units, so it default to greenskin infantry --- just let it be :-)
Ok I checked that it is not the UI file having the restriction.
Units can get all available upgrade, so long the "is_exclusive" is off in the db/unit_purchasable_effect_sets table.
All vanilla greenskin and woodelf upgrades has this off, that is why you may get all their upgrade.
But most mods (like Dirty Dan's) has this setting on, so you can only get one upgrade.
Check with the mod author on lifting this restriction, or use RPFM to change that yourself.