Skip to content

Framework Object & File Database

github-actions[bot] edited this page Jun 16, 2026 · 19 revisions

Table of Contents


This Wiki page was last updated for $$\textcolor{aqua}{Stellaris}$$ version v4.4.*


You can see The Name Convention for these Files and Objects in Framework Name Convention for Objects and Files wiki page.


1. Architectural Layer: Omnipresent Runtime Hooks & Memory States

This foundational infrastructure holds global engine pointers, mathematical script constraints, and systemic memory registries accessible across all scopes.

1.1. Scripted Global Variable Constants (GLOBALVAR)

  • Paradox Target Directory: common/scripted_variables/
  • Rule Reminder: Loaded via FIOS rules. Must be prefixed with @ inside scripts. The trailing custom purpose string block must stay strictly lowercase and under 20 characters to preserve parsing memory footprints.

Important

Entry Fields:

  • DEBCF_GLOBALVAR_NOSCOPE_<purpose>
    File Path: common/scripted_variables/!_DEBCF_core_variables.txt
    Calling Reference Format: @DEBCF_GLOBALVAR_NOSCOPE_<purpose>
    Target Scope: Global script compilation layer
    Persistence: Static baseline compile register
    Details: Hardcoded float or integer constants evaluated globally during script loading routines to override game engine behaviors dynamically.

Tip

Template For New Entries

* `DEBCF_GLOBALVAR_NOSCOPE_<purpose>`
   |  |  |
   | :--- | :--- |
   | File Path: | `common/scripted_variables/!_DEBCF_core_variables.txt` |
   | Calling Reference Format: | `@DEBCF_GLOBALVAR_NOSCOPE_<purpose>` |
   | Target Scope: | Global script compilation layer |
   | Persistence: | Static baseline compile register |
   | Details: | [Log the fixed mathematical float value, integer constant, or static mod check parameter defined for global file parsing usage.] |

1.2. Scripted Local Variable Macros (LOCALVAR)

  • Rule Reminder: Local macros are file-bound string block replacements parsed dynamically during scope setup routines.

Important

Entry Fields:

  • DEBCF_LOCALVAR_<SCOPE>_<purpose>
    File Path: Dynamic context path placement
    Calling Reference Format: @DEBCF_LOCALVAR_<SCOPE>_<purpose>
    Target Scope: Local system compilation block boundary
    Persistence: Volatile baseline script compilation layer
    Details: Macro replacements handled instantly by the parser logic rules to optimize complex scripted triggers or effects within a single document layout.

Tip

Template For New Entries

* `DEBCF_LOCALVAR_<SCOPE>_<purpose>`
   |  |  |
   | :--- | :--- |
   | File Path: | [Insert calling component file path context here] |
   | Calling Reference Format: | `@DEBCF_LOCALVAR_<SCOPE>_<purpose>` |
   | Target Scope: | Local system compilation block boundary |
   | Persistence: | Volatile baseline script compilation layer |
   | Details: | [Document the local macro string substitution logic, math overrides, or conditional inline case blocks bounded to this entry.] |

Clone this wiki locally