Community Forum

Creating new infoLayer_ files from my map.

Forum Overview >> Editor

Created17.01.2022 21:57

Tiago Piloneto (Tiago_Piloneto) 17.01.2022 21:57
I'm finishing my map but I'm having trouble generating these files:

They are related to the game's original mapUS. How do I update them to be related to my map objects?

In FS19 I started a new savegame and copied the generated files.
On FS22 I still don't know how this works.

Ed Propsner (crotchfrog) 17.01.2022 23:23
Just copy them over from the game installation folder. They will have all the original map data on them so will likely require more work. Do you know what to do with them from there?

Tiago Piloneto (Tiago_Piloneto) 18.01.2022 01:14
What I need to know is how to generate these 3 .grle files
The others are all ok.

densityMap_fruits.gdm ... OK
densityMap_ground.gdm ... OK
densityMap_height.gdm ... OK
densityMap_stones.gdm ... OK
densityMap_weed.gdm ... OK
infoLayer_farmland.grle ... OK
infoLayer_indoorMask.grle ... OK - Generated via script (Generate Mask in GE)
infoLayer_navigationCollision.grle ?
infoLayer_placementCollisionGenerated.grle ... OK
infoLayer_tipCollision.grle ?
infoLayer_tipCollisionGenerated.grle ?

My personal question, how do you generate these 2 files?

Has anyone already made it?

Colin Smith (WrinkleysRule) 18.01.2022 11:56
These files
infoLayer_indoor mask.grle
infoLayer_navigation collision.grle

can be edited in the Editor by selecting the "Terrain Iifo layer paint mode" and selecting the appropriate layer in the "Info Layer Painting" section --Info Layer drop box -- and are automatically updated when you save the map
If you do not edit these files to match your map you will have problems with the AI moving around the map. tipping produce to ground and snow appearing inside some buildings.

Tiago Piloneto (Tiago_Piloneto) 18.01.2022 13:18
Yes, now I understand.
I will paint the tipColision manually and then generate the script (the game will generate the tipColisionGenerated).
I was not up to date with these new files.
I still have a little work to do to finish my map!

Tiago Piloneto (Tiago_Piloneto) 18.01.2022 13:43

Bilbo Beutlin (BBeutlin) 19.01.2022 03:38
Case you didn't know: for creating tipCollisionMap and placementCollisionMap use the GE script on menu "scripts/map/create ground collision map".
Of course you should do this at the very last. Later changes might make these files invalid.

Tiago Piloneto (Tiago_Piloneto) 19.01.2022 15:27
I will test this today.
I must select the layer and paint all of it with a value of 0 after generating the file.
If there is already any painted location with a value of 1 (hexadecimal 010101) the script will generate the infoLayer_tipCollisionGenerated.grle of just what was painted.

I tested. Unlike FS19, here I must paint the tipCollision layer and then use the script, which will generate the infoLayer_tipCollisionGenerated.grle file.
I used the indoorMask layer as a base, I just erased some points, like under the trees to paint the tipCollision.

Note: Log in to post. Create a new account here.