Modding:Coding An Item: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
{{PageSeo
|title=Modding Resources
|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
}}{{NavModding}}
<div class="nomobile" column-width: "60em2;>
<div class="nomobile" column-width: "60em2;>
You have made a mesh for a human man, a circlet. We are going to add it to the game.
You have made a mesh for a human man, a circlet. We are going to add it to the game.
Line 4: Line 10:
This guide does not cover adding custom icons.
This guide does not cover adding custom icons.


==File Overview==
==File Overview ==


Your mod is '''MySweetMod'''
Your mod is '''MySweetMod'''
Line 14: Line 20:
**Localization
**Localization
***Language <- usually ''English''
***Language <- usually ''English''
**** <code>MySweetMod.loca</code> <- text for items and spells
****<code>MySweetMod.loca</code> <- text for items and spells
**Mods
**Mods
***MySweetMod
***MySweetMod
Line 26: Line 32:
******Assets
******Assets
*******Characters
*******Characters
********[PAK]_Armor <-- material and mesh LSX for custom outfits and weapons
******** [PAK]_Armor <-- material and mesh LSX for custom outfits and weapons
****GUI  
****GUI  
*****RootTemplates <--- Your Roottemplate lsx goes here. MySweetMod.Lsx
*****RootTemplates <--- Your Roottemplate lsx goes here. MySweetMod.Lsx
*****Stats
*****Stats  
*******Generated <--- TreasureTable.txt - This tells the game where the item will spawn.
*******Generated <--- TreasureTable.txt - This tells the game where the item will spawn.
********Data <--- Armor.txt, Object.txt, Passive.txt, Weapon.txt and other TXT files. These contain stats.
********Data <--- Armor.txt, Object.txt, Passive.txt, Weapon.txt and other TXT files. These contain stats.
Line 110: Line 116:
  </save>                           
  </save>                           


==Materials and Texture .lsx==
==Materials and Texture .lsx ==
Now, we move on to our materialbank.
Now, we move on to our materialbank.


Line 132: Line 138:
  <attribute id="SourceFile" type="LSString" value="Public/Shared/Assets/Materials/Characters/CHAR_BASE.lsf" />
  <attribute id="SourceFile" type="LSString" value="Public/Shared/Assets/Materials/Characters/CHAR_BASE.lsf" />
  <children>
  <children>
  <node id="ScalarParameters"> '''x7
  <node id="ScalarParameters"> '''x7'''
  '''(Cut for length)'''
  '''(Cut for length)'''


Line 309: Line 315:
     </region>
     </region>
  </save>
  </save>




Line 383: Line 388:
|- style="font-weight:bold; background-color:#281C14; color:#c27736; border:0px none;"
|- style="font-weight:bold; background-color:#281C14; color:#c27736; border:0px none;"
| colspan="2" |
| colspan="2" |
[[File:bgwiii.png|30px|link=Template:NavWiki]] [[BG3Wiki:Community|Community]] • [[Guide:Guides|Guides]] • [[Modding: Modding resources|Modding]][[Category:Modding guides]] [[Category:Modding_resources]]
[[File:bgwiii.png|30px|link=Template:NavWiki]] [[BG3Wiki:Community|Community]] • [[Guide:Guides|Guides]] • [[Modding: Modding resources|Modding]]
[[Category:Modding guides]]
[[Category:Modding resources]]


|-
|-

Navigation menu