Welcome to the TWC Wiki! You are not logged in. Please log in to the Wiki to vote in polls, change skin preferences, or edit pages. See HERE for details of how to LOG IN.

Ground types settlement plan

From TWC Wiki
Revision as of 09:14, 5 November 2023 by Dagovax (talk | contribs) (ground_types)
Jump to navigationJump to search

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



Roman town ground.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 }
 
YOU can help us improve this Wiki! ~ Look for ways to help and editing advice. ~ If you need further advice, please post here.