Like many before it, this mod lets you create multikits. I plan on adding to this mod by implementing ALL the multikits eventually. I'm trying to make it more extensible than CrevsDaak, FlameWing and Abel's versions, so it can have e.g. a Druid/Paladin multi. Thank you so much to you three for teaching me how I don't want my mod to work , and for some helper functions ! Also thanks to Argent77 Subtledoctor and Aquadrizzt for their library ADD_KIT_EX, you guys rock
This is my first mod, so if you have comments on better practices than my current code, let me know! (I know, I know... I use macros too much. Blame Weidu for not allowing arrays as function inputs)
Here's the plan:
Installed this on my Baldur's gate Trilogy test install, and there was no un-install or re-install option?
When I tried to install it a second time, to add more kits, it just kept trying to install for the first time overself, and reporting a failure. I'll see if i can re-produce it when i finish re-installing BGT.
Installed this on my Baldur's gate Trilogy test install, and there was no un-install or re-install option?
When I tried to install it a second time, to add more kits, it just kept trying to install for the first time overself, and reporting a failure. I'll see if i can re-produce it when i finish re-installing BGT.
Hi Krenn, are you using the latest version? I removed the silent-install option for now, since it was buggy. you can check yourself if the line //NO_LOG_RECORD is properly commented out after Component 1000.
I've been struggling to get a FMT multikit to work including the shadowdancer kit. I'm trying tomake a Kensai/Mage/Shadowdancer. The hide in plain sight ability always fails to implement, perhaps because it's hard-coded? From a bit of fiddling, I can get the HiPS to work by changing the kit.ids to 0x4021 (the IDS used by the shadowdancer), but of course this breaks all of the other abilities of the multikit. Any ideas on a way to get this to work?
abclasrq:
9 5 5 5 12 15 (FIGHTER_DRUID)
9 5 5 5 5 5 (FIGHTER-BERSERKER)
5 5 5 5 12 15 (DRUID-SHAPESHIFTER)
9 5 5 5 12 15
ERROR: cannot convert alignmnt_2_10 or %alignmnt_2_10% to an integer
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
ERROR Installing [Multiclass Multikit Builder and Installer], rolling back to previous state
Will uninstall 15 files for [SG_MULTIKITS/SETUP-SG_MULTIKITS.TP2] component 1000.
Uninstalled 15 files for [SG_MULTIKITS/SETUP-SG_MULTIKITS.TP2] component 1000.
ERROR: Not_found
Please make a backup of the file: SETUP-SG_MULTIKITS.DEBUG and look for support at: SadieGamer (SG), sg2475962@gmail.com
Using Language [English]
Install Component [Multiclass Multikit Builder and Installer]? nstall, or [N]ot Install or [Q]uit?
So I manually deleted the extra columns as I wasn't sure what they were from.
Ran your installer again to make a class and it was successful.
I did choose F/M/T however I am using Artisans Kitpack and chose his overhauled Berserker [F] and Swashbuckler [T] and regular conjurer.
Resulted in an invalid class kit: invalid 124119
Not sure if using overhauled/modded Berserker and Swashbuckler attributed this or is something else causing it.
Edit: It happened again with adding more columns to alignmt.2da so still unsure what it is from yet.
And even though it says invalid it seems to be working. In EEKeeper it says SGFMT0000 and I have made a couple FMT's then edited it to that kit and it works on them however I haven't leveled them to 2 yet.
I'll see if I can fix it, should be straightforward I think?
It happens because COUNT_2DA_COLS function looks for the maximum number of columns, and your alignmnt.2da has an inconsistent number of columns so it skips all rows with less than the maximum, which for you is 18 columns, so when searching for your desired class's alignment it fails.
Looks like the added columns get added in either A7's improved archer, IWDIFICATION, or CDTweaks. My guess is A7's since it's the least standard mod, but it seems like it adds a 1 only for fighter-druid, druid, and cleric kits, in col 13, so I don't really know what's going on there. @argent77 any insights?
Ah, the reason I thought so is that argent seems to do a a7#add_kit_ex#normalize_table, which adds missing columns to any 2da to avoid these kinds of bugs.
Sure, argent has that normalizer function, but that just applies padding (and it pads with a star not with 0 by default). It shouldn't cause the 13th coloumn having values in F/D and C/T, for example. And whichever mod introduces those is moreso likely the cause of this and I don't think it's among the three you've listed.
I would guess maybe druid remix/cleric remix? In any case, I've pushed a new release that fixes this issue, by using the same method as argent77. Let me know if this works for you !
Another fix in this version is that now there is a proper merge being done between baseclass and kitclass clabs, so we shouldn't get the issue of, e.g., a totemic druid kit being able to shapeshift.
Looks like it is Druid Remix that messes up the ALIGNMNT.2da, and adds those extra columns, by the by. @CamDawg tagging you since you've contributed to this project.
I may just have an incompatible installation, heh.
Thanks for all the assistance and updates so far. No rush for sure since its Christmas and Holiday season.
I may just have an incompatible installation, heh.
Thanks for all the assistance and updates so far. No rush for sure since its Christmas and Holiday season.
Fixed this one in v0.19, but I noticed a slight issue if you install other multikits before my mod. I'll need to figure out how to fix this eventually, but I think it's pretty low priority atm.
Ah yes, it now works without errors. Made my F/D - Berserker/Shapeshifter from TheArtisans kitpack overhauls for my good party playthrough next.
Thank you so much SadieGamer!!
Will continue my evil BG:EE + SoD playthrough and hope that when I get done step 4 of pseudo druid & clerics will be done or nearly so and I'll see what all that entails.
Hoping I can someway make it where the above good Zerker/Shifter can also get cleric spells but I doubt it since they are not the standard kits and that would cause more work on your end. I'll have to see if I can learn and figure it out when the time comes.
After installing this mod, backstab multiplier is removed from thief classes.
For instance, characters created with Assassin or Bounty Hunter kits have backstab multiplier equal 0.
Or when Yoshimo joins in the Irenicus dungeon, his backstab is also 0.
Coming back to play BG:EE and SoD to finish off my steam achievements.
This is definitely making my cut for mods to use on my upcoming run.
Just curious of general status of the mod and if there is an update somewhat soonish, I'll hold off.
And again, thanks for your mod and modding efforts!
Comments
Installed this on my Baldur's gate Trilogy test install, and there was no un-install or re-install option?
When I tried to install it a second time, to add more kits, it just kept trying to install for the first time overself, and reporting a failure. I'll see if i can re-produce it when i finish re-installing BGT.
Hi Krenn, are you using the latest version? I removed the silent-install option for now, since it was buggy. you can check yourself if the line //NO_LOG_RECORD is properly commented out after Component 1000.
ERROR: cannot convert alignmnt_2_10 or %alignmnt_2_10% to an integer
y
clasweap:
1 1 1 1 1 1 1 1 (FIGHTER_DRUID)
1 1 1 1 1 1 1 1 (FIGHTER-BERSERKER)
1 0 1 1 0 0 0 1 (DRUID-SHAPESHIFTER)
1 1 1 1 1 1 1 1
weapprof:
0 0 0 2 2 2 0 2 0 0 0 0 0 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 2 2 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (FIGHTER_DRUID)
5 5 5 5 5 5 5 1 0 0 0 0 0 5 1 5 1 5 5 5 5 5 5 5 1 5 5 5 2 2 2 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (FIGHTER-BERSERKER)
0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 1 0 1 0 0 0 0 1 0 1 0 1 1 2 0 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (DRUID-SHAPESHIFTER)
0 0 0 2 2 2 0 1 0 0 0 0 0 5 1 5 1 5 5 5 5 5 5 5 1 5 5 5 2 0 2 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
abclsmod:
0 0 0 0 0 0 (FIGHTER_DRUID)
0 0 0 0 0 0 (FIGHTER-BERSERKER)
0 0 0 0 0 0 (DRUID-SHAPESHIFTER)
0 0 0 0 0 0
abclasrq:
9 5 5 5 12 15 (FIGHTER_DRUID)
9 5 5 5 5 5 (FIGHTER-BERSERKER)
5 5 5 5 12 15 (DRUID-SHAPESHIFTER)
9 5 5 5 12 15
ERROR: cannot convert alignmnt_2_10 or %alignmnt_2_10% to an integer
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
ERROR Installing [Multiclass Multikit Builder and Installer], rolling back to previous state
Will uninstall 15 files for [SG_MULTIKITS/SETUP-SG_MULTIKITS.TP2] component 1000.
Uninstalled 15 files for [SG_MULTIKITS/SETUP-SG_MULTIKITS.TP2] component 1000.
ERROR: Not_found
Please make a backup of the file: SETUP-SG_MULTIKITS.DEBUG and look for support at: SadieGamer (SG), sg2475962@gmail.com
Using Language [English]
Install Component [Multiclass Multikit Builder and Installer]?
nstall, or [N]ot Install or [Q]uit?
Something is wrong with your alignmnt.2da , do you mind posting that? (it expects 10 columns, for some reason yours has 19)
Here ya go.
Ran your installer again to make a class and it was successful.
I did choose F/M/T however I am using Artisans Kitpack and chose his overhauled Berserker [F] and Swashbuckler [T] and regular conjurer.
Resulted in an invalid class kit: invalid 124119
Not sure if using overhauled/modded Berserker and Swashbuckler attributed this or is something else causing it.
Edit: It happened again with adding more columns to alignmt.2da so still unsure what it is from yet.
And even though it says invalid it seems to be working. In EEKeeper it says SGFMT0000 and I have made a couple FMT's then edited it to that kit and it works on them however I haven't leveled them to 2 yet.
It happens because COUNT_2DA_COLS function looks for the maximum number of columns, and your alignmnt.2da has an inconsistent number of columns so it skips all rows with less than the maximum, which for you is 18 columns, so when searching for your desired class's alignment it fails.
Looks like the added columns get added in either A7's improved archer, IWDIFICATION, or CDTweaks. My guess is A7's since it's the least standard mod, but it seems like it adds a 1 only for fighter-druid, druid, and cleric kits, in col 13, so I don't really know what's going on there. @argent77 any insights?
@Gubo run and upload all the new files this command generated.
Which is why this should be changelogged.
Yes, definitely, so this doesn't happen to others
Do I run it in weidu within the bgee folder directory? That's what I did and the txt file is empty.
Not working.
Tried cmd and powershell.
Put the file in root directory for BG:EE and then in downloads and nothing for either.
00000: /* created or unbiffed */ ~BARDICWONDERS/BARDICWONDERS.TP2~ 0 3 // Bardic Wonders: Abettor of Mask Kit
00001: ~BARDICWONDERS/BARDICWONDERS.TP2~ 0 4 // Bardic Wonders: Dancer Kit
00002: ~BARDICWONDERS/BARDICWONDERS.TP2~ 0 5 // Bardic Wonders: Darkbloom Bard Kit
00003: ~BARDICWONDERS/BARDICWONDERS.TP2~ 0 6 // Bardic Wonders: Storm Drummer Kit
00004: ~BARDICWONDERS/BARDICWONDERS.TP2~ 0 7 // Bardic Wonders: Troubadour Kit
00005: ~BARDICWONDERS/BARDICWONDERS.TP2~ 0 8 // Bardic Wonders: Deathsinger Kit
00006: ~BARDICWONDERS/BARDICWONDERS.TP2~ 0 9 // Bardic Wonders: Strategist Kit
00007: ~DIVINE_REMIX/SETUP-DIVINE_REMIX.TP2~ 0 100 // Cleric Remixv8
00008: ~DIVINE_REMIX/SETUP-DIVINE_REMIX.TP2~ 0 103 // Install Silverstar of Selune Cleric Kitv8
00009: ~DIVINE_REMIX/SETUP-DIVINE_REMIX.TP2~ 0 106 // Install Nightcloak of Shar Cleric Kitv8
00010: ~DIVINE_REMIX/SETUP-DIVINE_REMIX.TP2~ 0 107 // Install Holy Strategist of the Red Knight Cleric Kitv8
00011: ~DIVINE_REMIX/SETUP-DIVINE_REMIX.TP2~ 0 112 // Install Painbearer of Ilmater Cleric Kitv8
00012: ~DIVINE_REMIX/SETUP-DIVINE_REMIX.TP2~ 0 115 // Install Firewalker of Kossuth Cleric Kitv8
00013: ~DIVINE_REMIX/SETUP-DIVINE_REMIX.TP2~ 0 118 // Install Authlim of Iyachtu Xvim Cleric Kitv8
00014: ~DIVINE_REMIX/SETUP-DIVINE_REMIX.TP2~ 0 121 // Install Lorekeeper of Oghma Cleric Kitv8
00015: ~DIVINE_REMIX/SETUP-DIVINE_REMIX.TP2~ 0 124 // Install Heartwarder of Sune Cleric Kitv8
00016: ~DIVINE_REMIX/SETUP-DIVINE_REMIX.TP2~ 0 127 // Install Feywarden of Corellon Cleric Kitv8
00017: ~DIVINE_REMIX/SETUP-DIVINE_REMIX.TP2~ 0 130 // Install Strifeleader of Cyric Cleric Kitv8
00018: ~DIVINE_REMIX/SETUP-DIVINE_REMIX.TP2~ 0 200 // Druid Remixv8
00019: ~DIVINE_REMIX/SETUP-DIVINE_REMIX.TP2~ 0 203 // Install Oozemaster Druid kitv8
00020: ~DIVINE_REMIX/SETUP-DIVINE_REMIX.TP2~ 0 403 // Install Bowslinger Ranger Kitv8
00021: ~DIVINE_REMIX/SETUP-DIVINE_REMIX.TP2~ 0 406 // Install Feralan Ranger Kitv8
00022: ~DIVINE_REMIX/SETUP-DIVINE_REMIX.TP2~ 0 409 // Install Forest Runner Ranger Kitv8
00023: ~DIVINE_REMIX/SETUP-DIVINE_REMIX.TP2~ 0 412 // Install Justifier Ranger Kitv8
00024: ~DIVINE_REMIX/SETUP-DIVINE_REMIX.TP2~ 0 415 // Install Wilderness Runner Ranger Kitv8
00025: ~MONASTICORDERS/SETUP-MONASTICORDERS.TP2~ 0 0 // Core Revisions0.0
00026: ~MONASTICORDERS/SETUP-MONASTICORDERS.TP2~ 0 2 // Multiclassing for Monks0.0
00027: ~MONASTICORDERS/SETUP-MONASTICORDERS.TP2~ 0 3 // New Kits for Monks0.0
00028: ~SONG_AND_SILENCE/SETUP-SONG_AND_SILENCE.TP2~ 0 0 // Changes to trueclass bards and thieves, and unmodded game kits (required for other components)v16
00029: ~SONG_AND_SILENCE/SETUP-SONG_AND_SILENCE.TP2~ 0 2 // Install Acrobat bard kitv16
00030: ~SONG_AND_SILENCE/SETUP-SONG_AND_SILENCE.TP2~ 0 3 // Install Chorister bard kitv16
00031: ~SONG_AND_SILENCE/SETUP-SONG_AND_SILENCE.TP2~ 0 4 // Install Dirgesinger bard kitv16
00032: ~SONG_AND_SILENCE/SETUP-SONG_AND_SILENCE.TP2~ 0 5 // Install Luring Piper bard kitv16
00033: ~SONG_AND_SILENCE/SETUP-SONG_AND_SILENCE.TP2~ 0 6 // Install Adventurer thief kitv16
00034: ~SONG_AND_SILENCE/SETUP-SONG_AND_SILENCE.TP2~ 0 7 // Install Burglar thief kitv16
00035: ~SONG_AND_SILENCE/SETUP-SONG_AND_SILENCE.TP2~ 0 8 // Install Soulknife thief kitv16
00036: ~SONG_AND_SILENCE/SETUP-SONG_AND_SILENCE.TP2~ 0 9 // Install Sharpshooter thief kitv16
00037: ~SWORD_AND_FIST/SETUP-SWORD_AND_FIST.TP2~ 0 30 // Install Hexblade fighter kitv9
00038: ~SWORD_AND_FIST/SETUP-SWORD_AND_FIST.TP2~ 0 31 // Install Duelist fighter kitv9
00039: ~SWORD_AND_FIST/SETUP-SWORD_AND_FIST.TP2~ 0 32 // Install Fist of Order fighter kitv9
00040: ~SWORD_AND_FIST/SETUP-SWORD_AND_FIST.TP2~ 0 33 // Install Blackguard fighter kitv9
00041: ~SWORD_AND_FIST/SETUP-SWORD_AND_FIST.TP2~ 0 34 // Install Duskblade fighter kit (by ronin69hof, ronin69hof@gmail.comv9
00042: ~A7#IMPROVEDARCHER/A7#IMPROVEDARCHER.TP2~ 0 10 // Add fighter kit: Marksmanv4.0
00043: ~A7#IMPROVEDARCHER/A7#IMPROVEDARCHER.TP2~ 0 20 // Add paladin kit: Bow Knightv4.0
00044: ~A7#IMPROVEDARCHER/A7#IMPROVEDARCHER.TP2~ 0 30 // Add thief kit: Sharpshooterv4.0
00045: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ 0 1150 // Shapeshifter Rebalancing [Weimer]v16
00046: ~NPCKIT/NPCKIT.TP2~ 0 31 // Replace Berserker Kit with Battlerager for Dwarvesv5
00047: ~NPCKIT/NPCKIT.TP2~ 0 900 // Add Red Wizard to Edwin's Kit Descriptionv5
00048: ~TOMEANDBLOOD/TOMEANDBLOOD.TP2~ 0 20 // Revised Dragon Disciples0.9.42
00049: ~TOMEANDBLOOD/TOMEANDBLOOD.TP2~ 0 25 // Sorcerer: Magus0.9.42
00050: ~TOMEANDBLOOD/TOMEANDBLOOD.TP2~ 0 35 // Sorcerer: Revenant Disciple0.9.42
00051: ~SIRENE/SETUP-SIRENE.TP2~ 0 0 // Sirene NPC for Baldur's Gate: Enhanced Edition
00052: ~ARTISANSKITPACK/ARTISANSKITPACK.TP2~ 0 1007 // Artisan's Kitpack: Dwarven Defender Overhaul + Vanguard Fighter Kit3.3
00053: ~ARTISANSKITPACK/ARTISANSKITPACK.TP2~ 0 1000 // Artisan's Kitpack: Arcane Archer Fighter Kit3.3
00054: ~ARTISANSKITPACK/ARTISANSKITPACK.TP2~ 0 1001 // Artisan's Kitpack: Arcane Archer (Fighter/Mage)3.3
00055: ~ARTISANSKITPACK/ARTISANSKITPACK.TP2~ 0 1008 // Artisan's Kitpack: Siegemaster Fighter Kit3.3
00056: ~ARTISANSKITPACK/ARTISANSKITPACK.TP2~ 0 1009 // Artisan's Kitpack: Dreadnought Fighter Kit3.3
00057: ~ARTISANSKITPACK/ARTISANSKITPACK.TP2~ 0 2001 // Artisan's Kitpack: Rashemi Berserker Ranger Kit for Minsc3.3
00058: ~ARTISANSKITPACK/ARTISANSKITPACK.TP2~ 0 2002 // Artisan's Kitpack: Dark Hunter Ranger Kit3.3
00059: ~ARTISANSKITPACK/ARTISANSKITPACK.TP2~ 0 3001 // Artisan's Kitpack: Divine Champion Paladin Kit3.3
00060: ~ARTISANSKITPACK/ARTISANSKITPACK.TP2~ 0 3002 // Artisan's Kitpack: Mystic Fire Paladin Kit3.3
00061: ~ARTISANSKITPACK/ARTISANSKITPACK.TP2~ 0 5001 // Artisan's Kitpack: Elementalist Druid Kit3.3
00062: ~ARTISANSKITPACK/ARTISANSKITPACK.TP2~ 0 5002 // Artisan's Kitpack: Hivemaster Druid Kit3.3
00063: ~ARTISANSKITPACK/ARTISANSKITPACK.TP2~ 0 5003 // Artisan's Kitpack: Red Wizard Mage Kit for Edwin3.3
00064: ~ARTISANSKITPACK/ARTISANSKITPACK.TP2~ 0 7004 // Artisan's Kitpack: Assassin Overhaul3.3
00065: ~ARTISANSKITPACK/ARTISANSKITPACK.TP2~ 0 7001 // Artisan's Kitpack: Rogue Archer Thief Kit3.3
00066: ~ARTISANSKITPACK/ARTISANSKITPACK.TP2~ 0 7002 // Artisan's Kitpack: Magekiller Thief Kit3.3
00067: ~ARTISANSKITPACK/ARTISANSKITPACK.TP2~ 0 7003 // Artisan's Kitpack: Trickster Thief Kit3.3
00068: ~ARTISANSKITPACK/ARTISANSKITPACK.TP2~ 0 7005 // Artisan's Kitpack: Invisible Blade Thief Kit3.3
00069: ~ARTISANSKITPACK/ARTISANSKITPACK.TP2~ 0 8001 // Artisan's Kitpack: Pale Master Sorcerer Kit3.3
00070: ~ARTISANSKITPACK/ARTISANSKITPACK.TP2~ 0 9001 // Artisan's Kitpack: Warhorn Shaman Kit3.3
00071: ~ARTISANSKITPACK/ARTISANSKITPACK.TP2~ 0 10002 // Artisan's Kitpack: Brawler Kit3.3
00072: ~ARTISANSKITPACK/ARTISANSKITPACK.TP2~ 0 20000 // Artisan's Kitpack: Eldritch Knight (Fighter / Mage Kit)3.3
00073: ~ARTISANSKITPACK/ARTISANSKITPACK.TP2~ 0 20001 // Artisan's Kitpack: Arcane Trickster (Mage / Thief Kit)3.3
00074: ~SG_MULTIKITS/SETUP-SG_MULTIKITS.TP2~ 0 100 // UNDEFINED STRING: @100v0.15
Another fix in this version is that now there is a proper merge being done between baseclass and kitclass clabs, so we shouldn't get the issue of, e.g., a totemic druid kit being able to shapeshift.
https://github.com/sg2475962/sg_multikits/releases/tag/v0.17-beta
(merry christmas, gamers! )
Now getting a kitlist error. Attached files.
https://github.com/sg2475962/sg_multikits/releases/tag/v0.18-beta
I may just have an incompatible installation, heh.
Thanks for all the assistance and updates so far. No rush for sure since its Christmas and Holiday season.
Fixed this one in v0.19, but I noticed a slight issue if you install other multikits before my mod. I'll need to figure out how to fix this eventually, but I think it's pretty low priority atm.
Thank you so much SadieGamer!!
Will continue my evil BG:EE + SoD playthrough and hope that when I get done step 4 of pseudo druid & clerics will be done or nearly so and I'll see what all that entails.
Hoping I can someway make it where the above good Zerker/Shifter can also get cleric spells but I doubt it since they are not the standard kits and that would cause more work on your end. I'll have to see if I can learn and figure it out when the time comes.
Thanks again!!
For instance, characters created with Assassin or Bounty Hunter kits have backstab multiplier equal 0.
Or when Yoshimo joins in the Irenicus dungeon, his backstab is also 0.
Anyone encountered this problem?
This is definitely making my cut for mods to use on my upcoming run.
Just curious of general status of the mod and if there is an update somewhat soonish, I'll hold off.
And again, thanks for your mod and modding efforts!