Trailers spawning on company prefabs?

Modding school: Learn it from the masters
Post Reply
User avatar
gregory.huizer
Posts: 249
Joined: 30 Apr 2014 08:19
Donation rank:
Location: Rotterdam

21 Mar 2017 20:43

Since when are trailers being spawn on company prefabs?
Image
And how can I change its look?

User avatar
Vøytek
Developer
Posts: 10276
Joined: 05 Jan 2014 19:38
Location: Prague, Czech Republic
Contact:

21 Mar 2017 21:03

Well... Since always I think.

If there's a job available, there's a trailer.
5 jobs = 5 trailers

About the 2nd question - it changed in 1.26, I can't help but I'll let our dev trailer know and he'll answer you.
Image
Currently working on: various stuff
#1 forum spammer
Enjoying PM since 1.52
YouTube channel [PL]: http://youtube.pl/vooytek

User avatar
gregory.huizer
Posts: 249
Joined: 30 Apr 2014 08:19
Donation rank:
Location: Rotterdam

21 Mar 2017 21:06

Well, it's also in the editor so probably the company prefab models have changed?
They also spawn in places that are not job related...

User avatar
ETS2-User
Developer
Posts: 2960
Joined: 06 Aug 2014 22:34
Location: Oberösterreich

21 Mar 2017 21:31

You need to open the prefab's pmd with a hex editor or preferably with SCS editor (https://www.trucksim.org/threads/scs-models-editor.507/) to find its textures. When you're done with texture editing you create a new look for the prefab using SCS editor and assign all the existing textures and your new one replacing the one you changed to it and save it. Don't forget the mat and tobj.
Developer for Austria and Svalbard
Creator of the Radiator Springs mod for ATS
Mods by ETS2-User: Facebook page

Image

User avatar
gregory.huizer
Posts: 249
Joined: 30 Apr 2014 08:19
Donation rank:
Location: Rotterdam

21 Mar 2017 21:38

It's not the company prefab itself that's the issue; it's the trailer (krone profiliner/ krone coolliner/ container) that's on the company prefab and I would like it to have that company's skin...

User avatar
ETS2-User
Developer
Posts: 2960
Joined: 06 Aug 2014 22:34
Location: Oberösterreich

21 Mar 2017 21:42

Even easier: vehicle/trailer_eu/company, there you have all the skins. ;)
Developer for Austria and Svalbard
Creator of the Radiator Springs mod for ATS
Mods by ETS2-User: Facebook page

Image

User avatar
gregory.huizer
Posts: 249
Joined: 30 Apr 2014 08:19
Donation rank:
Location: Rotterdam

21 Mar 2017 21:51

Yeah, they're all there and changed as well, but somehow those spawned trailers are all skinless...

igor90
Posts: 28
Joined: 01 Nov 2014 22:09

22 Mar 2017 00:15

When you open a company prefab in Blender there are usually 2 types of locators:
1 for spawning trailers which you can take to do a job
2 for spawning trailers which cannot be taken, but you can see in game - they spawn with random skin (it can be predefined somewhere else, but im not sure)

User avatar
gregory.huizer
Posts: 249
Joined: 30 Apr 2014 08:19
Donation rank:
Location: Rotterdam

22 Mar 2017 07:59

So it's actually baked into the company prefab model?

Option 2? It would be nice to have that trailer spawn at a company with the skin of that same company and not anything random.
But somehow at the companies in my map where they spawn they're all blank.

igor90
Posts: 28
Joined: 01 Nov 2014 22:09

23 Mar 2017 20:41

Is that any default prefab? if You give me a name I will look into it in Blender by the end of the week :)

e:
Locators are taken from hookups, so go to:

//unit/hookup/parked_trailer.sii
(but firstly You need to know what type of hookup was used at a locator)

and than look in:
\def\vehicle\trailer

I hope this will help You a little bit ;)



Post Reply

Return to “ProMods Academy”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 9 guests