Modding Union

Modderecke => Allgemeine Modding-Fragen => Thema gestartet von: EdSup am 13. Apr 2025, 16:46

Titel: Map or map.ini Disable ability
Beitrag von: EdSup am 13. Apr 2025, 16:46
hi,

suche nach einer Möglichkeit die Fertigkeit "Vorratskammern ausbauen" für alle (KI+menschliche Spieler) außer Kraft zu setzen. Kann jemand sagen wie das geht? Vielen Vielen Dank!

Hi,

looking for a possibility to disable the ability "Vorratskammern ausbauen" for all players (AI+human players). Anyone knows how that is possible.  Thanks a lot!
Titel: Re: Map or map.ini Disable ability
Beitrag von: The_Necromancer0 am 13. Apr 2025, 18:34
For the human you can simply disable the ability to train CPObject under Civialin > SYSTEM. For the AI it will be a little harder since those are spawned in. Your best bet would probably be to make the CP objects worth 0CP
Titel: Re: Map or map.ini Disable ability
Beitrag von: EdSup am 13. Apr 2025, 18:38
My problem is that on edain unchained mod for every level in "vorratskammern ausbauen" the citadel gets 500 health point for AI. I want to make this change undone by disabling the skill completely. Maybe there is another easier solution. But even with ur answer i am not able to change it now. So can you be more precise, please?
Titel: Re: Map or map.ini Disable ability
Beitrag von: The_Necromancer0 am 13. Apr 2025, 18:40
Ah, sadly, I don't know anything about how unchained does that.

The Pantry Upgrade is actually just a unit you train, so you can disable it like any unit with the script "Player cannot build building" (should work on units too)
Titel: Re: Map or map.ini Disable ability
Beitrag von: EdSup am 13. Apr 2025, 18:50
And how do i do that for AI?

Your best bet would probably be to make the CP objects worth 0CP