sysoppl / Cities-Skylines-heightmap-generator

A heightmap generator for Cities: Skylines
https://heightmap.skydark.pl/
170 stars 53 forks source link

Ability to generate Cities:Skylines 2 height maps #80

Open erkinalp opened 1 year ago

erkinalp commented 1 year ago

https://www.reddit.com/r/CitiesSkylines/comments/149ceuv/cs2_precise_map_size_comparison_without_typo/

shssoichiro commented 10 months ago

Although not implemented yet, there is a placeholder in the CS2 map editor for importing and exporting height maps. So it is confirmed we will have the same capabilities as in CS1, although likely not for a few more months.

Also to tl;dr the link above: the map size in CS2 is 12.6 km each direction--21x21 tiles each being 600x600m. It's unfortunate that it's smaller than in CS1 w/ 81 Tiles mod, but at least we don't need mods to unlock that full area.

shssoichiro commented 9 months ago

Another difference from CS1, it appears that CS2 currently only accepts 16-bit RAW files at a resolution of 4096x4096. It also seems to have a max height of 2048m, which is nice.

erkinalp commented 8 months ago

@shssoichiro it's actually 23×23 tiles, with 14.336km each direction.

Spearin commented 7 months ago

@shssoichiro it's actually 23×23 tiles, with 14.336km each direction.

Confirmed this is the size of the gameplay map area.

World map area is 57.344 km.

To calculate height scale in game, subtract 29% (which is 4096 / 14336) from your height range in meters.

erkinalp commented 7 months ago

For algernon's larger maps mod, both the playable area and world map are 57.344km.

erkinalp commented 7 months ago

@shssoichiro It now accepts PNG as well, but still needs to be 4096×4096.