Modding:Creating mods: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(121 intermediate revisions by 10 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
}}Main page: [[Modding Resources]]
}}{{Modding box}}
== Mods Needed ==
== Introduction ==
As of Patch 9, the following mod is needed: [https://nb-stor.s3.eu-central-1.amazonaws.com/bg3/nrd_killstory.pak Patch 3 Modfixer].
[https://forms.gle/eEhyfzsY5hmvVTRV8 '''Request a modding-related wiki page here!''']
== Tutorials ==
* [[Guide:Unpacking_and_Converting_Files|Unpacking and Converting Files]]
* [[Guide:Fixing_Neck_Seams|Fixing neck seams]]
* [[Guide:Fixing_UV_Errors|Fixing UV errors]]
* [[Guide:Fixing_Bone_Errors|Fixing bone errors]]
* [[Guide:Head_Conversion|Head Conversion]]s
* [[Guide:Custom_Polymorph|Custom Polymorphing]]
* [[Guide:Custom_Hair_Highlight|Custom Hair Highlight/Ombre]]
* [[Guide:Packaging_Mods|Packaging Mods]] for [[Guide:Installing_Mods|Install]]


== References ==
Are you excited about becoming a Baldur's Gate 3 modder, but have absolutely no idea where to start?
* [[Guide:Hair_Meshes|Hair Meshes]]
 
* [[Guide:Head_Models|Head Models]]
This page is the starting point for resources, tutorials, references and more that you need for modding.
* [[Guide:Face_and_Body_Textures|Face and Body Textures]]
 
* [[Guide:Colour_Map|Colour Map]]
{| class="wikitable"
== Code Snippets ==
|+ Good places to begin:
* [[Guide:Race_UUID|Race UUID]]s
|-
== General Tutorials ==
! Resource !! Description
* [https://www.youtube.com/playlist?list=PLe0NwkOacl_jFoRnGT8iU29WriucyN1mj Padme4000's tutorials]
|-
* [https://www.youtube.com/playlist?list=PLYJ1Y7lY33WQOho8it-mTq6cIrH8dUeLP Learning Blender]
| [[Modding:Getting Started with BG3 Modding|Getting Started with BG3 Modding]]|| Want to know where to release your mod, or want to know how permissions work for mods?
* [https://www.youtube.com/watch?v=B11XBZmIIZc Learn Shape Keys In Under 5 Mins]
|-
* [https://www.youtube.com/watch?v=qTgSLYY9uew Fix your SHAPE KEYS! - Blender 2.8 tutorial by Danny Mac 3D]
| [[Modding:Tools|Tools and Plugins]] || A list of useful tools and plugins that are available either specifically for BG3 Modding or that help with BG3 Modding.
* [https://astropad.com/how-to-add-texture-to-a-3d-model-using-blender-an-ipad-and-uv-mapping/ How to add texture to a 3D model using Blender, an iPad, and UV Mapping]
|-
== Sample Mods ==
| [[Modding:Tutorials|Tutorial List]] || A list of different available tutorials categorised by theme.
* [https://www.nexusmods.com/baldursgate3/mods/132 Padme's BG3 Tutorials and Modding Resources]
|-
* [https://www.nexusmods.com/baldursgate3/mods/400 Sample 3D Edited Equipment Mod]
| [[Modding:Sample_Templates|Sample and Template Mods]] || Sample/Template mods you can use as a base to create your own mods.
* [https://www.nexusmods.com/baldursgate3/mods/278 Sample Magic Ring Mod]
|-
* [https://www.nexusmods.com/baldursgate3/mods/249 Sample Equipment Mod]
|[[Modding:References|References]]
* [https://www.nexusmods.com/baldursgate3/mods/294 Add Scars to Your Character]
|References and tables for the various game files you may need.
== Other Resources ==
|-
* [https://www.uuidgenerator.net/ UUID Generator]
|[[Modding:Code Snippets|Code Snippets]]
* [https://www.nexusmods.com/baldursgate3/images/594 Making armour icons]
|Helpful code snippets for modding.
* [https://www.nexusmods.com/baldursgate3/mods/238 Custom Backdrops for Character Creation and Level Up]
|-
* [https://boundingboxsoftware.com/materialize/ Materialize]
|[[Modding:Other Resources|Other Resources]]
=== Colour ===
|Miscellaneous resources to either help with modding or to add to your own mods.
* [https://docs.google.com/spreadsheets/d/1yXrWOIPoBe8p6MftEgFnZATvnoEvmGXGlCClenNXj_4/edit#gid=0 Colouring cheat sheet]
|}
* [https://ajalt.github.io/colormath/converter/ ColourMath Colour Converter] Use sRGB 0-1 for the vec3 value.
{{Modding navbox}}
* [https://rgbcolorpicker.com/0-1 RGB Color Picker]
[[Category:Modding guides]]
== AI Resources ==
* [https://www.nexusmods.com/baldursgate3/mods/521 Action Icons Generator]
* [https://www.nexusmods.com/baldursgate3/mods/527 Item Icons Generator]
== Folder Structure ==
* Mod Name (root folder)
** Generated
*** Public
**** Mod Name
***** [PAK]_Mod_Name <- models and textures
** Localization
*** Language <- usually ''English''
**** <code>Mod_Name.xml</code> <- text for items and spells
** Mods
*** Mod Name
**** <code>meta.lsx</code> <- Created manually or automatically with the BG3 Mini Tool
** Public <- use one of the Sample Mods below as a template for this folder
*** Game <- icons and other UI elements
*** Mod Name <- mod files in plain-text or XML
=== Example meta.lsx ===
<pre>
<?xml version="1.0" encoding="UTF-8"?>
<save>
    <version major="4" minor="0" revision="8" build="612"/>
    <region id="Config">
        <node id="root">
            <children>
                <node id="Dependencies"/>
                <node id="ModuleInfo">
                    <attribute id="Author" type="LSString" value="AUTHOR NAME HERE"/>
                    <attribute id="CharacterCreationLevelName" type="FixedString" value=""/>
                    <attribute id="Description" type="LSString" value=""/>
                    <attribute id="Folder" type="LSString" value="MOD FOLDER NAME HERE"/>
                    <attribute id="LobbyLevelName" type="FixedString" value=""/>
                    <attribute id="MD5" type="LSString" value=""/>
                    <attribute id="MainMenuBackgroundVideo" type="FixedString" value=""/>
                    <attribute id="MenuLevelName" type="FixedString" value=""/>
                    <attribute id="Name" type="LSString" value="MOD NAME HERE"/>
                    <attribute id="NumPlayers" type="uint8" value="4"/>
                    <attribute id="PhotoBooth" type="FixedString" value=""/>
                    <attribute id="StartupLevelName" type="FixedString" value=""/>
                    <attribute id="Tags" type="LSString" value=""/>
                    <attribute id="Type" type="FixedString" value="Add-on"/>
                    <attribute id="UUID" type="FixedString" value="UUID HERE"/>
                    <attribute id="Version64" type="int64" value="36029237253119790"/>
                    <children>
                        <node id="PublishVersion">
                            <attribute id="Version64" type="int64" value="36028797018963968"/>
                        </node>
                        <node id="TargetModes">
                            <children>
                                <node id="Target">
                                    <attribute id="Object" type="FixedString" value="Story"/>
                                </node>
                            </children>
                        </node>
                    </children>
                </node>
            </children>
        </node>
    </region>
</save>
</pre>
== Gallery ==
<gallery>
Blender279b_collada_export_settings.webp|Collada/DAE export settings for Blender 2.79b
Blender293_collada_export_settings.webp|Collada/DAE export settings for Blender 2.93
GnuIMP_export-settings.webp|DDS export settings for GnuIMP 2.10
Blender279b_gr2_export_settings_1.webp|Export settings for Blender 2.79b with LaughingLeader's GR2 Export Plugin (1)
Blender279b_gr2_export_settings_2.webp|Export settings for Blender 2.79b with LaughingLeader's GR2 Export Plugin (2)
Blender279b_gr2_export_settings_3.webp|Export settings for Blender 2.79b with LaughingLeader's GR2 Export Plugin (3)
</gallery>
[[Category:Modding]]

Latest revision as of 22:00, 13 April 2024

Introduction[edit | edit source]

Request a modding-related wiki page here!

Are you excited about becoming a Baldur's Gate 3 modder, but have absolutely no idea where to start?

This page is the starting point for resources, tutorials, references and more that you need for modding.

Good places to begin:
Resource Description
Getting Started with BG3 Modding Want to know where to release your mod, or want to know how permissions work for mods?
Tools and Plugins A list of useful tools and plugins that are available either specifically for BG3 Modding or that help with BG3 Modding.
Tutorial List A list of different available tutorials categorised by theme.
Sample and Template Mods Sample/Template mods you can use as a base to create your own mods.
References References and tables for the various game files you may need.
Code Snippets Helpful code snippets for modding.
Other Resources Miscellaneous resources to either help with modding or to add to your own mods.