Thread Tools
Old December 21, 2000, 01:27   #1
colorme
Warlord
 
Local Time: 09:45
Local Date: October 31, 2010
Join Date: Nov 2000
Posts: 122
SLIC to improve diplomatic relations?

Okay, I'm a big SLIC fan, though I don't know an iota of SLIC programming.

But, if it's not possible to make the AIs like each other (c'mon, every AI is at war with every other AI all the time. How worse could the diplomacy programming have been?), by tweaking game constants, then how about using a simple SLIC program.

If you want to completely avoid having the AIs fight with each other (as an extreme solution, say), you can put in a simple line in the diplomacy.slc to the effect,

Begin AI turn{
"Every few turns, give 100 gold to every other AI"
}

I suppose this should make all the AIs go out partying together in no time!! Also, note the slyness of this piece of evil code - the AIs are not actually losing any gold in the balance!

The trickier part would be to write code that has each AI pick an (one and only one) HOTENEMY which it won't give gold to, without creating a snowball effect where eventually they'e all fighting each other again.
colorme is offline  
Old December 21, 2000, 10:23   #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:45
Local Date: October 31, 2010
Join Date: Nov 1999
Location: De Hel van Enschede
Posts: 11,702
Well, there is a *lot* of diplomacy related SLIC code, so you can do an awful lot in this area. You don't even have to let the AIs give eachother money. It's sufficent to use the LogRegardEvent function or event (this is done several times in the Alexander scenarios).
Locutus is offline  
Old December 21, 2000, 17:33   #3
colorme
Warlord
 
Local Time: 09:45
Local Date: October 31, 2010
Join Date: Nov 2000
Posts: 122

Oh okay. I thought LogRegard... was meant to check the regard the AI has, not to change its regard. Perhaps I was mistaken.

I couldn't figure out the format for a lot of the diplomacy functions. There's not enough info. in the files.

When are we getting the SLIC documentation from actvision?
colorme 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:45.


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