[to_xp]Gekko;9337677 said:
so, what's been going on lately?
I've been hiding, patiently awaiting Civ5, modding the Alien Swarm code for some friends, enjoying some fresh air while it's still summer here (and since I know I'll be locked away inside for a while once Civ5 is released).
I tried changing the line to:
value += shuffledPlots[m].bonusValue * 5
And it seems to be giving much better results.
Originally I had the bonus value adjusted per tile based on the era when the bonus became available and its proximity to other bonuses. I avoided using civ specific valuse for individual bonuses to keep the map script flexible enough to work with newly added civs without requiring a re-write. Later, I removed most of that code and meant to replace it with a static modifier based on the map option for cultural starts.
Your change to x5 sounds a bit extreme though. That means a single tile that would otherwise be worthless (0 value) or unwanted (< 0 value) could be preferred over as many as 5 otherwise better tiles. Take snow or tundra for example, an area with a cluster of 4 fur would have a value of 20, add in some nearby crabs or fish and you can push that up to 30+ easily. It is possible, even if not common, for that to end up as the highest valued plot for a civ that would do substantially better somewhere else. Since there is nothing in place to see what that bonus is, it may be mythril which offers no early game bonus at all, or Mana which is actually detrimental to have within your city radius. Although this is probably a non issue if you prefer balanced starts over flavored starts.
Even with the low value of 1 it serves as a simple +1 per bonus. So yes, a flat tile with a bonus is potentially worth less than a hill with no bonus for a civ that prefers hills however a hill with a bonus is worth far more than a flatland tile without one in the same example. But, it isn't quite that simple, the value of each plot in that shuffled list is actually a collection of that plot and the 24 surrounding plots so the exact location of the bonus is unimportant.
I'm not suggesting that you not do that if you're happy with the results, just pointing out the downsides to those of us who prefer more flavorful starts over purely balanced starts.
I still have an unreleased map script based on this that I should release before I forget so if I'm going to do that I should also go in and adjust the bonus value based on the flavor map option like I intended to do so long ago
