Documentation
Русский
  • Gem RTS v1 Documentation
  • Foundational Knowledge
    • Game local files and Player Profile locations
    • Game resource architecture
      • Packages
      • Package file structure
    • Basic knowledge about configuration files
      • Include instruction
      • Define instruction
      • Mod instruction
  • Mod Development
    • Creating mod
    • Advanced package configuration
    • Creating Settings templates
  • Editor
    • Camera control in the Editor
    • Useful Editor shortcuts and Console commands
    • Map Editor
      • Creating a new map
      • Scene Editor
      • Entity Editor
      • Landscape Editor
        • Heights Editor
        • Polygons Editor
        • Terrains Editor
        • Color Editor
        • Flags Editor
        • Material Editor
        • Grass Editor
        • Foliage Editor
      • Water Editor
      • Specifics of Map Editing
        • Creating destroyed vehicle entities for map entourage
        • Creating terrain folds
          • Creating Ground Surface relief
          • Rock and cliff entities
        • Stone entities
        • Entity for water sound effects
        • Building entities
      • Creating a minimap
    • Mission Editor
      • Mission Properties Editor
    • FX Editor
    • Environment Editor
      • Basic knowledge about HDR
      • Creating environment preset
      • Setting Environment preset parameters
    • Debug Tools
      • Console
      • Debug Processes Window
      • Render Layer List Window
    • Simulation Mode
  • Textures and Materials
    • Physically Based Rendering
      • Texture compression formats in GEM RTS
      • PBR parameters
      • Texture Conversion in Gem RTS
      • Texture conversion to PBR materials using Nvidia Texture Exporter
  • Modeling
    • 3ds Max Plugin
    • Vehicle Model Setup Pipeline
      • Bone hierarchy in vehicle models
        • Body
        • Turret
        • Engine
        • Gun
        • Secondary bones
        • Transmission
          • Сhassis mechanisms
  • Localization
    • Variable strings in localization
    • Adding a new localization language
  • Game settings
    • Movement on slopes
    • Configuration of movement types for human units
    • Configuring entity interaction with wind
    • Sensor
    • User control sound
Powered by GitBook
On this page
  • Resource modules
  • Types of packages
  • Package Manager
  1. Foundational Knowledge

Game resource architecture

Last updated 1 year ago

Resource modules

Game resources consist of two parts

Directory
Description

resource/

Basic resources

packages/

Packages are represented as folders containing resources related to game components or mods. Each package contains its own folder.

Types of packages

Package type
Description

DLC

Game add-on package. It is a commercial package that can be purchased as standalone DLC or as part of bundles with other Steam products. Only the developer can add DLC packages

Regular

Game component. This is a part of the game or DLC.

Only the developer can add game component packages

Workshop Item

A custom modification package published through the Workshop as a custom mod.

Anyone who makes mods can add Workshop Item packages

Raw package

A package of a created but unpublished mod

The main game folder contains :

  • basic resources;

  • regular packages;

  • DLC packages

Package Manager

The Package Manager is an integral component of the Gem RTS engine, designed to coordinate resource loading upon application startup. Basic resources are loaded first. Then the Package Manager determines the loading order of files from packages based on their properties specified in the .info files.

When loading files from packages, the global or scene context is also taken into account. This context defines the general principles of organizing game resources in the packages, allowing for the inclusion or exclusion of specific resources depending on the loaded content, such as modifications, campaigns, specific missions or maps in the game or editor.

The Package Manager is a built-in feature of the Gem RTS engine, and users do not have direct access to modify its settings. This ensures consistent and efficient management of resources without manual intervention, streamlining gameplay and development workflows.


Learn more

Root directory
Cover

Packages

Cover

Package file structure