.invtactic file
from
Stardock Forums
Example
//------------------------------------------------------------------------
INVTACTIC MassDrivers
//------------------------------------------------------------------------
DisplayName "Mass Drivers"
Description "By attaching drive-thrusters to nearby asteroids, we'll be able to use the space boulders as large-scale projectile weapons. While the attack will be almost unstoppable, destruction on a planet-wide level is inevitable."
Tech_Requirement "WarpDrive"
Image "Tactics_Meteor"
Cost 1000
LuckFactor 0
PreRequirement 0
PreReqValue 0
BonusType 1
BonusValueMin 100
BonusValueMax 200
PlanetQualityPenaltyMin 10
PlanetQualityPenaltyMax 50
InfluencePenaltyMin 0
InfluencePenaltyMax 0
ImprovementPenaltyMin 50
ImprovementPenaltyMax 100
ENDINVTACTIC
Description
** These file go in the invasiontactics directory under the data directory
Each .invtactic file can contain one or more INVTACTIC definitions.
Each new improvement starts with the INVTACTIC and ends with ENDINVTACTIC.
The // act as comments and can be anywhere in the file.
To highlight a new invasion tactic a //--------------------------- line is usually place before and after the INVTACTIC line
INVTACTIC should be followed by a INVTACTIC_ID_Name and should be unique.
Each attribute and value should be on its own line
Required
DisplayName - displayed name in double quotes
Description - description displayed in double quotes
Tech_Requirement - Specifies the technology required before you can use this invasion tactic. Tech_Requirement is either the TECH_ID_NAME or the Tech Name and should be in double quotes. "" can be used if there is not technology requirement.
Image - A 100x50 8bit pcx image. This image needs to be placed in the gfx/tacticimages directory
Cost - Cost of using the invasion tactic
LuckFactor -
PreRequirement - Not used at the moment. Use a value of 0.
PreReqValue - Not used at the moment. use a value of 0.
BonusType - One of the following values
1 gain to your advantage factor
3 loss to your enemies advantage factor
5 unhappy citizens will join your ranks
BonusValueMin - The minimum % gain in the BonusType.
BonusValueMax - The maximum %gain in the Bonus Type
PlanetQualityPenaltyMin - The minimum % Planet Quality Penality
PlanetQualityPenaltyMax - The maximum % Planet Quality Penality
InfluencePenaltyMin - Not currently used. Use a value of 0
InfluencePenaltyMax - Not currently used. Use a value of 0.
ImprovementPenaltyMin - The minimum % of Improvements destroyed
ImprovementPenaltyMax- - The maximum % of Improvements destroyed
~SDC~
//------------------------------------------------------------------------
INVTACTIC MassDrivers
//------------------------------------------------------------------------
DisplayName "Mass Drivers"
Description "By attaching drive-thrusters to nearby asteroids, we'll be able to use the space boulders as large-scale projectile weapons. While the attack will be almost unstoppable, destruction on a planet-wide level is inevitable."
Tech_Requirement "WarpDrive"
Image "Tactics_Meteor"
Cost 1000
LuckFactor 0
PreRequirement 0
PreReqValue 0
BonusType 1
BonusValueMin 100
BonusValueMax 200
PlanetQualityPenaltyMin 10
PlanetQualityPenaltyMax 50
InfluencePenaltyMin 0
InfluencePenaltyMax 0
ImprovementPenaltyMin 50
ImprovementPenaltyMax 100
ENDINVTACTIC
Description
** These file go in the invasiontactics directory under the data directory
Each .invtactic file can contain one or more INVTACTIC definitions.
Each new improvement starts with the INVTACTIC and ends with ENDINVTACTIC.
The // act as comments and can be anywhere in the file.
To highlight a new invasion tactic a //--------------------------- line is usually place before and after the INVTACTIC line
INVTACTIC should be followed by a INVTACTIC_ID_Name and should be unique.
Each attribute and value should be on its own line
Required
DisplayName - displayed name in double quotes
Description - description displayed in double quotes
Tech_Requirement - Specifies the technology required before you can use this invasion tactic. Tech_Requirement is either the TECH_ID_NAME or the Tech Name and should be in double quotes. "" can be used if there is not technology requirement.
Image - A 100x50 8bit pcx image. This image needs to be placed in the gfx/tacticimages directory
Cost - Cost of using the invasion tactic
LuckFactor -
PreRequirement - Not used at the moment. Use a value of 0.
PreReqValue - Not used at the moment. use a value of 0.
BonusType - One of the following values
1 gain to your advantage factor
3 loss to your enemies advantage factor
5 unhappy citizens will join your ranks
BonusValueMin - The minimum % gain in the BonusType.
BonusValueMax - The maximum %gain in the Bonus Type
PlanetQualityPenaltyMin - The minimum % Planet Quality Penality
PlanetQualityPenaltyMax - The maximum % Planet Quality Penality
InfluencePenaltyMin - Not currently used. Use a value of 0
InfluencePenaltyMax - Not currently used. Use a value of 0.
ImprovementPenaltyMin - The minimum % of Improvements destroyed
ImprovementPenaltyMax- - The maximum % of Improvements destroyed
~SDC~