My first: Adventure

From Divinity Engine Wiki
Revision as of 16:32, 3 October 2017 by Kevin (talk | contribs)
Jump to: navigation, search
Warningred.png We are currently working on making the scripting of Story and GM compatible. Loading data from both will currently disable your character in Story. Our apologies for the temporary inconvenience.
Warningred.png The character creation template script will currently not teleport to the Sandbox, but stay in the character creation level. This will be resolved with our next game update.

For creating and publishing an adventure in The Divinity Engine 2, please read Working with projects.
Below, we detail any extra requirements to get an adventure working in-game and how to check if it works as intended.

Necessary scripting

When you want your adventure to start off with the character creation screen, you need to initiate this with story scripting.
We recommend taking a look at the following scripts in Origins and Game_Master mods, to get a feel for how it works:

  • GLOBAL_CharacterCreation and FortJoy_CharacterCreation in Origins
  • GLO_GameMasterCharacterCreation in Game_Master

You'll quickly notice that these can become quite complex. But don't fret because we've got you covered!


When loading no data

This basic version includes everything you need to get your story adventure up and running: Character Creation Template
You'll notice that after character creation, you'll get teleported to the Sandbox. This can be changed by editing the following lines:

CCTeleport.png

Lines that define the teleport location after Character Creation. In the Story Editor, these lines are in the INIT section


When loading data from one of the existing modes (Story/Arena/GM)

Existing modes require specific cases to be handled. Story for example has multiple origin characters. Hence, instead of using the clean template, we suggest using (and if necessary adapting) the existing Character Creation scripts that are already part of the mode's data:

  • Story: FortJoy_CharacterCreation
  • Arena: __StartArena
  • Game Master: GLO_GameMasterCharacterCreation

We are currently working on making the scripting of Story and GM compatible. Loading data from both will currently disable your character in Story. Our apologies for the temporary inconvenience.

My adventure in-game

External mods (f.e. from Steam Workshop) are always placed under "Documents/Larian Studios/Divinity Original Sin 2/Mods".
But your own mods are magically loaded as well! So close the Divinity Engine 2, launch the game and check it out!


Menu.png MenuAdventures.png


To play your adventure, select it in the appropriate story or game master drop down menu. (The story drop down is only available when at least one custom adventure was loaded)
ATTENTION: If your adventure has no valid story, it will not be visible in these drop down menus. So always make sure you build the story in the toolset before testing.

More information on the story editor can be found here: Story editor


Story:
MenuStory.png StoryAdventure.png


Game Master Mode:
MenuGM.png MenuGMPrepare.png

MenuGMSettings.png MenuGMAdventure.png


That's it! Now it's time to go on an adventure!