|
Author
|
|
Topic: Strategies' goal effects |  |
|
wysiwyg Chieftain Sandy, UT Nov 2000
|
 |
posted December 13, 2000 00:28
|
 |
 |  |
I noticed the lack of friendly AI relations too. On a huge map the AI civs were keeping up with me until they encountered each other then *boom* they go to war and never make peace. Immediately their research dives and all they do is make military units - forever it seems. |
FreeChina Chieftain in training Aug 1999
|
 |
posted December 03, 2000 10:43
 |
 |
 |  |
COmpletely unrelated, but it's pretty funny that "Destroy city" the D turns into a  |
colorme Warlord
Nov 2000
|
 |
posted December 03, 2000 16:49
|
 |
 |  |
SO I was experimenting with adding some military AI code of my own (using SLIC2). But, I cannot figure out how to keep the AI from over-riding "my AI code".e.g. I wrote some SLIC code to select the biggest army the AI (of one of the civs) has, and to make it move to a particular location. The selecting part works (I put in an appropriate message to indicate that), but the moving part of this doesn't work. Does anyone know how this is done in SLIC1 (or better still in SLIC2)? |
Locutus Prince Apolyton Borg Hengelo/Enschede, The Netherlands Nov 1999
|
 |
posted December 04, 2000 07:28
  |
 |
 |  |
colorme,I haven't messed too much with this yet, so I could well be way off, but I think that if you want to override the AI completely, you'll have to work very, very thoroughly. Don't just send the AI to it's final destination, send it to an adjacent square first. If it has movement points left, send it to the next square, and then to the next, etc. That will probably work better. Also, there are a lot of ways to move the AI (much be like 5-10 events that are movement related), so trying a different event might help. If you get stuck, send me what you've got and I'll have a look at it, I'm currently working on a more or less similar thing for a scenario anyway (restricting movement to a certain 'zone' to be more precise, not quite as complicated but still similar), so together we might be able to work it out. BTW, in SLIC1 you couldn't tell the AI to do anything, not moving and not anything else either, so we're working on ground-breaking territory here  |
colorme Warlord
Nov 2000
|
 |
posted December 04, 2000 15:45
|
 |
 |  |
Locutus,Thanks for the tip. I'll try what you said. BTW, I do this in my spare time, and that's getting a little too spare I guess the same holds for you too ...
| |