Thread Tools
Old January 14, 2001, 23:57   #1
heardie
Prince
 
heardie's Avatar
 
Local Time: 20:49
Local Date: October 31, 2010
Join Date: Aug 1999
Posts: 684
Diplomacy
Its funny I cant seem to find a mention of the function
LogRegardEvent in the slic2func file, but here is what i think it may do:

Code:
LogRegardEvent(playerx, playery, value,     ?,  REASON, no of turn);
where value is any integer where -9999 is REALLY hate you and 9999 is REALLy love you. Reason is the reaon and needs an id such as ID_DECLEAR_WAR. This si what it looks like from the Alexander the Greaet Scenaario. I tried this in mine using this
Code:
		LogRegardEvent(1, 3, 0,     0,  ID_NO_REASON, turnMax);  //Make 1 netural with 3
		LogRegardEvent(1, 2, -1000, 0,  ID_NO_REASON, turnMax);  //Make 1 at  war with 2
		LogRegardEvent(2, 3, 110,   0,  ID_NO_REASON, turnMax);  //Make 2 favor 3

But it didnt have an effect on my diplomactic relations. Anyone help with this?
heardie is offline  
Old January 15, 2001, 10:09   #2
Locutus
Apolytoners Hall of FameCiv4 SP Democracy GameCiv4 InterSite DG: Apolyton TeamBtS Tri-LeagueC4BtSDG TemplarsC4WDG Team ApolytonCivilization IV CreatorsCTP2 Source Code ProjectPolyCast Team
Deity
 
Locutus's Avatar
 
Local Time: 11:49
Local Date: October 31, 2010
Join Date: Nov 1999
Location: De Hel van Enschede
Posts: 11,702
I'm still messing around with this myself as well. One important thing I found out is that it takes one turn for these events to take effect, so AIs don't instantly love or hate you if you use this function.
Locutus is offline  
Old January 16, 2001, 02:46   #3
Dale
Emperor
 
Dale's Avatar
 
Local Time: 19:49
Local Date: October 31, 2010
Join Date: Dec 2000
Posts: 3,944
Take a look at the top of diplomacy.slc (the original one). I'm pretty sure it has a LogRegardEvent demo there.

------------------
Rommell to a sub-commander outside Tobruk: "Those Australians are in there somewhere. But where? Let's advance and wait till they shoot, then shoot back."
Dale is offline  
Old January 16, 2001, 09:52   #4
magma12
Chieftain
 
Local Time: 09:49
Local Date: October 31, 2010
Join Date: Nov 2000
Location: Bangkok, Thailand
Posts: 20
Sorry wrong post
[This message has been edited by magma12 (edited January 16, 2001).]
magma12 is offline  
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 05:49.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team