Modding:Tutorials: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
(→‎Scripting Tutorials: Removed dead link and empty section)
 
(29 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}}
 
== 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 ==
Tutorials for BG3 Modding encompass a few categories that we are trying to put together by their category.
Tutorials for BG3 Modding encompass a few categories that we are trying to put together by their category.
Line 9: Line 13:
* [https://github.com/BG3-Community-Library-Team/BG3-Community-Library/wiki BG3 Community Library]
* [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."
** 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."
<br>
 
* [[Modding:Sample_Templates|Sample Templates]] - Sample templates for several types of mods that should help alongside the below listed tutorials.
* [[Modding:Sample_Templates|Sample Templates]] - Sample templates for several types of mods that should help alongside the below listed tutorials.


Line 15: Line 19:
General tutorials for modding BG3, or tutorials that encompass multiple categories.
General tutorials for modding BG3, or tutorials that encompass multiple categories.


First and foremost you want to unpack the game files to start modding.
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]]
* [[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.
** This page goes through the process of unpacking the game files and converting them for you to use in your mods.
Line 31: Line 35:
** This is really good to know whether you can hotload to check edits to your mod while the game is still running.
** 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]]
** When your mod is ready to go you will want to pack your mod ready for you and your users to install it.
** 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====
====Mesh Related====
*[https://youtu.be/yQSqRF7dLB8?si=dbmIX2UpsK5XtDFR Install GR2 plugin then Import and Export example]
*[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.
** 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]


==== [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.
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://youtube.com/playlist?list=PLjEaoINr3zgFX8ZsChQVQsuDSjEqdWMAD&si=85qV8vXb9vMYzq7C Donut Tutorial (Blender 3.0)] by Blender Guru
Line 42: Line 48:
* [https://www.youtube.com/watch?v=B11XBZmIIZc Learn Shape Keys In Under 5 Mins] by PIXXO 3D
* [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
* [https://www.youtube.com/watch?v=qTgSLYY9uew Fix your SHAPE KEYS! - Blender 2.8 tutorial] by Danny Mac 3D
====Other Tutorials:====  
====Other Tutorials====  
Ones that don't currently fit a specific category yet or encompass several.
Ones that don't currently fit a specific category yet or encompass several.
*[[Guide:Custom_Polymorph|Custom Polymorphing]]
*[[Guide:Custom_Polymorph|Custom Polymorphing]]
* [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


= Character Creation Tutorials =
= Character Creation Tutorials =


Character creation tutorials is in reference to tutorials that touch on things that edit things to do with characters, either Tavs or NPCs.
Character creation tutorials touch on things that edit things to do with characters, either Tavs or NPCs.
 
* [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 ==
== 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.
** 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 my updated tutorial [[Guide:Hair_Creation|here]] also linked below will show the most up to date information.
** 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]
** With some hair meshes as long as they share the same texture you might want to join the meshes together, 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.
** 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.
* [[Guide:Custom_Hair_Highlight|Custom Hair Highlight/Ombre]]
* [[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 ==
== 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
=== 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.
** 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 ==
== Tav Specific Character Creation Tutorials ==
Line 84: Line 117:
* [https://youtu.be/WB0Cx4igByY?si=CIJVAM_Gq3y_6Hex Adding New Colours to Character Creation] by Padme4000
* [https://youtu.be/WB0Cx4igByY?si=CIJVAM_Gq3y_6Hex Adding New Colours to Character Creation] by Padme4000


= Creating Mods for Armour/Outfit =
= 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.youtube.com/watch?v=0NfTLbokQOA&list=PLe0NwkOacl_jFoRnGT8iU29WriucyN1mj&index=14 Making Custom Armor - Part 3] by Druundev
* [https://www.youtube.com/watch?v=0NfTLbokQOA&list=PLe0NwkOacl_jFoRnGT8iU29WriucyN1mj&index=14 Making Custom Armor - Part 3] by Druundev
* [https://www.nexusmods.com/baldursgate3/mods/2571 Tiefling Horn Replacement Tips] by Nathahniel
** 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
*[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.
** 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 ===
=== 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]]
* [[Modding:CodingAnItem|How to code an custom mesh item and texture so it shows up in the game]]
=== Fixing issues with your armour/outfit ===
[https://youtu.be/NCDGhz3RSr8?si=N6LEgM9uYyrE3HHk Fix dark areas/patches on the mesh in blender]


= Texture-Related Tutorials =
= Texture-Related Tutorials =
Line 107: Line 144:
[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