Thread Tools
Old June 3, 2001, 15:36   #1
Immortal Wombat
Apolytoners Hall of Fame
Prince
 
Immortal Wombat's Avatar
 
Local Time: 11:35
Local Date: October 31, 2010
Join Date: Dec 2000
Location: in perpetuity
Posts: 4,962
SLIC problem
I thought I had finally got to the stage where I didn't need to keep making these SLIC problem threads

Anyway, I'm fairly sure I can't do it, but is there a way through SLIC to build tileimprovements?

The only thing I have come up with is to make a terrain that has all the attributes of being farmed, but then it would have to look like normal terrain, not farms. (*.til editor needed) And then I could use the terraform command.

If anyone has a simpler idea, please tell me.

The thing is, that my Mars 2020 scenario would be great, if I could get the AI to try and win, rather than sitting in a desert, building space planes I can't find a way through strategies.txt, even though I bumped the priorities up high.
Immortal Wombat is offline  
Old June 3, 2001, 18:48   #2
Peter Triggs
CTP2 Source Code ProjectCivilization IV Creators
King
 
Local Time: 10:35
Local Date: October 31, 2010
Join Date: Jan 2000
Location: Gone Fishin, Canada
Posts: 1,059
You could try the Event:CreateImprovement(thePlayer, theLocation, theTileImpDBindex, 0). [I don't know what that "0" does.] Note that thePlayer has to have the requisite advance for the event to occur. A more serious problem is that it doesn't always seem to work as advertised. Sometimes it works for me but other times I get the sound of machine guns going off in the background and nothing else happens.

BTW, there's only two examples of this event in the files. One doesn't work and the other is in the notorious tut2_main.slc where Winnie's comment beside the FIRST_TILE_IMP declaration is not exactly illuminating.
Peter Triggs is offline  
Old June 3, 2001, 22:45   #3
hexagonian
The Courts of Candle'Bre
Emperor
 
hexagonian's Avatar
 
Local Time: 05:35
Local Date: October 31, 2010
Join Date: Jun 1999
Location: Smemperor
Posts: 3,405
A couple solutions on building Space planes

Look at the UnitBuildLists in the aidata folder and see what lists that the Space Planes are on. You can pull it from the list and replace it with another unit - or you can give the Space Plane some military capabilities.

In the early game, the AI has limited choices to build units, or it will build the most advanced unit on whatever list it is focused on, which is tied into the particular strategy it is following at the moment. I'm not sure exactly how it all works in the beginning of the game though.

What's unusual is that the Space Plane is considered a transport unit, and for the life of me, I cannot imagine why it would be picking that unit for a start unit based on the above info.

What options does the AI have at the beginning of the senario to build?

Also check the cost of the units available, and the ceiling that the AI has set for building a unit (in strategies.txt). If the units take too many turns to build, it will default to the cheapest one, and since your cities are very small to begin with, the AI may have no other choice but the Space Plane.
__________________
Yes, let's be optimistic until we have reason to be otherwise...No, let's be pessimistic until we are forced to do otherwise...Maybe, let's be balanced until we are convinced to do otherwise. -- DrSpike, Skanky Burns, Shogun Gunner
...aisdhieort...dticcok...
hexagonian is offline  
Old June 4, 2001, 12:45   #4
Immortal Wombat
Apolytoners Hall of Fame
Prince
 
Immortal Wombat's Avatar
 
Local Time: 11:35
Local Date: October 31, 2010
Join Date: Dec 2000
Location: in perpetuity
Posts: 4,962
Thanks Peter, I thought I may have missed something obvious. tut2_main.slc ah yes.... Where is the other one? The village farm in Samurai ?

yeah, I'm still using the old tech/unit tree so I have some problems to sort. The game balancing I will sort once the AI is getting some terrain improvements. That seemed to be the main problem before. I'll try your suggestions
Immortal Wombat is offline  
Old June 5, 2001, 14:53   #5
Peter Triggs
CTP2 Source Code ProjectCivilization IV Creators
King
 
Local Time: 10:35
Local Date: October 31, 2010
Join Date: Jan 2000
Location: Gone Fishin, Canada
Posts: 1,059
Yup, that's the scenario. There was meant to be a fort go in there.
Peter Triggs 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 06:35.


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