Originally posted by hatschy
Ok, I modified the example a little bit. Now any scenario map saved with scenario name "Welcome" (via the button "Save Scenario As" of the cheat dialog), renamed "savegame.csg" and copied to the Welcome scenario's "scen0000" folder should work. Of course you can replace "Welcome" with the name of your own scenario.
The problem with the previous version was the "g.year == 0" in the "when" clause of the welcome message trigger. CtP doesn't fire this kind of trigger for the first civ when it loads a scenario with a map. So I'm now using the "unit.selected" event instead. This works, if there is a unit for your civ on the scenario map (e.g. your first settler) and if CtP autoselects your first unit (which should be the default and I don't know if this can be turned off).
As for the videos: I don't know, if they can be turned off. They play automatically when using the "GameOver" function. So, if you don't call that function, the movies won't play. But then you'll have to find another way to end the game.
I suggest you read the descriptions of the available SLIC functions to get an impression of what is possible.
Ok, I modified the example a little bit. Now any scenario map saved with scenario name "Welcome" (via the button "Save Scenario As" of the cheat dialog), renamed "savegame.csg" and copied to the Welcome scenario's "scen0000" folder should work. Of course you can replace "Welcome" with the name of your own scenario.
The problem with the previous version was the "g.year == 0" in the "when" clause of the welcome message trigger. CtP doesn't fire this kind of trigger for the first civ when it loads a scenario with a map. So I'm now using the "unit.selected" event instead. This works, if there is a unit for your civ on the scenario map (e.g. your first settler) and if CtP autoselects your first unit (which should be the default and I don't know if this can be turned off).
As for the videos: I don't know, if they can be turned off. They play automatically when using the "GameOver" function. So, if you don't call that function, the movies won't play. But then you'll have to find another way to end the game.
I suggest you read the descriptions of the available SLIC functions to get an impression of what is possible.
![thumbs-up](https://apolyton.net/core/images/smilies/thumbs-up.gif)
![thumbs-up](https://apolyton.net/core/images/smilies/thumbs-up.gif)
Comment