View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0010223 | Valley 2 | Suggestion - General Idea | Jan 3, 2013 7:15 pm | Jan 25, 2013 9:02 am | |
Reporter | jruderman | Assigned To | Chris_McElligottPark | ||
Status | closed | Resolution | won't fix | ||
Summary | 0010223: Derive map seed from map name | ||||
Description | The idea is that two players who name their region "The Shambles of Doom" will see the same map. But someone playing in a region of Environ named "Julia's Nook" will get a different map. zaaq suggests limiting this feature to worlds not called "Environ". (Split from 0010136) | ||||
Tags | No tags attached. | ||||
Internal Weight | Feature Suggestion | ||||
related to | 0010136 | closed | Main Campaign |
|
Comment from 10136: Deriving the seed from the map name shouldn't be too difficult, assuming: (1) AVWW uses a common PRNG instance in the world generation logic, and (2) The initialization logic has a deterministic (read: repeatable) implementation. The code would work something like: var worldName = GetWorldNameFromUI(); var rng = worldName == "Environ" ? new System.Random() : new System.Random(worldName.GetHashCode()); // Pass rng to world generation logic |
|
Bear in mind that while initial world generation is handled from one map seed, that would just apply to the world map and nothing else; the actual regions use random seeds that are nondeterministic. Plus, as various updates to the game happen, you lose the deterministic nature of the seeds in general. Honestly I think this would lead to more frustration than anything else, as the determinism you might be looking for really wouldn't be there. Adding a single slice changes the layouts of all rooms that use that slice folder, for instance, because the total number of potential slices, and their indices, are all changed. |
Date Modified | Username | Field | Change |
---|---|---|---|
Jan 3, 2013 7:15 pm | jruderman | New Issue | |
Jan 3, 2013 8:29 pm | tigersfan | Internal Weight | => Feature Suggestion |
Jan 3, 2013 8:29 pm | tigersfan | Status | new => considering |
Jan 3, 2013 10:17 pm | zaaq | Relationship added | related to 0010136 |
Jan 3, 2013 10:18 pm | zaaq | Note Added: 0029504 | |
Jan 25, 2013 9:02 am | Chris_McElligottPark | Note Added: 0030178 | |
Jan 25, 2013 9:02 am | Chris_McElligottPark | Status | considering => closed |
Jan 25, 2013 9:02 am | Chris_McElligottPark | Assigned To | => Chris_McElligottPark |
Jan 25, 2013 9:02 am | Chris_McElligottPark | Resolution | open => won't fix |