Thread Tools
Old October 3, 2001, 05:02   #1
player1
Emperor
 
player1's Avatar
 
Local Time: 16:05
Local Date: October 31, 2010
Join Date: Sep 2001
Location: Belgrade, Serbia
Posts: 3,218
Infrastructure SLIC
Infrastructure SLIC v1.0
file: infras.slc
by player1

Installation:

Put this file in yours ..\ctp2_data\default\gamedata\ folder
and add #include "infras.slc" line in script.slc file.

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
10 * city pop PW and gold bonus, lowered by PW tax percent value.

Example:
City size 28, PW tax 20%
gives 28*10*(1-0.2)=224 gold and PW bonus

This file is great in combo with pw_cheat.slc
player1 is offline  
Old October 3, 2001, 05:13   #2
player1
Emperor
 
player1's Avatar
 
Local Time: 16:05
Local Date: October 31, 2010
Join Date: Sep 2001
Location: Belgrade, Serbia
Posts: 3,218
Here it is
It's now a v1.01
PW factor is chaged from 10 to 15, so in previous example
PW bonus would be 336 and gold bonus would stay at 224.
Attached Files:
File Type: slc infras.slc (1.4 KB, 14 views)

Last edited by player1; October 3, 2001 at 06:21.
player1 is offline  
Old October 4, 2001, 06:42   #3
player1
Emperor
 
player1's Avatar
 
Local Time: 16:05
Local Date: October 31, 2010
Join Date: Sep 2001
Location: Belgrade, Serbia
Posts: 3,218
ANY COMMENTS?
player1 is offline  
Old October 15, 2001, 05:12   #4
player1
Emperor
 
player1's Avatar
 
Local Time: 16:05
Local Date: October 31, 2010
Join Date: Sep 2001
Location: Belgrade, Serbia
Posts: 3,218
10 days have passed, 4 downloads (plus some from other threads)
Any comments, any bugs, is this slic working fine?
player1 is offline  
Old October 15, 2001, 07:37   #5
Foro
Settler
 
Local Time: 15:05
Local Date: October 31, 2010
Join Date: Aug 2001
Location: Germany
Posts: 27
as far as i can see the slic is working. I added a lot of slics at once from you and Martin and so i cant say why the computer is stronger now but he is.
The computer is building a lot more tile improvements now then previously in my opinion
Foro is offline  
Old October 15, 2001, 13:03   #6
player1
Emperor
 
player1's Avatar
 
Local Time: 16:05
Local Date: October 31, 2010
Join Date: Sep 2001
Location: Belgrade, Serbia
Posts: 3,218
You know this slic is importatnt in a Mordern age when tile improvments are costly.
When AI has built almost all of the avalilable buildings, enough units and
has Mass Prodction, it will get bouns gold & PW, to simulate using of
capitalization or infrastructure.

Without slic it would just leave an empty queue.
player1 is offline  
Old October 26, 2001, 04:01   #7
player1
Emperor
 
player1's Avatar
 
Local Time: 16:05
Local Date: October 31, 2010
Join Date: Sep 2001
Location: Belgrade, Serbia
Posts: 3,218
23 days after posting, 6 downloads.
Probably because it is alredy in other MODs.
I guess that this SLIC is bug-free, since nobody replies othervise.

MODers, feel free to use this slic in your MODs!
player1 is offline  
Old October 28, 2001, 18:32   #8
WesW
Apolytoners Hall of Fame
 
WesW's Avatar
 
Local Time: 08:05
Local Date: October 31, 2010
Join Date: Mar 2007
Location: Florence, Al., USA
Posts: 1,554
I am not sure I understand the problem. I think that you must have the build queue empty in order to use capitalization or infrastructure. What is happening that is messing up the AI?
__________________
For Civ IV: The Medmod V v1.0.
For Medieval: Total War- The Medieval Mod IV v4.0.
The entire Medmod series is available at my Apolyton-hosted webpage.
WesW is offline  
Old October 28, 2001, 18:48   #9
player1
Emperor
 
player1's Avatar
 
Local Time: 16:05
Local Date: October 31, 2010
Join Date: Sep 2001
Location: Belgrade, Serbia
Posts: 3,218
For human player all is OK.
But,
for AI when he wants to build a infastructure & capitalization, he leaves an empy queue (THE BUG)!
So since I don't know how to add an infras. (I tried so hard) to his queue, I have added a bonus gold & pw for AI cities with infinite empty queues (to simulate actual building od capitalization or infastructure).
player1 is offline  
Old October 28, 2001, 18:51   #10
player1
Emperor
 
player1's Avatar
 
Local Time: 16:05
Local Date: October 31, 2010
Join Date: Sep 2001
Location: Belgrade, Serbia
Posts: 3,218
So (with this SLIC) anytime when AI WANTS to build infras. or capit.,
he will still have an empty queues but will get a bouns of PW & GOLD.
player1 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 10:05.


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