PlanetSize.txt (SEV)

From SEWiki

Jump to: navigation, search

Contents

Introduction

Planets are the heart of Space Empires V as they are the objects that an empire uses to expand itself. Planet Size only really come into play when an empire colonizes it. The size of the planet determines storage, population and construction limits. The atmosphere of the planet can further limit this. If the empire does not breathe the same atmosphere, then the colony becomes a domed colony. This is all managed within the PlanetSize.txt file.

File Description

Note: Normal Colonies use the fields that begin with the word Max, while Domed Colonies use the fields that begin with Domed. All Colonies use all of the other fields within this file.

Data Fields

Name Type Description, Use and Specific Allowed Values
Name Text Referenced by Planet Size field in StellarObjectTypes.txt.
Physical Type Text Must match a legal entry in PlanetPhysicalTypes.txt. Planet types are used as colonization restrictions. A component with an appropriate ability must be present on a ship to colonize planets.
Stellar Size Text Stellar Size is referred to by the Obj # Size field in SystemTypes.txt. Allowed Values: Asteroids, Tiny, Small, Medium, Large, Huge
Max Population Formula This is the largest population that can exist for a colony.
Max Facility Space Formula This is the largest tonnage of facility space that can exist for a colony.
Max Cargo Space Formula This is the largest amount of cargo that can be stored on a colony.
Max Supply Storage Formula This is the largest amount of a resource that can be stored on a colony.
Max Ordnance Storage Formula This is the largest amount of ordnance that can be stored on a colony.
Domed Max Population Formula This is the largest population that can exist for a domed colony.
Domed Max Facility Space Formula This is the largest tonnage of facility that can exist for a domed colony.
Domed Max Cargo Space Formula This is the largest amount of cargo that can be stored on a domed colony.
Domed Max Supply Storage Formula This is the largest amount of resources that can be stored on a domed colony.
Domed Max Ordnance Storage Formula This is the largest amount of ordnance that can be stored on a domed colony.
Constructed Boolean Set to False if you want the planet to naturally occur, True if an empire must create it.
Special Ability ID Integer Currently unknown

Sample Planet Size Code

This example is provided by the stock game and represents a Tiny Planet.

Name                                  := Tiny
Physical Type                         := Planet
Stellar Size                          := Tiny
Max Population                        := 1000
Max Facility Space                    := 5000
Max Cargo Space                       := 2000
Max Supply Storage                    := 5000
Max Ordnance Storage                  := 5000
Domed Max Population                  := 125
Domed Max Facility Space              := 1000
Domed Max Cargo Space                 := 500
Domed Max Supply Storage              := 1000
Domed Max Ordnance Storage            := 1000
Constructed                           := False
Special Ability ID                    := 0

Data File Usage

This file is used primarily for map generation and colonization. As a result, a number of other files utilize this file.

Uses Data Files:

Used by Files:

Personal tools