Modding:Creating mods: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
Line 33: Line 33:


=== Texture-Related Tutorials ===
=== Texture-Related Tutorials ===
Texturing is usually done to a mesh to make it appear a certain way.
Texturing is usually on top of a mesh to make it appear a certain way.
* [[Guide:Texture_Formatting|Texture Formatting]]
* [[Guide:Texture_Formatting|Texture Formatting]]
* [https://www.youtube.com/watch?v=o_zgNI9nhns&list=PLe0NwkOacl_jFoRnGT8iU29WriucyN1mj&index=13 Making Custom Armor - Part 2]
* [https://www.youtube.com/watch?v=o_zgNI9nhns&list=PLe0NwkOacl_jFoRnGT8iU29WriucyN1mj&index=13 Making Custom Armor - Part 2]
Line 44: Line 44:
Some extremely useful tools that will make your BG3 modding life so much easier.
Some extremely useful tools that will make your BG3 modding life so much easier.
* [https://github.com/Norbyte/lslib Lslib]
* [https://github.com/Norbyte/lslib Lslib]
** Needed for many types of conversations necessary for modding.
* [https://github.com/ShinyHobo/BG3-Modders-Multitool BG3 Multi-Tool]
* [https://github.com/ShinyHobo/BG3-Modders-Multitool BG3 Multi-Tool]
** Allows you to pack and unpack mods, search the game’s asset files, and more!
* [https://www.nexusmods.com/baldursgate3/mods/502 BG3 Mini tool]
* [https://www.nexusmods.com/baldursgate3/mods/502 BG3 Mini tool]
** Has a variety of helpful functions including creating your Meta.lsx file for you.
* [https://www.nexusmods.com/baldursgate3/mods/1808 BG3 Creator's Cauldron]
* [https://www.nexusmods.com/baldursgate3/mods/1808 BG3 Creator's Cauldron]


Line 53: Line 56:


* [https://github.com/Norbyte/dos2de_collada_exporter Mesh import/export plugin]
* [https://github.com/Norbyte/dos2de_collada_exporter Mesh import/export plugin]
** You’ll need this if you want to work with .GR2 files (that’s what BG3 uses) in Blender.
* [https://www.nexusmods.com/baldursgate3/mods/346 Padme’s Addons]
* [https://www.nexusmods.com/baldursgate3/mods/346 Padme’s Addons]
** Includes addons for Head Export Order, Easy LOD Creation, Normal Map Transfer, Quick UV Buttons and Reset Transforms.
** Includes addons for Head Export Order, Easy LOD Creation, Normal Map Transfer, Quick UV Buttons and Reset Transforms.
Line 66: Line 71:
* [[Modding:VertexColorMaskSlots|Hiding skin/outfit parts: Vertex Color Mask Slots]]
* [[Modding:VertexColorMaskSlots|Hiding skin/outfit parts: Vertex Color Mask Slots]]
* [[Guide:Hair_Meshes|Hair/Beard Meshes]]
* [[Guide:Hair_Meshes|Hair/Beard Meshes]]
** [https://docs.google.com/spreadsheets/u/0/d/16cQUxQ7FrGVmIPy5929qae4cCQls4ZWuBX_w08zvv5M/htmlview BG3 Hair Reference Spreadsheet (WIP)] by EmeraldTechno
* [[Guide:Head_Models|Head Models]]
* [[Guide:Head_Models|Head Models]]
* [[Guide:Face_and_Body_Textures|Face and Body Textures]]
* [[Guide:Face_and_Body_Textures|Face and Body Textures]]

Revision as of 22:25, 28 November 2023

Bgwiii.png CommunityGuidesModding

Modding guides
Modding resources

General Tutorials

General tutorials for modding BG3.

Mesh-Related Tutorials

Mesh encompasses visible assets like clothing, armor, weapons, hair, heads, etc. Most of these tutorials use Blender as their program of choice.

Texture-Related Tutorials

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

Scripting

Tools

Some extremely useful tools that will make your BG3 modding life so much easier.

  • Lslib
    • Needed for many types of conversations necessary for modding.
  • BG3 Multi-Tool
    • Allows you to pack and unpack mods, search the game’s asset files, and more!
  • BG3 Mini tool
    • Has a variety of helpful functions including creating your Meta.lsx file for you.
  • BG3 Creator's Cauldron

Blender Plugins

References

Baldur’s Gate 3 has a LOT of files. It can be very difficult to find the specific asset you’re looking for. The pages in this section should help you find the files you’re looking for as you’re modding!

Code Snippets

Code snippets and IDs that are often used, collected here to make your life easier.

Sample Mods

One of the most helpful things you can do when you’re starting out with modding is to take a look at sample mods that actually work and start from there. Here are a collection of Sample Mods designed to help you create a finished product.

Other Resources

Colour

Folder Structure

  • Mod Name (root folder)
    • Generated
      • Public
        • Mod Name
          • [PAK]_Mod_Name <- models and textures
    • Localization
      • Language <- usually English
        • Mod_Name.xml <- text for items and spells
    • Mods
      • Mod Name
        • meta.lsx <- Created manually or automatically with the BG3 Mini Tool
    • Public <- use one of the Sample Mods above as a template for this folder
      • Game <- icons and other UI elements
      • Mod Name <- mod files in plain-text or XML

Example meta.lsx

<?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>

Gallery