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

This Month's Specials

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

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old November 9th, 2006, 11:00 AM

Raapys Raapys is offline
First Lieutenant
 
Join Date: Jan 2005
Posts: 689
Thanks: 0
Thanked 0 Times in 0 Posts
Raapys is on a distinguished road
Default Re: Slow AI turns (1.13)

The reason this happened in the new patch is because of the new reatreat option causing multiple comabats and this point:

15. Fixed - Space combat no longer ends when the distance between enemies remains the same or increases.

In other words, many combats lasts for the full 5 minutes instead of stopping after 20 seconds, like some of them would before. There were slowdowns with AIs at war with 1.08 too, it's just become far more pronounced.

I think everyone should be mailing Aaron about this, it's really ruining the game right now. He needs to go through the AI vs AI combat code and speed it up *alot*.
Reply With Quote
  #2  
Old November 9th, 2006, 11:20 AM
Spoo's Avatar

Spoo Spoo is offline
First Lieutenant
 
Join Date: Jan 2001
Location: Toledo, OH
Posts: 641
Thanks: 0
Thanked 0 Times in 0 Posts
Spoo is on a distinguished road
Default Re: Slow AI turns (1.13)

I get the impression that AI combat is limited to 8x real time. Instead it should be allowed to go as fast as it can.
__________________
Assume you have a 1kg squirrel
E=mc^2
E=1kg(3x10^8m/s)^2=9x10^16J
which, if I'm not mistaken, is equivilent to roughly a 50 megaton nuclear bomb.
Fear the squirrel.
Reply With Quote
  #3  
Old November 9th, 2006, 11:29 AM

Raapys Raapys is offline
First Lieutenant
 
Join Date: Jan 2005
Posts: 689
Thanks: 0
Thanked 0 Times in 0 Posts
Raapys is on a distinguished road
Default Re: Slow AI turns (1.13)

Yeah, I'm afraid that's possible. At any rate, Aaron needs to have a long look at it; it's the only real slowdown in turn processing. It was bad at times in 1.08, it's unplayable in 1.13.
Reply With Quote
  #4  
Old November 9th, 2006, 12:28 PM

neofit neofit is offline
Corporal
 
Join Date: Apr 2002
Location: France
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
neofit is on a distinguished road
Default Re: Slow AI turns (1.13)

Now I've got a "stable" savegame, i.e. in which the same empires generate a slowdown, namely 'Player 2'. I've tried playing with a few parameters in "settings.txt".

"Number Of Space Combat Turns:=30" does nothing to shorten Player2's turn when brought down to 1 turn.

"Create Log Text Files for Players:=False" and "Create Log Text Files for Players:=False" do not generate any log files when set to true, or I didn't manage to find them.

No other parameter seems to influence the length of Player2's turn, but "Space Combat Maximum Time (Seconds):=300". Player2's turn takes that very number of seconds, give or take a few.

I don't have much experience with combat in SEV. I have yet to fight a battle in this new 1.13 game, and have only seen one in 1.08. Do you think I'll completely break the AI if I limit its combat length to 30 secs? It would at least make the game playable for me before the next patch. How long does an average combat take?

Also, since all else failed, I've finally tried logging into Player2's empire to see what was going on. I remember doing that in SEIV, but to my deepest shame I can't find a way to do it in SEV. Help!
Reply With Quote
  #5  
Old November 9th, 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: Slow AI turns (1.13)

I'd agree that it has to do with combat. In SE4, combat did significantly increase turn processing. There may be other areas to look at, though, such as AI pathing. See other discussion here:

http://www.shrapnelcommunity.com/thr...1910&Forum=f23,f204,f199,f150,f59,f128,f105,f200,f201,f202&Words =ssd&Searchpage=0&Limit=25&Main=459613&Search=true &where=bodysub&Name=2669&daterange=1&newerval=5&ne wertype=w&olderval=&oldertype=&bodyprev=#Post46191 0
__________________
Slick.
Reply With Quote
  #6  
Old November 9th, 2006, 12:57 PM

Raapys Raapys is offline
First Lieutenant
 
Join Date: Jan 2005
Posts: 689
Thanks: 0
Thanked 0 Times in 0 Posts
Raapys is on a distinguished road
Default Re: Slow AI turns (1.13)

No other parameter seems to influence the length of Player2's turn, but "Space Combat Maximum Time (Seconds):=300". Player2's turn takes that very number of seconds, give or take a few.

If you turn that one down to 1 you'll probably see a gigantic increase, since combats will be limited to 1 second. I suppose turning it down to a more reasonable number, say 90 or 120( not that many *real*, i.e. not chasing, combats last more than a minute anyway), would probably cut processing time in half depending on how many seperate combats the AI is doing, while still maintaning an acceptable combat length.
Reply With Quote
  #7  
Old November 9th, 2006, 01:20 PM

neofit neofit is offline
Corporal
 
Join Date: Apr 2002
Location: France
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
neofit is on a distinguished road
Default Re: Slow AI turns (1.13)

Quote:
Raapys said:
No other parameter seems to influence the length of Player2's turn, but "Space Combat Maximum Time (Seconds):=300". Player2's turn takes that very number of seconds, give or take a few.

If you turn that one down to 1 you'll probably see a gigantic increase, since combats will be limited to 1 second. I suppose turning it down to a more reasonable number, say 90 or 120( not that many *real*, i.e. not chasing, combats last more than a minute anyway), would probably cut processing time in half depending on how many seperate combats the AI is doing, while still maintaning an acceptable combat length.
That's what I said: 'Nothing helps, BUT "Space Combat Maximum Time (Seconds)"' . When set to 10 secs, Player2's turn takes 10 secs. I was asking whether 30 secs wouldn't break the AI. Because with an average of 2-3 AIs fighting in the same turn I'll be having them waste 1-1.5 mins of my time staring at a black screen, on every turn. I wouldn't wait more than that.

Edit: Also, how do I log into a computer-controlled empire?
Reply With Quote
Reply

Bookmarks


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:15 AM.


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