[REL/WIP] Scania NG side window deflector v1.2

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
suafo
Posts: 24
Joined: 21 Dec 2020 15:26
Location: watermelon republic

Re: [WIP] Scania NG side window deflector

#31 Post by suafo » 10 Oct 2021 09:36

enus420 wrote: 10 Oct 2021 07:58 can anyone help me explain this error in my log file? (it's about my mod)

00:01:59.911 : <ERROR> [unit] File '<C:/Users/Marc0/Documents/Euro Truck Simulator 2/mod/deflector test.scs | >/def/vehicle/truck/scania.s_2016/accessory/flag_l/defl_cl.sii', line 9: 00:01:59.911 : <ERROR> Expecting attribute name or closing bracket, found ':'

00:01:59.911 : <ERROR> load_unit() - Failed to load units from file (/def/vehicle/truck/scania.s_2016/accessory/flag_l/defl_cl.sii)

maybe the mod won't show up because of that. if anyone knows what to do, let me know please!

cheers!
try to compare your file with the scs original file you may have missed this "}"
[ external image ]


enus420 wrote: 10 Oct 2021 08:27
xXCARL1992Xx wrote: 10 Oct 2021 08:09 Eugene didnt remove any locators from the model, those cabs are 1:1 copies of the R and S but shorter in hight, both P and G have all locators that you need for the Mighty Griffin DLC, you just dont have the addon from Eugene that adds the def files to it
where can i get the addon?

here
User avatar
enus420
Posts: 66
Joined: 07 Aug 2021 11:37
Location: Under your bed

Re: [WIP] Scania NG side window deflector

#32 Post by enus420 » 10 Oct 2021 10:08

suafo wrote: 10 Oct 2021 09:36 try to compare your file with the scs original file you may have missed this "}"
thanks for the info @suafo! i think i missed something there, i'll check on it real quick.

and btw i wana ask something, is this error related to the one you were talking about?
00:01:59.911 : <ERROR> load_unit() - Failed to load units from file (/def/vehicle/truck/scania.s_2016/accessory/flag_l/defl_cl.sii)
Dotec
Posts: 1142
Joined: 20 Dec 2012 15:52
Location: Stuttgart, Germany
Contact:

Re: [WIP] Scania NG side window deflector

#33 Post by Dotec » 10 Oct 2021 10:22

the game.log tells you exactly what's wrong:
defl_cl.sii
line 9
Expecting attribute name or closing bracket, found ':'
User avatar
enus420
Posts: 66
Joined: 07 Aug 2021 11:37
Location: Under your bed

Re: [WIP] Scania NG side window deflector

#34 Post by enus420 » 10 Oct 2021 10:37

still tring to figure out why the mod won't show up (on flag and doortrim), and in the game log there's an error message that says: <ERROR> load_unit() - Failed to load units from file (/def/vehicle/truck/scania.s_2016/accessory/windowtrim/defl_cl.sii).

im tired of seeing it, seriously. so, if anyone knows what "failed to load unit" error message means, please tell me what is it, what should i do about it, and what caused it. thank you.
User avatar
suafo
Posts: 24
Joined: 21 Dec 2020 15:26
Location: watermelon republic

Re: [WIP] Scania NG side window deflector

#35 Post by suafo » 10 Oct 2021 15:29

did you change your file ".sii" and still have this error?
If so, could you please share this file to understand what the error is.
User avatar
Bulldozer 1973
Posts: 1200
Joined: 21 Dec 2012 00:27
Location: Treuchtlingen / Germany
Contact:

Re: [WIP] Scania NG side window deflector

#36 Post by Bulldozer 1973 » 10 Oct 2021 20:07

I have in my NGT a Node with Name "s_wnd_def" for the Window Deflectors ;)

But is a very nice work.
Greetings,
Harald

---
Sorry for my bad english, i from germany. I use Translators deepl.com / google.de
---
I will not distribute a modified mods without permission from the original creator / author!
User avatar
enus420
Posts: 66
Joined: 07 Aug 2021 11:37
Location: Under your bed

Re: [WIP] Scania NG side window deflector

#37 Post by enus420 » 11 Oct 2021 09:21

suafo wrote: 10 Oct 2021 15:29 did you change your file ".sii" and still have this error?
If so, could you please share this file to understand what the error is.
what did you mean by changing the file .sii?

also here's what's inside the sii file:
SiiNunit
{
accessory_addon_data : defl_cl.scania.s_2016.windowtrim
{
name: "Wind Deflector Clear"
price: 69
unlock: 0
icon: deflector_icon
exterior_model: "/vehicle/truck/upgrade/windowtrim/scania.s_2016/defl_cl.pmd"
interior_model: "/vehicle/truck/upgrade/windowtrim/scania.s_2016/defl_cli.pmd"
}
}
Langelott
Posts: 64
Joined: 09 Jun 2017 13:03
Location: NRW, Germany

Re: [WIP] Scania NG side window deflector

#38 Post by Langelott » 11 Oct 2021 11:46

@enus420 is not "suitable for:" missing there ?
User avatar
enus420
Posts: 66
Joined: 07 Aug 2021 11:37
Location: Under your bed

Re: [WIP] Scania NG side window deflector

#39 Post by enus420 » 11 Oct 2021 12:28

do i really need to add "suitable for:" in windowtrim? i thought it can be fitted for both for normal and highline roof.
Langelott
Posts: 64
Joined: 09 Jun 2017 13:03
Location: NRW, Germany

Re: [WIP] Scania NG side window deflector

#40 Post by Langelott » 11 Oct 2021 13:19

i guess i mean adding the line is let the game know that the accessorie is meant to be allocated in the doortrim Node right? ... personally i have no idea man am not that good at def modding however... i do know that some accessories work that say ie. i added some lines ont rhe RJL truck so i can use the backcap Tower equipment also in the NG...
Post Reply

Return to “Truck accessories”

Who is online

Users browsing this forum: No registered users and 6 guests