Adding map overlays

Modding school: Learn it from the masters
Post Reply
User avatar
Tronni22
Posts: 294
Joined: 30 Nov 2014 14:18
Location: Langesund, Bamble, Telemark

29 Jul 2017 17:41

I need some help to figure out map overlays. What files do I need? So far, I've got a .dds, a .tobj and a .mat file, but do I need any more files?
The files are here if you need to look at them:
- Dale, get out of the hot tub. We're stealing a news van.
- It's the perfect crime. How will they ever report it?

"It takes a big man to admit when he's wrong, but it takes an even bigger man to give a giraffe a haircut"
Twitter @KeetPotato

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

29 Jul 2017 20:35

You have to enable them in your own .sii file:

Code: Select all

/def/world/overlay.tronni.sii
(example name, you can replace "tronni" with anything you want)
It should contain this:

Code: Select all

SiiNunit
{
overlay_def : .overlay {
	
	road_names[]: "no_fv352"
	road_names[]: "no_e18"
	road_names[]: "no_rv354"
}

}
As you can see, I suggest naming your files like this:

Code: Select all

road_no_fv352
road_no_e18
road_no_rv354
I think that additional underscore is not needed, why make names more complex?
Image
Currently working on: various stuff
#1 forum spammer
Enjoying PM since 1.52
YouTube channel [PL]: http://youtube.pl/vooytek

User avatar
Tronni22
Posts: 294
Joined: 30 Nov 2014 14:18
Location: Langesund, Bamble, Telemark

29 Jul 2017 21:18

Thanks for your help, Vøytek! The reason for the extra underscore is that there already is an E18 in the game, but it is incorrect, so I made a better one. But you're right, I should shorten it.

Edit: The shortened name seems to cause a conflict, so I'll revert back to the old one.
- Dale, get out of the hot tub. We're stealing a news van.
- It's the perfect crime. How will they ever report it?

"It takes a big man to admit when he's wrong, but it takes an even bigger man to give a giraffe a haircut"
Twitter @KeetPotato



Post Reply

Return to “ProMods Academy”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests