ETA Info on OnBoard GPS Advisor

Forum rules
SCS as a company do not wish to have paid mods on this forum. While we understand that not all paid mods use the Intellectual Property of other companies/people, it is very hard to moderate what is and isn't acceptable when money is involved. There are also concerns that it could look unfavorable to potential work partners going forward if SCS allow mods that may potentially use unlicensed branding.
Posting in the Mods forum (ATS and ETS2) is restricted to sharing free-to-the-public mods and providing support for mods. For more details, please check the Forum Rules.
Post Reply
Dome_E39
Posts: 2
Joined: 23 Sep 2021 17:28

ETA Info on OnBoard GPS Advisor

#1 Post by Dome_E39 » 27 Sep 2021 16:40

Hi,

I tried to implement the ETA information in the onboard navigation system / GPS. I can see the text but the information is not updated. How can I ensure that the ETA information is updated?

I'm new to the modding area of ETS2, if this has already been resolved somewhere, I apologize.

Code: Select all

SiiNunit
{
ui::window : _nameless.063ae3791 {
 window_handler: null
 clip_children: false
 keep_aspect: none
 user_string_data: ""
 fitting: true
 my_children: 4
 my_children[0]: _nameless._.map.scene
 my_children[1]: _nameless._.speed.limit
 my_children[2]: _nameless._.route_notify
 my_children[3]: _nameless._.eta
 coords_l: 0
 coords_r: 256
 coords_t: 256
 coords_b: 0
 area_l: 0
 area_r: 256
 area_t: 256
 area_b: 0
 id: 0
 layer: 0
 tab: -1
 pointer: -1
 my_parent: null
}

ui_map : _nameless._.map.scene {
 coords_l: 0
 coords_r: 256
 coords_t: 256
 coords_b: 0
 area_l: 1
 area_r: 0
 area_t: 0
 area_b: 1
 id: 100
 layer: 1
 tab: -1
 pointer: -1
 my_parent: _nameless.063ae3791
}

ui::text_common : _nameless._.speed.limit {
 value: 50
 look_template: txt.db_navi_spd
 text: ""
 coords_l: 7
 coords_r: 47
 coords_t: 148
 coords_b: 108
 area_l: 1
 area_r: 0
 area_t: 0
 area_b: 1
 id: 760
 layer: 2
 tab: -1
 pointer: -1
 my_parent: _nameless.063ae3791
}

ui::text_common : _nameless._.route_notify {
 value: ""
 look_template: null
 text: ""
 coords_l: 6
 coords_r: &43770001
 coords_t: 105
 coords_b: 73
 area_l: 1
 area_r: 0
 area_t: 0
 area_b: 1
 id: 770
 layer: 2
 tab: -1
 pointer: -1
 my_parent: _nameless.063ae3791
}

ui::text_common : _nameless._.eta {
 value: "1258 km|20 h 14 min|Mon 23:14 pm"
 look_template: txt.adv_navi_eta
 text: ""
 coords_l: 4
 coords_r: 250
 coords_t: 148
 coords_b: 0
 area_l: 1
 area_r: 0
 area_t: 0
 area_b: 1
 id: 250
 layer: 2
 tab: -1
 pointer: -1
 my_parent: _nameless.063ae3791
}

}

2.png
Blitzigel
Posts: 130
Joined: 30 May 2022 15:18
Location: Germany

Re: ETA Info on OnBoard GPS Advisor

#2 Post by Blitzigel » 12 May 2023 12:36

I've been trying all the time to get the remaining distance into the gps!

How did you manage that it is displayed in your GPs or did you edit the image?
User avatar
Symorion
Posts: 3
Joined: 14 May 2021 11:31

Re: ETA Info on OnBoard GPS Advisor

#3 Post by Symorion » 06 Jan 2024 14:35

I‘m looking for exactly that as a mod since ever.
Has anyone found a solution?
al_batros
Posts: 175
Joined: 05 Jan 2022 16:50

Re: ETA Info on OnBoard GPS Advisor

#4 Post by al_batros » 07 Jan 2024 12:58

The KW T680 2022 in ATS has the ETA Info on the onboard GPS. That might be your blueprint for doing it.
Unpack the DLC, check /ui/dashboard/kenworth_t680_2022_gps.sii around line 89-106.
The "ID" used for ETA is 1530 as documented in https://modding.scssoft.com/wiki/Docume ... boards_IDs

If you don't own ATS, here is the relevant code, including the referenced template:

Code: Select all

ui::text_common : _nameless._.eta {
 value: "22:59"
 look_template: txt.kw_t680_2022.infot_eta
 text: ""
 coords_l: 1040
 coords_r: 1223
 coords_t: 145
 coords_b: 80
 area_l: 1
 area_r: 0
 area_t: 0
 area_b: 1
 id: 1530
 layer: 3
 tab: -1
 pointer: -1
 my_parent: _nameless.18c1.86a0
}

# template:
ui::text_template : txt.kw_t680_2022.infot_eta {
	name: "zDB  Kenworth T680 2022 Infotainment ETA"
	text: "<color value=FF00C5F2><align hstyle=center><font face=/font/big.font xscale=3.5 yscale=3.5>%0</font></align>"
}
Note: Remaining distance does not seem to be available as an ID (according to wiki page).
Update Jan 22nd 2024: The ID 1530 is called ETA, but it is "Estimated time TO arrival", giving us the remaining drive time vs what is commonly known in the airline industry as "Estimated time OF arrival".
Post Reply

Return to “Help requests”

Who is online

Users browsing this forum: No registered users and 11 guests