meta data for this page
ModLoader provides two interface functions that allow you to register new content in lua files of your mod.
This will register the prefab named
prefabFilename (string) to the ingame editor. Please make sure that you include this prefab into your asset bundle.
You can also specify a custom display name
function ModLoader.registerPrefab(prefabFilename, name)
Registers some content of type
contentType (string) that is described by the configuration in
dataTable (table). Following contentTypes are allowed:
vehicle(a new vehicle)
ropeway(a new ropeway, which makes use of existing or new
support(a new ropeway support)
carrier(a new ropeway carrier)
Note that the name of this content is specified in
dataTable.contentName (and not as an argument to this function).
function ModLoader.addContent(contentType, dataTable)
All contents of this page may be used for modding use for Winter Resort Simulator only. Any use exceeding this regulation is not permitted.
Copyright (C) HR Innoways, 2020. All Rights Reserved.