Home Crush your enemies... and create an EMPIRE!!! Space Empires V -- BUY NOW!!!

User login

  • Create new account
  • Request new password

Navigation

  • news
    • archive
    • blogs
    • books
    • forums
    • recent posts
    • groups
  • image galleries
  • projects & downloads
  • search
  • create content
  • news aggregator

Search

Who's online

There are currently 0 users and 182 guests online.

Languages

  • English English
  • French French

Browse archives

« July 2008  
Mo Tu We Th Fr Sa Su
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
Home » news » forums » Space Empires V » Space Empires V General

AI and also treaties

Submitted by plasticpanzers on Sun, 2007-01-07 19:31. Space Empires V General

The AI opponents seem real benign.
Unlike SEV they appear happy to sign
treaties right away and they seldom
declare war. Of 30 or so games I
had only 3 other AI nations declare
war on me.
Also Treaties should have a length
to them rather than forever. Both
sides should have to agree on a
term of 10-25-50 turns on the treaty
or they will just keep on going.
my .02.
Tim (plasticpanzers)

‹ SE5: Cultural Learnings of Space Empires for Make Benefit Glorious Nation of Malfador Malfador, is it time you had a QA department? ›
» login or register to post comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
spacecadet's picture

AI doesn't seem consistent

Submitted by spacecadet on Sun, 2007-01-07 21:25.

I seem to be able to sign treaties early on, but after finding most of the other AI players, they won't ever sign a treaty, no matter what I do. And forget trying to give them a gift, they get very mad at me for offering a helping hand.

» login or register to post comments

AI to AI Treaties

Submitted by evilginger on Sun, 2007-01-07 21:50.

AI's often make Treaties with each other which prevent Treaties with others. AI's also don’t have any way of calculating what is in there best interests that I am aware of either so they will refuse gifts and treaties of benefit to them just because they dislike your empire.

The later in the game the greater the chance of these exclusive treties which exclude you

» login or register to post comments

i have signed treaties with

Submitted by plasticpanzers on Sun, 2007-01-07 22:45.

i have signed treaties with the first nation i run
across. suddenly i can communicate with a half a
dozen more and all are clamoring to sign a treaty
with me as well.

» login or register to post comments

can happen suposed to

Submitted by evilginger on Mon, 2007-01-08 00:13.

If the empire offers to share its communications channels then that’s what will happen as all the empires the AI has made contact with and made similar treaties with

» login or register to post comments

AI "fear"

Submitted by darkgift on Mon, 2007-01-08 04:36.

How does an AI determine whether or not it's "afraid" of you? I usually respond to the AI treaty requests (Balance Mod) with outrageous one-way demands, and even stronger empires will accept them. Right now I'm getting one Murderous to see if he'll break free. I know the next BM version will improve diplomacy, and of course these things need time. It'll get there.

» login or register to post comments

they have no fear only anger

Submitted by evilginger on Mon, 2007-01-08 04:58.

There is no mechanic for fear yet and an AI will not fear you and accept a peace if it’s just suffered a major defeat it will just hate you for destroying its battle fleet and fight on even with nothing. The one thing from GalCiv I miss is that the GalCiv AI will make peace after a good drubbing or at least attempt to do so even if it hates you and only does it to rebuild its shattered fleet. I would like to have this happen in SEV as it makes limited wars more possible further it makes the game more realistic. It also prevents all wars from becoming genocidal us or them actions.

» login or register to post comments

Agree

Submitted by darkgift on Mon, 2007-01-08 05:25.

In Civ III (haven't tried IV) as well, the AI's would accept humiliating terms after a thrashing, while continuing to hate you. I wouldn't want to model much else on that game (bored with it after one victory) but that was one nice feature.

» login or register to post comments

It doesn't understand fear...

Submitted by Fallen Haven on Mon, 2007-01-08 08:11.

evilginger wrote:
There is no mechanic for fear yet and an AI will not fear you and accept a peace if it’s just suffered a major defeat it will just hate you for destroying its battle fleet and fight on even with nothing. The one thing from GalCiv I miss is that the GalCiv AI will make peace after a good drubbing or at least attempt to do so even if it hates you and only does it to rebuild its shattered fleet. I would like to have this happen in SEV as it makes limited wars more possible further it makes the game more realistic. It also prevents all wars from becoming genocidal us or them actions.

But it does understand score. Unfortunatly, the stock score rating is next to useless as it doesn't weight what really matter to determine who is stronger than who. It's also why they never surrender...

» login or register to post comments
Thy Reaper's picture
Mod Designer

It doesn't understand score...

Submitted by Thy Reaper on Mon, 2007-01-08 16:46.

Actually, although it is scripted to understand score, the score functions are messed up and always return 0. That's why it won't surrender...

-----
Watch for my mod - codename: Dimensions - coming by Summer, 2007!

» login or register to post comments

It would be good

Submitted by evilginger on Mon, 2007-01-08 16:52.

It would be good if these where fixed as it would help the AI a very great deal if it could not only understand its score but change its actions accordingly

» login or register to post comments
Captain Kwok's picture
Mod Designer

Score is ok, something else is not

Submitted by Captain Kwok on Mon, 2007-01-08 17:24.

Actually it does understand score contrary to what I've reported before - it's likely a mistake elsewhere in the surrender script that is causing the problem - I'll have to investigate further.

-----

Space Empires Depot | SE:V Balance Mod

» login or register to post comments

Realy Captain I am shocked

Submitted by evilginger on Mon, 2007-01-08 17:53.

That the good captain being wrong about any thing SEV is truly shocking.

But back on topic if the AI understands score that’s good but it needs to do something with that awareness, preferably modify its behaviour accordingly. Which is what a human player would try to do? It would add to the event memory I feel the game needs and the concept of fear counterbalancing anger.

I will note that the AI's in mods are getting better and I am considering lowering the AI bonus to give me a chance with the Interrelated mod and Balance Mod as given my typical rubbish starting positions I am beginning to need it

» login or register to post comments
Captain Kwok's picture
Mod Designer

Translating score to "fear"...

Submitted by Captain Kwok on Mon, 2007-01-08 19:37.

The score comparison can easily be converted into a fear-type variable. For example you'd have a range of percentage score difference statements that will set a variable to modify the acceptable anger levels for various treaty provisions. I've integrated this somewhat for the Balance Mod AI's propose treaty algorithm (for Protectorates or Subjugation treaties) but I haven't used it yet as a modifier for the AI to accept such treaties yet - but it's on the v1.03 to-do list.

It the stock scripts, a score comparison is used to calculate the message's tone (either pleading or demanding) but I don't think the message's tone is ever conveyed in-game.

-----

Space Empires Depot | SE:V Balance Mod

» login or register to post comments

Question.

Submitted by Fallen Haven on Mon, 2007-01-08 20:12.

Captain Kwok wrote:
The score comparison can easily be converted into a fear-type variable. For example you'd have a range of percentage score difference statements that will set a variable to modify the acceptable anger levels for various treaty provisions. I've integrated this somewhat for the Balance Mod AI's propose treaty algorithm (for Protectorates or Subjugation treaties) but I haven't used it yet as a modifier for the AI to accept such treaties yet - but it's on the v1.03 to-do list.

I already implemented something like that in my next version of my mod (still trying to see how it goes in game). But what does the "value" thing in the treaties? Is it how much the proposing AI want it or is it the value the receiving AI will see it? It seem to me it's the value of the receiving end, but i haven't played far enough in my test games to see if it works that way... And what was the problem with the treaty spamming? Why the AI always send two treaty request, but the second one always worst than the first?

» login or register to post comments
Captain Kwok's picture
Mod Designer

Treaty Proposal Mechanics

Submitted by Captain Kwok on Mon, 2007-01-08 23:49.

Each treaty provision has an attached anger as set in the AI_GlobalSettings.txt script. This is the maximum anger amount against the other player (sans modifiers) for the race to accept the provision. The stock AI will randomly generate the terms based on its anger levels towards the other player. The Balance Mod works a little bit different because treaties come in packages with narrow ranges of provisions for a given treaty type but only counter proposals will take the anger level for a provision into account. This is why sometimes an AI in the mod will counter-propose something like 5% trade instead of 10%. In the Balance Mod case, I would apply the "fear" modifiers to the anger level that determines the type of treaty to propose - meaning a strong AI could force a higher level treaty (or even negative treaty) on a weaker AI.

Treaty Spamming was caused by a boolean variable to propose a treaty that starts off as true - if the false conditions are not met (AI teams, Mega Evil, couple others), the AI would always send a proposal. Since it takes a couple of turns to propose/accept, the AI always sent a second message. The Balance Mod script adds a random variable to this process making the AI proposal rate average about 3-5 turns when no treaties exist and the anger level is acceptable for treaty making.

-----

Space Empires Depot | SE:V Balance Mod

» login or register to post comments

Score

Submitted by darkgift on Tue, 2007-01-09 07:11.

Is there something wrong with how the score is calculated, not just how the AI uses it? Because in my current game (with IRM .54d) I'm ranked #1 even though the only number in which I lead is Units... in terms of Tech levels, ships, colonies, pop, etc, #2 is in the lead.

I also posted something in Fallen Haven's mod thread regarding AI and treaties, which I think I'll move here.

» login or register to post comments

AI and Treaties

Submitted by darkgift on Tue, 2007-01-09 07:13.

Not a programmer, so no idea if this could work. It regards not the treaties directly, but the anger level.

AI attitude should never get warmer than Indifferent until you sign a treaty with it, or (even better) only if the treaty includes Trade. Logically, if two races have no contact at all, they should remain indifferent, not feel friendly just because of a lack of open war.

There's a lot more to do from there, but it seems like a sensible and realistic baseline.

» login or register to post comments

A thought, that seems

Submitted by Nevyn on Wed, 2007-01-10 06:16.

A thought, that seems apropriate to this topic.... A non agression treaty would seem to be to me a higher level of trust than a trade treaty.....
Non Intercourse(Neutral space non agression) makes sense below those two, but you would want to start trading with someone before you decided to allow their warships to orbit your planets in my way of thinking, especially since breaking a full non agression treaty doesn't require your ships to be at home first, so it's,..... abusable to say the least against the AI.
If trade comes first, that would make a player think twice about loosing the trade balance at least before they go ahead and break the treaty.

» login or register to post comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Now on STEAM

Now on STEAM!Space Empires V via STEAMSpace Empires IV via STEAMSTEAM online by Valve Corporation

Popular content

Today's:

  • Research By Percentage SUCKS
  • Space Empires V 1.74
  • Governmet mod/patch/addon
  • Tweaking the planet art without going all the way to FQM
  • Shipsets, Empires, and dead AIs

All time:

  • Space Empires V and VI: Expansions and the Future: Tell the Company What's on Your Wish List
  • Space Empires V
  • Gritty Galaxy Fleet Clash
  • Damn Dirty Bugs/Annoyances
  • Space Empires V: General Thoughts, Observations, and Suggestions

Last viewed:

  • We need stickies
  • Governmet mod/patch/addon
  • Issue tracker broken?
  • Drop cargo remotely
  • Three Formation Questions
(c) Strategy First, Inc. All rights reserved.