Cities: Skylines

Cities: Skylines

PLEASE UNSUBSCRIBE (Legacy Network Skins)
 Ce sujet a été épinglé, cela doit être important
boformer  [dév.] 28 oct. 2015 à 19h01
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!
< >
Affichage des commentaires 1 à 15 sur 33
Thanks so much for this! I will definitely give it a shot :D
I have only one question, do these need any specific height/pivot?
boformer  [dév.] 29 oct. 2015 à 1h45 
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
So this only works for Railways at the moment? I will try it out soon!
Oh and any idea what the intervals between pillars are?
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
As the script is short, why link to a website with that single line as text?

PrefabCollection<BuildingInfo>.FindLoaded("RailwayElevatedPillar").m_AssetEditorTemplate = true;
boformer  [dév.] 29 oct. 2015 à 15h32 
@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).
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  [dév.] 30 oct. 2015 à 8h49 
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.
Well false alarm, I was indeed missing FineRoadHeights. I might publish my pillars this weekend.
Dernière modification de Tim The Terrible; 30 oct. 2015 à 11h31
Funny, the window only shows up if I have FineRoadHeights subscribed but disabled. If enabled it doesn't show up
Well damnit:

Error submitting workshop item:Fail [WorkshopException]

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

Any idea?
Restart fixed it, sorry for spamming. I uploaded my pillars :)
< >
Affichage des commentaires 1 à 15 sur 33
Par page : 1530 50