Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Fri Apr 19, 2024 3:29 am
All times are UTC + 0
AI issue
Moderators: Ares Support Team at PPM, Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [8 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
¥R_M0dd€r
Cyborg Soldier


Joined: 03 Jan 2011

PostPosted: Mon Oct 29, 2012 6:13 pm    Post subject:  AI issue Reply with quote  Mark this post and the followings unread

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

Code:
[SOUTTT06-G]
Name=SOUTH KOREA NORMAL 2
VeteranLevel=1
MindControlDecision=0
Loadable=no
Full=no
Annoyance=no
GuardSlower=no
House=<none>
Recruiter=yes
Autocreate=no
Prebuild=no
Reinforce=no
Droppod=no
UseTransportOrigin=no
Whiner=no
LooseRecruit=no
Aggressive=no
Suicide=no
Priority=5
Max=1
TechLevel=0
Group=-1
OnTransOnly=no
AvoidThreats=no
IonImmune=no
TransportsReturnOnUnload=no
AreTeamMembersRecruitable=yes
IsBaseDefense=no
OnlyTargetHouseEnemy=no
Script=GATHERAL-G
TaskForce=SOUTHH06-G

Code:
[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.

Back to top
View user's profile Send private message
Krow
Commander


Joined: 30 Jan 2010
Location: Malaysia

PostPosted: Tue Oct 30, 2012 5:14 am    Post subject: Reply with quote  Mark this post and the followings unread


_________________
Team Black wrote:
interesting seeing your voxel work. They're still better than Aro's!

Back to top
View user's profile Send private message
¥R_M0dd€r
Cyborg Soldier


Joined: 03 Jan 2011

PostPosted: Tue Oct 30, 2012 3:59 pm    Post subject: Reply with quote  Mark this post and the followings unread

They seems related but not the same issue.

Back to top
View user's profile Send private message
¥R_M0dd€r
Cyborg Soldier


Joined: 03 Jan 2011

PostPosted: Tue Oct 30, 2012 5:22 pm    Post subject: Reply with quote  Mark this post and the followings unread

I modified the script to look like this:
Code:
[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?

Back to top
View user's profile Send private message
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Tue Oct 30, 2012 7:26 pm    Post subject: Reply with quote  Mark this post and the followings unread

I use 54 on most of my scripts in D-day & it works fine.

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
Speeder
Commander


Joined: 03 Sep 2004
Location: Czechia

PostPosted: Tue Oct 30, 2012 7:32 pm    Post subject: Reply with quote  Mark this post and the followings unread

Same here. All works fine.

_________________
mentalomega.com

Back to top
View user's profile Send private message Send e-mail Visit poster's website YouTube User URL Facebook Profile URL Twitter Channel URL
¥R_M0dd€r
Cyborg Soldier


Joined: 03 Jan 2011

PostPosted: Tue Oct 30, 2012 8:57 pm    Post subject: Reply with quote  Mark this post and the followings unread

I made it look like this:
Code:
[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?

Back to top
View user's profile Send private message
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Wed Oct 31, 2012 9:55 am    Post subject: Reply with quote  Mark this post and the followings unread

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.

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [8 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
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


Powered by phpBB © phpBB Group

[ Time: 0.1435s ][ Queries: 11 (0.0085s) ][ Debug on ]