.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 October 11th, 2006, 03:49 PM
AngleWyrm's Avatar

AngleWyrm AngleWyrm is offline
Second Lieutenant
 
Join Date: Mar 2005
Location: Seattle, WA
Posts: 417
Thanks: 0
Thanked 0 Times in 0 Posts
AngleWyrm is on a distinguished road
Default AI Issue

I proposed a treaty where we can colonize each other's systems. They countered with No Hostilities in Unclaimed Space. I accepted.

So a couple turns down the road, and they lose ships to the minefields guarding my systems--And now they're annoyed?

It was the AI's idea not to allow cooperation, but now it is upset about it's own decision. This could use a little more thinking through.

If the AI is going to play xenophobic treaties, then it should also recognize the outcome of said treaties.
Reply With Quote
  #2  
Old October 11th, 2006, 03:55 PM

Elsemeravin Elsemeravin is offline
Corporal
 
Join Date: Nov 2001
Posts: 148
Thanks: 0
Thanked 0 Times in 0 Posts
Elsemeravin is on a distinguished road
Default Re: AI Issue

Seems kind of logical for ones to be annoyed when making mistakes. I personally am in such case.
Reply With Quote
  #3  
Old October 13th, 2006, 01:00 AM
AngleWyrm's Avatar

AngleWyrm AngleWyrm is offline
Second Lieutenant
 
Join Date: Mar 2005
Location: Seattle, WA
Posts: 417
Thanks: 0
Thanked 0 Times in 0 Posts
AngleWyrm is on a distinguished road
Default Re: AI Issue

Maybe...On the one hand, it seems self-defeating, contradictory, possibly even like playing against a less skilled opponant.

But on the other hand, if the enemy were to successfully invade my territory under such a treaty, it might be perfectly happy to continue. As long as it's getting over on me, and not the other way around.

It might be working after all, it just needs some successful follow through assaults to make the thing pay off. Last time, it died on my warp point mines, and then quit the treaty.

Is it possible to have the AI check treaties, and amass territorial invasions based on treaty elements?

And can the AI work up a multi-turn plan? Like (Research Mines, Build MinSweeper, Add to Assault Fleet, Invade x,y)
Reply With Quote
  #4  
Old October 13th, 2006, 12:22 PM
Aiken's Avatar

Aiken Aiken is offline
Major
 
Join Date: Jan 2004
Location: Taganrog, Russia
Posts: 1,087
Thanks: 0
Thanked 0 Times in 0 Posts
Aiken is on a distinguished road
Default Re: AI Issue

SE5 AI is just a set of rules "If X happened then change state to Y and do Z". You're demenading it to act like a human, though. SE5 AI is indifferent to its past decision and not evaluate complex situations with large amount of ambiguous factors. Such behaviour requires a very sophisticated AI which is difficult to mod (not se5 way).
Reply With Quote
  #5  
Old October 13th, 2006, 12:44 PM
Slick's Avatar

Slick Slick is offline
Brigadier General
 
Join Date: Apr 2002
Location: Kailua, Hawaii
Posts: 1,860
Thanks: 0
Thanked 1 Time in 1 Post
Slick is on a distinguished road
Default Re: AI Issue

It's really a shame that the AI can't have any long term ideas, goals, agreements, diplomacy, etc. They constantly evaluate everything each turn and act based on current situations, regardless of what happened the previous turn or diplompatic agreements including those which it proposed in the first place. It is also a shame that this sort of thing is not able to be modded.

The closest thing that AI has is it's change in "mood" toward other empires, it's happiness levels and the hard-coded underlying 4X strategy.

I'd so love for the AI to even simply get upset if I don't answer a request. Right now, if the AI asks me to evacuate a system, I can say YES and he'll be happier with me even if I don't do it, I can say NO and he'll be angrier with me even if I do evacuate, or I can not respond and do whatever I want with little effect other than my annoyance to the AI that I'm still in the system he wants. All this follows from the fact that the AI doesn't remember what peviously happened and just looks at time-now.
__________________
Slick.
Reply With Quote
  #6  
Old October 13th, 2006, 01:40 PM
Makinus's Avatar

Makinus Makinus is offline
First Lieutenant
 
Join Date: Jul 2002
Location: Brasil
Posts: 604
Thanks: 0
Thanked 6 Times in 6 Posts
Makinus is on a distinguished road
Default Re: AI Issue

The AI remembers me of an alien empire in a sci-fi novel, where the Aliens are extremely advanced, have much more systmes than humankind, huge fleets and dominate the human race but are only capable of focusing in the "now", being incapable of thinking too far (they do a little) in terms of future and past, and are incapable to imagine that some humans are thinking and planning a rebellion a few decades in the future...
__________________
Currently Playing:
Megamek (latest dev version with home-made random campaign generator), Dominions 3 (with CBM) and Sins of a Solar Empire (heavily modded)
Reply With Quote
  #7  
Old October 13th, 2006, 05:20 PM
AngleWyrm's Avatar

AngleWyrm AngleWyrm is offline
Second Lieutenant
 
Join Date: Mar 2005
Location: Seattle, WA
Posts: 417
Thanks: 0
Thanked 0 Times in 0 Posts
AngleWyrm is on a distinguished road
Default Re: AI Issue

call Sys_Set_AI_Storage_Long(sys_long_Player_ID, 1, 1, gbl_ai_state_attack_system)

To restate my question in more of a computer language than an interpersonal one:

I would like to use a couple AI_Storage registers; one to hold the date of plan activation, one to hold the step number in a masterplan sequence. Sort of a mini-state within the state machine. Then I would call an indexed set of functions based on step number.

Sys_Set_AI_Storage_Long: boolean
plr_index: long
elem_index: long
list_index: long
new_long: long

Sys_Get_AI_Storage_Long: long
plr_index: long
elem_index: long
list_index: long

What elements and lists are available/in use? Can I just make them up?
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 09:35 AM.


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