Unlock Any Milestone

If you liked this item, please rate it up on Steam Workshop page.

Author: Ilion

Last revision: 26 Dec, 2017 at 16:15 UTC

File size: 59.39 KB

On Steam Workshop

Description:

EDIT 2018/01/02 —
While I am gratified that most of the people who have visited this page have subscribed to the mod, I’d like to direct your attention to Zenya’s "Extended Game Options" mod ( https://steamcommunity.com/sharedfiles/filedetails/?id=1237383751 ), which brings together into *one* mod the functionality of several small-but-critical mods, including as of today, this mod. Thus, by using Zenya’s "Extended Game Options" mod, you can eliminate a half-dozen small mods that you’re probably already using.

According to my testing, the milestone unlock portion of Zenya’s "Extended Game Options" mod is applied when *loading* a city (whether a new game or an existing city), whereas my mod’s milestone unlock can be applied in-game without realoading. That difference doesn’t seem to me important enough to prefer my mod over his. Plus, his code is "tighter" (i.e. it’s better than mine).

EDIT 2019/08/12 —
I have seen reports that the "Extended Game Options" mod "is very taxing on your system and will cause your game to have lower fps, but also slowing down the simulation speed. This is noticeable from the very beginning of a new map, but gradually gets worse as your city grows."

I haven’t played the game in over a year, but thinking back, I had begun to notice that myself.

Unlock Any Milestone —

This mod allows the player to start a game at any Population Milestone by selecting from a drop-down list (*). As an added bonus, it allows "upgrading" (**) in-game through the Options menu. Thus, milestones may also be unlocked for existing cities.

Also, note that at a minimum the mod always unlocks Basic Roads.

NOTE: This mod merely extends built-in functionality. As such, it should be compatible with all DLC now and in the future. Due to the nature of event-based programming, (some of) the underlying logic, and thus this extended logic, executes every few milliseconds. So, I suggest going back to the main menu and disabling this mod after you are satisfied that you’ve activated the Milestone you want for that city. Mind you, it won’t break anything if you forget to do so.

(*) The built-in milestone values are taken from the values returned by the game in the variable [originalTarget]:
– 550 "Little Hamlet"
– 1100 "Worthy Village"
– 1700 "Tiny Town"
– 3000 "Boom Town"
– 6000 "Busy Town"
– 9000 "Big Town"
– 12500 "Small City"
– 20000 "Big City"
– 25000 "Grand City"
– 40000 "Capital City"
– 55000 "Colossal City"
– 80000 "Metropolis"
– 100000 "Megalopolis"

Maps may have Population Milestones differing from the above list (the map’s effective milestone values are returned by the game in the variable [scaledTarget]). As the game has separate variables for the default milestones and the map’s effective milestones, the above list should work for any map. I’ve successfully used the mod on a shipped map and a workshop custom map, both of which had milestones different from the above default list.

(**) The city’s unlocked milestones can also be "downgraded" through the Options menu, but doing so doesn’t actually undo the effects of previously unlocked milestones.

This mod is based on and extends the mods:
– "EarlyUnlock" ( https://steamcommunity.com/sharedfiles/filedetails/?id=410614868 )
– "All basic unlocks at the start" ( https://steamcommunity.com/sharedfiles/filedetails/?id=407162294 )