 |
|  |
 |
|
player1
|
 |
Belgrade, YU
Sep 2001 time: 06:17
|
|
What is so called Loctus-Alexander bug?
It's bug in CTP2 in wich one stack tries to go throught second stack, but since it can't (both stacks have lot of units), stack just stay stucked in fort of other group of units.
This behavior was very irritating in Alexader scenario and in basic game. It also degrades AI.
So I have several solutions.
First, if there are two FORTIFIED stacks on open, both not adjanced to ciites, and with sum of 12+ units (toghter). This happens when one tries to go through other one, since it is only way, or if both are on road.
Solution: just swap these two stacks (teleport). Although they'll lose thier orders, AI will give them a new one next turn, and porbably they won't divert too much form original orders (Medmod clears orders every 3 turns, and is doesn't hamper AI).
Second, if one stack is in city, and another one adjanced to city. In this case best solution is to move outse unit on one of surrounding tiles:
0000
0C00
00U0
in this case unit (stack) should be moved in one of following positions (A or B)
0000
0CB0
0AU0
This should solved the problem in most cases. If thes position don't exsist (ocen tile, or already occupied), then move unit on one of the opposide direction positions:
XX00
XC00
00U0
If none of these are possibile then move unit in oposite direction but one tile away from city.
Suggestion: First should be proccesed stacks adjanced to cities, and later stacks which are completly on open.
P.S.
A little off topic.
I have noticed that somtimes there are defensive stacks in cities. These stack AI doesn't try to uprage.
If detected, this stacks should be unstacked so AI could be allowed to upgrade those units.
P.P.S.
I hope there is someone who could code this.
P.P.P.S
I hope I haven missed something.
P.P.P.P.S.
No I haven't come back to CTP2. In fact I don't have this game on hard anymore. Still I feal obligated to share some good ideas here.
|
|
|  |
 |
|
Locutus
|
|
ACS CTP1/2 Manager & Civ4 Co-Manager
|
 |
Hengelo, The Netherlands
Nov 1999 time: 06:17
|
|
Sorry for my late reaction, I've been very busy lately, which makes me tired and unable to think clearly about complex problems such as this one...
My solution to the Alexander scenario was to simply make all roads 2 tiles wide, this works as well. In the regular game this doesn't help much of course and you're solutions could well fill this gap. However, the problem is: how do you know the armies actually mean to move in the direction you think they're moving? They might just be passing by and be going in a completely different direction. You could reduce this problem by only teleporting armies that are fortifying. This still creates a problem though: if armies intend to fortify at the position at which they are, they will constantly try to fortify and be teleported, resulting in an infinite loop (at least until they are needed elsewhere or desstroyed).
Although your solutions could help a lot, they don't solve the problem entirely. Therefore, and because there are far easier ways of improving the AI, I've put a general solution to this problem pretty low on my priority list. If noone else does, I'll probably have a look at it sometime, but that could be a long time from now.
quote: If detected, this stacks should be unstacked so AI could be allowed to upgrade those units. |
I think we (read: Peter) came up with proper auto upgrade code quite a while ago. I think this upgrades all AI units, including city defenders.
quote: I hope I haven missed something. |
You've missed more than you can even begin to imagine... 
quote: Still I feal obligated to share some good ideas here. |
Those are always welcome and very much appreciated 
|
|
|  |
 |
|  |
All times are GMT. The time now is 05:17. Apolyton Time is 00:17. |
top of page
|
| archivepost |
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|