Editing Modding:Working with LSX files
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 7: | Line 7: | ||
==== Working with .lsx, or rather .xml files ==== | ==== Working with .lsx, or rather .xml files ==== | ||
Generally you shouldn't open up these files & modify them manually, it's much better to do it programmatically, I suggest python because it's really easy to get started. Not only will it save you a ton of time in the long run, but whenever a new patch hits you can just regenerate your mod by re-running the script & it will respect whatever changes hit in the patch. At the bottom I've included the script I use to generate my mod, python is a bit outside the scope of this tutorial but it should give you a skeleton & the general workflow for how to work with the files. The mod in question adds level 13 to all base classes, this makes it so you can take level 12 in a mod which increases max level without the game crashing when you level up next time. It gives feat on every level, and triples the spell slots/sorcery points/ki points etc on level up. | |||
==== How does BG3 load resources? ==== | ==== How does BG3 load resources? ==== |