Skip to content

CompEnhancement.txt

Ed Kolis edited this page Aug 25, 2019 · 1 revision

CompEnhancement.txt is used to define the component mounts found in the game.

CompEnhancement.txt typically has one record for each mount in the game, though if you use parameters, you can have one record generate multiple mounts.

The fields in each record are as follows (required fields are in bold; formula fields are in italic):

  • Long Name - The full name of the mount.
  • Short Name - An abbreviated name for the mount (e.g. "Large Mount" for a Large Ship Mount)
  • Description - A description of the mount.
  • Code - A brief code for the mount (e.g. "L" for a Large Ship Mount) - this will be displayed in the corner of the icon of any component using the mount.
  • Pic - The name of a graphic file to use to represent the mount, relative to FrEee/Pictures/Mounts (file extension is optional)
  • Cost Percent - Percentage of normal cost
  • Tonnage Percent - Percentage of normal size
  • Tonnage Structure Percent - Percentage of normal durability
  • Damage Percent - Percentage of normal damage (only applies to weapons)
  • Supply Percent - Percentage of normal supply usage
  • Range Modifier - Plus or minus modifier to maximum weapon range (if positive, damage values will be added by copying the range-1 value and shifting the rest outward; if negative, damage values will be subtracted starting with the range-1 value)
  • Weapon To Hit Modifier - Plus or minus modifier to weapon accuracy
  • Vehicle Size Minimum - Minimum hull size that can use this mount
  • Vehicle Size Maximum - Maximum hull size that can use this mount
  • Component Family Requirement - Limits the mount to use on a single component family if present
  • Weapon Type Requirement - Limits the mount to use on a subset of weapon types
  • Vehicle Type Requirement - Limits the mount to use on a subset of vehicle types
  • Ability Percentage Type - Specifies an ability that this mount modifies by a percentage multiplier. Can be used multiple times for different abilities.
  • Ability Percentage - Specifies the percentage that the ability specified in Ability Percentage Type is to be multiplied by.
  • Ability Modifier Type - Specifies an ability that this mount modifies by a flat amount. Can be used multiple times for different abilities.
  • Ability Modifier - Specifies the amount that the ability specified in Ability Modifier Type is to be increased or decreased by.

Note that the ability-modification fields were not present in Space Empires IV. Also, the Shield Percent field from SE4 is not currently supported; you will need to use Ability Percentage Type and Ability Percentage instead for the time being.

Clone this wiki locally