Value meaning truck editing

Post Reply
qwertypoiuyt
Posts: 10
Joined: 13 Jul 2021 04:43

Value meaning truck editing

#1 Post by qwertypoiuyt » 17 May 2022 02:23

I am editing a truck and under truckname\ui\dashboard\ the sii file is what im editing and there are indicator lights such as stop engine, gear, etc. and under the name for what the indicator is it has a value of 10. What do the values mean/do (is it a simple on/off or what)?
image_2022-05-16_212224319.png
User avatar
room217au
Posts: 2725
Joined: 17 Jul 2015 01:55
Location: Lakeside

Re: Value meaning truck editing

#2 Post by room217au » 17 May 2022 05:21

I thiiiiiiiiiiink that '10' is saying "display 2 digits". A value of 9, for example, would only display 1 digit for deisplaying what gear you are in.
Check the part of the file that describes the clock. it'll say something like "value: "12.45" or some such, meaning that's how the time is displayed.
Of course, I'm guessing. But look at this:

Code: Select all

ui::text_common : _nameless._.cruise.control {
 value: "150|km/h"
 look_template: txt.kw900b_gtm.val_num}
I think the "150|km/h" part means the speed display is maximum 3 digits and is in km/hr.
@piva or @knox_xss would know more.
If you suck at playing the trumpet, that's probably why.
qwertypoiuyt
Posts: 10
Joined: 13 Jul 2021 04:43

Re: Value meaning truck editing

#3 Post by qwertypoiuyt » 17 May 2022 21:19

room217au wrote: 17 May 2022 05:21 I thiiiiiiiiiiink that '10' is saying "display 2 digits". A value of 9, for example, would only display 1 digit for deisplaying what gear you are in.
Check the part of the file that describes the clock. it'll say something like "value: "12.45" or some such, meaning that's how the time is displayed.
Of course, I'm guessing. But look at this:

Code: Select all

ui::text_common : _nameless._.cruise.control {
 value: "150|km/h"
 look_template: txt.kw900b_gtm.val_num}
I think the "150|km/h" part means the speed display is maximum 3 digits and is in km/hr.
@piva or @knox_xss would know more.
Ok I will check| Edit* the clock says 22:05
TJ
User avatar
room217au
Posts: 2725
Joined: 17 Jul 2015 01:55
Location: Lakeside

Re: Value meaning truck editing

#4 Post by room217au » 17 May 2022 22:15

Yes, it's the format, I think. Could've said 12:34
If you suck at playing the trumpet, that's probably why.
qwertypoiuyt
Posts: 10
Joined: 13 Jul 2021 04:43

Re: Value meaning truck editing

#5 Post by qwertypoiuyt » 18 May 2022 02:52

k
TJ
User avatar
Max
SCS Software
Posts: 6482
Joined: 26 Nov 2012 10:00
Location: SCS, Prague

Re: Value meaning truck editing

#6 Post by Max » 22 May 2022 14:43

it is just dummy input into the element.
game uses exaclty this "value" field to put game values into it during runtime mostly.
also this will be left there, if the item is dead in game for some reason (kinda debugging flag).

but yes, the dummy values are typicaly close to some maximum that must fit into the field.
Nobody can tell you anything about it. Those who know about it aren't allowed to talk. And those who talk know nothing.
Post Reply

Return to “Help center - player to player”

Who is online

Users browsing this forum: No registered users and 2 guests