Thanks, I already found this. However what is it saying in plane text?
Where do I need to change what?
I now have, but this ain't working.
Also where do I put the location, size etc.. of the text?
local constructionutil = require "constructionutil"
function data()
return {
type = "ASSET_DEFAULT",
description = {
name = _("Trolleybus 101"),
description = _("Museum trolleybus 101 from Arnhem (The Netherlands)"),
},
availability = {yearFrom = 1944, yearTo = 1959},
buildMode = "MULTI",
categories = { "Trolleybus" },
order = 31368,
skipCollision = true,
autoRemovable = false,
params = {
{
key = "Pantographs",
name = _("Type"),
values = { _("Pantographs up"), _("Pantographs down") }
},
},
updateFn = function(params)
local result = { }
result.models = { }
if params.Pantographs == 0 then
result.models[#result.models+1] = {id = "asset/bus/Trolleybus 101 asset.mdl", transf = constructionutil.rotateTransf(params, {1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, }), }
elseif params.Pantographs == 1 then
result.models[#result.models+1] = {id = "asset/bus/Trolleybus 101 asset low.mdl", transf = {1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, }, }
end
result.terrainAlignmentLists = { {
type = "EQUAL",
faces = { }
} }
result.labelText = {
[3] = { "1 Geen Dienst", "1 Garage", "1 Centraal Station"}
}
return result
end
}
end