Thread Tools
Old October 1, 2002, 20:13   #1
player1
Emperor
 
player1's Avatar
 
Local Time: 10:48
Local Date: November 1, 2010
Join Date: Sep 2001
Location: Belgrade, Serbia
Posts: 3,218
Some AI & Slic routines I made up last year while I was still playing CTP2
Some AI & Slic routines I made up last year while I was still playing CTP2.

I don't remeber everything (one year has passed), but my MOD (called MyMOD), which can still be found at CTP2 forums has some interesting things, which looks like haven't been used by other MODs (or at least I don't know about that).

Since I was asked about this in one Civ3 thread I'll explain some of the things here.

Note: MOD can be donwloaded from that Link page.


Terraform.slc

Everytime when city grows up in size, it does automaticly Terrafroms neighbour tiles to proper terrains. Larger cities get larger terraform radius. This works for AI only, and it's FREE.

Warning: PTW cost and terrains index numbers are a little bit different from base CTP2.


Strategies.slc

This one activated some cutsom strategies.

Sine AI ALWAYS build only unit last in current build list.
So it ended up in building only one aircraft type, or only one type of special unit.
This SLIC activates in random some different stratgeies in oreder to make AI to build some other units. For example there is 50% chance that in this turn it would use build special strategy for air units, which is different then defualt one (different units on top)

Same have done for Spies, in oredr to build them more common somethimes (and so they won't be blocked by other special units which normally come at the end of queue).
It's done for Cruise Missiles too.

There are also NUCLEAR strategies.
Depending from number of cities, AI will build apropriate number of nukes.


Pw_cheat.slc

Everybody knows about this one.


Infras.slc

This code fixes AI bug in which AI players, when trying
to use Infrastructure or Capitalization, leave build queue empty.
It detects cities with empty build queues and gives them
15 per city pop PW and 10 per city pop gold bonus,
lowered by PW tax percent value. This should compensate for money & PW they would gain normally.


Deep_fish.slc

This is a GOOD one.
Since AI always builds Underwater Mines in ocean what hinders growth of underwater colonies, this SLIC activeates bulding of Fisheries for those underwater cities every time AI has more them 2000PW (and that easy with pw_cheat.slc)
Then it build them in tiles ajdanced to colonies unit it runs off PWs.


Building Build List:
Added Gaia computer at top of most build lists (but not all, done carfeull to preserve balance) in oreder to make AI build them.
Power Sattelite is also near the top, but beware since AI will build them endlessly so there is no point of playing the game after you win. But with this there is a achnace that AI can win too.


BuildListSequences.txt

Don't remeber what I did here. There was a lot of playbalaning of different strategies.
I remeber of enouraging use of Freighters, growth and garrison units.
There were also different stretgeies for diffenret Wonders litst for different personallities.


Goals.txt
I've done some things here, but don't remember what.


UnitBuildLists.txt

Added more options to support added stretgeies in SLIC.
In some cases some strange units are in bottom of queue, but that's done in order to force diversity in some AI troops (and it worked).


Strategies.txt

Played with almost everything here, but can't rememer the thing.



FINAL NOTE:
Most things I have done, were tested by me and worked.
AI was in fact pretty satisfactory.
It even new how to build sea colonies and Gaia cont.

Of course, some of AI settings are also tied to units stats, so using them in other MODs would change the way how AI reacts.
player1 is offline  
Old October 1, 2002, 23:01   #2
Pedrunn
Call to Power II Democracy Game
King
 
Pedrunn's Avatar
 
Local Time: 05:48
Local Date: November 1, 2010
Join Date: Jul 2001
Location: of Natal, Brazil
Posts: 2,555
Infras.slc
I really like this code and i will have it included in my mod

Strategies.slc
This code of yours made me want to do my own code of strategies using yours as reference.
I think Good Mod has it.

Building Build List:
BuildListSequences.txt

Didnt know about these changes. Looks Like good stuff.
I will check those for sure.


player1, Any chance too seeing you around here more often? Or is CTP2 out of question for you?
__________________
"Kill a man and you are a murder.
Kill thousands and you are a conquer.
Kill all and you are a God!"
-Jean Rostand
Pedrunn is offline  
Old October 2, 2002, 04:01   #3
player1
Emperor
 
player1's Avatar
 
Local Time: 10:48
Local Date: November 1, 2010
Join Date: Sep 2001
Location: Belgrade, Serbia
Posts: 3,218
I doubt.
It just that I'm too much tired of constant AI tweaking and MODing.

At least Civ3, with all its drawbacks, has relativly good AI, and doesn't need constant MODing. And most basic bugs have been fixed by Firaxis (if just Civ3 could have SLIC).

Still, I'm happy to answers all needed question here.
(If I remember the answers)



P.S.
Anyway, has anybody found solution about AI stacks moving.
(when huge AI stacks stcuked between cities and couldn't move BUG)
player1 is offline  
Old October 2, 2002, 04:46   #4
SMIFFGIG
Call to Power II Democracy GameCall to Power II MultiplayerCTP2 Source Code Project
Prince
 
SMIFFGIG's Avatar
 
Local Time: 09:48
Local Date: November 1, 2010
Join Date: Jul 2002
Location: Great Britain
Posts: 684
Player1, im glad you posted

Now im gunna read through that list

Quote:
Anyway, has anybody found solution about AI stacks moving
Im pretty sure this is solved, as in the AIFrenzy.slc the Ai when they attack send in stacks of 12 (I always get slaughtered gunna play on medium or hard i think)
__________________
Oxygen should be considered a drug
Tiberian Sun Retro
My Mod for Tiberian Sun Webmaster of
http://www.tiberiumsun.com
SMIFFGIG is offline  
Old October 2, 2002, 11:26   #5
Martin Gühmann
staff
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Super Moderator
 
Martin Gühmann's Avatar
 
Local Time: 10:48
Local Date: November 1, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
You should add your mod to the directory, player1.

I do not use Infras.slc, because I removed infrastructure and capitilization from the AI build lists.

-Martin
__________________
Civ2 military advisor: "No complaints, Sir!"
Martin Gühmann is offline  
Old October 2, 2002, 13:13   #6
player1
Emperor
 
player1's Avatar
 
Local Time: 10:48
Local Date: November 1, 2010
Join Date: Sep 2001
Location: Belgrade, Serbia
Posts: 3,218
In that case, when AI stops building other things it would just build defensive unit forever (instead of infars & cap).
player1 is offline  
Old October 2, 2002, 13:15   #7
player1
Emperor
 
player1's Avatar
 
Local Time: 10:48
Local Date: November 1, 2010
Join Date: Sep 2001
Location: Belgrade, Serbia
Posts: 3,218
By the way, what exactly is needed in order to add MOD to the CTP2 directory.
player1 is offline  
Old October 2, 2002, 15:32   #8
Martin Gühmann
staff
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Super Moderator
 
Martin Gühmann's Avatar
 
Local Time: 10:48
Local Date: November 1, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
Click on the directory link above the threads between news and chat. Then you go to the category in which your new link might fit. In your case it would be:

Files -> Call To Power 2 -> Mods

or

Files -> Call To Power 2 -> Modification -> Text and SLIC

if you feels your mod is just an ressource for modmakers, today. Of course you can submit here parts of your mod.

And finally click on the add a link link. Of course you should be logged in.

-Martin
__________________
Civ2 military advisor: "No complaints, Sir!"

Last edited by Martin Gühmann; October 2, 2002 at 15:40.
Martin Gühmann 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 04:48.


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