.invtactic file

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~
1,238 views 2 replies
Reply #1 Top
i think a cool mod would be to replace traditional warfare with types of traditional warefare, for example the "steamroller" which the russians used in ww2, which involves you to outnumber them but the soldiers quality is very low and many don't have guns, or trench warefare ;p


~SDC~
Reply #2 Top
Hey so would this work?

//------------------------------------------------------------------------
INVTACTIC Metrion Cascade
//------------------------------------------------------------------------

DisplayName "Metrion Cascade"
Description "By harnessing the power of 'Quantum Strings' we can convert the atmosphere of a world in Methane long enough to kill almost everyone on it and change it back for our troops to conquer it."
Tech_Requirement "Replication"
Image "metro_cas"
Cost 3500
LuckFactor 0

PreRequirement 0
PreReqValue 0

BonusType 1
BonusValueMin 300
BonusValueMax 500

PlanetQualityPenaltyMin 15
PlanetQualityPenaltyMax 30

InfluencePenaltyMin 0
InfluencePenaltyMax 0

ImprovementPenaltyMin 0
ImprovementPenaltyMax 0

ENDINVTACTIC