You must be logged in to post messages.
Please login or register

Scenario Design and Modding
Moderated by Suppiluliuma, PhatFish, Fisk, EpiC_Anonymous, Epd999

Hop to:    
Welcome! You are not logged in. Please Login or Register.2 replies
Age of Empires Heaven » Forums » Scenario Design and Modding » How do I make the AI change diplomatic stance to enemy?
Bottom
Topic Subject:How do I make the AI change diplomatic stance to enemy?
SocialNomad
Clubman
posted 03-22-21 10:20 AM ET (US)         
This is what I wrote in the PER file so that the enemy will ask for gold.

124 500 //SNTributeAmount

125 5 //SNTributeChatFrequency

126 2 //SNTributeChatRandomness

127 5 //SNTributeTimeout

128 2 //SNTributePlayer

129 1 //SNTributeSuccessOutcome

130 1 //SNTributeFailureOutcome

132 1 //SNTributePersistence

133 1 //SNTributeRevokeOnAttack

215 1 //SNAllowDiplomacyChangeOnAllyAttack (yes)

217 1 //SNAllowDiplomacyChangeOnTribute

I'm trying to make it so that if they don't receive the gold, they will attack me, but all it does is ask for gold and say they will attack, but they never change diplomatic stance. What is wrong with the values in my variables?
AuthorReplies:
chab
Clubman
posted 03-23-21 12:29 PM ET (US)     1 / 2       
This maybe ?
128 2 //SNTributePlayer
Filthydelphia
Clubman
(id: Al_Kharn the Great)
posted 03-24-21 08:27 AM ET (US)     2 / 2       
130 1 //SNTributeFailureOutcome

That controls it. Player fails to pay tribute and the outcome is...

You must be logged in to post messages.
Please login or register

Hop to:    

Age of Empires Heaven | HeavenGames