Difference between revisions of "Descr geography new.db"
m (added Category:M2TW Battle Map Modding using HotCat) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{M2TW Modding Logo}} | ||
For the RTW file see: [[descr_geography.db]] | For the RTW file see: [[descr_geography.db]] | ||
Line 6: | Line 7: | ||
===Changing Textures=== | ===Changing Textures=== | ||
Select the required Climate and Season and Ground_Textures. Double click the texture name you want to change to open the line for editing. <br> | Select the required Climate and Season and Ground_Textures. Double click the texture name you want to change to open the line for editing. <br> | ||
− | [[File:Change texture names.jpg|200px]]<br> | + | [[File:Change texture names.jpg|200px]]<br> |
+ | The underlined BGR values in the picture make up the colour which the game uses for distant bits of landscape which would have used that battlefield texture. If you're drastically changing a texture colour (e.g. from grass to snow colours) you will want to change the BGR values too. NOTE: If you have a geography_new.db that was created by letting M2TW regenerate from the text file ALL of the BGR values will have been wiped out and re-set to 0 0 0! This is why some mods have ended up with black distant mountains. | ||
+ | |||
===Copy Climate Function=== | ===Copy Climate Function=== | ||
If you wish to copy all of one Climate's Season to another use the Copy Function tab. Select the From and To Climates/Seasons as required and toggle the settings you want to copy. If you don't know what you're doing, you probably want to toggle all of the settings to ON! | If you wish to copy all of one Climate's Season to another use the Copy Function tab. Select the From and To Climates/Seasons as required and toggle the settings you want to copy. If you don't know what you're doing, you probably want to toggle all of the settings to ON! | ||
Line 12: | Line 15: | ||
[[File:Copy functions.jpg|200px]]<br> | [[File:Copy functions.jpg|200px]]<br> | ||
If you open the Vegetation.db at the same time you can also copy the Vegetation Groups within that db as part of the same process. | If you open the Vegetation.db at the same time you can also copy the Vegetation Groups within that db as part of the same process. | ||
+ | |||
+ | ==Overall Scale== | ||
+ | This value isn't editable in IWTE currently - it's the float value at decimal position 905 in the .db file - you can change this via hex-editor. | ||
[[Category:M2TW Battle Map Modding]] | [[Category:M2TW Battle Map Modding]] |
Latest revision as of 04:11, 21 July 2020
For the RTW file see: descr_geography.db
Contents
Editing descr_geography_new.db with IWTE
Open the .db file by using the Veg/GeogDB tab and Read/edit geography.db button. When you've finished making all your changes use OK-write files to save. The new files will be written with _IWTE or _1 added to the end to avoid accidental overwrites of your original files - change the names of the new files to allow them to be used in game.
Changing Textures
Select the required Climate and Season and Ground_Textures. Double click the texture name you want to change to open the line for editing.
The underlined BGR values in the picture make up the colour which the game uses for distant bits of landscape which would have used that battlefield texture. If you're drastically changing a texture colour (e.g. from grass to snow colours) you will want to change the BGR values too. NOTE: If you have a geography_new.db that was created by letting M2TW regenerate from the text file ALL of the BGR values will have been wiped out and re-set to 0 0 0! This is why some mods have ended up with black distant mountains.
Copy Climate Function
If you wish to copy all of one Climate's Season to another use the Copy Function tab. Select the From and To Climates/Seasons as required and toggle the settings you want to copy. If you don't know what you're doing, you probably want to toggle all of the settings to ON!
Click 'Copy selected data' - you will need to use "OK - write files" to save a file with the copied data.
If you open the Vegetation.db at the same time you can also copy the Vegetation Groups within that db as part of the same process.
Overall Scale
This value isn't editable in IWTE currently - it's the float value at decimal position 905 in the .db file - you can change this via hex-editor.