Editing Spell list in Baldur's Gate 3
- Slavic Sorcerer
- Posts: 363
- Joined: Sep 9, '23
- Location: Poland
Editing Spell list in Baldur's Gate 3
I didn't want to make a new thread, but I would love to get some help on this.
Well, I ended up making a topic.
I also figured it might help other people.
I want to learn how to edit spell lists for classes and make mod out of it.
The end effect I have in mind is akin to Budget Divine Soul.
In this case, the spell list of a Sorcerer also includes spells from the Cleric's list.
Simple as that.
Another example would be giving Clerics access to Ray of Frost cantrip or Moonbeam spell, as if they were their own spells.
I could post those mods here if someone's interested; it's rather thematic edits and tweaks in mind.
Like allowing Druid to cast Harm and other necromancy spells, or creating Clerics revolving around specific damage type (e.g. Frost Cleric).
Unfortunately I cannot find a concrete answer how to do so; not at least in somewhat coherent form.
Also, I'm kinda new to this.
While I'm familiar with Cheat Engine and editing scripts in it (and overall simple changes I do either blindly or with a guide), I would be forever grateful for simple step-by-step guide for noobs how its done.
Well, I ended up making a topic.
I also figured it might help other people.
I want to learn how to edit spell lists for classes and make mod out of it.
The end effect I have in mind is akin to Budget Divine Soul.
In this case, the spell list of a Sorcerer also includes spells from the Cleric's list.
Simple as that.
Another example would be giving Clerics access to Ray of Frost cantrip or Moonbeam spell, as if they were their own spells.
I could post those mods here if someone's interested; it's rather thematic edits and tweaks in mind.
Like allowing Druid to cast Harm and other necromancy spells, or creating Clerics revolving around specific damage type (e.g. Frost Cleric).
Unfortunately I cannot find a concrete answer how to do so; not at least in somewhat coherent form.
Also, I'm kinda new to this.
While I'm familiar with Cheat Engine and editing scripts in it (and overall simple changes I do either blindly or with a guide), I would be forever grateful for simple step-by-step guide for noobs how its done.
Last edited by Slavic Sorcerer on October 25th, 2023, 11:07, edited 1 time in total.
It's just my opinion, not the absolute truth
___________________________________
"Why don't you put that in your signature instead of having to type it every week?"
~Dead about me being gay
"Read his signature, he's gay"
~Dead
___________________________________
"Why don't you put that in your signature instead of having to type it every week?"
~Dead about me being gay
"Read his signature, he's gay"
~Dead
- rusty_shackleford
- Site Admin
- Posts: 5308
- Joined: Feb 2, '23
Might want to tag someone like @orinEsque, he might know more.
Pretty sure that shit's either hardcoded or there's tags in the spells that link it to tags in the classes (not the programming kind of classes).
But I'm guessing.
But I'm guessing.
Last edited by Rand on October 25th, 2023, 15:09, edited 1 time in total.
- Slavic Sorcerer
- Posts: 363
- Joined: Sep 9, '23
- Location: Poland
I imagine it being either list based or tag based. I doubt it's hardcoded.
It's just my opinion, not the absolute truth
___________________________________
"Why don't you put that in your signature instead of having to type it every week?"
~Dead about me being gay
"Read his signature, he's gay"
~Dead
___________________________________
"Why don't you put that in your signature instead of having to type it every week?"
~Dead about me being gay
"Read his signature, he's gay"
~Dead
- Slavic Sorcerer
- Posts: 363
- Joined: Sep 9, '23
- Location: Poland
Thanks, I really appreciate that.rusty_shackleford wrote: ↑October 25th, 2023, 12:30Might want to tag someone like @orinEsque, he might know more.
It's just my opinion, not the absolute truth
___________________________________
"Why don't you put that in your signature instead of having to type it every week?"
~Dead about me being gay
"Read his signature, he's gay"
~Dead
___________________________________
"Why don't you put that in your signature instead of having to type it every week?"
~Dead about me being gay
"Read his signature, he's gay"
~Dead
I have no idea unfortunately. Never tried modding before last week. However, I did see some mods on nexus that adds/edits spells. You might want to download and decompile it to figure out how they did it. Or just ask the creator if that doesn't work.Slavic Sorcerer wrote: ↑October 25th, 2023, 18:52Thanks, I really appreciate that.rusty_shackleford wrote: ↑October 25th, 2023, 12:30Might want to tag someone like @orinEsque, he might know more.
BG3 No Alphabets - remove modern day identity politics and irrationalities from Faerun.
BG3 Alternate Wyll Revamped - A revamped and complete version of the infamous white Wyll mod.
BG3 Alternate Wyll Revamped - A revamped and complete version of the infamous white Wyll mod.
- Slavic Sorcerer
- Posts: 363
- Joined: Sep 9, '23
- Location: Poland
Thanks a lot for the replyorinEsque wrote: ↑October 27th, 2023, 13:49I have no idea unfortunately. Never tried modding before last week. However, I did see some mods on nexus that adds/edits spells. You might want to download and decompile it to figure out how they did it. Or just ask the creator if that doesn't work.Slavic Sorcerer wrote: ↑October 25th, 2023, 18:52Thanks, I really appreciate that.rusty_shackleford wrote: ↑October 25th, 2023, 12:30Might want to tag someone like @orinEsque, he might know more.
I started combining crumbs of information I've found so far
Wish me luck!
It's just my opinion, not the absolute truth
___________________________________
"Why don't you put that in your signature instead of having to type it every week?"
~Dead about me being gay
"Read his signature, he's gay"
~Dead
___________________________________
"Why don't you put that in your signature instead of having to type it every week?"
~Dead about me being gay
"Read his signature, he's gay"
~Dead
- Slavic Sorcerer
- Posts: 363
- Joined: Sep 9, '23
- Location: Poland
Alright, I'm slowly figuring out how it works
I know not many people might be interested in it, but it might help people in the future
Using GR2 Tools I noticed it is indeed as I expected - it's just the list of spells for each class on an appropriate level
There are 2 SpellList.lsx files in Shared.pak, one in Shared, the other in SharedDev
No idea if that's how it should be cause it's kinda bold of me for experimenting on Shared files of an already modded game
But even after uninstalling the mods I had and trying it again - it was still the same
I used TT accurate Bard spells mod and it looks like this. The mod add spells to Bard's spell list, making it more accurate to the table top version:
I figured the spells for classes that memorize spells every level (Bards, Sorcerers, Warlocks) include repeated spells to pick at any character level
For classes that prepare spells (Clerics, Druids) it looks like this (base Cleric, domains have their own strings, and cantrips are in the other SpellList.pak located in Shared folder):
I also know now why this mod ran into conflict with BudgetDivineSoul.
BDS is just a simple edit of the list that contains ALL the classes, including base Bard
When both of them are installed, BDS dominates Bard TT Spells
I know not many people might be interested in it, but it might help people in the future
Using GR2 Tools I noticed it is indeed as I expected - it's just the list of spells for each class on an appropriate level
There are 2 SpellList.lsx files in Shared.pak, one in Shared, the other in SharedDev
No idea if that's how it should be cause it's kinda bold of me for experimenting on Shared files of an already modded game
But even after uninstalling the mods I had and trying it again - it was still the same
I used TT accurate Bard spells mod and it looks like this. The mod add spells to Bard's spell list, making it more accurate to the table top version:
► Show Spoiler
For classes that prepare spells (Clerics, Druids) it looks like this (base Cleric, domains have their own strings, and cantrips are in the other SpellList.pak located in Shared folder):
► Show Spoiler
BDS is just a simple edit of the list that contains ALL the classes, including base Bard
When both of them are installed, BDS dominates Bard TT Spells
It's just my opinion, not the absolute truth
___________________________________
"Why don't you put that in your signature instead of having to type it every week?"
~Dead about me being gay
"Read his signature, he's gay"
~Dead
___________________________________
"Why don't you put that in your signature instead of having to type it every week?"
~Dead about me being gay
"Read his signature, he's gay"
~Dead
If only they used Lua.Slavic Sorcerer wrote: ↑October 27th, 2023, 17:08I also know now why this mod ran into conflict with BudgetDivineSoul.
BDS is just a simple edit of the list that contains ALL the classes, including base Bard
When both of them are installed, BDS dominates Bard TT Spells
So much easier to mod with as you'd just have a small addendum of the changed entries and it would do a mod-order sequential merge on startup.
- Slavic Sorcerer
- Posts: 363
- Joined: Sep 9, '23
- Location: Poland
I can imagine it might be much easierRand wrote: ↑October 27th, 2023, 18:35If only they used Lua.Slavic Sorcerer wrote: ↑October 27th, 2023, 17:08I also know now why this mod ran into conflict with BudgetDivineSoul.
BDS is just a simple edit of the list that contains ALL the classes, including base Bard
When both of them are installed, BDS dominates Bard TT Spells
So much easier to mod with as you'd just have a small addendum of the changed entries and it would do a mod-order sequential merge on startup.
I don't complain tho
Maybe its just autism kicking in, but the more time I spend looking at it, the more easier to read it becomes
All my understanding of programming/modding is just gut feeling
I figured out I could just do it the same way TT Bard spell list is done - instead of editing the whole file, just a separate list, and let ModManager do its thing
That way I won't run into conflicts like one list overriding the other
The whole potential for simple mods like that already gives me lots of inspiration
Last edited by Slavic Sorcerer on October 27th, 2023, 21:09, edited 1 time in total.
It's just my opinion, not the absolute truth
___________________________________
"Why don't you put that in your signature instead of having to type it every week?"
~Dead about me being gay
"Read his signature, he's gay"
~Dead
___________________________________
"Why don't you put that in your signature instead of having to type it every week?"
~Dead about me being gay
"Read his signature, he's gay"
~Dead
XML is neither rocket science nor programming. Snide remarks aside, I came here to ask if you could put that little guide for spell changing in this thread so we can find it easily: viewtopic.php?t=1090-npc-modders-resour ... r-s-gate-3Slavic Sorcerer wrote: ↑October 27th, 2023, 21:08I can imagine it might be much easierRand wrote: ↑October 27th, 2023, 18:35If only they used Lua.Slavic Sorcerer wrote: ↑October 27th, 2023, 17:08I also know now why this mod ran into conflict with BudgetDivineSoul.
BDS is just a simple edit of the list that contains ALL the classes, including base Bard
When both of them are installed, BDS dominates Bard TT Spells
So much easier to mod with as you'd just have a small addendum of the changed entries and it would do a mod-order sequential merge on startup.
I don't complain tho
Maybe its just autism kicking in, but the more time I spend looking at it, the more easier to read it becomes
All my understanding of programming/modding is just gut feeling
I figured out I could just do it the same way TT Bard spell list is done - instead of editing the whole file, just a separate list, and let ModManager do its thing
That way I won't run into conflicts like one list overriding the other
The whole potential for simple mods like that already gives me lots of inspiration
BG3 No Alphabets - remove modern day identity politics and irrationalities from Faerun.
BG3 Alternate Wyll Revamped - A revamped and complete version of the infamous white Wyll mod.
BG3 Alternate Wyll Revamped - A revamped and complete version of the infamous white Wyll mod.
- Slavic Sorcerer
- Posts: 363
- Joined: Sep 9, '23
- Location: Poland
Damn, it kinda felt like it xDorinEsque wrote: ↑October 28th, 2023, 02:06XML is neither rocket science nor programming. Snide remarks aside, I came here to ask if you could put that little guide for spell changing in this thread so we can find it easily: viewtopic.php?t=1090-npc-modders-resour ... r-s-gate-3Slavic Sorcerer wrote: ↑October 27th, 2023, 21:08I can imagine it might be much easier
I don't complain tho
Maybe its just autism kicking in, but the more time I spend looking at it, the more easier to read it becomes
All my understanding of programming/modding is just gut feeling
I figured out I could just do it the same way TT Bard spell list is done - instead of editing the whole file, just a separate list, and let ModManager do its thing
That way I won't run into conflicts like one list overriding the other
The whole potential for simple mods like that already gives me lots of inspiration
But yeah, I know it's not rocket science. I'm just excited. I always though I'm too dumb to do this
And sure thing. I'll experiment, find an optimal path, and post a coherent tutorial there
Last edited by Slavic Sorcerer on October 28th, 2023, 09:41, edited 3 times in total.
It's just my opinion, not the absolute truth
___________________________________
"Why don't you put that in your signature instead of having to type it every week?"
~Dead about me being gay
"Read his signature, he's gay"
~Dead
___________________________________
"Why don't you put that in your signature instead of having to type it every week?"
~Dead about me being gay
"Read his signature, he's gay"
~Dead
- Slavic Sorcerer
- Posts: 363
- Joined: Sep 9, '23
- Location: Poland
Insignificant update, but an update that will halt making a guide (cause I want it to have everything in one place)
While I managed to add Ray of Frost as a cantrip to Cleric, the spells I added to all circles from 1 to 6 are not showing up.
Still figuring out what I did wrong
Unfortunately mods out there only add domains, so I have no reference into changing base list of Cleric spells
I could edit just the domain spells (as 'always prepared', but the goal is to expand overall spellbook
EDIT: waiting for Larians to accept my account on their forums. Maybe someone will shine light onto what I'm doing wrong, cause so far it doesn't work beyond adding cantrips.
EDIT 2: account was already accepted. Hopefully when America wakes up someone replies
In the meantime I might work on some thematic mods for Bard, Warlock, or Sorcerer. We'll see
While I managed to add Ray of Frost as a cantrip to Cleric, the spells I added to all circles from 1 to 6 are not showing up.
Still figuring out what I did wrong
Unfortunately mods out there only add domains, so I have no reference into changing base list of Cleric spells
I could edit just the domain spells (as 'always prepared', but the goal is to expand overall spellbook
EDIT: waiting for Larians to accept my account on their forums. Maybe someone will shine light onto what I'm doing wrong, cause so far it doesn't work beyond adding cantrips.
EDIT 2: account was already accepted. Hopefully when America wakes up someone replies
In the meantime I might work on some thematic mods for Bard, Warlock, or Sorcerer. We'll see
Last edited by Slavic Sorcerer on October 28th, 2023, 22:11, edited 3 times in total.
It's just my opinion, not the absolute truth
___________________________________
"Why don't you put that in your signature instead of having to type it every week?"
~Dead about me being gay
"Read his signature, he's gay"
~Dead
___________________________________
"Why don't you put that in your signature instead of having to type it every week?"
~Dead about me being gay
"Read his signature, he's gay"
~Dead
- Slavic Sorcerer
- Posts: 363
- Joined: Sep 9, '23
- Location: Poland
Editing Cleric spell list seems not to work at all. Cantrips are free game, but Spells are not for some reason
Anyway, I'll move onto other stuff, and prepare a guide for other casters. I'll update it with Cleric should a mod appear or someone answers on Larian forums
Discord only confirmed my suspicions that something else is at play
Anyway, I'll move onto other stuff, and prepare a guide for other casters. I'll update it with Cleric should a mod appear or someone answers on Larian forums
Discord only confirmed my suspicions that something else is at play
Last edited by Slavic Sorcerer on October 29th, 2023, 11:35, edited 1 time in total.
It's just my opinion, not the absolute truth
___________________________________
"Why don't you put that in your signature instead of having to type it every week?"
~Dead about me being gay
"Read his signature, he's gay"
~Dead
___________________________________
"Why don't you put that in your signature instead of having to type it every week?"
~Dead about me being gay
"Read his signature, he's gay"
~Dead
- Slavic Sorcerer
- Posts: 363
- Joined: Sep 9, '23
- Location: Poland
It didnt work cause I'm such a retard faggot
I forgot that sometimes when you uninstall the mods they still can be present
All I had to do was to create a save where no mods are installed, quit the game, install my mod, boot the game again, and voila - it works
Some mods are overriding my spell lists it seems
I will be posting the guide in few days
I forgot that sometimes when you uninstall the mods they still can be present
All I had to do was to create a save where no mods are installed, quit the game, install my mod, boot the game again, and voila - it works
Some mods are overriding my spell lists it seems
I will be posting the guide in few days
Last edited by Slavic Sorcerer on October 29th, 2023, 16:14, edited 1 time in total.
It's just my opinion, not the absolute truth
___________________________________
"Why don't you put that in your signature instead of having to type it every week?"
~Dead about me being gay
"Read his signature, he's gay"
~Dead
___________________________________
"Why don't you put that in your signature instead of having to type it every week?"
~Dead about me being gay
"Read his signature, he's gay"
~Dead