ModDefinition.txt (SEV)

From SEWiki

Jump to: navigation, search

Mod Definitions

The Mod Definitions file details the most basic settings a mod can have. The file is named ModDefinition.txt (case sensitive) and must be located in the GameTypes\<your mod directory>\ folder. There are five settings to every mod:

Definition Settings

Setting Name Allowed Values | (default) Description and Use
Mod Name Any Text This is the name of your mod. When a player starts a game and is given a choice of Game Types, this is the name that they will see.
Description Any Text This is a description of your mod. When a player clicks one your Game Type, this text will appear in the top right box.
Picture Filename Any Image Filename (SEVLogo.bmp) This logo appears next to your mod in the Game Types menu. The image must be stored in the Mod Directory.
Allow Main Empires (TRUE) | FALSE Currently undocumented and unexplored.
Override InvConfiguration Slots TRUE | (FALSE) Currently undocoumented and unexplored.

Sample Mod Definitions File

This sample is taken directly from the GameTypes/Standard SE5/ModDefinitions.txt file. All definitions files must follow this format.

=======================================================================================
MOD DEFINITION DATA FILE
=======================================================================================

=======================================================================================
*BEGIN*
=======================================================================================

Mod Name                                 := Standard SE5
Description                              := A standard game of Space Empires V. 
Picture Filename                         := SE5Logo.bmp
Allow Main Empires                       := TRUE
Override InvConfiguration Slots          := FALSE

=======================================================================================
*END*
=======================================================================================
Personal tools