.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old November 4th, 2002, 02:45 AM
CombatSquirrel's Avatar

CombatSquirrel CombatSquirrel is offline
Corporal
 
Join Date: Oct 2001
Posts: 99
Thanks: 0
Thanked 0 Times in 0 Posts
CombatSquirrel is on a distinguished road
Default How AI evaluates Trades?

I am just testing this, and I do not yet have a clear picture of how the program determines if a trade is valuable or not to an AI opponent. It seems to take real junk sometimes and I wonder how effective it is at understanding the importance of tech levels, and how much it values comm channels and such... I know that you can mod under the AI files what percentage of value in both sides of a trade the AI will accept, but no way to affect the method of its evaluation.

So my question is :
"How Do It Do the VooDoo That it Do?"

Kind of a sweeping question, I know, but it is puzzling. I am looking for insight. Insight, or anecdotes of the trade oddities.

Inquisitively,
CombatSquirrel

[ November 04, 2002, 00:47: Message edited by: CombatSquirrel ]
Reply With Quote
  #2  
Old November 4th, 2002, 09:59 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: How AI evaluates Trades?

I think that may be hard-coded. If so, only Aaron Hall would know.

[ November 04, 2002, 08:00: Message edited by: Imperator Fyron ]
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #3  
Old November 4th, 2002, 10:39 AM
dogscoff's Avatar

dogscoff dogscoff is offline
General
 
Join Date: Mar 2001
Location: UK
Posts: 4,245
Thanks: 0
Thanked 0 Times in 0 Posts
dogscoff is on a distinguished road
Default Re: How AI evaluates Trades?

I suppose you could conduct a series of tests, to see what an AI would accept for what, and so build up a grid of the relative values of everything.

However, I imagine the value an AI attaches to different things would change according to it's mood and economic status, which would make it just about impossible to gauge consistently.

Still... it would be interesting to try.
Reply With Quote
  #4  
Old November 4th, 2002, 04:17 PM
CombatSquirrel's Avatar

CombatSquirrel CombatSquirrel is offline
Corporal
 
Join Date: Oct 2001
Posts: 99
Thanks: 0
Thanked 0 Times in 0 Posts
CombatSquirrel is on a distinguished road
Default Re: How AI evaluates Trades?

Apart from the settings in AI_politics, it seems to be entirely hardcoded, but I can't yet tell if it assigns relative or absolute values to the items in the trade. There seems to be two basic states for the AI: dealing with Friend, or dealing with Enemy but does anyone know if there are other factors that enter in to its computation?

Any ideas about the relative resource value of Technology? Does the AI value different Tech areas more?

CombatSquirrel
Reply With Quote
  #5  
Old November 5th, 2002, 01:49 AM
Arkcon's Avatar

Arkcon Arkcon is offline
Colonel
 
Join Date: Jun 2002
Location: Connecticut
Posts: 1,518
Thanks: 0
Thanked 0 Times in 0 Posts
Arkcon is on a distinguished road
Default Re: How AI evaluates Trades?

Quote:
Originally posted by CombatSquirrel:
Apart from the settings in AI_politics, it seems to be entirely hardcoded, but I can't yet tell if it assigns relative or absolute values to the items in the trade. There seems to be two basic states for the AI: dealing with Friend, or dealing with Enemy but does anyone know if there are other factors that enter in to its computation?

Any ideas about the relative resource value of Technology? Does the AI value different Tech areas more?

CombatSquirrel
Mood towards you and general AI settings may have more to do with the trades the AI will accept than any "value algorithim".

I've had the AI refuse trades, gifts, even tributes of a variety of techs, even something thay could definietly use, like colonization techs, mine sweeper technology, and medical tech when I saw their planets had plagues.

Ofetn I've tried to trade one theortical tech for another, or even two. Like I'll offer Construction and Chemistry for Physics. And they just alter the trade to give me something called "unavailable tech".

It's so difficult to get them to agree to something usefull I've pretty much given up trying.

[ November 05, 2002, 01:59: Message edited by: Arkcon ]
Reply With Quote
  #6  
Old November 5th, 2002, 02:13 AM
Arkcon's Avatar

Arkcon Arkcon is offline
Colonel
 
Join Date: Jun 2002
Location: Connecticut
Posts: 1,518
Thanks: 0
Thanked 0 Times in 0 Posts
Arkcon is on a distinguished road
Default Re: How AI evaluates Trades?

It's hard to know exactly what the AI will take. It really does depend on it's mood. Here's just one example.

[Cheeze mode] [CM]
I can easily find a resource trade the AI will accept -- I just wants any profit. For example, it will (often, not always) give 100,000 minerals for 101,000 organics or rads. Maybe 110,000 if they're in a bad mood. They will even do it if they're at war with you. You can backrupt them of minerals they need for ship maintenance -- they wont stop until they run out
[/CM]

[ November 04, 2002, 12:13: Message edited by: Arkcon ]
Reply With Quote
  #7  
Old November 5th, 2002, 02:20 AM

Gryphin Gryphin is offline
BANNED USER
 
Join Date: Nov 2001
Location: Near Boston, MA, USA
Posts: 2,471
Thanks: 0
Thanked 0 Times in 0 Posts
Gryphin is on a distinguished road
Default Re: How AI evaluates Trades?

One item they will Almost always trade:
Colonization types.

I thought there was a setting that affected the willingness of the AI to trade. Last night the United Flora refused to trade at a 10 percent profit in their favor. Hm, could be we were at war even though no clashes had tanken place.
Reply With Quote
  #8  
Old November 5th, 2002, 02:37 AM
Captain Kwok's Avatar

Captain Kwok Captain Kwok is offline
National Security Advisor
 
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,623
Thanks: 1
Thanked 14 Times in 12 Posts
Captain Kwok is on a distinguished road
Default Re: How AI evaluates Trades?

There are settings in AI_Politics that are used to determine if a trade should take place. In general, if you're friends with the AI, they'll usually trade at a loss - if an enemy then you'd have to trade something more then'll you get back.

[ November 04, 2002, 12:39: Message edited by: Captain Kwok ]
__________________
Space Empires Depot | SE:V Balance Mod
Reply With Quote
  #9  
Old November 6th, 2002, 02:10 AM

HEMAN HEMAN is offline
Corporal
 
Join Date: Sep 2001
Location: PALMDALE ,CA ,US
Posts: 162
Thanks: 0
Thanked 0 Times in 0 Posts
HEMAN is on a distinguished road
Default Re: How AI evaluates Trades?

I also have problems trading with ai, reguarding teck trades , Just like Arkcon explain.
But i always can trade with Ai with colonization .Example; I give, M 10,000/O 10,000/Rad 10,000, and i get from AI, 1 ice colony.His mood doesnt seem to matter .
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 07:42 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.