September 23, 2003, 12:14
|
#1
|
Super Moderator
Local Time: 11:10
Local Date: November 2, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
|
How can I make two civs signing a treaty?
I tried to make two civs to sign a treaty, unfortunatly I already tried to use ConsiderNewProposal, SetNewProposal, Event:Accept, Event:NewProposal, ConsiderResponse, SetResponse, Event esireMotivation, but so far no success. When I use the HasAgreement function there is no agrement even in a post Accept event handler.
I need this feature, because I am not content with the embassy check routines of Diplomod 3.6, first there are buggy and second they don't survive a /reloadslic.
I hope it is possible to use disabled proposals. The advantage of this way is that if two civs have such an embassy treaty, no arrays are necessary anymore to store this information, and it wouldn't be deleted by a /reloadslic.
-Martin
__________________
Civ2 military advisor: "No complaints, Sir!"
|
|
|
|
September 24, 2003, 03:01
|
#2
|
King
Local Time: 10:10
Local Date: November 2, 2010
Join Date: Jun 2002
Location: France
Posts: 1,986
|
Martin,
you might know better than me, but aren't treaties getting active the next turn?
|
|
|
|
September 24, 2003, 11:17
|
#3
|
Super Moderator
Local Time: 11:10
Local Date: November 2, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
|
Quote:
|
Originally posted by Gilgamensch
Martin,
you might know better than me, but aren't treaties getting active the next turn?
|
Actually I doubt that treaties become active the next turn, for instance if I sign a ceasefire or a peace treaty I get the icons in the diplo-manager in the same turn. Well I have to wait a little bit until the graphics thing is updated but than it is there in the same turn.
Unfortunatly even if they would become active the next turn, the HasAgreement function had reported it. I used a message box that told me everyturn the status of the particular treaty between two civs. And only one of these treaties was indicated and I signed it on my own.
-Martin
__________________
Civ2 military advisor: "No complaints, Sir!"
|
|
|
|
September 25, 2003, 03:03
|
#4
|
King
Local Time: 10:10
Local Date: November 2, 2010
Join Date: Jun 2002
Location: France
Posts: 1,986
|
Yes, you are right, tried it again yesterday. It is only a timedifference between 'signing' and updating.
But I was trying to recall yesterday any game were the AI had signed anything.......I can't remember.........
I think they did in the default game, but that was it. I might not be right here, but that's what I have in mind..........
|
|
|
|
September 26, 2003, 08:50
|
#5
|
King
Local Time: 09:10
Local Date: November 2, 2010
Join Date: Jan 2000
Location: Gone Fishin, Canada
Posts: 1,059
|
You want to get one AI civ to propose a treaty to another one and then have the recipient accept it? You have to generate a NewProposal event within a NextDiplomaticState event. Here's the basic idea:
http://apolyton.net/forums/showthrea...499#post529499
|
|
|
|
September 26, 2003, 16:53
|
#6
|
Super Moderator
Local Time: 11:10
Local Date: November 2, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
|
OK as far as I understood it, I can't do it neither within the ContactMade nor within the EstablishEmbassy nor within any other event except the NextDiplomaticState. That means I need temporay globals, but better than permerment globals. What I don't understand is purpose of the LogRegardEvent function.
-Martin
__________________
Civ2 military advisor: "No complaints, Sir!"
|
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
All times are GMT -4. The time now is 05:10.
|
|