I denounce you!/Worse relations mod

Joined
Apr 11, 2015
Messages
438
As a mostly peaceable player, I find that I almost always have the best/most friendly relations with other Civs out of all the Civs.

I've come to the conclusion that this is largely due to the ritual of denouncing. AI Civs frequently denounce each other, which builds up animus between them, whereas I don't tend to.

I've been making a point of forcing myself to denounce AI Civs to build up drama and create antagonists.

I know there's a note in the sidebar whenever one generates Grievances against a Civ (i.e. they've done something bad, such as attack a city-state), but I was was wondering if it's possible to make a mod that turns this message into a popup that needs to be clicked, reminder-style.

It would be cool if there was also an option in the popup to click to denounce the Leader that had just caused Grievances generation.
 
Some notifications have an AutoNotify parameter. Anyone know what this does?
Code:
    <Row NotificationType="NOTIFICATION_GRIEVANCES_AGAINST_YOU" SeverityType="MID" ExpiresEndOfTurn="True" AutoNotify="False" Message="LOC_NOTIFICATION_GRIEVANCES_AGAINST_YOU_MESSAGE" Summary="LOC_NOTIFICATION_GRIEVANCES_AGAINST_YOU_SUMMARY"/>
 
Here are some things that have AutoNotify="True": Choose Civic, Fill Civic Slot, Consider Government Change, Command Units, City Range Attack.

So that would appear to be the message that appears where the End Turn button is in the bottom-right.

Another alternative is to change, for Grievances notifications, the ExpiresEndOfTurn="True" parameter. Normally, such a notification would only last for one turn. So changing it to False would mean the notification would be persistent, and last until clicking to remove it.

The colour of the notification icon could also be potentially be changed, perhaps to orange.
 
Here are the mentions of Grievances in the Expansion2_Notifications_Text.XML file, which should be all of the notifications relating to Grievances.

Code:
        <Row Tag="LOC_NOTIFICATION_DIPLO_PROMISE_FROM_BROKEN_SUMMARY">
            <Text>The promise made to you by the {1_CivName} to {2_PromiseType} has been broken (100 [ICON_STAT_GRIEVANCE] Grievances generated).</Text>
        </Row>


        <Row Tag="LOC_NOTIFICATION_DIPLO_PROMISE_TO_BROKEN_SUMMARY">
            <Text>Your promise to the {1_CivName} to {2_PromiseType} has been broken (100 [ICON_STAT_GRIEVANCE] Grievances generated).</Text>
        </Row>


        <Row Tag="LOC_NOTIFICATION_DIPLO_NO_PROMISE_FROM_BUT_REPEATED_MESSAGE">
            <Text>Additional Grievances Against Opponent</Text>
        </Row>
        <Row Tag="LOC_NOTIFICATION_DIPLO_NO_PROMISE_FROM_BUT_REPEATED_SUMMARY">
            <Text>You asked for a promise from the {1_CivName} to {2_PromiseType} and they declined. In fact, they have continued to do this, adding 25 additional [ICON_STAT_GRIEVANCE] Grievances against them.</Text>
        </Row>


        <Row Tag="LOC_NOTIFICATION_DIPLO_NO_PROMISE_TO_BUT_REPEATED_MESSAGE">
            <Text>Additional Grievances Against You</Text>
        </Row>
        <Row Tag="LOC_NOTIFICATION_DIPLO_NO_PROMISE_TO_BUT_REPEATED_SUMMARY">
            <Text>The {1_CivName} asked you for a promise to {2_PromiseType} and you declined. In fact, you have continued to do this, adding 25 additional [ICON_STAT_GRIEVANCE] Grievances against you.</Text>
        </Row>


        <Row Tag="LOC_NOTIFICATION_GRIEVANCES_AGAINST_YOU_MESSAGE">
            <Text>Grievances Against You</Text>
        </Row>
        <Row Tag="LOC_NOTIFICATION_GRIEVANCES_AGAINST_YOU_SUMMARY">
            <Text>The {1_DeclaringCivName} has declared war against the {2_TargetCivName}, one of your friends or allies. You now have {3_NumGrievances} new [ICON_STAT_GRIEVANCE] Grievances against them.</Text>
        </Row>

So these notifications - the ones generating Grievances against other players, at least - could be set to ExpiresEndOfTurn="False", so they don't disappear at the end of a turn.

So that should mean the only thing I'd like to do on top of this is to change the colour of the Grievances icon.
 
Hopefully, this is the code needed to make notifications regarding Grievances not expire after one turn.
Code:
<GameInfo>
    <Notifications>
            <Where NotificationType="NOTIFICATION_GRIEVANCES_AGAINST_YOU"/>
            <Set ExpiresEndOfTurn="False"/>
            <Where NotificationType="NOTIFICATION_DIPLOMATIC_PROMISE_TO_KEPT"/>
            <Set ExpiresEndOfTurn="False"/>
            <Where NotificationType="NOTIFICATION_DIPLOMATIC_PROMISE_FROM_KEPT"/>
            <Set ExpiresEndOfTurn="False"/>
            <Where NotificationType="NOTIFICATION_DIPLOMATIC_PROMISE_TO_BROKEN"/>
            <Set ExpiresEndOfTurn="False"/>
            <Where NotificationType="NOTIFICATION_DIPLOMATIC_PROMISE_FROM_BROKEN"/>
            <Set ExpiresEndOfTurn="False"/>
    </Notifications>
</GameInfo>
 
I might try changing the following notifications to make them not disappear at the end of a turn:

<Row Type="NOTIFICATION_DECLARE_WAR" Kind="KIND_NOTIFICATION"/>
<Row Type="NOTIFICATION_MAKE_PEACE" Kind="KIND_NOTIFICATION"/>
<Row Type="NOTIFICATION_PLAYER_DEFEATED" Kind="KIND_NOTIFICATION"/>
<Row Type="NOTIFICATION_DIPLOMATIC_PROMISE_TO_BROKEN" Kind="KIND_NOTIFICATION"/>
<Row Type="NOTIFICATION_DIPLOMATIC_PROMISE_FROM_BROKEN" Kind="KIND_NOTIFICATION"/>
<Row Type="NOTIFICATION_CASUS_BELLI_GAINED" Kind="KIND_NOTIFICATION"/>
<Row Type="NOTIFICATION_DECLARE_WAR_CITY_STATE" Kind="KIND_NOTIFICATION"/>
<Row Type="NOTIFICATION_MAKE_PEACE_CITY_STATE" Kind="KIND_NOTIFICATION"/>
<Row Type="NOTIFICATION_DIPLOMATIC_PLEDGE_TO_BROKEN" Kind="KIND_NOTIFICATION"/>
<Row Type="NOTIFICATION_DIPLOMATIC_PLEDGE_FROM_BROKEN" Kind="KIND_NOTIFICATION"/>
<Row Type="NOTIFICATION_GRIEVANCES_AGAINST_YOU" Kind="KIND_NOTIFICATION"/>

May or may not work. There's a strange thing with the vanilla game with the Wonders built notification. It seems to stop listing Wonders after a while unless one deletes the existing notifications. Hopefully, this won't lead to similar issues.
 
Hopefully, this is the code needed to make notifications regarding Grievances not expire after one turn.
Code:
<GameInfo>
    <Notifications>
            <Where NotificationType="NOTIFICATION_GRIEVANCES_AGAINST_YOU"/>
            <Set ExpiresEndOfTurn="False"/>
            <Where NotificationType="NOTIFICATION_DIPLOMATIC_PROMISE_TO_KEPT"/>
            <Set ExpiresEndOfTurn="False"/>
            <Where NotificationType="NOTIFICATION_DIPLOMATIC_PROMISE_FROM_KEPT"/>
            <Set ExpiresEndOfTurn="False"/>
            <Where NotificationType="NOTIFICATION_DIPLOMATIC_PROMISE_TO_BROKEN"/>
            <Set ExpiresEndOfTurn="False"/>
            <Where NotificationType="NOTIFICATION_DIPLOMATIC_PROMISE_FROM_BROKEN"/>
            <Set ExpiresEndOfTurn="False"/>
    </Notifications>
</GameInfo>
Won't work because you have syntax errors. You need an <Update> … </Update> wrapper around each of the <Where ….> / <Set …. > pairs.
 
Back
Top Bottom