Modding:Creating mods: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 39: Line 39:
* [[Guide:Getting_Started_with_Scripts|Getting Started with Scripting]]
* [[Guide:Getting_Started_with_Scripts|Getting Started with Scripting]]


=== Tools ===
== Tools ==
* [https://github.com/Norbyte/lslib Lslib]
* [https://github.com/Norbyte/lslib Lslib]
* [https://github.com/ShinyHobo/BG3-Modders-Multitool BG3 Multi-Tool]
* [https://github.com/ShinyHobo/BG3-Modders-Multitool BG3 Multi-Tool]
Line 74: Line 74:


== Sample Mods ==
== 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. Here are a collection of Sample Mods designed to help you create a finished product.
* [https://www.nexusmods.com/baldursgate3/mods/132 Padme's BG3 Tutorials and Modding Resources]
* [https://www.nexusmods.com/baldursgate3/mods/132 Padme's BG3 Tutorials and Modding Resources]
** Includes Eye Color Template, Hair Color Template, New Head Template, Tattoo and Makeup Template, and Localization Template.
* [https://www.nexusmods.com/baldursgate3/mods/400 Sample 3D Edited Equipment Mod]
* [https://www.nexusmods.com/baldursgate3/mods/400 Sample 3D Edited Equipment Mod]
* [https://www.nexusmods.com/baldursgate3/mods/278 Sample Magic Ring Mod]
* [https://www.nexusmods.com/baldursgate3/mods/278 Sample Magic Ring Mod]

Revision as of 22:06, 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

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