User Tools

Site Tools


en:games:star_trek_armada_1:modding:odf_directives

This is an old revision of the document!


Star Trek: Armada ODF Directives

ODF files of the game Star Trek: Armada consist of lines of so-called directives, that influence, how an element of the game behaves, e.g. how much health a specific unit does have. Here is a rather lengthy list of directives, with their different uses and effects.

Meta Commands

Some commands/directives are actually meta commands, as they don’t have any effect on their own, but only import other files referenced, which in turn are causing the actual effects. They work with any kind of file, but don’t always make sense, depending on the type of ODF/object they are used by.

Command/Directive Effect/Usage
#include "filename.odf" Makes the game include any directives that are not already included in the current file, from another file. Many weapons use this so that they can have a different name and sprite but have the same damage and fire rates etc… Simply put, it behaves as if all the text from the referenced file is placed at this location, instead of the #include command. This works cascading. So if an included file uses #include as well, these files are also de-referenced during loading. Do not create cyclic references!
baseName = "my_file_without.sod" Specifies which SOD file is used for this unit. This is only useful when the SOD is named differently than the unit’s ODF file.
When using this directive in an ODF, this ODF inherits all the GUI properties of the ODF designated by the baseName directive as well as the SOD (i.e. button, wireframe).
physicsFile = "my_file.odf" Specifies which physics file is used for this ship.
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
en/games/star_trek_armada_1/modding/odf_directives.1701375644.txt.gz · Last modified: 2023-11-30-21-20 by 7saturn

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki