|
|
|
 |

January 1st, 2007, 05:41 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: A simple improvement
It would add quite a layer to the turn processing. Every province would have to be checked (1500 provinces) and then processed if need be.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|

January 1st, 2007, 06:03 PM
|
Colonel
|
|
Join Date: Apr 2002
Location: Near Paris, France
Posts: 1,566
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: A simple improvement
Quote:
Gandalf Parker said:
It would add quite a layer to the turn processing. Every province would have to be checked (1500 provinces) and then processed if need be.
|
Why that ? Only provinces producing something plus having "route" orders would have to be processed. Only with Ermor LA you'll have *many*. And only you play 1500+ provinces maps 
But I was not talking (like the original poster) of auto-moving the troops, just having "route to" orders working as long as commanders exist to ferry the troops.
|

January 1st, 2007, 06:40 PM
|
First Lieutenant
|
|
Join Date: Nov 2006
Posts: 739
Thanks: 1
Thanked 8 Times in 8 Posts
|
|
Re: A simple improvement
Quote:
Gandalf Parker said:
It would add quite a layer to the turn processing. Every province would have to be checked (1500 provinces) and then processed if need be.
|
It would add almost nothing to the turn processing. (Note: I've been making my living programming for half my life now.)
1) Checking even 1500 provinces would be a triviality on modern processors.
2) There's no reason to check them in the first place. The check would be made when new units are created or when units executed new-unit orders.
It does, however, affect the storage format. You need to add a flag to every province saying where to move to and you need to add a flag to units saying that they are executing new-unit orders.
|

January 1st, 2007, 07:38 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: A simple improvement
The game doesnt do things that way. It doesnt keep track of things. You can see in the logs that it checks each province for many things that would fall into the category of "if" checks. And those checks do take measureable time. Adding another would be felt.
Im not saying its an idea killer. Just that it would be part of the "con" side of it.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|

January 1st, 2007, 09:27 PM
|
 |
First Lieutenant
|
|
Join Date: Sep 2003
Location: Bordeaux, France
Posts: 794
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: A simple improvement
Quote:
Gandalf Parker said:
The game doesnt do things that way. It doesnt keep track of things. You can see in the logs that it checks each province for many things that would fall into the category of "if" checks. And those checks do take measureable time. Adding another would be felt.
|
No way. If the game programming is done half correctly, this would take no more time than processing an equal number of orders - exactly as much as it would take if each nation's player had issued the order, province by province, except they wouldn't have to bother doing it.
Giving more options, ways for players to automate their order-giving (like letting them issue multiple turn movement orders, and so on), would not make turn processing significantly more complex. It's more work to code in, sure, but that's another matter.
|

January 1st, 2007, 09:33 PM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: A simple improvement
Like I said, it sounds like a good idea.
But looking at the logs you can see that it processes thru all of the provinces multiple times for many different things. I suspect its the result of adding such routines to a game that wasnt originally meant to take things like that into account.
Its still a good idea but dont be surprised if it processes thru all the provinces to do it.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|

January 2nd, 2007, 12:01 AM
|
 |
Major General
|
|
Join Date: Nov 2000
Location: 500km from Ulm
Posts: 2,279
Thanks: 9
Thanked 18 Times in 12 Posts
|
|
Re: A simple improvement
It's late, I'm tired and have little notion to go into details - with the current game engine, there's no way to tell troops to "go somewhere" on their own.
Routing is triggered by battles (and during battles - check the turn sequence order) and is not available during unit freespawn or building.
Furthermore, routing is random - routing units spread into neighbouring provinces. If that was easily changable, we might already have "fire and retreat" orders for light cav which have it move back into the starting province without scattering.
We don't have waypoints for a similar cause - no way to store the destination and steps in between over several turns.
Keep in mind - the game engine is basically the one from DomPPP - and when they started to make that game, no-one thought about complex movement army orders and 1500 provinces ...
And if someone wonders if this will change in Dom4, or if there will be a Dom4 ... the devs would have to throw away nearly all the code done in the last years and start from scratch ... therefore chances are very slim.
__________________
As for AI the most effective work around to this problem so far is to simply use an American instead, they tend to put up a bit more of a fight than your average Artificial Idiot.
... James McGuigan on rec.games.computer.stars somewhen back in 1998 ...
|

January 2nd, 2007, 12:56 AM
|
 |
Shrapnel Fanatic
|
|
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
|
|
Re: A simple improvement
Quote:
t's late, I'm tired and have little notion to go into details
|
But you do it very well.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|