Difference between revisions of "Ground types settlement plan"
(→ground_types) |
(→ground_types) |
||
Line 3: | Line 3: | ||
==ground_types== | ==ground_types== | ||
− | A settlement plan ground_type file can be found under '''''data\settlement_plans\ground_types'''''. It is a .tga file that is used inside a settlement plan, and tells the game what sounds to produce when a soldier walks/runs over that given section.<br> | + | A settlement plan ground_type file can be found under '''''data\settlement_plans\ground_types'''''. It is a .tga file that is used inside a settlement plan, and tells the game what sounds to produce when a soldier walks/runs over that given section. It will also disable/enable grass render for certain ground types. |
+ | |||
+ | Most of the example images are sized '''512x512''', but I suspect any size of factor 2 will work.<br> | ||
+ | The .tga file is being referenced inside a settlement plan. It has its own line after the '''floor'''. | ||
+ | |||
+ | <code>ground_types roman_town_ground.tga -288 -288 288 288</code> | ||
+ | |||
+ | <br> | ||
+ | The ''-288 -288 288 288'' is the positioning of this file and the scale. You can use this in your 3d editor and create a plane with length and width being 576, and applying this .tga | ||
+ | |||
+ | <br> | ||
Revision as of 09:14, 5 November 2023
This article is about ground_types that are used inside settlements.
ground_types
A settlement plan ground_type file can be found under data\settlement_plans\ground_types. It is a .tga file that is used inside a settlement plan, and tells the game what sounds to produce when a soldier walks/runs over that given section. It will also disable/enable grass render for certain ground types.
Most of the example images are sized 512x512, but I suspect any size of factor 2 will work.
The .tga file is being referenced inside a settlement plan. It has its own line after the floor.
ground_types roman_town_ground.tga -288 -288 288 288
The -288 -288 288 288 is the positioning of this file and the scale. You can use this in your 3d editor and create a plane with length and width being 576, and applying this .tga
You can paint different colours in here, but thanks to Feral we know what each color means.
Type | RGB | Color |
---|---|---|
Use Underlay | { 255, 255, 255 } | |
Short Grass | { 0, 255, 0 } | |
Long Grass | { 0, 166, 0 } | |
Mud | { 255, 0, 255 } | |
Sand | { 171, 160, 0 } | |
Stone Road | { 0, 255, 255 } | |
Stone Road (Walls) | { 198, 156, 109 } | |
Stone Road (Pavement) | { 0, 174, 239 } | |
Grass Short (Wheat Field) | { 255, 255, 0 } | |
Grass Short (Vegetation) | { 0, 166, 81 } | |
Stone Road (Building) | { 0, 0, 0, } | |
Underlay Topographical (uses underlying topographical type?) | { 255, 127, 255 } |