Custom Reefer Indicator

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.
User avatar
Fae
Posts: 1067
Joined: 05 Aug 2013 18:35
Location: Colorado
Contact:

Custom Reefer Indicator

#1 Post by Fae » 06 Jun 2023 23:12

Hello, all. I am attempting to get a custom reefer indicator to work on my trailer pack on Steam, however I am at a block. Steps I have taken:

Created a custom cargo model:
  • \vehicle\share\models\reefer_indicator\gd_everest\cargo_gd_7500.pmd
  • \vehicle\share\models\reefer_indicator\gd_everest\cargo_gd_7500.pmg
Created the pointer to the indicator:
  • \def\vehicle\trailer_cargo\gd_everest\reefer_indicator.sii
It has the following:

Code: Select all

SiiNunit
{
accessory_cargo_data : .reefer_ind
{
	model: "/vehicle/share/models/reefer_indicator/gd_everest/cargo_gd_7500.pmd"
 
	variant: default
	look: default
}
}
For the cargos of butter, buttermilk, cheese, frozen_food, frozen_fruit, frozen_veget, icecream, meat, milk and yogurt, I created the following file:
  • \def\cargo\butter\model_gd_everest.sii
In that file is the following:

Code: Select all

SiiNunit
{
cargo_model_match : .gd_everest
{
	compatible_body[]: "/def/vehicle/trailer_owned/faelandaea.gd_everest/body/box_gd.sii"
	data_path[]: "/def/vehicle/trailer_cargo/gd_everest/reefer_indicator.sii"
}
}
The lines do match with the body of my reefer and the pointer I mentioned above.

After doing all of this, and picking up a load of frozen food, my reefer cargo model still refuses to come on. I am not using a flare for a silly looking green light (I always hated that), but instead created custom dif.lum models that not only make the reefer light look, well, realistic, but also have the reefer screen come on as well (I drive Reefer in real life and that is how this works ... if the reefer is on, the screen is on, also).

I have seen mod trailers out there that DO accomplish what I am trying to do, but they are locked paid mods and the authors will not tell me how they do it, so I am hoping some kind soul here will help me out. What file(s) am I missing to actually tell the game that my load is frozen and to have this stuff appear?
Faelandaea Dravin
OTR Truck Driver
Faelandaea's Trucking Adventures
https://www.youtube.com/c/FaelandaeaDravin
DISCORD: https://discord.gg/PEm7M9HwYP
[ external image ]
User avatar
Fae
Posts: 1067
Joined: 05 Aug 2013 18:35
Location: Colorado
Contact:

Re: Custom Reefer Indicator

#2 Post by Fae » 10 Jun 2023 22:00

Still beating my head against a wall here. Is there a def file somewhere I am missing? I keep going through all of the default SCS files and other than the ones I mentioned above none seem to make reference to the reefer indicator. Is there custom scripting needed to make this work I take it?
Faelandaea Dravin
OTR Truck Driver
Faelandaea's Trucking Adventures
https://www.youtube.com/c/FaelandaeaDravin
DISCORD: https://discord.gg/PEm7M9HwYP
[ external image ]
User avatar
Fae
Posts: 1067
Joined: 05 Aug 2013 18:35
Location: Colorado
Contact:

Re: Custom Reefer Indicator

#3 Post by Fae » 13 Jun 2023 12:42

Still stuck on this one, guys. Googling only reveals 50,000,000 pages of some "fix" mod that isn't even in the ballpark of what I need (and is outdated anyway) and results for paid mods. Can someone just please take a quick look and let me know what code I am missing? I know I am good on the physical files, but I AM missing a file somewhere and I cannot release my mod to the public until I have this fixed.
Faelandaea Dravin
OTR Truck Driver
Faelandaea's Trucking Adventures
https://www.youtube.com/c/FaelandaeaDravin
DISCORD: https://discord.gg/PEm7M9HwYP
[ external image ]
User avatar
xXCARL1992Xx
Posts: 16462
Joined: 17 Aug 2016 12:18
Contact:

Re: Custom Reefer Indicator

#4 Post by xXCARL1992Xx » 13 Jun 2023 15:47

if the log doesnt say anything it can be positioning of the mesh, did you check, with preview model, if the mesh shows at the place you want it to show ? this has thrown me off more then i want to admit where it was perfectly aligned in blender, but ingame it was rotated in every direction but not where it should be

the def files you posted look sound to me, when i compare them to my container cargos, which i know work

i just looked through the files because i wanted to test it myself and i saw SCS added the indicator for reefers, they did it flare only but you can use this as reference, maybe even add your trailer body to compatible bodies as a test and see with the dev cam if a flare appears at all
| !!!NO SUPPORT OR REQUESTS OF ANY SORT VIA PM!!! | Screenshot Thread | Steam Workshop | World of Trucks Profil |
[ external image ]
User avatar
Fae
Posts: 1067
Joined: 05 Aug 2013 18:35
Location: Colorado
Contact:

Re: Custom Reefer Indicator

#5 Post by Fae » 13 Jun 2023 19:23

Thank you for answering, Carl. And I apologize if I sound desperate in these threads. Just frustrating when stuff LOOKS right, but tosses no errors and yet just doesn't seem to work as intended. I'd almost rather have errors so I can at least have an idea as to what is wrong. LOL.

I have verified placement of the mesh is good, and I have applied Transforms. Is there a toggle in game to see the light on in the store or desktop? I may have missed that. I've been depending on getting loads of Yogurt or Ice Cream to test this.

I'd be more than happy to share my files if it helps get fresh eyes on this.

Below are shots of my Blender - one applied to the trailer as imported and one by itself. Transforms confirmed on both.

[ external image ]

[ external image ]
Last edited by Fae on 13 Jun 2023 19:29, edited 1 time in total.
Faelandaea Dravin
OTR Truck Driver
Faelandaea's Trucking Adventures
https://www.youtube.com/c/FaelandaeaDravin
DISCORD: https://discord.gg/PEm7M9HwYP
[ external image ]
User avatar
xXCARL1992Xx
Posts: 16462
Joined: 17 Aug 2016 12:18
Contact:

Re: Custom Reefer Indicator

#6 Post by xXCARL1992Xx » 13 Jun 2023 19:25

you see them in trailer browser, like the warning signs if you load explosive or the like, the light will also go on because it is considered "cargo"
| !!!NO SUPPORT OR REQUESTS OF ANY SORT VIA PM!!! | Screenshot Thread | Steam Workshop | World of Trucks Profil |
[ external image ]
User avatar
Fae
Posts: 1067
Joined: 05 Aug 2013 18:35
Location: Colorado
Contact:

Re: Custom Reefer Indicator

#7 Post by Fae » 13 Jun 2023 19:38

Aha. Okay let me take a look at that. I never knew that feature was there.

EDIT: Oh wow. That is so neat. I never ever clicked that pulldown before as I never really took notice of it. Thank you, Sir. As a result I quickly realized that apparently, out of all the cargo I had made files for, the two I was testing on the trailer out of a shipper in Denver somehow were still programmed to use the default SCS Box. I'd have never caught that before. So it appears my stuff IS working after all and actually always was, just minus two cargos which are now included.

@xXCARL1992Xx - you seriously need a Nobel peace prize for answers in these forums and or putting up my my slow pain-in-the-neck learning curve. Do I have permission to give you a shout-out in my mod description on Steam?
Faelandaea Dravin
OTR Truck Driver
Faelandaea's Trucking Adventures
https://www.youtube.com/c/FaelandaeaDravin
DISCORD: https://discord.gg/PEm7M9HwYP
[ external image ]
User avatar
xXCARL1992Xx
Posts: 16462
Joined: 17 Aug 2016 12:18
Contact:

Re: Custom Reefer Indicator

#8 Post by xXCARL1992Xx » 13 Jun 2023 19:55

sure, you can do it, but helping people in need is what the forum is for, and i have enough time wasted on the games to know how it works in general :rofl:
| !!!NO SUPPORT OR REQUESTS OF ANY SORT VIA PM!!! | Screenshot Thread | Steam Workshop | World of Trucks Profil |
[ external image ]
User avatar
Fae
Posts: 1067
Joined: 05 Aug 2013 18:35
Location: Colorado
Contact:

Re: Custom Reefer Indicator

#9 Post by Fae » 13 Jun 2023 20:41

That's my attitude in general as well. I do a lot of modding on the road as I drive around the country, a lot of it inspired by the truck/trailer I am currently driving. When I am home, I do my best to live stream as I mod so that as I learn, others can learn as well. I just hate being on the end where I need more answers than I can give. But I am learning. It's just slow due to spending almost all of my time behind the wheel.
Faelandaea Dravin
OTR Truck Driver
Faelandaea's Trucking Adventures
https://www.youtube.com/c/FaelandaeaDravin
DISCORD: https://discord.gg/PEm7M9HwYP
[ external image ]
User avatar
Fae
Posts: 1067
Joined: 05 Aug 2013 18:35
Location: Colorado
Contact:

Re: Custom Reefer Indicator

#10 Post by Fae » 18 Jun 2023 15:38

Okay I have a follow-up question. If I have two different reefer types - Carrier and Thermoking … do I need to make two different copies of the main body of the trailer to use the indicator that fits the TK? I got the Carrier working great, but I cannot find any example anywhere as to how to add the TK as a separate indicator. It seems the indicator and cargo are stuck to the trailer body, but I didn't think I'd have to duplicate a body and all sorts of def and accessory files just to have a second reefer light … but is that how I have to do it?

Again, I cannot simply research this because ALL trailer models currently in existence with custom indicators are locked down tight, so I have nothing to reference for this. My mod, once released on steam, will be the first and only free mod to have such indicators for everyone to enjoy and use/edit/etc. So any assistance would be greatly appreciated so that I can bring these to the community.
Last edited by Fae on 18 Jun 2023 15:44, edited 1 time in total.
Faelandaea Dravin
OTR Truck Driver
Faelandaea's Trucking Adventures
https://www.youtube.com/c/FaelandaeaDravin
DISCORD: https://discord.gg/PEm7M9HwYP
[ external image ]
Post Reply

Return to “Help requests”

Who is online

Users browsing this forum: No registered users and 4 guests