News

Random Colonization Events.

Posted on Sunday, July 13, 2014

I've noticed that there are only two events happening when yo colonize a new world.

I'd thought  I'd expand on this so here is an additional event:


You can have it by adding this entry to the GameEventDefs.xml under data\Game

Code: xml
  1. <GameEvent>
  2. <InternalName>GeologicInstabilityEvent</InternalName>
  3. <DisplayName>GEOLOGIC_INSTABILITY_EVENT_LABEL</DisplayName>
  4. <Description>GEOLOGIC_INSTABILITY_EVENT_DESC_LABEL</Description>
  5. <WindowTitle>GEOLOGIC_EVENT_LABEL</WindowTitle>
  6. <ArtDefine>homescreen_background.bk2</ArtDefine>
  7. <Type>ColonizeEvent</Type>
  8. <Weight>10</Weight>
  9. <Choice>
  10. <Type>Benevolent</Type>
  11. <Description>GEOLOGIC_INSTABILITY_EVENT_BENEV_LABEL</Description>
  12. <BonusDescription>GEOLOGIC_INSTABILITY_EVENT_BENEV_BONUS</BonusDescription>
  13. <Trigger>
  14. <OnEvent>OnEventChoice</OnEvent>
  15. <Target>
  16. <TargetType>Faction</TargetType>
  17. </Target>
  18. <Lifetime>Instant</Lifetime>
  19. <Modifier>
  20. <EffectType>CultureBenevolent</EffectType>
  21. <Target>
  22. <TargetType>Faction</TargetType>
  23. </Target>
  24. <BonusType>Flat</BonusType>
  25. <Value>10.0</Value>
  26. </Modifier>
  27. </Trigger>
  28. <Trigger>
  29. <OnEvent>OnEventChoice</OnEvent>
  30. <Target>
  31. <TargetType>Planet</TargetType>
  32. </Target>
  33. <Lifetime>Target</Lifetime>
  34. <Modifier>
  35. <EffectType>Tourism</EffectType>
  36. <Target>
  37. <TargetType>Colony</TargetType>
  38. </Target>
  39. <BonusType>Multiplier</BonusType>
  40. <Value>0.24</Value>
  41. </Modifier>
  42. </Trigger>
  43. <Trigger>
  44. <OnEvent>OnEventChoice</OnEvent>
  45. <Target>
  46. <TargetType>Planet</TargetType>
  47. </Target>
  48. <Lifetime>Target</Lifetime>
  49. <Modifier>
  50. <EffectType>Influence</EffectType>
  51. <Target>
  52. <TargetType>Colony</TargetType>
  53. </Target>
  54. <BonusType>Multiplier</BonusType>
  55. <Value>0.17</Value>
  56. </Modifier>
  57. </Trigger>
  58. <Trigger>
  59. <OnEvent>OnEventChoice</OnEvent>
  60. <Target>
  61. <TargetType>Planet</TargetType>
  62. </Target>
  63. <Lifetime>Target</Lifetime>
  64. <Modifier>
  65. <EffectType>MaxManufacturing</EffectType>
  66. <Target>
  67. <TargetType>Colony</TargetType>
  68. </Target>
  69. <BonusType>Multiplier</BonusType>
  70. <Value>-0.12</Value>
  71. </Modifier>
  72. </Trigger>
  73. </Choice>
  74. <Choice>
  75. <Type>Neutral</Type>
  76. <Description>GEOLOGIC_INSTABILITY_EVENT_NEUTRAL_LABEL</Description>
  77. <BonusDescription>GEOLOGIC_INSTABILITY_EVENT_NEUTRAL_BONUS</BonusDescription>
  78. <Trigger>
  79. <OnEvent>OnEventChoice</OnEvent>
  80. <Target>
  81. <TargetType>Faction</TargetType>
  82. </Target>
  83. <Lifetime>Instant</Lifetime>
  84. <Modifier>
  85. <EffectType>CultureNeutral</EffectType>
  86. <Target>
  87. <TargetType>Faction</TargetType>
  88. </Target>
  89. <BonusType>Flat</BonusType>
  90. <Value>10.0</Value>
  91. </Modifier>
  92. </Trigger>
  93. <Trigger>
  94. <OnEvent>OnEventChoice</OnEvent>
  95. <Target>
  96. <TargetType>Planet</TargetType>
  97. </Target>
  98. <Lifetime>Target</Lifetime>
  99. <Modifier>
  100. <EffectType>MaxManufacturing</EffectType>
  101. <Target>
  102. <TargetType>Colony</TargetType>
  103. </Target>
  104. <BonusType>Multiplier</BonusType>
  105. <Value>0.36</Value>
  106. </Modifier>
  107. </Trigger>
  108. <Trigger>
  109. <OnEvent>OnEventChoice</OnEvent>
  110. <Target>
  111. <TargetType>Planet</TargetType>
  112. </Target>
  113. <Lifetime>Target</Lifetime>
  114. <Modifier>
  115. <EffectType>Food</EffectType>
  116. <Target>
  117. <TargetType>Colony</TargetType>
  118. </Target>
  119. <BonusType>Multiplier</BonusType>
  120. <Value>-0.07</Value>
  121. </Modifier>
  122. </Trigger>
  123. </Choice>
  124. <Choice>
  125. <Type>Merciless</Type>
  126. <Description>GEOLOGIC_INSTABILITY_EVENT_MERC_LABEL</Description>
  127. <BonusDescription>GEOLOGIC_INSTABILITY_EVENT_MERC_BONUS</BonusDescription>
  128. <Trigger>
  129. <OnEvent>OnEventChoice</OnEvent>
  130. <Target>
  131. <TargetType>Faction</TargetType>
  132. </Target>
  133. <Lifetime>Instant</Lifetime>
  134. <Modifier>
  135. <EffectType>CultureMerciless</EffectType>
  136. <Target>
  137. <TargetType>Faction</TargetType>
  138. </Target>
  139. <BonusType>Flat</BonusType>
  140. <Value>10.0</Value>
  141. </Modifier>
  142. </Trigger>
  143. <Trigger>
  144. <OnEvent>OnEventChoice</OnEvent>
  145. <Target>
  146. <TargetType>Planet</TargetType>
  147. </Target>
  148. <Lifetime>Target</Lifetime>
  149. <Modifier>
  150. <EffectType>MaxManufacturing</EffectType>
  151. <Target>
  152. <TargetType>Colony</TargetType>
  153. </Target>
  154. <BonusType>Multiplier</BonusType>
  155. <Value>0.72</Value>
  156. </Modifier>
  157. </Trigger>
  158. <Trigger>
  159. <OnEvent>OnEventChoice</OnEvent>
  160. <Target>
  161. <TargetType>Planet</TargetType>
  162. </Target>
  163. <Lifetime>Target</Lifetime>
  164. <Modifier>
  165. <EffectType>Food</EffectType>
  166. <Target>
  167. <TargetType>Colony</TargetType>
  168. </Target>
  169. <BonusType>Multiplier</BonusType>
  170. <Value>-0.21</Value>
  171. </Modifier>
  172. </Trigger>
  173. </Choice>
  174. </GameEvent>
  175.  

 and these entries to the UIText.xml file under data/English/Text

 

Code: xml
  1. <StringTable>
  2. <Label>GEOLOGIC_INSTABILITY_EVENT_LABEL</Label>
  3. <String>Geologic Instability</String>
  4. </StringTable>
  5. <StringTable>
  6. <Label>GEOLOGIC_INSTABILITY_EVENT_DESC_LABEL</Label>
  7. <String>When entering orbit our colonists have noticed that this world has a pristine environment with a biodiversity found in few places around the Galaxy. However the planet is just entering a period of increased geologic activity, which means that in a few short years the atmosphere will be polluted by volcanic gasses and the biosphere will begin to die. Upon further consideration the crew has come up with a few options. What would you like them to do?</String>
  8. </StringTable>
  9. <StringTable>
  10. <Label>GEOLOGIC_INSTABILITY_EVENT_BENEV_LABEL</Label>
  11. <String>Install atmospheric processors to filter out the volcanic gases.</String>
  12. </StringTable>
  13. <StringTable>
  14. <Label>GEOLOGIC_INSTABILITY_EVENT_BENEV_BONUS</Label>
  15. <String>+10 Benevolent, +17% Influence, +24% Tourism, -12% Production</String>
  16. </StringTable>
  17. <StringTable>
  18. <Label>GEOLOGIC_INSTABILITY_EVENT_NEUTRAL_LABEL</Label>
  19. <String>Use the excess geothermal energy to boost our production.</String>
  20. </StringTable>
  21. <StringTable>
  22. <Label>GEOLOGIC_INSTABILITY_EVENT_NEUTRAL_BONUS</Label>
  23. <String>+10 Pragmatic, +36% Production, -7% Food</String>
  24. </StringTable>
  25. <StringTable>
  26. <Label>GEOLOGIC_INSTABILITY_EVENT_MERC_LABEL</Label>
  27. <String>Some well placed thermonuclear detonations inside the mantle might boost geothermal energy.</String>
  28. </StringTable>
  29. <StringTable>
  30. <Label>GEOLOGIC_INSTABILITY_EVENT_MERC_BONUS</Label>
  31. <String>+10 Merciless, +72% Manufacturing, -21%Food</String>
  32. </StringTable>