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

Connexion utilisateur

  • Créer un nouveau compte
  • Demander un nouveau mot de passe

Navigation

  • news
    • archive
    • blogs
    • books
    • forums
    • recent posts
    • groups
  • image galleries
  • projects & downloads
  • search
  • create content
  • agrégateur de nouvelles

Rechercher

Qui est en ligne

Il y a actuellement 1 utilisateur et 164 invités en ligne.

Utilisateurs en ligne

  • Pham Nuwen

Languages

  • English English
  • French French

Parcourir les archives

« November 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
Accueil » news » forums » Space Empires V » Space Empires V General

Removing the Fog of War to speed up turn times?

Soumis par noxxle le Jeu, 2007-12-27 14:57 Space Empires V General

Is this possible? I've been told that the fog of war is largely responsible for se5's long turn times. Setting the 'sight' options in the game setup to allow players to see everything doesnt seem to speed up turn times. Is the Fog of war hard coded? If not, could someone try removing it and let us know the results?

‹ Silly question... Some problems with SEV 1.66 and Unnamed Mod 1.08 ›
» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Options d'affichage des commentaires

Sélectionnez la méthode d'affichage des commentaires que vous préférez, puis cliquez sur "Sauvegarder les paramètres" pour activer vos changements.
Image de Psieye

Re: Removing the Fog of War to speed up turn times?

Soumis par Psieye le Jeu, 2007-12-27 16:41

Wasn't it more the case that the engine tries to check for obstacles as it goes along each hex? There is no 'these hexes are fine, just go without checking each time' omniscient part of the turn processing engine.

---Sig---
Playing Touhou games (Go to this Wiki if interested. No, nobody else is that good/insane as that replay). No rush for SE

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Removing the Fog of War to speed up turn times?

Soumis par Raapys le Jeu, 2007-12-27 19:45

The hex checking process was extremely slow, but it was optimized a long time ago so that playing with no fog of war wont really do much good. Using Simultaneus Movement mode gives you the fastest turn processing possible in the game at this stage. That said, I'm afraid the only way to get turn processing to go really fast is to simply get a very fast CPU. In fact, if you're playing with alot of AI players you probably wont be able to get a 'too fast CPU' for many years to come, unless Aaron does some major changes to the game's processing system.

If you do choose to use Simultaneus mode then HDD speed will also matter some, since it reloads the saved game twice for every turn.

Oh, and you can turn off fog of war yourself by simply selecting 'All players can see all systems' in the sensor options when creating a new game.

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Removing the Fog of War to speed up turn times?

Soumis par Corellon le Ven, 2007-12-28 00:34

There are somethings that can be whittled down in the scripts from what I've seen, that's going to be my next major undertaking.

From what I've seen though there is a fair bit of room where things can be optimized, just how much can be done without rewritting everything from scratch will be the real question.

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Removing the Fog of War to speed up turn times?

Soumis par Raapys le Ven, 2007-12-28 09:38

Unfortunately the script execution isn't what's causing most of the turn processing time. It's the ship movement phase that needs to be optimized( and the combat phase needs more optimizing ), and that can only be done by Aaron.

One possible solution might be to reduce the system movement speed of ships. For an extreme example, having all ships move at only 1 hex per turn would probably cut down the turn processing times immensely.

» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Image de ekolis
Mod Designer

Re: Removing the Fog of War to speed up turn times?

Soumis par ekolis le Ven, 2007-12-28 09:53

Hmm, that is an interesting solution... it would make ships horribly slow, of course, but if you simply reduced the number of hexes in a system and made each hex bigger on the screen (this is possible in Settings.txt! Smiling) you would be able to do that... you'd have the additional advantage of being able to show actual ships on the screen in system view instead of just tiny specks Eye-wink

Of course, this would slow down combat, seeing as combat speed is proportional to system speed - but hey, there's also a "combat speed per move point" in the VehicleSizes.txt Eye-wink

~~~
The power of the ancients is now yours to command. You are truly the Master... of the obvious Sticking out tongue

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Removing the Fog of War to speed up turn times?

Soumis par Raapys le Ven, 2007-12-28 12:24

Yeah, definitely something to keep in mind for modders. Slower ship movement isn't a problem as long as the mod has been designed and balanced with that in mind. Combat speed isn't a problem either since that can be tweaked with the individual ship settings, like you mentioned.

Just to get a notion of what could be gained, I tried this with BM 1.11 in a 6 player game. I set the engines' movement points down to 25( originally 100 ), so the ships moved only 1/4 the normal distance. At turn 50 a no-combats turn processing went from 10 seconds with the normal engine speed to 6 seconds with the modified engine speed( tried several times, results were consistent ). This could bode really well for large games with turn processing times much longer than 10 seconds.

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Removing the Fog of War to speed up turn times?

Soumis par MRing le Ven, 2007-12-28 17:19

I'm not sure about you guys, but I'd be much happier with bug fixes and feature additions then turn time optimization at this point.

Then again, I'm patient and run my Core 2 Duo 2 3.2ghz, so guess I'm biased. Sticking out tongue

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Removing the Fog of War to speed up turn times?

Soumis par noxxle le Ven, 2007-12-28 17:59

The turn times ruin the game for me. I dont understand how you guys can wait 30+ seconds to place a turn.

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Removing the Fog of War to speed up turn times?

Soumis par Raapys le Ven, 2007-12-28 19:15

I'm with noxxle on this one. Waiting for many seconds, sometimes minutes, and being forced to play games with few AI players and small galaxies, is not my idea of fun. 10 seconds or so I could be willing to wait between turns in a late game, but much more than that and I quickly lose interest. Spending more time watching 'Processing Turn' than actually playing the game... *shrug*

» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Image de Ashbery76
Mod Designer

Re: Removing the Fog of War to speed up turn times?

Soumis par Ashbery76 le Ven, 2007-12-28 22:04

Turn time processing should be the main focus now all the major bugs are gone.It is still too bloody slow.

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Removing the Fog of War to speed up turn times?

Soumis par JuJuB le Ven, 2007-12-28 22:50

Please tell me you all are kidding, right?? You complain about 30+ sec wait times (and call it a game breaker)?
Wow, how impatient are we? Well, what should I expect from a society that is skipping grammar for speed.
Seriously lets worry about actual game-breakers.

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Removing the Fog of War to speed up turn times?

Soumis par noxxle le Ven, 2007-12-28 23:14

The turn times in Se5 are much longer than ANY Turn based strategy game I have ever played. If I was play multiplayer games, I might be able to tolerate 30+ seconds for turns. However, in single player I don't micromanage EVERY single turn. Some times I skip 2-3 turns to get to the next tech level. This can amount to waiting over two minutes.

Yea, I might be a little impatient. But I don't have to put up with this in any other turn based game (at least not to this extent).

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Removing the Fog of War to speed up turn times?

Soumis par JuJuB le Ven, 2007-12-28 23:21

And my guess is that the other games are much more simplistic. Try playing Dominions 3. Turns times on that game can get long, and I have yet to hear anybody complain about it on the forums there...
If a game is worth playing, which SE5 is (Dom3 as well), then its worth waiting IMO. The saying 'good things come to those who wait.' is used for S'n'Gs.
And I realize I'm probably ranting... so I'll stop Smiling

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Removing the Fog of War to speed up turn times?

Soumis par Raapys le Sam, 2007-12-29 13:14

Uh, turn processing times in Dominions 3 are not even a fifth as long as SEV's.

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Removing the Fog of War to speed up turn times?

Soumis par Raapys le Sam, 2007-12-29 13:14

-

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Removing the Fog of War to speed up turn times?

Soumis par Raapys le Sam, 2007-12-29 14:02

I'm pretty sure I'd enjoy the game about ten times more if the turn processing times were instantaneous. Granted, that's asking way too much of Aaron, but the point is that the lower they are they more fun the game is, for me and probably everyone who spends most their time playing singleplayer.

That said, I'm not really interested in having the turn processing times decreased from 1 minute to 50 seconds or so; that'd be a too insignificant improvement.

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Removing the Fog of War to speed up turn times?

Soumis par noxxle le Sam, 2007-12-29 15:00

I've played Dom3 as well, and I don't recall the turn times being very long at all. I usually played with only a few other computer AI's. However, even with as little as four computer players in SE5, around the 100th turn, the turn time can be 30+ seconds.

the argument "well, SE5 is just way more complicated, iTS TOTALLY WORTH IT" is just not persuasive for me. I like the complexity of this game, and it is probably the most complex turn based game out there, but that doesn't justify the long turn times in my opinion. The turn times are just much much longer than every other turn based game out there. Perhaps someone on this board knows of a game with longer turn-times, but wouldn't change the fact that the wait times in se5 are still outrageously long. SE4 doesnt suffer from turn times like SE5 does. Fyron has posted on several occasions explaining why se5 takes longer to process turns. Wouldn't you prefer a system like se4? SE4 is nearly as complicated as se5, but the turns are much faster. I just don't feel like that extra 'bit' of complexity in se5 is worth it when I could be playing se4.

Am I the only one that would rather see something done to drastically reduce the turn times than more bug fixes? Lets face it, this game is going to be getting bug fixes to the end of eternity. I'd rather have something done about the turn times. Maybe its because I only play single-player?

» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Image de Psieye

Re: Removing the Fog of War to speed up turn times?

Soumis par Psieye le Sam, 2007-12-29 15:34

This conversation again I see. From my perspective, once the turn processing was patched to work in the background while you Alt-Tabbed to something else solved the issue for me. Doesn't matter if it takes 30 seconds or 20 minutes - there is always something else to multitask it with. Well it's not really "multitasking" in the strict sense - more like "massive contextual jumps". The easiest thing to 'multitask' the waiting with is to actually write a diary/report/story out of what's happened thus far.

But of course, not everyone is comfortable with such 'multitasking'. Hence this conversation arising time and again.

---Sig---
Playing Touhou games (Go to this Wiki if interested. No, nobody else is that good/insane as that replay). No rush for SE

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Removing the Fog of War to speed up turn times?

Soumis par JuJuB le Dim, 2007-12-30 14:07

BTW, SE4 was much more simple compared to SE5, esp. from an AI perspective (scripting vs. setting thresholds is a HUGE difference). You will never have turn times like SE4.
And yes, Dom3 can have very long turn times... try playing with large maps with lots of AIs and you will run into 1+ minute turn times (which mainly happen in late/later game)
Also I didn't say SE5 is worth waiting for because its complex... I said its a good game, thus worth waiting for which is a BIG difference.
Actually I wish I could ALT-TAB out of the game... but it crashes every time, so thats not an option for me, but then again I'm not the one complaining. Sticking out tongue

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Removing the Fog of War to speed up turn times?

Soumis par noxxle le Dim, 2007-12-30 15:01

JuJuB, do you feel that the changes resulting in the long turn times for se5 were worth it? Just curious.

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Removing the Fog of War to speed up turn times?

Soumis par JuJuB le Dim, 2007-12-30 15:29

If by 'changes' do you mean the scripting and general expandability... then yes, I do think that they are worth it. Simply for the fact that not only does it make the game better, but it opens the game up to be used for other people that want a 4x game, but maybe not the one that came in the box. Now, am I biased? Oh yeah. I have always found that any game that allows the user to change it, especially fundamentally, is worth a LOT of extra points. However, any time that you add that kind of flexibility something is going to falter. In this case, whats lacking is the base game is lack-luster (by that I mean that the AI isn't developed and just a lack of polish to the game all-around). Am I willing to put up with these short falls? Because of all the other offerings, yes.
Hopefully that all made sense.

Short answer: yes. Smiling

» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Mod Designer

Re: Removing the Fog of War to speed up turn times?

Soumis par Fyron le Dim, 2007-12-30 17:58

JuJuB wrote:
BTW, SE4 was much more simple compared to SE5, esp. from an AI perspective (scripting vs. setting thresholds is a HUGE difference). You will never have turn times like SE4.
That only matters as far as modding goes. The AI is doing the same things in SE5 as it was in SE4; the routines are just user-editable now, instead of being hard-coded into the exe with some data entry points exposed. Further, the script processing phase rarely goes beyond a few seconds anyways. The big time sinks are ship movement and combat.

Quote:
Actually I wish I could ALT-TAB out of the game... but it crashes every time, so thats not an option for me, but then again I'm not the one complaining. Sticking out tongue
If you play in windowed mode, you won't have such problems. You can even increase the resolution now, in Data\Hud_Settings.txt.


SpaceEmpires.net | Space Empires Wiki

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Removing the Fog of War to speed up turn times?

Soumis par JuJuB le Dim, 2007-12-30 18:45

Well, I guess I stand corrected... somewhat. I still believe that the changes are for the better. Smiling
I suppose the change to hex based is whole cause of increased movement processing... since the computer now has to process 50% more options for movement. Smiling
So is it the real-time combat that has caused the main increase in turn process time?

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Removing the Fog of War to speed up turn times?

Soumis par Raapys le Dim, 2007-12-30 18:50

SEIV wasn't really that much faster, from what I remember. Once you got into late game you'd quickly get very long turn processing times in that game as well. Combat was mainly where SEIV was a fair bit faster, because of the turn-based solution it used.

Anyway, as I've said before, I might have been able to accept long processing times if they were necessary; if it was the only way to have the AI play well, or offer this degree of moddability in the game. The problem is, at the current time the long turn processing appear to be mostly a problem of unoptimized game code.

The Witcher is a game which suffered similar problems( from a player POV ). Loading times, going from inside a house to the outside, or from an outside area to another, would take forever, discouraging alot of players from playing the game. Now, one patch later, the loading times are suddenly less than a third of the original ones and the game has become much more playable. Yet none of the gameplay was lost in the process. This goes a long way in showing how big the difference between a optmized and a unoptimized application can be.

So now that the worst bugs have been ironed out, I'd love for Aaron to start optimizing all he can, and then go ahead and use the same game engine for the next Space Empires so that he wont have to go through it all again.

And he should really hire someone to assist him. Another designer/programmer/tester, even part-time, would probably do wonders for the game. One man doing everything( except art/music/sounds ) in a project this complex is way too ambitious, and it shows.

» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Image de Psieye

Re: Removing the Fog of War to speed up turn times?

Soumis par Psieye le Dim, 2007-12-30 19:20

Ahaha, Aaron has made the comment "I find I can't add much to the game as I'm busy constantly re-writing it to fit with the latest programming tools/languages available every several years" or somewhere along those lines. Yeah, expanding beyond a 1-man project would be the solution but then you have management problems to learn about. All down to him in the end.

---Sig---
Playing Touhou games (Go to this Wiki if interested. No, nobody else is that good/insane as that replay). No rush for SE

» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Mod Designer

Re: Removing the Fog of War to speed up turn times?

Soumis par Fyron le Dim, 2007-12-30 23:50

There won't ever be other programmers for SE5; it was apparently way too late in the process to bring another programmer up to speed a year ago. SE6 should be getting a small team funded by Strategy First, though.

Raapys:
There is only so much you can do to speed up the resolution of a real time combat engine.. Aaron doesn't want to remove all the model rendering stuff that goes on in strategic combat, since they are necessary to determine the effect of bolts and torpedos (as well as everything else based on actual model collisions). Doing that would also result in weird visuals in the replay. For example, there has to be somewhere to place each beam as you fire it, so the replay doesn't have the beam clip through the firing ship model. It would be possible to forgo accurate visual replays and such, and resolve combat without all the real time clock rendering data at the speed of math, but Aaron does not want to do it.

Regarding movement routines, Aaron has made optimizations to them many times over the last 2 years. Maybe there is more he can do, maybe not.


SpaceEmpires.net | Space Empires Wiki

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: Removing the Fog of War to speed up turn times?

Soumis par Raapys le Lun, 2007-12-31 09:42

Hmm, if such is the case, then perhaps implementing/finishing multi-core support might be the best option? Given that CPU cores probably aren't going to become much faster in the next few years, it'd help greatly to at least be able to take advantage of 2+ cores.

Then again, I can see how adding multi-threading to a finished product would be rather time consuming.

» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Image de ekolis
Mod Designer

Re: Removing the Fog of War to speed up turn times?

Soumis par ekolis le Lun, 2007-12-31 12:37

Fyron wrote:
There won't ever be other programmers for SE5; it was apparently way too late in the process to bring another programmer up to speed a year ago. SE6 should be getting a small team funded by Strategy First, though.

Really? Sweet! Laughing out loud I wonder where you heard that... Sticking out tongue

Then again, that might make SE6 suffer the "MOO3 Syndrome", where handing the series off to new developers will ruin the whole thing... hopefully Aaron will be able to keep them focused; Steve Barcia was sadly not included in MOO3, but if Aaron stays in charge of SE6... Eye-wink

~~~
The power of the ancients is now yours to command. You are truly the Master... of the obvious Sticking out tongue

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Options d'affichage des commentaires

Sélectionnez la méthode d'affichage des commentaires que vous préférez, puis cliquez sur "Sauvegarder les paramètres" pour activer vos changements.

Now on STEAM

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

Contenu populaire

Aujourd'hui :

  • Research By Percentage SUCKS
  • Space Dock suggestion
  • Star Trek Trailers.....
  • Balance Mod v1.15 Available!
  • drone combat?!

Depuis toujours :

  • 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

Dernier accès :

  • Space Dock suggestion
  • Couple of Bug Reports
  • Traitor minefield????
  • Why play SEIV instead of SEV?
  • SE5_20060929-52.jpg
(c) Strategy First, Inc. All rights reserved.