Cities: Skylines

Cities: Skylines

PLEASE UNSUBSCRIBE (Legacy Network Skins)
 This topic has been pinned, so it's probably important
boformer  [developer] 28 Oct, 2015 @ 7:01pm
For Asset Creators: How to create custom pillars
  • Install Mod Tools
  • Open the Asset Editor (New Asset)
  • Press F7 and run this script with the command line[gist.githubusercontent.com]
  • Select "Building" and search for the Railway Elevated Pillar template in the Public Transport Tab. The special thing about this template is that the AI of the pillar is passive (no visitors, no "No Road Access" warnings, no crime etc.). You can also use it for other decorative assets.
  • Now import your model as usual and save it

To test your asset locally:
  • Open your local "Assets" folder.
  • Create a new subfolder and move the .crp into that folder
  • Create a new empty text file named "Pillar.xml" and put it into the folder
  • Start a new city. You will see your pillar in the list

To publish your asset:
  • Click the "Publish" button in Content Manager
  • Click on the little folder icon to open the folder that contains your preview image
  • Open the "Content" subfolder that contains your .crp
  • Create a new empty text file named "Pillar.xml" and put it into the folder
  • Publish your pillar. Don't forget to add my mod as a dependency.

It is important that the .xml file is in the same folder as the .crp file!
< >
Showing 1-15 of 33 comments
GCVos 29 Oct, 2015 @ 12:00am 
Thanks so much for this! I will definitely give it a shot :D
GCVos 29 Oct, 2015 @ 12:03am 
I have only one question, do these need any specific height/pivot?
boformer  [developer] 29 Oct, 2015 @ 1:45am 
The default rail pillar is about 30m high. In one of the next versions of the mod, you will be able to control the height offset of the pillars
Tim The Terrible 29 Oct, 2015 @ 6:53am 
So this only works for Railways at the moment? I will try it out soon!
Tim The Terrible 29 Oct, 2015 @ 7:00am 
Oh and any idea what the intervals between pillars are?
Tim The Terrible 29 Oct, 2015 @ 8:28am 
It's not working for me. I succeeded in saving and everything but it's not showing up in the list. BTW, in the description it says; only opens when using.. something. But it's open/showing all the time
GordonDry 29 Oct, 2015 @ 11:48am 
As the script is short, why link to a website with that single line as text?

PrefabCollection<BuildingInfo>.FindLoaded("RailwayElevatedPillar").m_AssetEditorTemplate = true;
boformer  [developer] 29 Oct, 2015 @ 3:32pm 
@Tim It works for all elevated networks (but not "water" bridges). It should only show up when you open the roads menu (or when you place rail tracks/pedestrian paths).
Tim The Terrible 30 Oct, 2015 @ 8:24am 
oh nice, but any idea why it doenst work for me? i will provide info if needed. I would really like to help making pillars
boformer  [developer] 30 Oct, 2015 @ 8:49am 
Maybe the file name of the XML is wrong? Did you use the Elevated rail pillar template?

Post a screenshot of your pillar in the asset editor and a screenshot of the folder that contains crp and xml in windows explorer.
Tim The Terrible 30 Oct, 2015 @ 11:31am 
Well false alarm, I was indeed missing FineRoadHeights. I might publish my pillars this weekend.
Last edited by Tim The Terrible; 30 Oct, 2015 @ 11:31am
Tim The Terrible 30 Oct, 2015 @ 12:43pm 
Funny, the window only shows up if I have FineRoadHeights subscribed but disabled. If enabled it doesn't show up
Tim The Terrible 30 Oct, 2015 @ 12:59pm 
Well damnit:

Error submitting workshop item:Fail [WorkshopException]

Details:
No details
WorkshopException: Error submitting workshop item:Fail

Any idea?
Tim The Terrible 30 Oct, 2015 @ 1:26pm 
Restart fixed it, sorry for spamming. I uploaded my pillars :)
< >
Showing 1-15 of 33 comments
Per page: 1530 50