[Guide] How to create on-board computer mod.

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
User avatar
galimim
Posts: 2888
Joined: 26 Jan 2013 22:11
Location: Slovenija
Contact:

Re: [Guide] How to create on-board computer mod.

#51 Post by galimim » 30 Dec 2020 12:44

A question for resident dash computer expert @piva: Is it possible to create a dashboard computer with no(transparent) background?
With how complex the new truck displays are, I wanna have just an overlay of the information needed without any background. Is that possible?
ETS2:
Real Tires Mod
Search for Drivetrain Revision mods!
Truck fix doctor
ATS:
Real Tires Mod
Search for Drivetrain Revision mods!
Truck fix doctor
User avatar
Etrusan
Posts: 650
Joined: 04 Sep 2014 15:29
Location: Brno, Czech Republic
Contact:

Re: [Guide] How to create on-board computer mod.

#52 Post by Etrusan » 30 Dec 2020 13:54

As far as I can tell, no. I tried many ways but always failed.
Seasonic SSR-650TD; Intel Core i5-6700K; Gainward GTX 1060 6GB Phoenix GS; 2x Kingston HyperX Fury 8GB; 2x Crucial MX500 2TB; 3x Seagate IronWolf Pro; Corsair Force MP510 960GB; 2x 24" AOC I2481FXH; Windows 10

www.etrusan.net
User avatar
galimim
Posts: 2888
Joined: 26 Jan 2013 22:11
Location: Slovenija
Contact:

Re: [Guide] How to create on-board computer mod.

#53 Post by galimim » 30 Dec 2020 13:59

Crap, I was afraid so -.- I do wonder how SCS will create the new computers given that they are really complex now.
ETS2:
Real Tires Mod
Search for Drivetrain Revision mods!
Truck fix doctor
ATS:
Real Tires Mod
Search for Drivetrain Revision mods!
Truck fix doctor
User avatar
xXCARL1992Xx
Posts: 16462
Joined: 17 Aug 2016 12:18
Contact:

Re: [Guide] How to create on-board computer mod.

#54 Post by xXCARL1992Xx » 30 Dec 2020 14:06

what do you mean with "no backround", just a transparent image that is loaded for a plain color or no image loaded at all ?
| !!!NO SUPPORT OR REQUESTS OF ANY SORT VIA PM!!! | Screenshot Thread | Steam Workshop | World of Trucks Profil |
[ external image ]
User avatar
galimim
Posts: 2888
Joined: 26 Jan 2013 22:11
Location: Slovenija
Contact:

Re: [Guide] How to create on-board computer mod.

#55 Post by galimim » 30 Dec 2020 14:10

No image at all. Like the whole background was just an alpha channel.
ETS2:
Real Tires Mod
Search for Drivetrain Revision mods!
Truck fix doctor
ATS:
Real Tires Mod
Search for Drivetrain Revision mods!
Truck fix doctor
User avatar
piva
Posts: 2377
Joined: 29 Oct 2014 16:41

Re: [Guide] How to create on-board computer mod.

#56 Post by piva » 31 Dec 2020 11:08

galimim wrote: 30 Dec 2020 12:44 Is it possible to create a dashboard computer with no(transparent) background?
You can see how make computers Oscar for latest trucks like Mack, WS, Cascadia.
You can set background color for id:10/20 and not add any background image. Or you can set one background image for id:20 or shared display (id:950) Or you can add background image for each virtual displays (id:100-800), but do not forget about "layers" and your image must have lower number than you information and icons.
User avatar
galimim
Posts: 2888
Joined: 26 Jan 2013 22:11
Location: Slovenija
Contact:

Re: [Guide] How to create on-board computer mod.

#57 Post by galimim » 31 Dec 2020 12:21

Thanks, I have figured it out using background image for the shared display.
ETS2:
Real Tires Mod
Search for Drivetrain Revision mods!
Truck fix doctor
ATS:
Real Tires Mod
Search for Drivetrain Revision mods!
Truck fix doctor
User avatar
Addicted
Posts: 403
Joined: 23 Apr 2014 18:53
Contact:

Re: [Guide] How to create on-board computer mod.

#58 Post by Addicted » 03 Feb 2021 10:41

I have this clock but its not really in center of the dash but one thing i dont understand if i modify the coords_l should i also modify the coords_r? this is a lil wierd and i dont understand how this works because its not like axis with XYZ i would be much easier and another thing is how do you know where they will appear because its kinda frustrating to open the game 1000 times
btw the same thing with the coords_t and coords_b how do i know what values they should have to be more up or down

Code: Select all

ui::text_common : .clock {
 value: "12:24"
 look_template: example.clock
 text: ""
 coords_l: 730
 coords_r: 880
 coords_t: 1090
 coords_b: 1043
 id: 1050
 layer: 1
 my_parent: .share.display
User avatar
Soundwave2142
Posts: 16
Joined: 04 Aug 2020 19:58
Location: Big Nothing
Contact:

Re: [Guide] How to create on-board computer mod.

#59 Post by Soundwave2142 » 05 Feb 2021 18:50

How do I increase space between characters in custom font? I tried giving them bigger width number in .font and more space in image but they still glued together. Any help?
User avatar
Smarty
Beta tester
Posts: 1983
Joined: 30 Jun 2015 01:56
Location: Ontario, Canada
Contact:

Re: [Guide] How to create on-board computer mod.

#60 Post by Smarty » 07 Feb 2021 01:28

You'll want to increase the advance (A) in the font definition, which controls how many pixels the cursor moves for the next character. That, or you could increase the character spacing within the UI markup. I forget the exact markup, but I think there's some spacing parameter for the <font> tag.
Post Reply

Return to “Modding Guides”

Who is online

Users browsing this forum: RainerE and 8 guests