Difference between revisions of "Working with levels"

From Divinity Engine Wiki
Jump to: navigation, search
(Creating a Project)
(Creating a Level)
Line 15: Line 15:
 
== <span id="Creating"></span> Creating a Level ==
 
== <span id="Creating"></span> Creating a Level ==
 
<div>
 
<div>
[[File:NewProject.png]]
+
[[File:NewLevel.png]]
 
</div>
 
</div>
 
<br />
 
<br />
  
<p>When creating a project, there are two things you have to choose: the project type and start-up settings.</p>
+
<p>When creating a level, there are two things you have to choose: the level template and start-up settings.</p>
  
=== Project Type: Adventure or Add-on? ===
+
=== Level Template: Start from nothing or start with something? ===
  
<p>Depending on the type of mod you want to release, you have to make either an adventure project, or an add-on project:</p>
+
The following templates are available when creating a level:
 
*'''Add-on''': Can be toggled on and off between play sessions. Savegames keep working with or without any of them. When creating an add-on you are not allowed to change anything story-related. Add-ons are generally projects that add new content to the game (like extra items or classes) or change existing content (turn the Red Lizard blue).
 
*'''Adventure''': You always start a new campaign (story and gm) for a specific adventure. An adventure is fixed for a game session and savegames do not work anymore if the adventure (or its story) is changed. An adventure contains the story you will be playing and all content related to that story. If you want to make your own story, or alter an existing story, you need to make an adventure.
 
  
<p>So, in summary, if you want to make story changes -> Adventure. For everything else -> Add-on.</p>
+
<div>
 +
[[File:BasicTemplate.png]]
 +
</div>
 +
 
 +
<p> Start from a blank canvas that is already playable. The Basic template already has a simple terrain, start points, a minimap,... so you can jump straight into game mode.</p>
 +
 
 +
<div>
 +
[[File:EmptyTemplate.png]]
 +
</div>
 +
 
 +
<p> Picking this will create a completely empty level. You will have to setup a terrain, start points for characters,... to make the level playable.</p>
 +
 
 +
<div>
 +
[[File:CopyTemplate.png]]
 +
</div>
 +
 
 +
<p> Picking this will give you the extra [[#Settings|settings option]] "Copy From". Here you select an already existing level as your template. When you create your level, it will be an exact copy of the level you selected in the "Copy From" option.</p>
 +
 
 +
<div>
 +
[[File:SandboxTemplate.png]]
 +
</div>
 +
 
 +
<p> The sandbox is an already existing level. When selecting this, you will not create a new level, but load The Sandbox. In this level, no level changes are saved. The Sandbox is a full level, with a bit of everything ranging from friendly characters for talking to enemies for fighting. Use this when you want to test things out without having to create a level yourself.</p>
 +
 
 +
{| class="wikitable"
 +
|-
 +
|For more info on The Sandbox, go here: [[Sandbox]]
 +
|-
 +
|}
  
=== Project Settings ===
+
=== <span id="Settings"></span> Project Settings ===
 
<div>
 
<div>
 
[[File:ProjectSettings.png]]
 
[[File:ProjectSettings.png]]

Revision as of 14:20, 2 August 2017

Levelbrowser-overview.png


Levels and the Level Browser

Everything you create/change in the editor is stored in projects. To be able to share a mod with the world, you have to create and share an editor project you make for that mod.

The level browser is used for loading and creating levels. Here you can see all existing level, as well as the different level templates you can create. The browser will show automatically when a project is loaded. You are not obliged to create a level. You might only want to make story changes, but it might still be useful to have a level for testing things in. Afterwards, you can change levels by creating or loading a different one, as explained in sections Creating a Level and Loading a Level.

An explanation on the different buttons and functionalities of the level browser can be found here: Level browser

Creating a Level

NewLevel.png


When creating a level, there are two things you have to choose: the level template and start-up settings.

Level Template: Start from nothing or start with something?

The following templates are available when creating a level:

BasicTemplate.png

Start from a blank canvas that is already playable. The Basic template already has a simple terrain, start points, a minimap,... so you can jump straight into game mode.

EmptyTemplate.png

Picking this will create a completely empty level. You will have to setup a terrain, start points for characters,... to make the level playable.

CopyTemplate.png

Picking this will give you the extra settings option "Copy From". Here you select an already existing level as your template. When you create your level, it will be an exact copy of the level you selected in the "Copy From" option.

SandboxTemplate.png

The sandbox is an already existing level. When selecting this, you will not create a new level, but load The Sandbox. In this level, no level changes are saved. The Sandbox is a full level, with a bit of everything ranging from friendly characters for talking to enemies for fighting. Use this when you want to test things out without having to create a level yourself.

For more info on The Sandbox, go here: Sandbox

Project Settings

ProjectSettings.png


Before creating your project, you can setup a few things in advance. Firstly, the project name. This is the name your project has in the editor and in your files. You will be able to change the title before publishing your project to the world, so don't worry too much about choosing the perfect title. Secondly, "Load Data From". Our three game modes (Story, Arena and Game Master) are also projects we made in the editor ourselves. By selecting to load the data from any of them, you make your project dependent on the selected project(s). This will cause your project to always load all characters, items, story, etc. from there. You will need this if you want to make changes to existing content or if you just want to reuse our content to create completely new levels. Lastly, "Target Project For" defines in which game mode your published project will work. You might for example want to make balancing changes that only affect battles in arena mode. In that case you would only select Arena. Similarly, if you want to create a new sword for your game master campaign and don't want it to be available when playing the main story, you only select GM.

More info on "dependent project" and how changes to existing content are handled can be found here: Modding internals

Loading a Project

OpenProject.png


ProjectBrowser-existing.png


To load a project, simply open the browser and select the project you wish to load. To start loading, double-click the thumbnail, press the enter key, or press the Select button in the bottom-right corner of the browser.