Cities: Skylines

Cities: Skylines

PLEASE UNSUBSCRIBE (Legacy Network Skins)
 此主題已被置頂,因此它可能很重要
boformer  [開發人員] 2015 年 10 月 28 日 下午 7: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!
< >
目前顯示第 1-15 則留言,共 33
GCVos 2015 年 10 月 29 日 上午 12:00 
Thanks so much for this! I will definitely give it a shot :D
GCVos 2015 年 10 月 29 日 上午 12:03 
I have only one question, do these need any specific height/pivot?
boformer  [開發人員] 2015 年 10 月 29 日 上午 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 2015 年 10 月 29 日 上午 6:53 
So this only works for Railways at the moment? I will try it out soon!
Tim The Terrible 2015 年 10 月 29 日 上午 7:00 
Oh and any idea what the intervals between pillars are?
Tim The Terrible 2015 年 10 月 29 日 上午 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 2015 年 10 月 29 日 上午 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  [開發人員] 2015 年 10 月 29 日 下午 3: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 2015 年 10 月 30 日 上午 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  [開發人員] 2015 年 10 月 30 日 上午 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 2015 年 10 月 30 日 上午 11:31 
Well false alarm, I was indeed missing FineRoadHeights. I might publish my pillars this weekend.
最後修改者:Tim The Terrible; 2015 年 10 月 30 日 上午 11:31
Tim The Terrible 2015 年 10 月 30 日 下午 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 2015 年 10 月 30 日 下午 12:59 
Well damnit:

Error submitting workshop item:Fail [WorkshopException]

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

Any idea?
Tim The Terrible 2015 年 10 月 30 日 下午 1:26 
Restart fixed it, sorry for spamming. I uploaded my pillars :)
< >
目前顯示第 1-15 則留言,共 33
每頁顯示: 1530 50