Author Topic: [Suggestion] Globe Terrain Research Triggers.  (Read 110 times)

Offline mutantlord

  • Colonel
  • ****
  • Posts: 110
    • View Profile
[Suggestion] Globe Terrain Research Triggers.
« on: May 01, 2024, 07:14:18 pm »
Hi, I know this is a long shot, but I wish to make a request for this year.

I want to add a feature that certain terrain can only be accessible on the globe once a certain research topic is met.

Reason. My mod has episodes. After a certain episode, the planet under goes a transformation. That transformation requires mixed terrain only that episode allows.

Code: [Select]

globe:
  data: Resources/Old Globe/world.dat
  researchTriggers:                   
        STR_CYDONIAMISSIONFAIL: false
  data: Resources/Old Globe/alienworld.dat
  researchTriggers:                   
        STR_CYDONIAMISSIONFAIL: true
  oceanShading: false
  oceanPalette: 10 
  textures:
    - id: 0
      startingCondition: STR_LANDONLY  
      fakeUnderwater: false 
      terrain:
        - name: ALIENDESERT
          weight: 1
          researchTriggers:                   
                 STR_CYDONIAMISSIONFAIL: true
        - name: DESERTCITY
          weight: 1
          researchTriggers:                   
                 STR_CYDONIAMISSIONFAIL: false
        - name: DESERT
          weight: 1
          #if no research trigger, default terrain remains.