Asset AI Changer

Cities: Skylines Mods |

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

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!

Credits
cerebellum
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

This content was uploaded by website visitors. If you notice any mistake, please let us know.


If you haven’t heard about the Cities: Skylines Mods, it’s definitely the time to be introduced. These additional files provide a gamer with extra features which are not originally included to the game. Cities: Skylines Mods free files are costless and can accessed by everyone who is interested. The Cities: Skylines Mods download can be completed easily without putting much effort. All you need to do is save the file to your PC and follow the instructions. There should be any problem with that, so no worries. Huge mass of players is using Cities: Skylines Mods around the world, so you shouldn’t stay behind – just click on Cities: Skylines Mods download button and go for the amazing upgrade! The Cities: Skyline game will change massively and it’s all for the best. Who could refuse adding useful functionality to the game? Definitely not you! So complete Cities: Skylines Mods download and take a look at the new version of the game made exactly by you. Sounds fascinating, isn’t it? But it’s better seeing yourself and fulfilling your craziest ideas. We bet there is bunch of them! Express your creativity and make it as useful as never before. It’s definitely a chance to take!



Useful Information:
- Cities: Skylines 2 Mods
- About Cities: Skyline Game
- How to Install Cities: Skylines Mods

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *