My first: Adventure

From Divinity Engine Wiki
Revision as of 10:37, 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 template script for character creation in Story adventures is in development and will be linked here soon.

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!

Story

This basic version includes everything you need to get your story adventure up and running: COMING SOON
To override the existing character creation of Story, rename the file to the name of the original character creation script:

  • When loading data from Story: FortJoy_CharacterCreation

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


Game Master

For Game Master, we suggest taking over (and if necessary adapting) the existing GM Character Creation script: GM Character Creation Template
If you include data from GM and decide to mod the existing script, be sure to keep it named as GLO_GameMasterCharacterCreation.


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!