Transport Fever 2

Transport Fever 2

EMD E8
doug 2021 年 11 月 11 日 上午 4:54
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!
最后由 doug 编辑于; 2021 年 11 月 11 日 上午 4:55
< >
正在显示第 1 - 3 条,共 3 条留言
themeatballhero  [开发者] 2021 年 11 月 11 日 上午 4:58 
Thanks bud!
doug 2021 年 11 月 11 日 上午 6:18 
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  [开发者] 2021 年 11 月 11 日 上午 6:30 
I wouldn't add them to the other units as it may cover logos and designs
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50