Cities: Skylines

Cities: Skylines

Custom Milestones
212 Comments
pyrotechNick 27 Jan @ 9:34pm 
Funny question, I was wondering about converting milestones from using population requirements to making the requirements chronologically-based where they unlock during the year they were invented. Then I would create a custom start date of like the year 1900 and let new inventions unlock naturally over time. For example in 1900 you would only have the Coal Power plant but by 1951 you would unlock the Nuclear Plant. Freeways would unlock around 1950, Solar and Wind by would unlock around 1990, stuff like that. What do you think?
jpdfive 16 Nov, 2024 @ 5:42pm 
Didnt work and totally crashed my game
Legion, Duke of Rockford 19 Aug, 2023 @ 5:00pm 
Just a reminder... source code is already included. It should be at the location something like C:\Program Files (x86)\Steam\steamapps\workshop\content\255710\534440333 whereas 255710 is app ID for this game and 534440333 is the ID for this mod.
DRD 21 Jul, 2023 @ 9:09pm 
same problem - no XML file in Cities_Skylines directory
ShiaLaBunion5 6 Apr, 2023 @ 8:27am 
Probably needs an update sadly. My town will have to live with the terrible ugly temp highways lol
KrysztaU 23 Mar, 2023 @ 2:13pm 
Unfortunately same problem as @WeatherFox and @foca - no XML file in Cities_Skylines directory :steamsad:
Andocromn 7 Nov, 2022 @ 3:51pm 
How can I adjust the unlock of pedestrian areas, self-sufficient buildings, and organic and local produce? Source code available? TY
roberto tomás 29 Jan, 2022 @ 11:42am 
this is basically working for me but I notice that my milestones for things like districts dont trigger unlock until I reach the next milestone when loading a save game. It would be awesome if you could force a manual revisitation of the milestones at load
roberto tomás 26 Jan, 2022 @ 10:05am 
@lesley find move these in to the first milestone:
<Feature name="Districts" />
<InfoView name="Districts" />
roberto tomás 26 Jan, 2022 @ 10:01am 
did anyone else find that the unlocks work fine on first run, but on loading a save game they do not unlock?
Grenzlos 19 Jan, 2022 @ 9:31pm 
Can you make a mod that allows us to customize power plants' values? I like your mod about it, but I'll like to set my own values for them
Lesley 28 Jul, 2021 @ 8:42am 
How do I edit the file so that districts are unlocked from the start of the game please?
foca 13 Jun, 2021 @ 5:34pm 
Same as @WeatherFox. Installing this mod (with the train/metro stations and bridges and piers DLCs) does not create the XML file. Not sure if related to those content packs or something else. Is there a log for this mod where we can see errors? Is the code somewhere that can be accessed (GitHub, GitLab, etc) to help out with incompatibilities?
pokergigolo 8 Jun, 2021 @ 8:17am 
I'm sure I'm just missing something, but is it possible to change when Industry Areas (specifically those added in Industries DLC, not the vanilla farming, etc.) and Park Areas (added in Park Life) are available? After scouring the generated XML document I cannot find anything that references these features.
tinanova 5 Jun, 2021 @ 4:01pm 
@Uh-Oh Spaghetti-Ohs Hey thanks for the heads up I was just about to do the same thing
WeatherFox 4 Jun, 2021 @ 5:29am 
Good morning, I downloaded this last night and started a new map, but I do not see the config file anywhere in my Cities_Skylines directory. Reading previous comments, I see that updates and DLC have been known to break this mod. Would the latest releases of Train Stations and Bridges have done that, or am I missing something on my end?

I am using 81 tiles, but I don't think that conflicts, as noted in the mod description

Thanks in advance
village idiot 28 May, 2021 @ 12:04pm 
Ignore my previous comment. If you're using this mod to give you more tiles throughout progression when using 25/81 tiles, this won't work. Tried digging around the code for a solution and UnlockController only recognizes 9 areas, treating it as if it has 25 will just result in an index-out-of-bounds. It's a limitation of how the game handles milestones, not the mod's fault. If you give yourself more than one in the earlier milestones you will get them all handed to you before reaching Megalopolis. Your only other option is to use 81 tiles mod and unlock all for free, or just wait til you hit the last milestone.
village idiot 28 May, 2021 @ 4:03am 
using the 25 tiles mod and all 25 tiles are unlocked at "Capital City" before I even changed the file. The file only says to unlock one at that milestone too when I checked so no idea why it's doing it.
Midiray 30 Apr, 2021 @ 8:58pm 
Would it be possible to add an entirely new milestone to the game, and rename existing ones?
Midiray 30 Apr, 2021 @ 8:52pm 
I was just about to ask that sadly, thanks for saying that! :D
Andy  [author] 4 Apr, 2021 @ 10:50pm 
Unfortunately not. I found the variable in the games that should control that, but changing it did nothing. It must be controlled by a different system than what I could find.
Revolver Ocelot 4 Apr, 2021 @ 6:44pm 
Is it possible to change the population requirements for each milestone?

I would like to increase the population reqs for the first 5 or 6 milestones but keep the last ones as the same.
Andy  [author] 25 Mar, 2021 @ 6:57am 
@Legion: That is most likely an empty entry in the policy array that I forgot to skip over. It won't have any impact since the label in the XML needs to name match to change anything in the game.
97cweb 24 Mar, 2021 @ 5:05pm 
Thank you for updating this! I might be able to get back into Cities Skylines now!
Legion, Duke of Rockford 24 Mar, 2021 @ 2:59pm 
Just noticed something in completely new DM-CustomMilestones.xml file generated by the mod:

Under "BusyTown" milestone, there is <Policy name="" />. "Big Town" milestone also have that as well. Not sure if that was deliberate or an oversight. Could this potentially cause an issue for the game?
Legion, Duke of Rockford 24 Mar, 2021 @ 1:23pm 
Yay! Thanks for the update, Andy! Just in time for a new map I'm planning to start a new game on lol

By the way, you may want to add the information about source code being included with the mod in the description above. Also sorry to hear mod being in development hell. That is... not good.
Andy  [author] 24 Mar, 2021 @ 5:30am 
Hi all! Long time no news. So this mod got stuck in development hell for a long time with each new DLC that came out. I tried keeping a local version roughly up to date, but every DLC added just seemed to break more and leave me fumbling around the data structures to figure it out.

While this update is not complete, it does update the binary to run on the latest version (hopefully without errors) and most things except park/industry/academic zone stuff should work in this version. It's completely hit and miss though, I could never figure out how to unlock those tags and got sick of digging in unlabelled binary files for answers.

As Legion notes below, I do include the source code in with the binary with every update. So if someone wants to try and extend and update this further, go right ahead I have no claim over wanting to control this or anything.

If any more DLC are released, I'll just update the binary to make sure it's still running, but otherwise only add in the easy stuff.
Legion, Duke of Rockford 27 Feb, 2021 @ 2:47pm 
*slaps forehead* I just remembered... the source code is already included in the content downloaded from this page. You should be able to find this in the following path, assuming it is installed on C drive:

C:\Program Files (x86)\Steam\steamapps\workshop\content\255710\534440333\Source
Legion, Duke of Rockford 14 Feb, 2021 @ 5:13pm 
@Penrose, I would advise you do so, so that source code can be shared with everyone to keep up-to-date and functional what is very much a must-have mod for me personally. There are some game design decisions on milestones that I disagree with.

Quite frankly, I never really get why farms and basic raw materials production such as mining and forestry (not sure about oil but real-world oil production aren't always located in urban area anyway) are locked from the beginning.
Njall The Viking 15 Jan, 2021 @ 6:44pm 
Yeah an updated version of this would be real cool. I've been trying to find a mod to give me farming at the start of games instead of just having to use the default industry. I think this is basically what I would need.
Oddlife 9 Jan, 2021 @ 5:13am 
i would love to be able to unlock districts and highways from the start
97cweb 1 Jan, 2021 @ 5:03pm 
Currently no, although Penrose below is considering reviving it. I hope they do, as I have not played since this mod died
OneCasualBoi 1 Jan, 2021 @ 11:54am 
is there a replacement for this? All I want are highways, landscaping and districts from the get-go lol. You know, things that any city planner needs
97cweb 20 Dec, 2020 @ 12:23pm 
I would greatly appreciate it. I have not been really able to play this game since this mod died. It makes the game more challenging at first, and fixes some of the weird unlocks that exist
Penrose 20 Dec, 2020 @ 8:00am 
if there is a demand for this mod. i may can take this over. i'm a professional in software development. thus it might take some time to decomp and read into it, but i might find some time to do this.
97cweb 9 Oct, 2020 @ 2:21pm 
If this mod worked, you could us it, but since this broke almost a year ago, I am not sure
Lesley 9 Oct, 2020 @ 3:34am 
Can someone please tell me how to add districts to the start of the game?
97cweb 11 Aug, 2020 @ 3:27pm 
@vaporfeces @Legion, Duke of Rockford
Any progress on the DLL revival? I have not had enough reason to play since this mod broke
97cweb 5 Jul, 2020 @ 10:54am 
Any progress made to fixing this @vaporfeces?
Legion, Duke of Rockford 3 May, 2020 @ 1:30pm 
In fact, I am about to write a post in Paradox forum suggesting a built-in feature allowing us to customize the unlocks with corresponding milestones as embodied in this mod. Stay tuned!
Legion, Duke of Rockford 3 May, 2020 @ 1:29pm 
@vaporfeces, I would second the sentiment as expressed by @CJJackR1990 regarding your proposal about creating a revival mod based off this mod if the author have not responded within a reasonable time frame.

However, I was kind of surprised that you managed to decompile the DLL. I am not a programmer but I have read a bit about programming and I thought decompiling was difficult to do, IIRC. But I suppose it is not impossible. That is some interesting find you made from looking into that code, though! Good detective work there. :)

Finally, I don't want to seem disrespectful of the original author for supporting your idea but, honestly, this mod is a must-have as not all of us will agree with the Colossal Order arrangement of unlocks with corresponding milestones. For example, I set it so that district are unlocked from the beginning of game; this way, I can have agriculture right from the start.
CJJackR1990 15 Apr, 2020 @ 10:45am 
With all respect to the original author, but I for one would very much appreciate that.
vaporfeces 12 Apr, 2020 @ 8:27am 
I agree with sentiments mentioned here. I really like this mod and want to be able to use it. I have decompiled the dll shipped with the mod and believe I have found a possible source of the issue. The weird thing is that the code shouldn't have worked to begin with so I am not quite sure what the purpose of putting that code in was (he accesses an array index beyond the end of an array). If the author doesn't respond before I can fix (if I can fix) the code, I may post a "Revival" version of this mod if people want.
Calyo Delphi 9 Mar, 2020 @ 1:01pm 
This mod hasn't been updated in over a year as of this comment and it doesn't work, presumably because the core game has been patched in a way that's broken this mod. I'm getting the same errors as in the comment prior to mine. I REALLY want this mod to be able to work because I REALLY want to change what gets unlocked when (especially area unlocks), but this badly needs an update. :(

If you're unable to actively maintain this mod please please please consider either open sourcing it or passing the mantle off to someone who can actively maintain it. This mod does exactly something I've been wanting to do with this game and then some.
Legion, Duke of Rockford 2 Mar, 2020 @ 8:39pm 
Now, I looked around and found that TestUnlock is a file within this mod.

Any suggestions on this?

I was also surprised to notice now that this mod is not open-source already, which meant that should this mod be no longer maintained by the creator, there would be no way to continue this mod's development except to start all over from a scratch...
Legion, Duke of Rockford 2 Mar, 2020 @ 8:39pm 
Just noticed this mod might be the source of the following error message I received: "Array index is out of range"

The output log gives the following:
Simulation error: Array index is out of range.
at TestUnlock.MilestoneExtension.readDefaultValues (.UnlockController controller) [0x00000] in <filename unknown>:0
at TestUnlock.MilestoneExtension.OnRefreshMilestones () [0x00000] in <filename unknown>:0
at MilestonesWrapper.OnRefreshMilestones () [0x00000] in <filename unknown>:0
at UnlockManager.LateUpdateData (UpdateMode mode) [0x00000] in <filename unknown>:0
at SimulationManager.Managers_LateUpdateData (UpdateMode mode, Single minProgress, Single maxProgress) [0x00000] in <filename unknown>:0
at LoadingManager+<LoadSimulationData>c__IteratorB.MoveNext () [0x00000] in <filename unknown>:0
at AsyncTask.Execute () [0x00000] in <filename unknown>:0 [Core]
97cweb 29 Feb, 2020 @ 7:05pm 
I really like this mod, as it allows for the start to actually be challenging by shifting the high density start, and allows me to have the parks unlock before monuments, unlike the base game.
I hope you will update this soon.
Nebula Eclipse 10 Oct, 2019 @ 12:16am 
Really hoping this mod works again soon, its such a simple yet amazing thing. All I want is to have a map expansion unlocked each milestone, not one every three or 25 dumped at the final or first one :(
nietseb 23 Sep, 2019 @ 6:05am 
"Array index is out of range for me" also... I tried to unsubscribe the mod and the error has gone. So it's clearly the cause. Before unsubscribing I tried also to delete the DM-CustomMilestones.xml to see if it would be recreate : this file was not recreated, even if I subscribe again and launch the game.

I wish the mod will be patched, because its definivly a great one !
roygfs 30 Aug, 2019 @ 6:04pm 
I enabled the mod but see no such file in that folder...