aliens

Author Topic: enabling multiple story ending and allowing the game to go on indefinately.  (Read 2778 times)

wcho035

  • Guest
Hi Meridian, thank you as always for allowing of this possibility in the game.

I wish to test this feature out for my mod.

First few questions.

So, for the "finalDestination" in Alien Deployments, can this line of code be shared for both Cydonia and TLETH?

Would the "unlockFinalMission" from the craft section will show for both destinations?

from the Aliendeployment.

if I want the game to continue after storyending for both Cydonia and TLETH..

Firstly, I want to do the cydonia mission first . From its alien deployment.. from the two pointed arrow below, I believe these line need to be modified or there's more needed? Please highlight the section of the codes need to be modify to allow for this.

If I still want the winCutscene to play, will this force the game to end? Or, I am forced to skip it?

Code: [Select]

###CYDONIA section

 -->   winCutscene: winGame
    loseCutscene: loseGame
    abortCutscene: loseGame
    briefing:
      textOffset: -16
      palette: 6
      music: GMNEWMAR
      showTarget: false
      showCraft: false
      background: BACK01.SCR
    script: BOSSBATTLE
    objectiveType: 14
    objectivesRequired: 1


###TLETH section

 -->     winCutscene: winGame2
    loseCutscene: loseGame2
    briefing:
      title: STR_FINAL_TLETH_MISSION
      desc: STR_TLETH_P3_BRIEFING
      palette: 4
      #music: GMBIGMAR
      music: GMTACWET  
      background: TFTDBACK01.SCR
      showTarget: false
    objectiveType: 14
    objectivesRequired: 8

This is my cutscene coding.


cutscenes:
  - type: intro
    useUfoAudioSequence: true
    videos:
      - UFOINTRO/UFOINT.FLI
#     - ANIMS/LOGO.VID
#     - ANIMS/INTRO.VID 
    slideshow:
      musicId: GMNEWINT
      slides:
        #- imagePath: FLOP_INT/INT00.LBM
        #  transitionSeconds: 5
        #  caption: STR_INTRO_1
        #  captionSize: [320, 10]
        #  captionPos: [0, 190]
        #  captionColor: 249
        #  captionAlign: 1
        #- imagePath: FLOP_INT/INT01.LBM
        #  transitionSeconds: 5
        #  caption: STR_INTRO_2
        #  captionSize: [320, 48]
        #  captionPos: [0, 152]
        #  captionColor: 249
        #- imagePath: FLOP_INT/INT02.LBM
        #  transitionSeconds: 10
        #  caption: STR_INTRO_3
        #  captionSize: [320, 48]
        #  captionPos: [0, 152]
        #  captionColor: 249
        #- imagePath: FLOP_INT/INT03.LBM
        #  transitionSeconds: 5
        #  caption: STR_INTRO_4
        #  captionSize: [320, 48]
        #  captionPos: [0, 152]
        #  captionColor: 249
        - imagePath: FLOP_INT/INT04.LBM
          transitionSeconds: 5
          caption: STR_INTRO_5
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/INT05.LBM
          transitionSeconds: 10
          caption: STR_INTRO_6
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/INT06.LBM
          transitionSeconds: 10
          caption: STR_INTRO_7
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/INT07.LBM
          transitionSeconds: 10
          caption: STR_INTRO_8
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/INT08.LBM
          transitionSeconds: 5
          caption: STR_INTRO_9
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/INT09.LBM
          transitionSeconds: 5
          caption: STR_INTRO_10
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/INT10.LBM
          transitionSeconds: 10
          caption: STR_INTRO_11
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/INT11.LBM
          transitionSeconds: 5
          caption: STR_INTRO_12
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/INT12.LBM
          transitionSeconds: 5
          caption: STR_INTRO_13
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/INT13.LBM
          transitionSeconds: 10
          caption: STR_INTRO_14
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/INT14.LBM
          transitionSeconds: 5
          caption: STR_INTRO_15
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/INT15.LBM
          transitionSeconds: 5
          caption: STR_INTRO_16
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/INT16.LBM
          transitionSeconds: 5
          caption: STR_INTRO_17
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/INT17.LBM
          transitionSeconds: 5
          caption: STR_INTRO_18
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/INT18.LBM
          transitionSeconds: 5
          caption: STR_INTRO_19
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/INT19.LBM
          transitionSeconds: 5
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/INT20.LBM
          transitionSeconds: 5
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249  
  - type: winGame
    slideshow:
      transitionSeconds: 30
      musicId: GMWIN
      slides:
        - imagePath: UFOINTRO/PICT1.LBM
          caption: STR_VICTORY_1
          captionSize: [195, 56]
          captionPos: [5, 0]
          captionColor: 249
        - imagePath: UFOINTRO/PICT2.LBM
          caption: STR_VICTORY_2
          captionSize: [232, 64]
          captionPos: [88, 136]
          captionColor: 249
        - imagePath: UFOINTRO/PICT3.LBM
          caption: STR_VICTORY_3
          captionSize: [254, 48]
          captionPos: [66, 152]
          captionColor: 249
        - imagePath: UFOINTRO/PICT6.LBM
          caption: STR_VICTORY_4
          captionSize: [300, 200]
          captionPos: [5, 0]
          captionColor: 249
        - imagePath: UFOINTRO/PICT7.LBM
          caption: STR_VICTORY_5
          captionSize: [310, 42]
          captionPos: [5, 158]
          captionColor: 249  
  - type: loseGame
    slideshow:
      transitionSeconds: 30
      musicId: GMLOSE
      slides:
        - imagePath: UFOINTRO/PICT4.LBM
          caption: STR_GAME_OVER_1
          captionSize: [190, 104]
          captionPos: [0, 0]
          captionColor: 249
        - imagePath: UFOINTRO/PICT5.LBM
          caption: STR_GAME_OVER_2
          captionSize: [200, 34]
          captionPos: [32, 0]
          captionColor: 249
  - type: tleth
    videos:
      - ANIMS/RISE.VID
    slideshow:
      musicId: GMSIG
      slides:
        - imagePath: FLOP_INT/TWE01.LBM
          transitionSeconds: 10
          caption: STR_RISE_1
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/TWE02.LBM
          transitionSeconds: 10
          caption: STR_RISE_2
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/TWE03.LBM
          transitionSeconds: 10
          caption: STR_RISE_3
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/TWE04.LBM
          transitionSeconds: 10
          caption: STR_RISE_4
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/TWE05.LBM
          transitionSeconds: 10
          caption: STR_RISE_5
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/TWE06.LBM
          transitionSeconds: 10
          caption: STR_RISE_6
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
  - type: winGame2
    videos:
      - ANIMS/OUTRO.VID
    slideshow:
      musicId: GMWIN  
      slides:
        - imagePath: FLOP_INT/OUT01.LBM
          transitionSeconds: 10
          caption: STR_OUTRO_1
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/OUT02.LBM
          transitionSeconds: 10
          caption: STR_OUTRO_2
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/OUT03.LBM
          transitionSeconds: 10
          caption: STR_OUTRO_3
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/OUT04.LBM
          transitionSeconds: 10
          caption: STR_OUTRO_4
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/OUT05.LBM
          transitionSeconds: 10
          caption: STR_OUTRO_5
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/OUT06.LBM
          transitionSeconds: 10
          caption: STR_OUTRO_6
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/OUT07.LBM
          transitionSeconds: 10
          caption: STR_OUTRO_7
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/OUT08.LBM
          transitionSeconds: 10
          caption: STR_OUTRO_8
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/OUT09.LBM
          transitionSeconds: 10
          caption: STR_OUTRO_9
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/OUT10.LBM
          transitionSeconds: 10
          caption: STR_OUTRO_10
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/OUT11.LBM
          transitionSeconds: 10
          caption: STR_OUTRO_11
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/OUT12.LBM
          transitionSeconds: 10
          caption: STR_OUTRO_12
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
  - type: loseGame2
    videos:
      - ANIMS/GAMEOVER.VID
    slideshow:
      musicId: GMLOSE  
      slides:
        - imagePath: FLOP_INT/GAO01.LBM
          transitionSeconds: 10
          caption: STR_GAMEOVER_1
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/GAO02.LBM
          transitionSeconds: 10
          caption: STR_GAMEOVER_2
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/GAO03.LBM
          transitionSeconds: 10
          caption: STR_GAMEOVER_3
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/GAO04.LBM
          transitionSeconds: 10
          caption: STR_GAMEOVER_4
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249
        - imagePath: FLOP_INT/GAO05.LBM
          transitionSeconds: 10
          caption: STR_GAMEOVER_5
          captionSize: [320, 48]
          captionPos: [0, 152]
          captionColor: 249  

« Last Edit: October 12, 2019, 06:06:54 pm by Precentor Apollyon »

wcho035

  • Guest
I have conducted some research today. The game can continue after the story ends..

For UFO1, if I mod the aliendeployment to.

  - type: STR_MARS_THE_FINAL_ASSAULT
    data:
      - alienRank: 0
        lowQty: 2
        highQty: 4
        dQty: 0
        percentageOutsideUfo: 0
        itemSets:
 
ETC ETC...

    race: STR_MIXED
    winCutscene: intro2   <--------- I change it into the intro cutscene for TFTD.
    loseCutscene: loseGame
    abortCutscene: loseGame
    briefing:
      textOffset: -16
      palette: 6
      music: GMNEWMAR
      showTarget: false
      showCraft: false
      background: BACK01.SCR
    script: BOSSBATTLE
    objectiveType: 14
    objectivesRequired: 1


****************
 The intro for TFTD runs. Now, after research Tleth, the game would not allow Tleth final mission destination to be shown after you have researched it. The Interception screen only shows Cydonia.

Meridian, can you confirm yes or no that the code can only handle one final destination. Default to the the version of the game? AKA UFO is Cydonia, TLETH is for TFTD?

Thank you kindly if you can input.
« Last Edit: October 13, 2019, 12:42:37 pm by Precentor Apollyon »

Offline ohartenstein23

  • Commander
  • *****
  • Posts: 1933
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Final destination means there can only be one. Why not make T'Leth an alien base or mission site on the globe that appears after you research it but can only enter after the final research?

We switched to a similar thing in 40k since we wanted to have the final mission be a physical point on the globe.

wcho035

  • Guest
Hi Ohartenstein23,

Thank you for this very interesting idea.  If I am to go the Alien base route, how would you link the tleth alien deployment to it appearing on the map?

Do you have a reference in 40k I can follow it up?

Thank you.

Offline ohartenstein23

  • Commander
  • *****
  • Posts: 1933
  • Flamethrowers fry cyberdisk circuits
    • View Profile
You need an alien mission to generate the base. I'd recommend looking up how this is done with mission scripts in various mods to make it happen due to research. You would edit the first level of the T'Leth deployment to look like an alien base, then have a mission generate it.

One of the final mission bases has the deployment called STR_MARS_CYDONIA_LANDING in 40k, though the relevant bits of code are spread across the alienDeployments, the missionScripts, alienMissions, and globe rulesets.

wcho035

  • Guest
Interesting, so can’t you just use mission script to generate the base on globe.rul alone?

What you propose I am familiar, like how UFO generate alien base and editing alien deployment.

However, this kind of base generation has to be one off, not multiple times. How do you achieve that?

I am also exploring the concept of alien bases but of human faction in origin not Alien.

Upon more research, I found my solution to everything.

Thanks again Ohartenstein23

« Last Edit: October 14, 2019, 04:09:58 am by Precentor Apollyon »