Cities: Skylines

Cities: Skylines

171 个评价
Asset AI Changer
   
奖励
收藏
已收藏
取消收藏
Mod
文件大小
发表于
更新日期
72.976 KB
2015 年 4 月 8 日 上午 3:17
2019 年 6 月 21 日 下午 3:29
8 项改动说明 ( 查看 )

订阅以下载
Asset AI Changer

描述
Originally Building AI Changer, after merge of Snow_Cat's additions and UI rewrite after that, now a generic Prefab AI changer.

This mod adds a drop down list to the Asset Property editor that lets you choose any AI for the asset you are editing.

Warning - WorksAsBuilding() and WorksAsNet() checks are not implemented.

Assigning wildly inappropriate AIs will break an asset, cause exceptions and other weird things. Broken assets will fail to load and cannot be fixed with the asset editor.

You can try to assign inappropriate AI types (a VehicleAI to a building, etc) but chances are something will break horribly. So if you do, backup your asset before you try.

If you want to create a custom Building AI, create a building and assign your new AI to, if you create a custom VehicleAI, start with a stock VehicleAI and change that, etc.

Purpose

The main intended use of this mod is to ease the creation of assets with custom AI classes.

Usage

Just select the name of the new AI class and click "Apply" after you have made your selection. When you click Apply the new AI will actually be applied to the asset and refresh the properties panel with the new set of options for the selected AI. If the previous and new AI share properties, their values will carry over.

Using custom AI classes

You can assign custom AI classes with this, mod. They will start with the namespace of your mod in the AI list.

Source code & Issues

The source code of this mod is available at https://github.com/skaufhold/BuildingAIChanger

If you want to report an issue, please use the Github issues if you can as I may not always read the steam workshop comments. I will read your comment eventually, but a Github issue will notify me right away.

Update as of 28/06/16:

You can now choose to copy hidden attributes as well. This will copy all attributes that aren't marked as NonSerializable, instead of just the ones marked with CustomizableProperty. On applying the new AI type you will be prompted to select the behaviour.

Thanks to Snow_Cat for his contributions!
热门讨论 查看全部(1)
8
2016 年 9 月 3 日 上午 8:13
BuildingAI derived types
Snow_Cat
76 条留言
Vadicus 2023 年 2 月 26 日 下午 6:21 
This is working. It will not change the AI of Props however. If you want to turn a prop into a building, you'll have to Dump the mesh, then create a new building with the Prob Mesh. This can be usefull if you have a highly detailed prop you wish to not behave like prop.
Still_Claire 2023 年 2 月 8 日 下午 6:37 
A possible replacement/update available here: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2930517352
Dr_J0nes 2021 年 8 月 21 日 下午 1:17 
I deactivated all mods and only had this one active. Still no drop down menu. Unsubscribed..
74091796519793665 2021 年 4 月 1 日 上午 8:53 
Still working.
Sasquatch 2020 年 10 月 25 日 下午 5:16 
If I used this on the Mass Transit passenger station would that turn it into a cargo station? I assume I'd have to change the paths to spawn trucks instead of people. It would be awesome to have a 6-line cargo hub. Even better would be a railyard that did direct rail-rail transfers instead of rail-truck. Something like that is desperately needed to allow more efficient transfers between imports/exports and internal cargo networks.
nYn. nupsii<3 aka [Mr]Pumpkin 2020 年 4 月 19 日 上午 7:12 
pls update!
TwotoolusFLY_LSh.st 2020 年 4 月 5 日 上午 4:00 
need to update. not work.
byongtomaton 2020 年 3 月 22 日 上午 9:54 
The dropdown is not showing up. Plz help
emilien.kopp 2020 年 3 月 16 日 上午 12:47 
Would it be possible to COMBINE two AI classes in one building ? IE. Education and Entertainment
Cahos Rahne Veloza 2019 年 9 月 27 日 下午 1:04 
@Um3k:

Ploppable RICO is one. Just disable it when you want to use this or any of snow_cat's Asset editor mods.