Modding Q&A

Modding school: Learn it from the masters
oldradish
Posts: 15
Joined: 05 Dec 2015 16:45
Donation rank:
Location: Taipa

19 May 2020 01:24

I wanna replace default road texture with this road texture:
Image
I have saw this kind of road in Norway, does anyone know where to find this texture?
ImageImage

michael1302
Posts: 29
Joined: 06 Feb 2019 12:36

02 Jun 2020 15:21

Hello guys, I'm wondering how "road_look.sii" thing works.
I found out that some kinds of road use "road_look.sii" and some use "road_look.template.sii".

Roads using .template.sii file, has actual .pmd file, but without-.template file-road has nothing(only sii). (according to map editor info)

Can someone explain how those works?

User avatar
MandelSoft
Lead Developer
Posts: 3835
Joined: 08 Aug 2013 10:48
Location: Delft [NL]

02 Jun 2020 16:35

The "road_look.sii" entries are procedurally generated. It's a legacy system that was quit inflexible when it comes to road markings, and that's why it is abandoned for the new system that's based upon models, or "road templates". So it's basically an old system vs a new system.
Your daily dose of wisdom!
╔═══╗────╔═╗╔═╗────╔╗
║╔═╗║────║║╚╝║║────║║
║╚═╝╠═╦══╣╔╗╔╗╠══╦═╝╠══╗
║╔══╣╔╣╔╗║║║║║║╔╗║╔╗║══╣
║║──║║║╚╝║║║║║║╚╝║╚╝╠══║
╚╝──╚╝╚══╩╝╚╝╚╩══╩══╩══╝
Don't ask us for a release date; we don't know either.

michael1302
Posts: 29
Joined: 06 Feb 2019 12:36

02 Jun 2020 16:56

I got it thanks.

Added in 11 hours 9 minutes 43 seconds:
One more question. Is there any way to edit old type road? ex. line textures

Added in 1 hour 15 minutes 59 seconds:
I studied more, and I guess old-system-road is made with variables in road_look.sii and textures files in material folder.

So,

road_look.sii -> road dimension info
road.sii -> road line info
road_material.sii -> asphalt(texture) info

Is that correct that I understanded? If I understanded correctly, that means I can also make my own old-system-road. right?

(nvm with previous question)

User avatar
MandelSoft
Lead Developer
Posts: 3835
Joined: 08 Aug 2013 10:48
Location: Delft [NL]

03 Jun 2020 08:43

Yes, that's correct.
Your daily dose of wisdom!
╔═══╗────╔═╗╔═╗────╔╗
║╔═╗║────║║╚╝║║────║║
║╚═╝╠═╦══╣╔╗╔╗╠══╦═╝╠══╗
║╔══╣╔╣╔╗║║║║║║╔╗║╔╗║══╣
║║──║║║╚╝║║║║║║╚╝║╚╝╠══║
╚╝──╚╝╚══╩╝╚╝╚╩══╩══╩══╝
Don't ask us for a release date; we don't know either.

michael1302
Posts: 29
Joined: 06 Feb 2019 12:36

03 Jun 2020 18:09

What about variable named "shoulder_space"?
I'm wondering what that does.

Very thank you for answering

chaffinch
Posts: 34
Joined: 19 Apr 2020 14:49

04 Jun 2020 15:34

I feel a bit beaten by walls and paths that randomly snap to the road or terrain (image below). I have been trying to fill a missing link between the A4 and A13 in Paris.

I tried using manual rotation of nodes to enforce the intent to make the ways go under the road, but to no avail. Disabling "snap to ground" when creating new ways do not work either.

Image
Image
Image

User avatar
scan720
Developer
Posts: 1625
Joined: 31 May 2014 13:57
Donation rank:
Location: Munich, Germany
Contact:

04 Jun 2020 17:00

You need to disable snap to ground
If it doesnt work you need to delete it
Developer since July 2020
Working in Poland

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

04 Jun 2020 18:19

Just click "Reset offsets" and it'll be back to the ground.
Image
Currently working on: various stuff
#1 forum spammer
Enjoying PM since 1.52
YouTube channel [PL]: http://youtube.pl/vooytek

michael1302
Posts: 29
Joined: 06 Feb 2019 12:36

05 Jun 2020 06:30

pi123.png
pi123.png (28.71 KiB) Viewed 1360 times
Anyone knows about this variable?

In road_look.sii and road_look.template.sii



Post Reply

Return to “ProMods Academy”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 45 guests