.ship files
from
Stardock Forums
Example
//------------------------------------------------------------------------
SHIP ColonyShip
//------------------------------------------------------------------------
Name "Colony Ship"
Model "Ship01"
Description "Similar to the sea vessels of our ancestors, the Colony Ship is the basis for expanding empires. With space for unlimited colonists, the starships of this type tend to be slower than average, but contain all the essentials for colonizing new worlds."
HitPoints 10
Attack 0
Defense 1
Speed 2
Cost 50
SensorRange 3
Ability "Colonize"
Tech_Requirement_ID 0
Maintenance 0
Range 1
ENDSHIP
Description
Each .ship file can contain one or more SHIP definitions.
Each new ship starts with the SHIP and ends with ENDSHIP.
The // act as comments and can be anywhere in the file.
To highlight a new ship a //--------------------------- line is usually place before and after the SHIP line
SHIP should be followed by a Ship_ID_Name and should be unique.
Between the SHIP and ENSHIP tags you can have any of the following Attributes
Each attribute and value should be on its own line
Required Attributes
Name - Name of the ship in double quotes
Model - Name of the ships model in double quotes - refer to the ship models document
Description - Description for the ship in doble qutoes
HitPoints - Numeric value for the number of hit points. Current Values range from 1 to 300
Attack - Numeric Value for the Attack Rating. Current Values range from 0 to 80
Speed - Numeric Value for the Speed Rating. Current Values range from 0 to 10
Cost - Numeric Value for the Cost of the Ship. Current Values range from 10 to 3000
SensorRange - Numeric Value for the SenorRange. Current Values range from 2 to 8
Maintenance - Numeric Value for the Maintenance Cost of the Ship. Current Values range from 0 to 40
Range - Numeric Value for the Range. Current Values range from 0 to 6.
Optional
Tech_Requirement or
Tech_Requirement_ID - Use one or the other not both to specify the technology required before you can build the ship
Tech_Requirement should be in double quotes and can either be the Tech_ID_Name or Tech_Name.
Tech_Requirement should be the Tech_ID.
See the Tech file modding for more details.
Ability - Give the ship additional abilities. Use one or more of the following abilities in double quotes.
If you want to give a ships two abilities create 2 ability lines (see Survey Ship)
Trade - allows ship to setup a trade route
Attack - allows the ship to attack only really needed when the Attack is 0 but could be increased through anomolies
Survey - allows the ship to survey anomolies
Troops - aloows the ship to carry troops. You will need to specify MaxCapacity,
MaxCapacity - Numeric Value. Used with Troops abillity to specify the maximum number of troops the ship can carry. Current Values range from 1000 to 5000.
Weapon - Sets the sound and animation for battles. Has no effect on the combat. Should be on of the following value in double quotes.
Laser
Photon
Phasor
WPhasor
~SDC~
//------------------------------------------------------------------------
SHIP ColonyShip
//------------------------------------------------------------------------
Name "Colony Ship"
Model "Ship01"
Description "Similar to the sea vessels of our ancestors, the Colony Ship is the basis for expanding empires. With space for unlimited colonists, the starships of this type tend to be slower than average, but contain all the essentials for colonizing new worlds."
HitPoints 10
Attack 0
Defense 1
Speed 2
Cost 50
SensorRange 3
Ability "Colonize"
Tech_Requirement_ID 0
Maintenance 0
Range 1
ENDSHIP
Description
Each .ship file can contain one or more SHIP definitions.
Each new ship starts with the SHIP and ends with ENDSHIP.
The // act as comments and can be anywhere in the file.
To highlight a new ship a //--------------------------- line is usually place before and after the SHIP line
SHIP should be followed by a Ship_ID_Name and should be unique.
Between the SHIP and ENSHIP tags you can have any of the following Attributes
Each attribute and value should be on its own line
Required Attributes
Name - Name of the ship in double quotes
Model - Name of the ships model in double quotes - refer to the ship models document
Description - Description for the ship in doble qutoes
HitPoints - Numeric value for the number of hit points. Current Values range from 1 to 300
Attack - Numeric Value for the Attack Rating. Current Values range from 0 to 80
Speed - Numeric Value for the Speed Rating. Current Values range from 0 to 10
Cost - Numeric Value for the Cost of the Ship. Current Values range from 10 to 3000
SensorRange - Numeric Value for the SenorRange. Current Values range from 2 to 8
Maintenance - Numeric Value for the Maintenance Cost of the Ship. Current Values range from 0 to 40
Range - Numeric Value for the Range. Current Values range from 0 to 6.
Optional
Tech_Requirement or
Tech_Requirement_ID - Use one or the other not both to specify the technology required before you can build the ship
Tech_Requirement should be in double quotes and can either be the Tech_ID_Name or Tech_Name.
Tech_Requirement should be the Tech_ID.
See the Tech file modding for more details.
Ability - Give the ship additional abilities. Use one or more of the following abilities in double quotes.
If you want to give a ships two abilities create 2 ability lines (see Survey Ship)
Trade - allows ship to setup a trade route
Attack - allows the ship to attack only really needed when the Attack is 0 but could be increased through anomolies
Survey - allows the ship to survey anomolies
Troops - aloows the ship to carry troops. You will need to specify MaxCapacity,
MaxCapacity - Numeric Value. Used with Troops abillity to specify the maximum number of troops the ship can carry. Current Values range from 1000 to 5000.
Weapon - Sets the sound and animation for battles. Has no effect on the combat. Should be on of the following value in double quotes.
Laser
Photon
Phasor
WPhasor
~SDC~