Dwarf Fortress > DF Suggestions

Running multiple game areas at the same time

(1/3) > >>

Tamren:
With the new version coming up travel will be slightly more "freeform". The problem is if i spend 20 minutes walking on the road, what happens back at my fortress? From what ive read so far, having 2 "instances" of areas running at the same time would make DF explode. So what if we had sort of a "parralel time" system. Here is how it works:Say you built your fortress in a nice volcanic mountain, complete with central heating! Unfortunatly it seems from your explorations that all the silver in your mountain is in unstable and dangerous areas. A couple months later your scouts happen to track an ettin to his lair. A squad of soldiers rolls out and kicks the ettins ass. When they get back they mention that the cave has silver ore for walls.To mount a mining expedition you gather up a small force of miners, a few craftsdwarves such as a carpenter and mason, and several soldiers. To carry all the spare gear and food the convoy is composed of a couple wagons. The convoy sets off and soon dissapears off the side of your fortress map.At this point, time stops at your fortress. Your focus is shifted over to the convoy as they travel to the ettins lair one map "square" at a time. On the way the convoy might be attacked by wild animals or bandits, you can also lead out small parties to gather plants or hunt.Lets say it takes about 10 minutes to travel to the ettins lair. Once you get there you start to set up camp, expanding and cleaning out the ettins cave in preparation for mining. Setting up your outpost takes a futher 10 minutes. At this point it has been 20 minutes. Back in your fortress time is still frozen. Your outpost is up and running and the silver veins are being dug out. Your crew stays for a few days, making the outpost more livable and filling the wagons with ore.So about 20 minutes later the wagons are loaded with as much as they can carry, exploratory tunnels reveal the mine goes on for quite a distance making a possible return trip profitable. Your dwarves store the non-perishable goods and lock the gate.The convoy then turns around and treks back to your fortress. This takes about 20 minutes since the wagons are slower. As soon as they get back to the fortress map square time stops again.At this point there is 60 minutes of "slack time" when you compare the convoy which has just returned and your fortress that has been frozen in time. To make up for it, the fortress starts running again, picking up where it left off and continues normal operation. At this point the convoy has *just* left.An hour later, the convoy re-appears loaded down with ore having traveled to the cave and back.This system would have to be simplified or else it would be tedious with multiple "instances" that need upkeeping. Lets say that instead of counting the minutes, the game keeps track of how many months or days of game-time has gone by. This is rounded down or up.The problem with this is that it effectively doubles the amount of time you have to spend in the game. To get around this you would be able to "develop" intervening map squares. For instance, you could create a proper road between the outpost and your fortress speeding travel.Once the road is complete, you can post guards along the route. The more developed a path is, the safer it is. Instead of having to guard each convoy in person you could sort of "let it slide".So say 2 years later you decide to get some more silver. By this time you are connected to your nearest neighbor, the "human empire of burning cats" (or something). It is a simple matter to add the outpost to the trade road network. Both your soldiers and the human soldiers patrol the road in the interests of traveler safety and free trade. This time your convoy has a safe journey and you would not have to lead it. The computer estimates how long it takes the convoy to get to the outpost and gives you a timer. You continue operating your fortress as normal uninterrupted until the convoy reaches the outpost and time stops again. If you failed to provide enough food for the entire journey, the convoy will stop and you will have to take control and lead hunting parties.Once the convoy arrives, the focus shifts to that area and operation begins again. The mine is filled with monsters that have come up from the deeps or dug around the door, but the living area and storage rooms are all in pristine condition.Mining proceeds as normal. This time instead of driving many heavy wagons your convoy consists of only 2, herding a group of mules beside it. Your carpenter builds wagons and the free mules are assigned to them for the return trip.The convoy fills up and starts heading back for your fortress. Again the computer estimates the time it takes for the journey and you pop back to your fortress and pick up where you left off. After the timer is completed the convoy again appears at your fortress.The effort of building the road was well spent as you no longer have to deal with travel time and all of your game time is spent actively managing one location or another.This system becomes more complicated once we add the possibility of multiple outposts at the same time, but the basic mechanics remain the same.If you send out two expeditions at the same time. The one with the shortest travel time will have to be dealt with first like this:1. Convoy 1 gets to its destination in 10 minutes, convoy 2 takes 15 minutes.2. In this case destination 1, which happens to be a kobold cave is not added to the road network, so once you reach the point where the convoy goes offroad you would have to be at the convoy in person. The journey takes 10 minutes until the road ends, and another 5 minutes trekking through the woods.3. Your arrived soldiers duke it out with the kobolds, combat takes about 20 minutes, after which the convoy turns around and heads back to the road network. This takes 20 minutes as you must deal with the wounded and the wagons are filled with swag.4. Convoy #1 arrives at the nearest road house and begins its journey home. At this point the convoy is replaced by a timer and your focus changes back to the main fortress.Since convoy 1 started its journey on the road network your fortress runs for 10 minutes until it leaves the road and you must guide it. Once the convoy is back on the road network you come back to your fortress.Convoy 2's timer has been ticking down as well and after another 5 minutes at your fortress they reach thier destination which is a human city. You do some trading and whatnot which takes 10 minutes then turn back onto the road and you go back to your fortress. At this point the timers would look like this:
Convoy 1 is still 55 minutes out and has just left the road network.
Convoy 2 is 25 minutes out and has *just* arrived at the human city.After 25 minutes at your fortress the trade convoy gets back filled with goods. Half an hour later your soldiers get back from the kobold cave having gone there, fought and journeyed back in the intervening time.Once both get back all of the "timelines" then match up and the game continues as normal. This seems really damn complicated but it is really not. This system could be expanded in any number of ways.

Toady One:
All right, from what I gather, in your suggestion, you go back in time to a prior state of the world when you return to a location you haven't played for a while.  This is not something I can do, because when you are playing, you might be focused on one area, but the entire world is moving.  All of the armies, the weather, all of the future caravans, etc.  And it would somehow need to incorporate the future actions you have already made into that.  And you could actively work to see that your future actions couldn't happen.  The essential thing is that each of the instances do not occur in a vacuum.  The entire world needs to be considered.There are a few ideas floating around now. One involves zipping off to a frozen time "instance" to resolve a small action, like a battle at a distant location.  The entire world, weather and all, is frozen, and creatures do not age.  Once the battle is over, you can return to your primary location (it would have to restore the saved game and incorporate the changes, but the changes are relatively minor and only involve one site and the units and items from the battle.  Historical events can just reference "The Battle of <whatever>" as the time in question).  There would be a few complications setting this up, but it can be done.The other, which I wasn't really considering until human town mode, would be swapping focus between areas and abstracting all but one.  It all happens in the same timeline though.  If you return to an abstracted area, it would have to update it (age the creatures, etc), but this is already being done to some extent in reclaimed fortresses or any of the sites you visit in adventure mode.

ryak2002:
Yeah this occured to me too.  What if you sent your mining party out then controlled them mining for several months and when you finally go back to your fortress you send out a supply/reinforcement party immediately after the miners.  But you already played the miners and you didn't get a supply party.  Then the universe implodes in a giant black hole of inconsistency.

Zereth:
quote:Originally posted by Toady One:
<STRONG>There are a few ideas floating around now. One involves zipping off to a frozen time "instance" to resolve a small action, like a battle at a distant location.  The entire world, weather and all, is frozen, and creatures do not age.  Once the battle is over, you can return to your primary location (it would have to restore the saved game and incorporate the changes, but the changes are relatively minor and only involve one site and the units and items from the battle.  Historical events can just reference "The Battle of <whatever>" as the time in question).  There would be a few complications setting this up, but it can be done.</STRONG>
This approach seems like it would work reasonably well for now, since dwarves a thousand miles away in your fortress can't really direclty affect your goblin-stabbing force, so it should be possible to run the world until they get there, switch to them and have them stab stuff, then switch back in case you piss off somebody else they run into on the way back.However, if you ever add magic which can be used to directly affect things a long way away, suddenly the dwarves in the fortress _can_ direclty affect what's going on in Stabbytown, Population: Goblins from in the fortress, so you might want to keep future developments such as that in mind. (And I hope you will, eventually, add such things, so we can play Crazy Wizard In A Tower mode.)

Gauteamus:
quote:<STRONG>Originally posted by Toady One:
One [idea] involves zipping off to a frozen time "instance" to resolve a small action, like a battle at a distant location (...)  Historical events can just reference "The Battle of <whatever>" as the time in question).</STRONG>There is strong precedence in the bible for this way of resolving battle. Joshua 10:1-15    :)[ June 05, 2007: Message edited by: Gauteamus ]

Navigation

[0] Message Index

[#] Next page

Go to full version