Using the Map Editor

User avatar
Arayas
Site Admin
Posts: 7377
Joined: December 15th, 2018, 3:25 am
Location: Romania
Contact:

Re: Using the Map Editor

Post by Arayas » December 29th, 2018, 12:06 am

That's because that prefab it's a SCS standard one but with added "looks" and it's defined by SCS. Let me look in TSM for this.

Edit:

So that prefab is a standard prefab edited by TSM to have 62 (!!) looks and with no need for a definition (already defined in main game)
tsm prefab.jpg
Looking in TSM pmd i have realized they have older standard looks (compare standard RED with actual RED now, the mat files are from history)
TSM2.jpg
ImageImage Image
support@roextended.ro
www.roextended.ro
User avatar
BenganJ
Moderator
Posts: 9919
Joined: December 15th, 2018, 11:54 am
Location: Gothenburg, Sweden

Re: Using the Map Editor

Post by BenganJ » December 29th, 2018, 12:38 am

Guys, I'm not fully aware of what you are searching for, but I found this info
in SCS original /def/world/prefab.sii .

Code: Select all

prefab_model : prefab.14 {
	model_desc: "/prefab/gas_small/gasstation_small_2_2.pmd"
	prefab_desc: "/prefab/gas_small/gasstation_small_2_2.ppd"
	use_perlin: false
	tweak_detail_vegetation: true
	slow_time: true
	use_semaphores: true
}
Can that be of any help?
---------------------------------------------------------------------------------------------------------------------------------------------
System: Windows 8.1
Processor: Intel Core i7-4790@
Memory: 16GB
Graphics: ASUS GeForce GTX1660Ti
Image
User avatar
Arayas
Site Admin
Posts: 7377
Joined: December 15th, 2018, 3:25 am
Location: Romania
Contact:

Re: Using the Map Editor

Post by Arayas » December 29th, 2018, 12:45 am

I removed standard looks from pmd file, now it has just TSM 42 looks.
Create corect path prefab/gas_small in your RC and place it there and see if it works.
gasstation_small_2_2.zip
If this is not working and you have this problem only in your area of editing it's much simple, change the look of gas stations 2 2 to a standard one.
Thank you Bengan
ImageImage Image
support@roextended.ro
www.roextended.ro
Dawid2849
PPM
Posts: 124
Joined: December 15th, 2018, 10:53 am
Location: Biłgoraj, Poland
Contact:

Re: Using the Map Editor

Post by Dawid2849 » December 29th, 2018, 12:49 am

Thank you very much! You've been in the authors so I do not have to change anything! Now only a test drive and upload!
User avatar
Arayas
Site Admin
Posts: 7377
Joined: December 15th, 2018, 3:25 am
Location: Romania
Contact:

Re: Using the Map Editor

Post by Arayas » December 29th, 2018, 12:57 am

It's working?!

Because it may be a little early.
TSM have ORLEN station with 16 materials like the standard game. Mat files are old but they are in TSM files so no problem there.

Your gas stations, has an ORLEN station with 17 materials. THIS is what the game it's trying to transmit to you.
tsm3.jpg
ImageImage Image
support@roextended.ro
www.roextended.ro
Dawid2849
PPM
Posts: 124
Joined: December 15th, 2018, 10:53 am
Location: Biłgoraj, Poland
Contact:

Re: Using the Map Editor

Post by Dawid2849 » December 29th, 2018, 1:01 am

Nope, crash
End of log:

Code: Select all

00:03:23.240 : <ERROR> [model] Material index 16 requested for model which has only 16 materials: '/prefab/gas_small/gasstation_small_2_2.pmd'
00:03:23.240 : <ERROR> [model] Material index 17 requested for model which has only 16 materials: '/prefab/gas_small/gasstation_small_2_2.pmd'
User avatar
Arayas
Site Admin
Posts: 7377
Joined: December 15th, 2018, 3:25 am
Location: Romania
Contact:

Re: Using the Map Editor

Post by Arayas » December 29th, 2018, 1:01 am

read above you

Solution:
open GP in editor, content browser, search stacja_benzynowa gas station, right click, find all references, and replace them all with standard ones. Sorry, but that file, even it was defined separatly has the same LOOK as TSM.

Or if you want i can send you a modified stacja_benzynowa.pmd with look ORLE instead of ORLEN, but you will need to find all stacja_benzynowa with that look and modify the look from ORLEN to ORLE.
stacja_benzynowa.zip
ImageImage Image
support@roextended.ro
www.roextended.ro
Dawid2849
PPM
Posts: 124
Joined: December 15th, 2018, 10:53 am
Location: Biłgoraj, Poland
Contact:

Re: Using the Map Editor

Post by Dawid2849 » December 29th, 2018, 1:02 am

Can I fix it?
User avatar
Arayas
Site Admin
Posts: 7377
Joined: December 15th, 2018, 3:25 am
Location: Romania
Contact:

Re: Using the Map Editor

Post by Arayas » December 29th, 2018, 1:15 am

To do it right leave the files as they are, change all stacja_benzynowa to standard gas 2 2. Save, find all references to stacja_benzynowa if it's zero, save and close, replace stacja_benzynowa.pmd with the one i send it to you and re-assign standard gas to ORLE or LOTOS.

Keep me posted, i'm going to sleep now. See you tomorow.
ImageImage Image
support@roextended.ro
www.roextended.ro
Dawid2849
PPM
Posts: 124
Joined: December 15th, 2018, 10:53 am
Location: Biłgoraj, Poland
Contact:

Re: Using the Map Editor

Post by Dawid2849 » December 29th, 2018, 11:20 am

A lot of these stacja_benzynowa to change :lol: :lol: Image

Always crash :( I wonder if this makes sense ... TSM is a very problematic modification ... Maybe I did something wrong, but now crash only near border
link to RC with patch: https://sharemods.com/55z3hd0a55lr/zzzz ... 4.scs.html

and end of log:

Code: Select all

00:02:21.257 : <ERROR> [model] Unknown look name 'ger_blue' on model '/prefab/gas_small/gasstation_small_2_2.pmd'
00:02:21.307 : <ERROR> [model] Unknown look name 'ger_blue' on model '/prefab/gas_small/gasstation_small_2_2.pmd'
00:02:21.308 : <ERROR> [model] Material index 16 requested for model which has only 16 materials: '/prefab/gas_small/gasstation_small_2_2.pmd'
00:02:21.308 : <ERROR> [model] Material index 17 requested for model which has only 16 materials: '/prefab/gas_small/gasstation_small_2_2.pmd'
Post Reply