Currently, the level files are used to house the library of models used throughout the game and the current collection of entities that inhabit the world. This isn't going to work in the future with the implementation of the map generator.
We need a single XML file that describes all possible entities in the game, their characteristics, attributes, inventory, numeric value of how common the entity should be in the world, the regions it is able to inhabit, the entity's targets.
The singular level file has been split into the following:
EntityLib.xml - Stores each unique entity that can exist in the game. Information here includes basic information like their model, texture, scale, name, starting inventory, etc.
BuildingLib.xml - Each unique building, their size/model characteristics, prerequisites, etc.
ItemLib.xml - Each unique item, its name, weight, and whether or not it can be equipped.
ShaderLib.xml - Each unique shader.
Level files will continue to exist, but will be used to store saved games instead of generating new worlds.
Currently, the level files are used to house the library of models used throughout the game and the current collection of entities that inhabit the world. This isn't going to work in the future with the implementation of the map generator.
We need a single XML file that describes all possible entities in the game, their characteristics, attributes, inventory, numeric value of how common the entity should be in the world, the regions it is able to inhabit, the entity's targets.