Difference between revisions of "My first: Adventure"

From Divinity Engine Wiki
Jump to: navigation, search
m (Fixed a broken link)
 
(10 intermediate revisions by one other user not shown)
Line 1: Line 1:
{| class="wikitable"
 
|-
 
|[[File:Warningred.png|32px]] 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.
 
|-
 
|}
 
 
 
For creating and publishing an adventure in The Divinity Engine 2, please read [[Working with projects]].<br />
 
For creating and publishing an adventure in The Divinity Engine 2, please read [[Working with projects]].<br />
 
Below, we detail any extra requirements to get an adventure working in-game and how to check if it works as intended.
 
Below, we detail any extra requirements to get an adventure working in-game and how to check if it works as intended.
  
 
== Necessary scripting ==
 
== Necessary scripting ==
 +
 +
{{warning| This is no longer required for the Definitive Edition as Character Creation is unified for all mods. We refer to [[Definitive_Edition|The Definitive Edition Guide]] for more information on Unified Character Creation}}
  
 
When you want your adventure to start off with the character creation screen, you need to initiate this with story scripting.<br />
 
When you want your adventure to start off with the character creation screen, you need to initiate this with story scripting.<br />
Line 19: Line 15:
 
<br />
 
<br />
 
=== When loading no data ===
 
=== When loading no data ===
This basic version includes everything you need to get your story adventure up and running: [[CharacterCreationTemplate.zip]]<br />
+
This basic version includes everything you need to get your story adventure up and running: [[:File:CharacterCreationTemplate.zip|Character Creation Template]]<br />
 
You'll notice that after character creation, you'll get teleported to the [[Sandbox]]. This can be changed by editing the following lines:
 
You'll notice that after character creation, you'll get teleported to the [[Sandbox]]. This can be changed by editing the following lines:
 
<br />
 
<br />
Line 27: Line 23:
  
 
<br />
 
<br />
 +
 
=== When loading data from one of the existing modes (Story/Arena/GM) ===
 
=== When loading data from one of the existing modes (Story/Arena/GM) ===
We suggest using (and if necessary adapting) the existing Character Creation script:
+
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:
 
* <b>Story</b>: ''FortJoy_CharacterCreation''
 
* <b>Story</b>: ''FortJoy_CharacterCreation''
 
* <b>Arena</b>: ''__StartArena''
 
* <b>Arena</b>: ''__StartArena''
 
* <b>Game Master</b>: ''GLO_GameMasterCharacterCreation''
 
* <b>Game Master</b>: ''GLO_GameMasterCharacterCreation''
 +
<br />
  
<br />
 
 
== My adventure in-game ==
 
== My adventure in-game ==
  

Latest revision as of 19:15, 3 September 2018

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

Warningred.png
This is no longer required for the Definitive Edition as Character Creation is unified for all mods. We refer to The Definitive Edition Guide for more information on Unified Character Creation

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


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!