News

Event modding questions

Posted on Wednesday, January 18, 2017

I'm trying to mod some events but I'm completely new to this.

A: The one which makes new resources appear -- seems it's "Resource Glut"

1. Is it possible to tell a event to fire once per game only? Because I had this firing twice and was swimming in resources in the end which I found boring.

2. Can I adjust the numbers of new resources popping up? The relevant event part is here, would someth. like ValueParam 0.25 mean less resources?

<PerformAction>
<Action>ConvertGasGiantToPromethionProportional</Action>
<ValueParam>1</ValueParam>
</PerformAction>

 

3. Similar the event who turns dead planets into newly "terraformed" planets to colonize -- this seems to be "Land Rush"

I find it way too easy to have lotsa new planets within my reach, when it fires I'm usually in a position to get most of them.

But can someone tell me if the "value" part here defines the numbers of new planets, or the planet size:

      <Trigger>
        <OnEvent>OnConversationResponse</OnEvent>
        <CriteriaInternalName>LandRush_MegaEvent_Message_Response3</CriteriaInternalName>
        <Target>
          <TargetType>Faction</TargetType>
        </Target>
        <Lifetime>Instant</Lifetime>
        <Modifier>
          <EffectType>CultureMerciless</EffectType>
          <Target>
            <TargetType>Faction</TargetType>
          </Target>
          <BonusType>Flat</BonusType>
          <Value>10</Value>
        </Modifier>
      </Trigger>

 

 

 Edit: seems the size of new planets is not always the same when the event fires, so it's probably not what "value" is doing here.