Topic: Multiple warhouses
niektory |
Posted at: 2020-10-17, 11:49
If you want to be 100% sure the reed goes to the building you want it to go, you need to close all the other slots (or cut the roads). Higher priority will make more wares go there, but not all wares. Top Quote |
mxb2001 Topic Opener |
Posted at: 2020-10-18, 03:16
Yes the traffic lights are a bit misleading I think. In traffic RED means STOP. Here it means deliver less. Perhaps the graphics can be reworked to help new players. + 0 - Maybe that would be better? Also I have to point out that it is hard to see which of the 3 is selected, that could also be improved with greater contrast. -- |
Nordfriese |
Posted at: 2020-10-18, 11:51
How about replacing the three buttons with a slider? Then we could also have a bit more fine-grained control than just three states, and the UI would be more visible and also a more comfortable click target. Internally the three priorities correspond to the weighting constants 2, 4 and 8, so more steps should be easy to implement. Top Quote |
WorldSavior |
Posted at: 2020-10-18, 12:40
If the slider doesn't have to many steps - why not. For example it could have 5 steps: The three current and then "all wares are distributed first to these buildings" and "put wares only in if they are needed nowhere else" And it should not be a pure slider but clicking should also be still possible. Wanted to save the world, then I got widetracked Top Quote |
kaputtnik |
Posted at: 2020-10-18, 12:47
I don't think it is needed to have more steps in between. The possibility to prefer a ware for a construction side isn't used often, imho. And sometimes this is confusing as well, because sometimes a ware needs to be transported form a far away spot, leaving the construction site waiting a long time for a ware. There might be a warehouse nearby the construction site, which, in the meantime were the ware get transported to the construction site, get filled with the same ware. A player looks into the warehouse and asking himself why the hell the construction don't get the ware from this warehouse? More steps for delivering wares doesn't make the game better, imho. A slider might work to make this more visible though. Fight simulator for Widelands: |
Nordfriese |
Posted at: 2020-10-18, 14:14
I use the priority buttons a lot, not just for constructionsites but also for productionsites. Depends on playing style…
This would be pretty hard to implement actually. But an extra-low and super-high priority could be achieved by just using huge weighting factor differences, e.g. 0, 2, 4, 8, 1024. The code where this weighting is used is in https://github.com/widelands/widelands/blob/master/src/economy/request.cc#L287 Top Quote |
WorldSavior |
Posted at: 2020-10-18, 15:07
Me too
1024 would be good then. If it works. An even higher number instead could also make sense, but there will be probably problems if the number gets too high, I guess Wanted to save the world, then I got widetracked Top Quote |
Nordfriese |
Posted at: 2020-10-18, 17:22
https://github.com/widelands/widelands/issues/4374 Top Quote |
mxb2001 Topic Opener |
Posted at: 2020-10-21, 01:28
How do you do this? -- |
GunChleoc |
Posted at: 2020-10-21, 06:19
By reducing the number wares in its ware input queues. Busy indexing nil values Top Quote |