Modding:Creating mods: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
No edit summary
Line 20: Line 20:
* [[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]]
* [[Guide:Colour_Map|Colour Map]]
* [[Guide:Colour_Map|Colour Map]]s
 
== Code Snippets ==
== Code Snippets ==
* [[Guide:Race_UUID|Race UUID]]s
* [[Guide:Race_UUID|Race UUID]]s

Revision as of 19:38, 2 August 2023

Main page: Modding Resources

Mods Needed

As of Patch 9, the following mod is needed: Patch 3 Modfixer.

Tutorials

References

Code Snippets

General Tutorials

Sample Mods

Other Resources

Colour

AI Resources

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

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