Cities: Skylines

Cities: Skylines

PLEASE UNSUBSCRIBE (Legacy Network Skins)
 Este tópico foi afixado, portanto deve ser importante
boformer  [developer] 28 out. 2015 às 19:01
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!
< >
A mostrar 1-15 de 33 comentários
GCVos 29 out. 2015 às 0:00 
Thanks so much for this! I will definitely give it a shot :D
GCVos 29 out. 2015 às 0:03 
I have only one question, do these need any specific height/pivot?
boformer  [developer] 29 out. 2015 às 1:45 
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 out. 2015 às 6:53 
So this only works for Railways at the moment? I will try it out soon!
Tim The Terrible 29 out. 2015 às 7:00 
Oh and any idea what the intervals between pillars are?
Tim The Terrible 29 out. 2015 às 8:28 
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 out. 2015 às 11:48 
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 out. 2015 às 15:32 
@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 out. 2015 às 8:24 
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 out. 2015 às 8:49 
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 out. 2015 às 11:31 
Well false alarm, I was indeed missing FineRoadHeights. I might publish my pillars this weekend.
Última alteração por Tim The Terrible; 30 out. 2015 às 11:31
Tim The Terrible 30 out. 2015 às 12:43 
Funny, the window only shows up if I have FineRoadHeights subscribed but disabled. If enabled it doesn't show up
Tim The Terrible 30 out. 2015 às 12:59 
Well damnit:

Error submitting workshop item:Fail [WorkshopException]

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

Any idea?
Tim The Terrible 30 out. 2015 às 13:26 
Restart fixed it, sorry for spamming. I uploaded my pillars :)
< >
A mostrar 1-15 de 33 comentários
Por página: 1530 50