Divinity Engine 2 Tutorial

When I load a level say the Tutorial Level A, the Divinity Engine randomly selects a default character. Is there a way to specify which race and gender should be used? Perhaps something like the character creation template as config settings for the level/across the project? Hi guys,Brand new to the forums but a huge fan of old school modding and the modding community. I haven't done much since NWN and a bit for NWN 2. Divinity Engine 2 looks incredibly promising - especially with the GM mode, and I thought I'd try to dive into it. I thought some people jus. Osiris tutorial videos from DOS1 (the language has changed a little, but the base concepts are still the same and these videos are still 99% relevant; you can ignore the last one about dialogs, as the dialog system has changed completely).

Welcome to the Items guide. Here you will find the item creation pipeline from modelling to importing your item in Divinity Engine 2.
This article is part of a collection of guides, with a page for every type of item.

General
Scenery (Rocks, plants, trees, shelves, etc.)
Lootable items (Shells, plates, food, gems, etc.)
Interactable animated items (Levers, doors, etc.)
Interactable socket items (Chairs, beds, etc.)
Weapons (The sharp stuff)

To create items you will need some 3d modelling and texturing skills.
Two most important things you need to have if you want to create an Item: item model and it's textures.

DataTutorial


In the editor 3d models are saved as granny files (.GR2).
The textures are saved as DirectDraw Surface (.dds).

Tutorial
More info on Granny 3D can be found here
More info on DirectDraw Surface can be found here

No matter what type of item you want to do your pipeline will consists of:

  • Modelling
  • Texturing
  • Setting up the item in the file
  • Setting up the item in the editor


You will need a 3d modelling software to create items. If you unfamiliar with 3d modelling we advice you to check some 3d modelling specific guides first.
Places you can find good tutorials about 3d modelling:

  • YouTube tutorials (good example)


If you already have your granny files (.GR2) and Direct Draw Surface (.dds) texture files it's time to import them in the editor.

  1. Open your Content Browser. Choose a correct package or create a new one.
  2. Hit the add resource button (highlighted red in the left upper corner) and select what type of resource you want to add.



After that you'll need to make a new material, assign textures to your new material and assign the material to your mesh.
To make a new material you have two options:

  1. Create a new material by pressing 'Add resource' button highlighted red on the screenshot above and select material.
  2. Select any material that you see in content browser right click it and select 'Create new from selected'. That will create a new material copy with all settings from the original.


Now you need to assign textures to your material and material to the mesh.
Depending on the type of the material you're using it can have different texture parameters.
The most standard material we use for items is called Base_PBR.


Diesel

We are using physical based rendering, it means that you need a base color texture (BM) a physical map (PM) and a normal map (NM)
The physical map (PM) channels are as follow:

  • Metalness in red (R) channel
  • Roughness in green (G) channel
  • Ambient Occlusion is in blue (B) channel


General
Scenery (Rocks, plants, trees, shelves, etc.)
Lootable items (Shells, plates, food, gems, etc.)
Interactable animated items (Levers, doors, etc.)
Interactable socket items (Chairs, beds, etc.)
Weapons (The sharp stuff)
Retrieved from 'https://docs.larian.game/index.php?title=My_first:_Item&oldid=6398'
OK.. in this one we are going to drop in a chair and a NPC and then make him sit on the chair.
1: Lets grab a chair from the resources... I use FUR_Humans_Citz_Chair_Poor_A in this example. Drop it onto your level.
2: Grab your NPC and drop them next to the chair. I used GameMaster_PoorCivilian_Easy_Human_Female
3: Now select your chair and change its NAME (not display name) to S_FUR_Humans_Citz_Chair_Poor_A - Make sure you remember this. You must add the S_ as a prefix for it to show in the list later.
4: Now select your NPC, and edit the scripts attribute.
5: In the Edit Scripts.. search for and add the 'Sit' script.
6: Now select the 'Seat' attribute for that script and find the chair you renamed. 'S_FUR_Humans_Citz_Chair_Poor_A' from the drop down list.
7: Save and reload .. and when you hit play your NPC will wander over and take a pew.
Hope thats useful, let me know if you want more of these.

Divinity Engine 2 Tutorial Pc