sahbaz
Chieftain
- Joined
- Jun 6, 2021
- Messages
- 18
Hello,
I have one question related to this feature:
"The United Nations and Apostilic Palace can still be built even when diplomatic victory is not enabled. Players will be able to hold UN elections but can not win by becoming the secretary general"
Is there anyone who knows from technical side how this is implemented, my first assumption is that some things had to be changed in BuildingInfos.xml, for example under:
BUILDINGCLASS_UNITED_NATIONS
I guess we have to change
<PrereqVictory>VICTORY_DIPLOMATIC</PrereqVictory>
to
<PrereqVictory>NONE</PrereqVictory>
Also I am wondering what about this:
<DiploVoteType>DIPLOVOTE_UN</DiploVoteType> -> should this be NONE
<bForceTeamVoteEligible>1</bForceTeamVoteEligible> -> what about this ?
I would appreciate if someone could elaborate this, I am asking this question here, because I only seen this cool feature in this mod
I have one question related to this feature:
"The United Nations and Apostilic Palace can still be built even when diplomatic victory is not enabled. Players will be able to hold UN elections but can not win by becoming the secretary general"
Is there anyone who knows from technical side how this is implemented, my first assumption is that some things had to be changed in BuildingInfos.xml, for example under:
BUILDINGCLASS_UNITED_NATIONS
I guess we have to change
<PrereqVictory>VICTORY_DIPLOMATIC</PrereqVictory>
to
<PrereqVictory>NONE</PrereqVictory>
Also I am wondering what about this:
<DiploVoteType>DIPLOVOTE_UN</DiploVoteType> -> should this be NONE
<bForceTeamVoteEligible>1</bForceTeamVoteEligible> -> what about this ?
I would appreciate if someone could elaborate this, I am asking this question here, because I only seen this cool feature in this mod
Last edited: