Package file structure

Overview of game resource organization in global and scene directories

The correct organization of game resources into "global" and "scene" directories is crucial not only for maintaining clarity but also for controlling the loading of game resources depending on whether they are needed in a "global" or "scene" context. This structured approach ensures that resources are loaded efficiently and only when required, which enhances the game’s performance.

For more comprehensive details, please refer to the article on Packages.

Global section content

DirectoryDescription

interface

Contains files describing the game's user interface in game lobby

map

The folder with maps and missions

music

The folder containing music files and music playback configuration files

set

Global game settings

set\difficulty

Game difficulty settings

set\multiplayer

Settings for multiplayer modes and unit presets for these modes

set\side

This directory contains configuration files for the global nations in the game

set\registry

This directory contains files with simple settings for the game engine, which are used to configure basic operational parameters.

sound

Sound effects and configuration files for sound playback settings

video

Video files and configuration files for video playback within the game

Scene section content

DirectoryDescription

at

Files with default settings for console commands

entity

Folder containing model files for game entities and their configuration files

interface

Descriptions of in-game interface elements

properties

Descriptions of game component properties

set

Configuration files inside game components

set\ability

Descriptions of unit abilities

set\blow

Descriptions of explosion mechanics

set\colliders

Descriptions of breeds – includes presets for units (weapons, equipment, perks, and inventory contents). Editable in the Breed Editor

set\environment

Environmental settings and weather effect files. Editable in the Environment Editor.

set\interaction_entity

Сonfiguration files for unit interaction settings

set\interaction_terrain

Territory type configuration files

set\vision

Settings for unit vision parameters

Texture

The folder with textures

When adding new files, it is essential to follow the original folder structure in the Main Package to ensure compatibility and functionality.

Misplacing game resources can lead to errors during game loading.

Localization folder content

DirectoryDescription

interface\text

Interface localization files

sound\mission

Sound files for localized texts

Last updated