Contents |
Scorched3D allows each mod to define a set of landscapes (or to modify the existing landscapes).
Rather than being stored in a single file like the accessories, Scorched 3D's landscapes are spread out over a series of different files. Each file contains the different aspects that come together to define the overall result that you see in the game.
Landscapes are defined in two parts:-
Each of these aspects (visual and physical) have a set of different properties that can be defined.
Splitting these two concepts into separate files allows each different visual to be applied to all physical landscapes increasing the variety and combinations of landscapes.
All landscapes are defined in the landscapes.xml file. This is the main file for all the landscapes. It contains some basic info about the landscape and determines which Definition Files and which Texture Files can be used by this landscape.
The Definition Files and Texture Files then in turn also reference/include other Include Files to build up a definition of the landscape. These include files can be used by any number of texture/definition files and help to keep the landscapes definitions modular.
|
+--> Definition Files
| |
| +--> Include Files
|
+--> Texture Files
|
+--> Include Files
The landscapes.xml file is contained in the game's (or your mod's) /data/ directory. The rest of the landscape files should be stored in the /data/landscapes/ directory.
In addition to this documentation, a good way to learn to manipulate the landscapes is to have a look at what has already been done. In addition to looking at the standard files that come with the game, there are plenty of mods available to look through as well. Looking at as much of the xml as you can is a great way to get acquainted with the workings of Scorched 3D.