Modding:Creating mods: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
Line 66: Line 66:
* [[Guide:Face_and_Body_Textures|Face and Body Textures]]
* [[Guide:Face_and_Body_Textures|Face and Body Textures]]
* [[Guide:Colour_Map|Colour Map]]s
* [[Guide:Colour_Map|Colour Map]]s
* [https://www.nexusmods.com/baldursgate3/mods/2534 Treasure Table Spreadsheet]


== Code Snippets ==
== Code Snippets ==
Line 74: Line 73:
* [https://www.scribd.com/document/666568844/Bg3-Items-v2 All items UUIDs]
* [https://www.scribd.com/document/666568844/Bg3-Items-v2 All items UUIDs]
* [https://pastebin.com/RLB7M0c8 Enemy types]
* [https://pastebin.com/RLB7M0c8 Enemy types]
* [https://www.nexusmods.com/baldursgate3/mods/2534 Treasure Table Spreadsheet]


== Sample Mods ==
== Sample Mods ==

Revision as of 22:13, 28 November 2023

Bgwiii.png CommunityGuidesModding

Modding guides
Modding resources

General Tutorials

Mesh-Related Tutorials

Texture-Related Tutorials

Scripting

Tools

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