• 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.

TheNut

Recruit
18 Badges
Mar 10, 2015
6
88
  • Stellaris: Apocalypse
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Prison Architect
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Cities: Skylines
  • Stellaris: Humanoids Species Pack
  • Stellaris: Synthetic Dawn
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris
Hey everyone,

I took a look at the Modding API, but unfortunately it doesn't answer some questions I have. I'm interested in investigating the possibility of procedurally generating content within Cities: Skylines. Content that will range from buildings, cars, scenery, and (mostly) textures. At the bottom of the wiki, it says "It is possible to create GameObjects dynamically, as well as MonoBehaviours and use the standard callback mechanic Unity provides.". Reading that makes me think I would just use Unity Engine's script API to push meshes and textures into the pipeline, but that strikes me as really unorthodox. I was hoping their high level Game API would provide the interfaces necessary to query their asset cache as well as inject new assets without requiring details about the underlying game engine (which really should be kept hidden from the developer). So am I shooting to high here, or can something like this be done?