Posted: Mon Oct 29, 2012 6:13 pm Post subject:
AI issue
It seems like in Ares 0.2 and 0.1, the AI behaves very strangely.
It may be my codes and not Ares, but I have been using these codes for years and they have never had a problem.
Code:
[SOUTHH06-G]
Name=SOUTH KOREA NORMAL 2
0=15,sgtnk
1=10,FV
Group=-1
[GATHERAL-G]
Name=Gather at close area, gather at far area, attack everything, repeat.
0=54,0
1=53,0
2=0,1
3=49,0
Code:
33C00A12-G=SOUTH KOREA NORMAL 2 ,SOUTTT06-G,SKorea,1,1,GAWEAP,0100000003000000000000000000000000000000000000000000000000000000,50.000000,10.000000,70.000000,1,0,1,0,<none>,0,1,0
As you see in the script type, this task force is suppose to gather at "friendly base", then "enemy base" and then attack everything. Instead, after gathering at "friendly base", the units go back to its own base, stand there for a second and return to "friendly base". This will loop forever. So the second script mission(1=53,0) is never reached.
This is not a global bug and do not affect every single AI team, which is weird.
I have AI teams that are almost identical to this example, the only part that is different is the task force. Those almost-clones work fine. QUICK_EDIT
[GATHERAL-G]
Name=Gather at far area, attack everything, repeat.
0=53,0
1=0,1
2=49,0
Suddenly, all the AI teams that are using this script started to work again.
I am pretty sure script mission 54,0 is broken in Ares.
Can someone else confirm it? QUICK_EDIT
[GATHERAL-G]
Name=Gather at far close, attack everything, repeat.
0=54,0
1=0,1
2=49,0
And it worked. I again changed it like it was in the example in first post, and the bug occurred again. It may be that if 53,0 comes after 54,0, this bug occur. Anyone have a script that looks like that? QUICK_EDIT
Again I have lots of scripts that use 54 then 53, I even have one that constantly loops between the two, making the AI "patrol" the map etc. _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum