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 Thu Apr 30, 2026 9:13 pm
All times are UTC + 0
How does the AI choose he's primary enemy?
Moderators: 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
Robin
Civilian


Joined: 11 May 2006

PostPosted: Sun Jan 25, 2009 2:36 pm    Post subject:  How does the AI choose he's primary enemy?
Subject description: i can use some help here :D
Reply with quote  Mark this post and the followings unread

Hi there all,

I'm editing the AI for my mod.
If i play a multiplayer game, only 1 enemy is targetted by all other AI's.

For example: if i take artic circle map 4 humans vs 4 AI's only 1 human is targetted as primairy enemy. so the rest can just relax, and attack like they want :p.

My question: how does the AI chooses he's enemy? The 1 who is closest to he's base? Or the one with the most money? i really don't know, but i like to know Very Happy

anyway's, i hope some1 could help me with this Very Happy


regards,

Robin

Back to top
View user's profile Send private message
Dutchygamer
President


Joined: 18 Jun 2005
Location: Dordrecht, the Netherlands

PostPosted: Sun Jan 25, 2009 2:50 pm    Post subject: Reply with quote  Mark this post and the followings unread

At the start of the game the AI randomly chooses an enemy, and keeps attacking him/her/it untill it's destroyed, and moves on to the next one.

Back to top
View user's profile Send private message Send e-mail Skype Account
Beowulf
Laser Commando


Joined: 12 May 2003
Location: Furry Heaven

PostPosted: Sun Jan 25, 2009 4:58 pm    Post subject: Reply with quote  Mark this post and the followings unread

Dutchy... rumor has it this has something to do with color... I remember online games with my brother and a friend where the AI only attacked my brother no matter where he was and he was always blue...

_________________

Back to top
View user's profile Send private message Visit poster's website Skype Account AIM Address
Dutchygamer
President


Joined: 18 Jun 2005
Location: Dordrecht, the Netherlands

PostPosted: Sun Jan 25, 2009 5:28 pm    Post subject: Reply with quote  Mark this post and the followings unread

Never heard of that one. Maybe it's something to try out (aka giving an AI allied the colour blue and see what happens)... I still think it doesn't check for colour though

Back to top
View user's profile Send private message Send e-mail Skype Account
Ickus
General


Joined: 25 Nov 2002
Location: @__@

PostPosted: Mon Jan 26, 2009 6:25 am    Post subject: Reply with quote  Mark this post and the followings unread

.... is it not by distance? Neutral

_________________
Delirium..

Back to top
View user's profile Send private message
Robin
Civilian


Joined: 11 May 2006

PostPosted: Mon Jan 26, 2009 5:50 pm    Post subject: Reply with quote  Mark this post and the followings unread

distance is the first thing that came up with me to.

My mate is also most attacked, and he's always the nearest vs the AI Very Happy

anyways thanks for your reply's

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


Joined: 07 Apr 2005

PostPosted: Mon Jan 26, 2009 5:57 pm    Post subject: Reply with quote  Mark this post and the followings unread

I would think its a number of rules, mainly on how many technos the house has, credits etc. Best ask DCoder...

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


Joined: 01 Aug 2003
Location: Galt's Gulch

PostPosted: Mon Jan 26, 2009 6:14 pm    Post subject: Reply with quote  Mark this post and the followings unread

Silly Hyper, you don't ask DCoder to do things, you use the DCoder Signal.

Back to top
View user's profile Send private message Visit poster's website Skype Account
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.1755s ][ Queries: 11 (0.0079s) ][ Debug on ]