Transport Fever 2

Transport Fever 2

EMD E8
doug 11 Nov, 2021 @ 4:54am
No label option

in the params_list table, add the 'None' option:

values = {'Company Name', 'Train Name', 'Line Name', 'None'},

in the modelModifer function, change the list of actions in the 'for' loop:

if labelChoice == 0 then data.metadata.labelList.labels[j].type = "COMPANY_NAME"
elseif labelChoice == 1 then data.metadata.labelList.labels[j].type = "NAME"
elseif labelChoice == 2 then data.metadata.labelList.labels[j].type = "LINE_NAME"
else
data.metadata.labelList = nil
end
That's it!
Last edited by doug; 11 Nov, 2021 @ 4:55am
< >
Showing 1-3 of 3 comments
themeatballhero  [developer] 11 Nov, 2021 @ 4:58am 
Thanks bud!
doug 11 Nov, 2021 @ 6:18am 
This only applies to the demonstrator unit right now. While you could add text labels to a reskin, I can't imagine that you would want anything other than the 'name' option, which would give you the train number.
themeatballhero  [developer] 11 Nov, 2021 @ 6:30am 
I wouldn't add them to the other units as it may cover logos and designs
< >
Showing 1-3 of 3 comments
Per page: 1530 50