CIV4EventTriggerInfos

This page is incomplete and is missing information.
Please do not remove this notice until it is completed.

Summary

CIV4EventTriggerInfos defines an event and what triggers it.

Single-Line Tags

Text Tags

Type The name of the event trigger
Civic Civic required to trigger the event (CIVIC_* or NONE) CONDITION
MinDifficulty Lowest difficulty level required to trigger the event (_* or NONE) CONDITION
OtherPlayerHasTech Other player must have this tech to trigger the event (TECH_* or NONE) CONDITION
PythonCanDo Python script function name
PythonCanDoCity Python script function name
PythonCanDoUnit Python script function name
PythonCallback Python script function name

Boolean Tags

bSinglePlayer Only available in Single Player games CONDITION
bProbabiltyOfUnitMultiply An event uses chance if event will generate more units ROPTION
bProbabiltyOfBuildingMultiply An event uses chance if event will generate more building will produce more ROPTION
bUnitsOnPlot Option response work only on the units in this plot OPTION
bOwnPlot Option responses work only if the plot is in the player's cultural border RCONDITION
bPickReligion The event trigger will pick a religion for this event OPTION
bStateReligion The player must have the picked religion as its state religion to trigger the event CONDITION
bHolyCity The player must have the holy city of the picked religion to trigger the event CONDITION
bPickCorporation The event trigger will pick a corporation for this event OPTION
bHeadquarters The player must have the headquarters of the picked corporation to trigger the event CONDITION
bPrereqEventPlot
bRecurring Can this event be triggered more than once OPTION
bTeam Does the response effect a team ROPTION
bGlobal
bPickPlayer Event trigger picks another player for responses to use ROPTION
bOtherPlayerWar Is other player at war \[with you?\] CONDITION
bOtherPlayerHasReligion If bPickReligion is 1 CONDITION
bOtherPlayerHasOtherReligion unkwon CONDITION
bOtherPlayerAI Trigger only if other player is an AI CONDITION
bPickCity Trigger picks one of player's cities for responses ROPTION
bPickOtherPlayerCity Trigger picks a city from another civ for respones ROPTION
bShowPlot unkwown OPTION

Integer Tags

iPercentGamesActive Chance that Event will be in a game CONDITION
iWeight chance of event being triggered (100 - 500) OPTION
iMinTreasury Minimum the player's treasury must to activate trigger CONDITION
iMinPopulation Minimum the player's population must to activate trigger CONDITION
iMaxPopulation Maximum the player's population must to activate trigger CONDITION
iMinMapLandmass Minimum of the amount of land uncovered (in plots?) CONDITION
iMinOurLandMass Minimum of the omount of land player controls (in plots?) CONDITION
iMaxOurLandMass Maximum of the amount of land player controls (in plots?) CONDITION
iAngry angry in a bPickCity CONDITION
iUnhealthy unhealthy in a bPickCity CONDITION
iNumUnits Number of UnitsRequired CONDITION
iUnitsGlobal Number of total units (from all civs?) UnitRequired CONDITION
iUnitDamageWeight multiplier increase on amount of damage? UnitRequired OPTION
iUnitDistanceWeight multiplier increase with distance fo unit? UnitRequired OPTION
iUnitExperienceWeight multiplier increase with amount of unit experience UnitRequired OPTION
iNumBuildings Number of BuildingssRequired CONDITION
iBuildingsGlobal Number of total buildings (from all civs?) BuildingsRequired CONDITION
iNumPlotsRequired CONDITION
iPlotType (-1 = any, 0 = peeks/mountains/hills, 1 = desert, 2 = plains) CONDITION
iNumReligions ReligionsRequired CONDITION
iNumCorporations CorporationsRequired CONDITION
iOtherPlayerShareBorders bPickOtherPlayer CONDITION
iCityFoodWeight OPTION

Multi-Line Tags

WorldNewsTexts Texts to display as world news
Text Tag Text text to display
TriggerTexts Texts to display in event popup dialog
Multi-Line Tag TriggerText Text and era to use
Text Tag Text Text to display in popup dialog
Text Tag Era What era this TriggerText can be displayed (ERA_* or NONE)
UnitsRequired List of required unit classes
Text Tag UnitClass UNITCLASS_*
BuildingsRequired List of required building classes CONDITION
Text Tag BuildingClass BUILDINGCLASS_*
FreaturesRequired List of required features
Text Tag FeatureType FEATURE_*
TerrainsRequired List of required terrains
Text Tag TerrainType TERRAIN_*
ImprovementsRequired List of required improvements
Text Tag ImprovementType IMPROVEMENT_*
BonusesRequired List of required bonuses
Text Tag BonusType BONUS_*
RoutesRequired List of required routes
Text Tag RouteType ROUTE_*
ReligionsRequired List of required religions
Text Tag ReligionType RELIGION_*
CorporationsRequired List of required corporations
Text Tag CorporationType CORPORATION_*
Events list of respones
Text Tag Event CIV4EventInfos EVENT_*
PrereqEvents list of prerequisite events
Text Tag Event CIV4EventInfos EVENT_*
OrPreReqs
Text Tag PrereqTech TECH_*
AndPreReqs
Text Tag PrereqTech TECH_*
ObsoleteTechs List of techs that have to be obsolete
Text Tag ObsoleteTech TECH_*

Example

Place example here.
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License