Modding:Tutorials: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(→‎Scripting Tutorials: Removed dead link and empty section)
 
(39 intermediate revisions by 2 users not shown)
Line 3: Line 3:
|description=This page is a hub for everything related to Modding Baldur's Gate 3. Check out the following guides to learn how to mod BG3.
|description=This page is a hub for everything related to Modding Baldur's Gate 3. Check out the following guides to learn how to mod BG3.
|image=Modding_resources.webp
|image=Modding_resources.webp
}}{{NavModding}}
}}{{Modding box}}
== Basic Tutorials ==
 
Tutorials for basic components of BG3 modding. We recommend at least glancing over all of these concepts before you start modding.
== Common Mod Tutorials ==
[[Modding:Creating Hair Mods|'''Creating Hair Mods''']] | '''[[Modding:Head Modding|Creating Head Mods]]''' | [[Modding:Creating Armor Mods|'''Creating Armor Mods''']] | [[Modding:Creating Race Mods|'''Creating Race Mods''']]{{Modding sidebar}}
 
== Tutorials ==
Tutorials for BG3 Modding encompass a few categories that we are trying to put together by their category.
 
* [https://github.com/BG3-Community-Library-Team/BG3-Community-Library/wiki BG3 Community Library]
** To quote the page "The Community Library is a collaborative effort among members of the modding community to create a common collection of Spells, Scripts, Items, Races, Passives, and more, with the goal of assisting modders in creating new content and keeping their content compatible with similar mods."
 
* [[Modding:Sample_Templates|Sample Templates]] - Sample templates for several types of mods that should help alongside the below listed tutorials.
 
== General Tutorials ==
General tutorials for modding BG3, or tutorials that encompass multiple categories.
 
First and foremost you want to unpack the game files to start modding. Most modding involves making use of the game's existing files.
* [[Guide:Unpacking_and_Converting_Files|Unpacking and Converting Files]]
** This page goes through the process of unpacking the game files and converting them for you to use in your mods.
 
====Creating PAK mods====
* [[Understanding Mod Folder Structure]]
* [[Understanding Mod Folder Structure]]
** before going into making pak mods it is good to know how their structure works.
* [[Guide:Working with lsx files|Working with LSX files ( example with Progressions.lsx )]]
** a good guide to get use to the setup of the lsx files the game uses.
* [[Modding:Creating meta.lsx|Creating your Meta.lsx]] by Padme4000
* [[Modding:Creating meta.lsx|Creating your Meta.lsx]] by Padme4000
* [[Guide:Unpacking_and_Converting_Files|Unpacking and Converting Files]]
** This tutorial goes through the process of making your meta.lsx which pak mods use to tell the game their name, their identifier and what version of the mod it is. For mod managers these allow you to move the mod around in the load order. Generally most mods will need one to be able to be installed and work.
* [[Modding:Dependencies|Dependencies]]
* [[Modding:Dependencies|Dependencies]]
** This is only really required if you need to reference assets in another mod, or when you have trouble loading in a vanilla asset.
* [[Modding:Hotloading|Hotloading]]
** This is really good to know whether you can hotload to check edits to your mod while the game is still running.
* [[Guide:Packaging_Mods|Packaging Mods]] for [[Guide:Installing_Mods|install]]
* [[Guide:Packaging_Mods|Packaging Mods]] for [[Guide:Installing_Mods|install]]
* [[Guide:Working with lsx files|Working with LSX files ( example with Progressions.lsx )]]
** When your mod is ready to go, you will want to pack your mod for your users to install it.
* [[Modding:Hotloading|Hotloading]]
*[[Modding:Editing Equipment.txt]]
 
**Want to change the equipment that your classes spawn in with? Here's how to do it.
== General Tutorials ==
====Mesh Related====
General tutorials for modding BG3, or tutorials that encompass multiple categories.
*[https://youtu.be/yQSqRF7dLB8?si=dbmIX2UpsK5XtDFR Install GR2 plugin then Import and Export example]
** This tutorial shows how to setup blender to be able to import assets. The example does show importing a head mesh but is the steps used to import any mesh into blender.


==== [https://www.youtube.com/playlist?list=PLYJ1Y7lY33WQOho8it-mTq6cIrH8dUeLP Learning Blender] ====
These tutorials are not directly BG3-related, but are a great stepping stone into using Blender and working with meshes.
* [https://youtube.com/playlist?list=PLjEaoINr3zgFX8ZsChQVQsuDSjEqdWMAD&si=85qV8vXb9vMYzq7C Donut Tutorial (Blender 3.0)] by Blender Guru
* [https://www.youtube.com/playlist?list=PLjEaoINr3zgEPv5y--4MKpciLaoQYZB1Z Donut Tutorial (Blender 4.0)] by Blender Guru
* [https://www.youtube.com/watch?v=B11XBZmIIZc Learn Shape Keys In Under 5 Mins] by PIXXO 3D
* [https://www.youtube.com/watch?v=qTgSLYY9uew Fix your SHAPE KEYS! - Blender 2.8 tutorial] by Danny Mac 3D
====Other Tutorials====
Ones that don't currently fit a specific category yet or encompass several.
*[[Guide:Custom_Polymorph|Custom Polymorphing]]
*[[Guide:Custom_Polymorph|Custom Polymorphing]]
*[https://docs.google.com/document/d/1iR-q2sTqxLuk3xXG8W6dbk3QeqQw_jdGkI1WAu45OoU/edit Custom Dye Mod Guide] by AstralSprout
* [https://youtu.be/WB0Cx4igByY?si=CIJVAM_Gq3y_6Hex Adding New Colours to Character Creation] by Padme4000
* [https://github.com/BG3-Community-Library-Team/BG3-Community-Library/wiki BG3 Community Library]
* [[Modding:CodingAnItem|How to code an custom mesh item and texture so it shows up in the game]]
* [https://www.youtube.com/playlist?list=PLe0NwkOacl_jFoRnGT8iU29WriucyN1mj Padme4000's YouTube tutorials]
* [https://www.youtube.com/playlist?list=PLe0NwkOacl_jFoRnGT8iU29WriucyN1mj Padme4000's YouTube tutorials]
*[https://www.nexusmods.com/baldursgate3/mods/2571 Tiefling Horn Replacement Tips] by Nathahniel


== Creating Mods with Assets Tutorials ==
= Character Creation Tutorials =
Mesh encompasses visible assets like clothing, armor, weapons, hair, heads, etc. Most of these tutorials use Blender as their program of choice.


Step One if wanting to edit a mesh: [https://youtu.be/yQSqRF7dLB8?si=dbmIX2UpsK5XtDFR Install GR2 plugin then Import and Export example]
Character creation tutorials touch on things that edit things to do with characters, either Tavs or NPCs.
* this example does show importing a head mesh but is the steps used to import any mesh into blender.


=== Creating Hair Mods ===
* [https://docs.google.com/document/u/0/d/1u7jdDqLbcJlkasjadwvGK9ITmzuiiroDZkhsMvK_kvI/mobilebasic Editing an NPC] by Padme4000
* [[Modding:Editing a Character Creation Preset]]


== Creating Hair Mods ==
Main tutorial page: [[Modding:Creating Hair Mods|Creating Hair Mods]]
Other tutorials:
* [https://docs.google.com/document/d/1-DQ98gsKD0Rpmh7dEQRUlmLIANXP-qu5VRDlDcnfy7Q/edit Visualizing a BG3 Hair Texture in Blender] by EmeraldTechno
* [https://docs.google.com/document/d/1-DQ98gsKD0Rpmh7dEQRUlmLIANXP-qu5VRDlDcnfy7Q/edit Visualizing a BG3 Hair Texture in Blender] by EmeraldTechno
** Very useful for editing hairs in Blender, as it allows you to see how the hair is going to look in game without actually paking it and loading into the Character Creator.
* [https://youtu.be/siC6fak9zDM?si=r1nezgGOs9OWqOOr Creating Hairs Post Patch 9]
* [https://youtu.be/siC6fak9zDM?si=r1nezgGOs9OWqOOr Creating Hairs Post Patch 9]
** Shows editing a custom mesh, but works with in game assets as well. The file editing is mostly the same, but [[Guide:Hair_Creation|Padme's updated tutorial here]] will show the most up to date information.
* [https://youtu.be/gxmgZ_X1kbI?si=wj7OFqyKkGS3BV2V Joining Different Meshes Into One]
* [https://youtu.be/gxmgZ_X1kbI?si=wj7OFqyKkGS3BV2V Joining Different Meshes Into One]
* [[Guide:Custom_Hair_Highlight|Custom Hair Highlight/Ombre]]
** With some hair meshes, as long as they share the same texture, you might want to join the meshes together for simplicity. This is how you would go about that. If the hair parts use different materials and you want to keep them as such, do not use this method. You can also use this method to join other types of meshes.
* [[Modding:Custom Hair Highlights|Custom Hair Highlights]]
** BG3's vanilla hairs have highlights applied using vertex paint. This guide will show you how to adjust or add your own highlights to your custom hair.
* [https://drive.google.com/file/d/1FsC1fwRwF0FKvAuPL-Md7WFbCiL0Psvp/view Hair Thinning Begone] by mocia
** If your hair seems thin in CC (showing too much light or background through the hair), this tutorial can help you fix that.
*[https://www.youtube.com/watch?v=skYGVG-XWNg Making Custom Hair for Baldur's Gate 3 using Hair Tool for Blender] by EmeraldTechno


==== Adding your hair as a new asset to the game ====
=== Adding your hair as a new asset to the game ===


Once you have your meshes setup these guides will help you add it to the game as a new asset.
Once you have your meshes set up, these guides will help you add it to the game as a new asset.


* [https://drive.google.com/file/d/1FsC1fwRwF0FKvAuPL-Md7WFbCiL0Psvp/view Hair Thinning Begone] by mocia
* [[Guide:Hair_Creation|Hair Mod File Setup]]
* [[Guide:Hair_Creation|Adding Custom/Edited Hairs to Character Creation as new assets not replacements]] by Padme4000
** This is an in-depth guide for those who might want to understand the process more thoroughly, or who are very new to BG3 modding.
* [https://docs.google.com/document/d/1s0I2zLZXPzmW6DMRXBkLbHjKzOUOhxPWwfz05Y0Bv2g/edit Add your custom hair to BG3 in 10 minutes or less] by EmeraldTechno
* [https://www.nexusmods.com/baldursgate3/mods/5499 Add your custom hair to BG3 in 10 minutes or less] by EmeraldTechno
** This is a fast-paced guide with an included template to help you quickly add your hair to BG3. However, it does not include many details.
 
== Creating Head Mods ==
 
* [https://youtu.be/RMPivc5qunw?si=2orGjIsCvQHWp31O Editing Head Meshes] by Padme4000
** A video tutorial on editing Ears, Neck, Teeth, Forehead, Scalp on Head Meshes
* [https://www.youtube.com/watch?v=BXUKhXiEvVs Converting BG3 Heads from Small to Tall Body] by Weeviljester
* [https://docs.google.com/document/d/1eMBz7hbW0yhG0okIRwHL7soEeddvkFVV6rkXpgtRAYo/edit?usp=sharing Making a custom skeleton for your head] by Jerinski
** Required when you have edited a head extensively or converted a head from shorter bodies to taller ones or vice versa.
**note this is the final step for your custom heads or head conversions


=== Creating Head Mods ===
=== Fixing Issues with your Heads ===


* [[Guide:Fixing_Neck_Seams|Fixing neck seams]]
* [[Guide:Fixing_Neck_Seams|Fixing neck seams]]
** A neck seam is either a gap or a visible line between the neck of a head and the body. This tutorial should help you fix those issues.
* [[Guide:Fixing_UV_Errors|Fixing UV errors]]
* [[Guide:Fixing_UV_Errors|Fixing UV errors]]
* [[Guide:Fixing_Bone_Errors|Fixing bone errors]]
* [[Guide:Fixing_Bone_Errors|Fixing bone errors]]
* [[Guide:Head_Conversion|Head Conversion]]
* [https://youtu.be/6UMHF6blms8?si=BCIwGuRGmxePz73p Fixing a Neck Gap that Shows in Game but not in Blender]
* [https://docs.google.com/document/d/1eMBz7hbW0yhG0okIRwHL7soEeddvkFVV6rkXpgtRAYo/edit?usp=sharing Making a custom skeleton for your head] by Jerinski
** sometimes in blender it will look like there are no gaps, but once in game we might get some. this video is to show you how to fix that issue.
** [https://youtu.be/RMPivc5qunw?si=2orGjIsCvQHWp31O Editing Head Meshes]
* [[Modding:Head Troubleshooting|Head Troubleshooting]]
*** A video tutorial on editing Ears, Neck, Teeth, Forehead, Scalp on Head Meshes
** This page shows you how to:  
*** Apply Transformations
*** How to fix Ears missing/on the floor in Game
*** To check if your ears have weights and how to add them
*** Head Disappearing when zooming out
*** Heterochromia not working for your head
*** Wrinkles being too extreme
 
== Tav Specific Character Creation Tutorials ==
 
* [https://youtu.be/WB0Cx4igByY?si=CIJVAM_Gq3y_6Hex Adding New Colours to Character Creation] by Padme4000


=== Creating Armour/Outfit Mods ===
= Creating Armour/Outfit Mods =


* [https://www.youtube.com/watch?v=IbivHL2lPrc&list=PLe0NwkOacl_jFoRnGT8iU29WriucyN1mj&index=12 Making Custom Armor - Part 1] by Druundev
* [https://www.youtube.com/watch?v=IbivHL2lPrc&list=PLe0NwkOacl_jFoRnGT8iU29WriucyN1mj&index=12 Making Custom Armor - Part 1] by Druundev
* [https://www.youtube.com/watch?v=o_zgNI9nhns&list=PLe0NwkOacl_jFoRnGT8iU29WriucyN1mj&index=13 Making Custom Armor - Part 2] by Druundev
* [https://www.youtube.com/watch?v=o_zgNI9nhns&list=PLe0NwkOacl_jFoRnGT8iU29WriucyN1mj&index=13 Making Custom Armor - Part 2] by Druundev
* [https://www.nexusmods.com/baldursgate3/mods/2571 Tiefling Horn Replacement Tips] by Nathahniel
* [https://www.youtube.com/watch?v=0NfTLbokQOA&list=PLe0NwkOacl_jFoRnGT8iU29WriucyN1mj&index=14 Making Custom Armor - Part 3] by Druundev
** This 3-part series by Druundev explains from start to finish how to use in-game assets to create your own custom armor.
* [https://docs.google.com/document/d/1iR-q2sTqxLuk3xXG8W6dbk3QeqQw_jdGkI1WAu45OoU/edit Custom Dye Mod Guide] by AstralSprout
** A detailed guide on how to make custom dyes that can be applied to any dye-enabled clothing or armor.
*[https://www.nexusmods.com/baldursgate3/articles/311 Add Cloth Physics To Any Armor] by ReallyLazyIcarus
 
=== Adding your new asset to the game ===
 
* [[Modding:CodingAnItem|How to code an custom mesh item and texture so it shows up in the game]]


== [https://www.youtube.com/playlist?list=PLYJ1Y7lY33WQOho8it-mTq6cIrH8dUeLP Learning Blender] ==
=== Fixing issues with your armour/outfit ===
These tutorials are not directly BG3-related, but are a great stepping stone into using Blender and working with meshes.
 
* [https://youtube.com/playlist?list=PLjEaoINr3zgFX8ZsChQVQsuDSjEqdWMAD&si=85qV8vXb9vMYzq7C Donut Tutorial (Blender 3.0)] by Blender Guru
[https://youtu.be/NCDGhz3RSr8?si=N6LEgM9uYyrE3HHk Fix dark areas/patches on the mesh in blender]
* [https://www.youtube.com/playlist?list=PLjEaoINr3zgEPv5y--4MKpciLaoQYZB1Z Donut Tutorial (Blender 4.0)] by Blender Guru
* [https://www.youtube.com/watch?v=B11XBZmIIZc Learn Shape Keys In Under 5 Mins] by PIXXO 3D
* [https://www.youtube.com/watch?v=qTgSLYY9uew Fix your SHAPE KEYS! - Blender 2.8 tutorial] by Danny Mac 3D


== Texture-Related Tutorials ==
= Texture-Related Tutorials =
Texturing is usually applied on top of a mesh to make it appear a certain way.
Texturing is usually applied on top of a mesh to make it appear a certain way.
* [[Guide:Texture_Formatting|Texture Formatting]]
* [[Guide:Texture_Formatting|Texture Formatting]]


== VFX-Related Tutorials ==
= VFX-Related Tutorials =
Visual Effects-related tutorials.
Visual Effects-related tutorials.


[https://github.com/ImmortalRDI/BG3-Community-Library/wiki Creating Custom Visual Effects in-depth guide] by ImmortalRDI
[https://github.com/ImmortalRDI/BG3-Community-Library/wiki Creating Custom Visual Effects in-depth guide] by ImmortalRDI


== Scripting Tutorials ==
[[Category:Modding resources]]
* [[Guide:Getting_Started_with_Scripts|Getting Started with Scripting]]

Latest revision as of 16:59, 8 July 2024

Common Mod Tutorials[edit | edit source]

Creating Hair Mods | Creating Head Mods | Creating Armor Mods | Creating Race Mods

Tutorials[edit | edit source]

Tutorials for BG3 Modding encompass a few categories that we are trying to put together by their category.

  • BG3 Community Library
    • To quote the page "The Community Library is a collaborative effort among members of the modding community to create a common collection of Spells, Scripts, Items, Races, Passives, and more, with the goal of assisting modders in creating new content and keeping their content compatible with similar mods."
  • Sample Templates - Sample templates for several types of mods that should help alongside the below listed tutorials.

General Tutorials[edit | edit source]

General tutorials for modding BG3, or tutorials that encompass multiple categories.

First and foremost you want to unpack the game files to start modding. Most modding involves making use of the game's existing files.

Creating PAK mods[edit | edit source]

  • Understanding Mod Folder Structure
    • before going into making pak mods it is good to know how their structure works.
  • Working with LSX files ( example with Progressions.lsx )
    • a good guide to get use to the setup of the lsx files the game uses.
  • Creating your Meta.lsx by Padme4000
    • This tutorial goes through the process of making your meta.lsx which pak mods use to tell the game their name, their identifier and what version of the mod it is. For mod managers these allow you to move the mod around in the load order. Generally most mods will need one to be able to be installed and work.
  • Dependencies
    • This is only really required if you need to reference assets in another mod, or when you have trouble loading in a vanilla asset.
  • Hotloading
    • This is really good to know whether you can hotload to check edits to your mod while the game is still running.
  • Packaging Mods for install
    • When your mod is ready to go, you will want to pack your mod for your users to install it.
  • Modding:Editing Equipment.txt
    • Want to change the equipment that your classes spawn in with? Here's how to do it.

Mesh Related[edit | edit source]

Learning Blender[edit | edit source]

These tutorials are not directly BG3-related, but are a great stepping stone into using Blender and working with meshes.

Other Tutorials[edit | edit source]

Ones that don't currently fit a specific category yet or encompass several.

Character Creation Tutorials[edit | edit source]

Character creation tutorials touch on things that edit things to do with characters, either Tavs or NPCs.

Creating Hair Mods[edit | edit source]

Main tutorial page: Creating Hair Mods


Other tutorials:

  • Visualizing a BG3 Hair Texture in Blender by EmeraldTechno
    • Very useful for editing hairs in Blender, as it allows you to see how the hair is going to look in game without actually paking it and loading into the Character Creator.
  • Creating Hairs Post Patch 9
    • Shows editing a custom mesh, but works with in game assets as well. The file editing is mostly the same, but Padme's updated tutorial here will show the most up to date information.
  • Joining Different Meshes Into One
    • With some hair meshes, as long as they share the same texture, you might want to join the meshes together for simplicity. This is how you would go about that. If the hair parts use different materials and you want to keep them as such, do not use this method. You can also use this method to join other types of meshes.
  • Custom Hair Highlights
    • BG3's vanilla hairs have highlights applied using vertex paint. This guide will show you how to adjust or add your own highlights to your custom hair.
  • Hair Thinning Begone by mocia
    • If your hair seems thin in CC (showing too much light or background through the hair), this tutorial can help you fix that.
  • Making Custom Hair for Baldur's Gate 3 using Hair Tool for Blender by EmeraldTechno

Adding your hair as a new asset to the game[edit | edit source]

Once you have your meshes set up, these guides will help you add it to the game as a new asset.

  • Hair Mod File Setup
    • This is an in-depth guide for those who might want to understand the process more thoroughly, or who are very new to BG3 modding.
  • Add your custom hair to BG3 in 10 minutes or less by EmeraldTechno
    • This is a fast-paced guide with an included template to help you quickly add your hair to BG3. However, it does not include many details.

Creating Head Mods[edit | edit source]

Fixing Issues with your Heads[edit | edit source]

  • Fixing neck seams
    • A neck seam is either a gap or a visible line between the neck of a head and the body. This tutorial should help you fix those issues.
  • Fixing UV errors
  • Fixing bone errors
  • Fixing a Neck Gap that Shows in Game but not in Blender
    • sometimes in blender it will look like there are no gaps, but once in game we might get some. this video is to show you how to fix that issue.
  • Head Troubleshooting
    • This page shows you how to:
      • Apply Transformations
      • How to fix Ears missing/on the floor in Game
      • To check if your ears have weights and how to add them
      • Head Disappearing when zooming out
      • Heterochromia not working for your head
      • Wrinkles being too extreme

Tav Specific Character Creation Tutorials[edit | edit source]

Creating Armour/Outfit Mods[edit | edit source]

Adding your new asset to the game[edit | edit source]

Fixing issues with your armour/outfit[edit | edit source]

Fix dark areas/patches on the mesh in blender

Texture-Related Tutorials[edit | edit source]

Texturing is usually applied on top of a mesh to make it appear a certain way.

VFX-Related Tutorials[edit | edit source]

Visual Effects-related tutorials.

Creating Custom Visual Effects in-depth guide by ImmortalRDI