OpenXcom Forum
OpenXcom Forks => OpenXcom Extended (OXCE) => OXCE Suggestions DONE => Topic started by: Meridian on October 10, 2019, 08:47:53 pm
-
Requested by Kato.
The victory and defeat cutscenes have been unhardcoded.
You can now mark a cutscene with winGame or loseGame attribute:
cutscenes:
- type: myCustomVictoryCutscene
winGame: true
or
cutscenes:
- type: myCustomDefeatCutscene
loseGame: true
and it will trigger the desired effect.
It works on:
- mission win/lose/abort cutscenes
- special loss-only cutscenes except "loseDefeat" (see next post)
- research cutscenes (starting from OXCE 6.7)
It doesn't work on other cutscenes:
- intro
- briefing cutscenes
- research cutscenes (until OXCE 6.7)
-
The special loss-only cutscene names have been unhardcoded, with vanilla name as default value for all of them.
Syntax:
gameOver:
loseMoney: loseGame # cutscene ID that should be played when the player loses due to poor economy management
loseRating: loseGame # cutscene ID that should be played when the player loses due to poor rating
loseDefeat: loseGame # cutscene ID that should be played when the player loses the last base
PS: "loseDefeat" will always cause a game over (defeat)... the rest can be configured to trigger defeat or not (see post above).
-
Research cutscenes will also be supported starting with OXCE v6.7
-
Since OXCE v7.13.3, geoscape event cutscenes are also supported.