• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

panzermuffin

Private
23 Badges
Mar 12, 2015
19
0
  • Stellaris: Synthetic Dawn
  • Cities: Skylines - Campus
  • Prison Architect
  • Cities: Skylines Industries
  • Shadowrun: Hong Kong
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Stellaris: Distant Stars
  • Cities: Skylines - Parklife
  • Cities: Skylines - Parklife Pre-Order
  • Stellaris: Apocalypse
  • Cities: Skylines - Green Cities
  • Crusader Kings II
  • Cities: Skylines - Mass Transit
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Natural Disasters
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris
  • Cities: Skylines - Snowfall
  • Cities: Skylines - After Dark
  • Pillars of Eternity
  • Cities: Skylines
Hey there! I downloaded a mod from the steamworkshop. I love this mod, but it is not *quite* perfect for me.

Is there a way to edit mods from the steamworkshop? Or are they kind of locked away?

Thank you! :)
 
Can you be more specific, like the type of mod or the specific mod in mind? If it's a code mod (dll) that doesn't ship with source, sure, just decompile it (various .net decompilers out there, ILSpy,JustDecompile,dotPeek), change source to your liking and recompile, it's easy enough though, if not familiar with the process it might not be what you had in mind. Assets you can edit in the asset editor and save as your own custom version.

In either case I wouldn't go re-sharing the result without coordinating with the original author, who in the first case is likely to just add your requested feature anyway if asked.
 
It's about the ingame terraforming mod. The terraforming is extremely expensive and I'm pretty excessiv when it comes to terraforming ;)

In wich folders are the mods from the steamworkshop saved?
 
For windows 7, it's in "Steam\SteamApps\workshop\content\"

There you'll find numbered directories, one of them is for cities. Within that folder, you'll find more numbered folders, these are each of your downloaded mods. Within those, you'll find the mod files.
 
It's about the ingame terraforming mod. The terraforming is extremely expensive and I'm pretty excessiv when it comes to terraforming ;)

In wich folders are the mods from the steamworkshop saved?
Ah. ok so the ones dl'd from the steam workshop are buried in Steam\steamapps\workshop\content\255710\directory named after workshopID so in your case (http://steamcommunity.com/sharedfiles/filedetails/?id=411095553&searchtext=) 411095553 you should see teraformtool.dll.

decompile, export to a project and either make your change, and probably give it at least a slightly different name and recompile. However in the case of your new version this copy you want to place in drive:\Users\username\AppData\Local\Colossal Order\Cities_Skylines\Addons\Mods\NameOfTheMod\newdllfilename.dll. Disable\unsubscribe from original, enable yours from the list and try it out.

Btw in the source change m_costMultiplier in the InGameTerrainTool class from 500 to whatever you want (maybe 1 or 2) or I guess you could just change the updatecash() function modifying whatever cost is submitted to like 0 or you could change where m_totalcost is calculated; personally I'd just tweak the modifier. You might want to just ask the author to make that available in a setting file verse being hard coded.

BTW thanks for reminding me of this mod, I'm actually about to do the above for myself later when I try it out cause x500 seems insane. :)
 
I'm not going to make a habit out of this but here you go
http://www25.zippyshare.com/v/qVKLsSep/file.html

Inside the zip is the mod folder place it in drive:\Users\username\AppData\Local\Colossal Order\Cities_Skylines\Addons\Mods (assuming windows)
inside the folder are 2 files, the dll and the .xml config file which you can open in notepad etc and change the MoneyModifer value to whatever you want, it defaults to 1 (original was 500). Note if the author updates the mod you're not going to get the changes, all I changed was the default value and added a class that gets called to load\create the configuration file, as well as tweak the name\namespace (you'll see my initials tacked on to the end in the list) to not be confused with the original.
 
Last edited: