.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 2: The Ascension Wars (http://forum.shrapnelgames.com/forumdisplay.php?f=55)
-   -   Speeding up battles (http://forum.shrapnelgames.com/showthread.php?t=18099)

PhilD March 3rd, 2004 09:10 PM

Re: Speeding up battles
 
Quote:

Originally posted by Arryn:
</font><blockquote><font size="1" face="sans-serif, arial, verdana">quote:</font><hr /><font size="2" face="sans-serif, arial, verdana">Originally posted by RadiantFleet:
I just had pretty much the perfect battle with Ermor. Archangel+defending angel unit+90 temple guards+ark killed 2249 units + 34 leaders with no casualties.

<font size="2" face="sans-serif, arial, verdana">Cool!
Quote:

I'd be happy with a slider bar that would let me jump around in the battle (like an mpeg).
<font size="2" face="sans-serif, arial, verdana">Me too. It's annoying to replay a battle over and over to see everything that happened. Many people gripe about the replays (due to arrows) taking too long. I'd like an option to be able to slow them down. But, as you suggest, the ideal solution would be to treat the whole thing as a movie, which lets you move forward and back as needed. But I don't think the movie idea would work with the ability to zoom in and out and change the camera angle up and down.
</font><hr /></blockquote><font size="2" face="sans-serif, arial, verdana">Well, how much more space would the turn files take (they're already rather large) if, instead of just the battle's initial placement, they included the situation at the start of each turn of each battle? that should let the battle replay "jump" to any single turn of the battle with no additional calculations, which would help a lot with the battle replays (right now, if you want to watch something in a battle and miss it, you have to restart the replay from the beginning!)...

Battles, especially large battles, tend to Last what, 10-20 turns? If the result is to make the turn files 10 times larger, I guess that's not feasible (but I don't know how much of the file is battle placement... I just had a look at my "UlmWorld" game files - World map, about turn 90), and the .trn files are about 360KB, while the .2h files are about 160KB.

Still, there might be another solution, like doing the "battle effect" computations at the start of the replay, and storing the exact state of the battle at the start of each round. Obviously, the complete movement of arrows is just graphical display, and does not need to be stored - it can be recomputed on the fly. It might add a few seconds of precomputation for each battle, but then the battle could be replayed at leisure.

And, adding an option to turn off missile/spell volley would be nice. I like the Spirit Helmet, but since each and every one of them fires in its own time slot, it just makes battles unbearably sllooooooow...


I'm not a (real) programmer, but I really believe an at least partial fix to the battle replay thing should be doable with reasonable effort. I mean, the battle results have already been computed, with no display, and they're being re-computed, with display. There shouldn't be that much of a difference...

Arryn March 3rd, 2004 09:15 PM

Re: Speeding up battles
 
Phil,

I suggested a *separate* file, not one of the 3 current ones. And it should be an option that could be disabled (for those that have small hard drives). Personally, space isn't an issue. Hard disks today are huge, and compared to most games I have, Dom 2 is tiny, and so are the Dom 2 saves. Even 80-100 saved Dom turns don't eat up much space. Not compared to saves for games like CoD, KOTOR, DXIW, etc. http://forum.shrapnelgames.com/images/icons/icon12.gif

Pocus March 3rd, 2004 09:27 PM

Re: Speeding up battles
 
Arryn, dont forget people with a modem (not me). Perhaps having a turn file of one meg would bother them.
But the position being stored at very start of a round seems to be a good one.

Arryn March 3rd, 2004 09:50 PM

Re: Speeding up battles
 
Quote:

Originally posted by Pocus:
Arryn, dont forget people with a modem (not me).
<font size="2" face="sans-serif, arial, verdana">I'm not forgetting at all. http://forum.shrapnelgames.com/images/icons/icon12.gif

I have already said, twice, that I suggest SEPARATE movie files, that are not a part of the MP turn system. I don't know how much clearer I can say it. http://forum.shrapnelgames.com/images/icons/icon9.gif

Endoperez March 3rd, 2004 10:07 PM

Re: Speeding up battles
 
What do you mean by separate? Done from existing files by the game or by manually using that program Gandalf has found? Or a script/ macro/ whatever that uses Gandalf's program automatically with every battle?

Just interested.

Arryn March 3rd, 2004 10:25 PM

Re: Speeding up battles
 
Quote:

Originally posted by Endoperez:
What do you mean by separate? Done from existing files by the game or by manually using that program Gandalf has found? Or a script/ macro/ whatever that uses Gandalf's program automatically with every battle?
<font size="2" face="sans-serif, arial, verdana">My original proposal, before Gandalf found a util, is for Dom 2 to create an entirely new type of file, completely unrelated to the 3 turn files, that is only created if:

1. the option for "turn movies" is enabled,
2. a particular battle report is viewed.

For a given turn, assuming you have the feature turned on, and you viewed 5 battles, you'd get 5 separate movie files put somewhere in the Dom directory structure. Players can save these files if they wish, they same way we do now with turn files (by zip, or by DomSaver). When you "host", the game would delete these "temporary" movie files, just so that they don't clutter up your drive. The movie files are strictly local, and not involved in game play (SP or MP) at all. It's just something for the player to look at.

EDIT: To clarify, the movie files are generated based on the data that is already being stored in the game's turn file. It saves viewing time by not having the computer regenerate each battle each time it's to be viewed. The game only does it the first time. After that, you can use the movie file to review the battle and do the normal things you do with movies (fast-forward, rewind, etc.)

If the devs don't want to add this feature, for whatever reason, then I hope that we fans can do something. I'm anxiously waiting to hear what Gandalf will have to say tomorrow ...

[ March 03, 2004, 20:30: Message edited by: Arryn ]

Karacan March 3rd, 2004 11:05 PM

Re: Speeding up battles
 
There are a couple of shareware solutions to grabbing a video from the current screen (somewhat like capturing a screenshot). My personal favourite, Fraps, requires little enough overall computer power that it's running just fine alongside everything I launch at it. That's a hassle for normal battle reviews, though... start the game, open the battlereport, hit the key to start recording, hit the key to stop recording, minimize Dominions, get out your movie-viewer, launch the captured file, and then jump to the position you want to see again... hrmmm... Can we have adjustable battle-replay-speed like in DomI? http://forum.shrapnelgames.com/images/icons/icon7.gif http://forum.shrapnelgames.com/images/icons/icon7.gif

PhilD March 3rd, 2004 11:26 PM

Re: Speeding up battles
 
Quote:

Originally posted by Karacan:
There are a couple of shareware solutions to grabbing a video from the current screen (somewhat like capturing a screenshot). My personal favourite, Fraps, requires little enough overall computer power that it's running just fine alongside everything I launch at it. That's a hassle for normal battle reviews, though... start the game, open the battlereport, hit the key to start recording, hit the key to stop recording, minimize Dominions, get out your movie-viewer, launch the captured file, and then jump to the position you want to see again... hrmmm... Can we have adjustable battle-replay-speed like in DomI? http://forum.shrapnelgames.com/images/icons/icon7.gif http://forum.shrapnelgames.com/images/icons/icon7.gif
<font size="2" face="sans-serif, arial, verdana">Something that isn't part of the game engine would be mostly useless, IMHO. If you decide to watch a battle replay closely, you'll want to click on units to see what their current state is; you won't be able to do this if you simply capture the movie.

Davidious March 3rd, 2004 11:33 PM

Re: Speeding up battles
 
Quote:

Originally posted by PhilD:
Something that isn't part of the game engine would be mostly useless, IMHO. If you decide to watch a battle replay closely, you'll want to click on units to see what their current state is; you won't be able to do this if you simply capture the movie.
<font size="2" face="sans-serif, arial, verdana">This is correct. besides, I don't actually want to 'watch' the battle replays (although it's fun).

What I want to do is READ the battle replay. So something that generated a text file with all the 'to-hit' rolls, damge, current state of the unit, etc. Basicaly a blow-by-blow text account of the battle would be awesome. http://forum.shrapnelgames.com/images/icons/icon10.gif

Gandalf Parker March 4th, 2004 12:44 AM

Re: Speeding up battles
 
Quote:

Originally posted by Karacan:
There are a couple of shareware solutions to grabbing a video from the current screen (somewhat like capturing a screenshot). My personal favourite, Fraps, requires little enough overall computer power that it's running just fine alongside everything I launch at it. That's a hassle for normal battle reviews, though... start the game, open the battlereport, hit the key to start recording, hit the key to stop recording, minimize Dominions, get out your movie-viewer, launch the captured file, and then jump to the position you want to see again... hrmmm... Can we have adjustable battle-replay-speed like in DomI? http://forum.shrapnelgames.com/images/icons/icon7.gif http://forum.shrapnelgames.com/images/icons/icon7.gif
<font size="2" face="sans-serif, arial, verdana">OK I have to agree with everything here. For one thing FRAPS does seem to be the winner so far.
http://www.fraps.com/download.htm
But I will keep looking. For another thing a recording isnt going to be very good. You lose ability to zoom in, check units, all the nice in-game options. Some sort of "movie viewer" option would be needed if Dominions made us a movie. If all its going to do is record the video then FRAPS will do it fine.


All times are GMT -4. The time now is 06:43 AM.

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