Love this mod! Finally Bernard looks right! One small thing, my Bernard is using riveted arms instead of the full plate, not sure why but it still looks better now he has plate legs.
Hmm, I'll have to look into that. I have a few questions if you don't mind:
What version of the mod are you using?
Did you start a new playthrough or are you using it on an existing one? I've noticed in testing that chausses are more likely to change than arm armor if loaded on a pre-existing playthrough for some reason.
If it is a new playthrough, did he appear that way right away in the cutscene you first see him in or after? And is he missing any other pieces of modded armor (gauntlets, gold-trimmed mail hauberk and coif, padded coif, and mail chausses)?
Thanks for the info if you can provide! It will help me troubleshoot with you and/or make a fix to my mod if needed.
I'm going to sticky this post for now in case anybody else has this issue described above. If you do please let me know.
In my case, with a new playthrough on hardcore, it seems Bernard revert back to his original kit with every night save from me, so it might have something to do with him going to bed.
So every new day, If I have to meet him,I got to save the game right before I meet him, load my old save file just before the first custcene in Pirkstein (feast with Hanush and al.) and replay the first cut scene, before loading back my current save.
I do have a bunch of mods but I don't see any that could trigger a conflict, but I might be wrong.
Those mods are:
BCAI
shop proper
less_encounters
Horsetackfixes
earlybird
armor colof fix
less intrusive map icons
invisible lord leipa cuirass
named NPC's
prices rebalanced.
noslowmo
Edit: It seems a simple save and reload before meeting Bernard reset his armor to the modded one. No need for me to reload a prior file.
Thank you for the report and providing an easy enough solution. Unfortunately, I haven't been able to recreate the problem to see for myself so I'm not sure what would be causing it to try to fix it. I agree, I doubt any of your listed mods are conflicting with it. The only suggestion I would make is to make sure this mod is the last in the load order in case it is a mod loading issue at startup.
Thanks again for the solution! I'll keep this stickied for other users' reference.
Unfortunately not working. Mod manifest and folder name match and also tried with no other mods installed. Mod was installed before starting a new game. The in-game console marks the mod as loaded.
Edit: it suddenly started working after 15-20 in-game days.
is it possible to make a Mod who enabables the equip-button on every NPC? I want to equip the Guards in Prebleslavitz with my own Armor and Weapons or equip some other NPC´s... I read abouit some Ideas on reddit, like dropping Items in Front of them but, it wont work. Also there was a Mention of editing the Soultables, i would like to do that, but i have no Idea how...
I never edited functions like that in this game so I have no idea. That is outside of my area of knowledge. Sorry.
In theory, you could possibly edit that guard's clothing preset to be whatever it is you want him to wear and then provide him with that item in-game to wear, but from my experience in testing my mods that may not stick with the character (meaning he will wear it for a while but eventually revert back). I've noticed when I tried editing guard clothing presets that they tend to be much more finicky than other characters in the game for some reason. I assume there is coding somewhere else in the game that determines guard outfits along with some other characters I've had trouble editing their outfits and keeping them in those outfits throughout the game.
Did you miss the many times they were referred to as Sir Bernard and Sir Robard? Only nobles would be referred to with those prefixes. They are clearly nobles and, specifically, knights. Historically, knights can be in the service of another lord as elite soldiers and garrison commanders. They can be thought of as high ranking officers in a military. They are referred to as "captains" because that is the capacity they are serving in for their lord.
This mod is poorly optimized and so will conflict with things like HoodsUp and won't even load unless you rename the Mod folder to "knightlyrb" So I went ahead and cleaned it up: https://www.dropbox.com/s/9vkmuehuohuholw/KnightlyRB.rar?dl=1
Table 'clothing_preset' is patched by 'clothing_preset__knightlyrb', lines added: 0, modified: 8, equal: 1392, time: 0.000 Table 'inventory_preset2item' is patched by 'inventory_preset2item__knightlyrb', lines added: 9, modified: 0, equal: 1999, time: 0.000 Table 'armor2clothing_preset' is patched by 'armor2clothing_preset__knightlyrb', lines added: 29, modified: 0, equal: 11, time: 0.003
I loved this mod, and the concept behind it. Unfortunately, It has overwritten the legacy (before PTF update) mods that I'm using (hoods and scarfs up). It has also made some other newer mods not work.
I recommend this mod, If you are only using a few mods, so the troubleshooting incompatibility doesn't take too long.
I'm glad you enjoyed this mod and I'm sorry it has conflicted with some of your other mods.
I would appreciate it if you could let me know what mods it is conflicting with so I can see if there is a fix I can possibly make. I use over a couple dozen mods myself along with this one (granted, my personal version is a little different with how it is compiled) and I haven't experienced any noticeable conflicts. However, this was my first uploaded mod so I admit it is kinda messy so there are probably some edits and trimming I could do with it that may be worthwhile if it might fix some conflicts with other mods.
I am a relative newcomer to this game and also quite recently started making mods for it so I am not very familiar with pre-PTF update mods and what that entails. I can take a look at the hoods and scarfs up mod to see what the conflicts are and if it would be possible to fix it. Thank you for the report!
Very awesome mod, nice to see Robard looking the part! I was researching how to adjust the clothing presets much the same way, but I've hit a roadblock. Would you happen to know if it's possible to do a custom preset for theresa? I tried the way you had done in your Hans and Tobias mods, but with her, it doesn't quite seem to work. Any ideas would be appreciated, and again, excellent mod, thank you!
I would think it is definitely possible and can't think of any reason it wouldn't work like any other character. I'll have to look at her entries and IDs to know how it would work for sure, but I would guess that she may be more similar to Robard and Bernard, especially if you've been having trouble getting it to work conventionally like Hans and Tobias. She appears to have multiple soul IDs (I found at least two applicable ones from a quick search) and a different clothing preset for each and you'd have to edit each one individually. If that is the case, I have noticed in my own testing that it can be more stubborn to implement in-game requiring a new playthrough to really work properly.
However, if you specifically just wanted to change her appearance after you reach Rattay, I would wager that there is probably just one specific soul ID that applies and, therefore, just one clothing preset to edit which could make your world much easier and may not require a new playthrough (just wait 1-3 in-game days to spawn). I took a quick look for you in soul.xml and found the likely candidate soul_name "rat_refugee_tereza" which would make her clothing preset id: 40952cd1-e71e-0e08-297b-5cb61d1386ab, just in case you came up with something different and you could give that one a try. Sorry for the vagueness, but I haven't had a ton of time lately to devote to modding and to take a proper look into that for you, but I'll gladly help as much as I can and more once I find some extra time. I would like to figure out Theresa's clothing presets too.
Thanks again for the complements and your interest! Please let me know if you have any other questions. I'm also open to suggestions for any future clothing/armor editing mods once I get back to it.
Appreciate the response, thank you! I did notice the two soul ids, and just for the heck of it, i searched the soul xml for her head id too, in case i was missing something (there's a test character with her head in there, but I don't think it's relevant). I noticed the two clothing preset ids, one for each soul, and tried both. Weirdly, it sort of works....sometimes. If I load a save before i first encounter her in skallitz, she's wearing the preset, and even after meeting her again in Rattay. And even after those, I know the preset is at least partially working, b/c i was able to get her to wear a head scarf (not part of either of her original clothing presets). But for whatever reason that chest she uses spawned the same outfit and she just goes back to wearing it. Thinking maybe there was a clothing preset for her i missed, i tried the clothing preset xml and searched for 'tereza'. I'm seriously hoping this isn't the case, but there's something like 80-100 presets for 'tereza' in that file. If changing all of those is the only way to do it...... Like you had said, there's one for tereza rattay refugee, and another tereza staring dress. all the rest appear to be some kind of 'tereza romance something', whether its upper, lower, or both, followed by a number. I checked a couple just out of curiousity, but those presets aren't for her standard clothing. I think they're related to gifting her stuff, just my guess.
I didn't know about the 1-3 days thing, that's good to know, and I'll try that out. As near as i can tell, the actual problem has to do with the chest she and pishek use. It respawns her standard outfit, and regardless of preset, she just uses that one. Albeit, I haven't tried out the 1-3 day thing to see if it changes, so maybe that'll work.
I'm trying to reverse engineer the robard and bernard mod. I know the armor2clothing, clothing preset, and soul xml relevance, but i couldn't figure out inventory for theresa. The only inventory id i could find the items for with her were a couple little things (like an apple and a piece of cloth or something). Do you think her iventory id might be responsible for respawning the stock outfit, instead of the chest at the millers? And again, thanks for response!
Awesome, sounds like you know what you're doing. You normally don't need to worry about the inventory editing as I later realized that isn't really necessary and that was largely just me experimenting when I was working out kinks in this first mod. You will notice in my later mods that I didn't do anything with inventory xml's anymore. However, her case could be different from what you're saying that her inventory has her vanilla clothes added to it, but if her preset is changed to your modded set then I wouldn't think that would matter because she would be essentially programmed to wear something different. Then again, given her place as a central character, she could have more complexity to her coding that makes for redundancies. You may need to investigate the inventory xml's if you exhaust your options with trying to just edit the clothing presets. I do think you're on the right track, though.
According to my testing with other NPCs, the chest's clothing should update according to the clothing preset for that character. Inventory respawn lag is likely why it will take a few days to show. You can accelerate the process (and ensure that it works properly) by spawning the items in your own inventory, loot their vanilla clothes, and then replace it with the intended preset clothes. As long as you have edited their clothing preset accordingly the NPC should seamlessly switch to the replaced clothes and not revert back. I did that with Tobias to accelerate that mod's testing phase just to make sure he continued to wear it.
I've considered that. I know the inner workings of this mod is pretty rough because I was learning as I was making it so there is some excessive editing in some of the files I could probably do away with to make it more refined but none of it appears to cause any bugs either so I don't consider it to be a serious concern. Honestly, the thing preventing me from it is the immense amount of time and work it would take to do it with little if anything gained because the mod already appears to work quite reliably as it is. I would essentially have to remake the whole mod from the ground up with how it is now and test it extensively to make sure it still works at least as good as before.
The requirement with needing to start a new playthrough seems to have to do with other aspects in the game's coding that makes changing Robard's and Bernard's outfits a bigger deal than most other characters so it doesn't seem to fully update during a preexisting playthrough. I could go back and try reworking it see if anything I've learned since making this mod could help with that but, honestly, it would likely just be a lot of work for little to no noticeable improvement.
I would have to look into how that's done but that would be cool. Unfortunately, I think I would have to do item modeling which I don't currently have the ability to do and would have to learn how unless you just give him the House of Zoul helmet with the visor up. You could also do that by editing the armor2clothing_preset__knightlyrb.xml file and simply replace the item code for the helmet in the character's clothing preset you want. I go into that further in my reply to WHSerk below. Thanks for the suggestion.
That's a pretty cool idea. It might take a while to find the soul IDs for all of them and their clothing presets but I don't see why that couldn't be done. I'll look into that. Thanks for the suggestion!
I was wondering, if I wish to do some variation for personal taste, is it enough to make the change in the armor2clothing_preset_knightlyrb.xml file, or other files need to be modified too?
Another special request: is it possible to give Hans Capon his Saint george sword back? or change his merchant sword for a more lavish one, like herod's or noble sword?
and finally, I hate the new ''old boots'' model, any way to replace it with the same model as working boots?, or replace all ''old boots'' in the world to ''working boots''? this might be a huge task, however.
Yes, with the way I have the mod set up all you should need to do is edit the armor2clothing_preset__knightlyrb.xml file if you want to make any clothing item changes. It should be perfectly stable if done correctly. Refer to soul__knightlyrb.xml to see what clothing preset codes are assigned to which character. The clothing id is found preceded by "initial_clothing_preset", and after "soul_name" you'll see who the character is (note that Robard is referred to as "borek" in the game files). Note that both Bernard and Robard have multiple entries in soul__knightlyrb.xml and, with that, multiple clothing id's for usually just slightly different appearances. Also, if you plan on editing xml files extensively or regularly I would strongly recommend getting Notepad++ if you don't already, it will make your world so much easier. Let me know if you have any further questions!
In theory, I think it should be possible. I haven't actually done anything with editing weapon presets because they generally don't bother me much but I could certainly look into it. From what I've seen from editing and figuring out how to get clothing edited on npcs, the weapon presets appear to essentially work the same way in terms of preset2item codes and soul id linking.
That's an interesting request about the boot item replacement and I could look into it. I have a couple ideas how that could work but I doubt it will be as easy as I'm imagining (it never is... lol).
29 comments
Hmm, I'll have to look into that. I have a few questions if you don't mind:
What version of the mod are you using?
Did you start a new playthrough or are you using it on an existing one? I've noticed in testing that chausses are more likely to change than arm armor if loaded on a pre-existing playthrough for some reason.
If it is a new playthrough, did he appear that way right away in the cutscene you first see him in or after? And is he missing any other pieces of modded armor (gauntlets, gold-trimmed mail hauberk and coif, padded coif, and mail chausses)?
Thanks for the info if you can provide! It will help me troubleshoot with you and/or make a fix to my mod if needed.
I'm going to sticky this post for now in case anybody else has this issue described above. If you do please let me know.
So every new day, If I have to meet him,I got to save the game right before I meet him, load my old save file just before the first custcene in Pirkstein (feast with Hanush and al.) and replay the first cut scene, before loading back my current save.
I do have a bunch of mods but I don't see any that could trigger a conflict, but I might be wrong.
Those mods are:
Edit: It seems a simple save and reload before meeting Bernard reset his armor to the modded one. No need for me to reload a prior file.
Thanks again for the solution! I'll keep this stickied for other users' reference.
Edit: it suddenly started working after 15-20 in-game days.
is it possible to make a Mod who enabables the equip-button on every NPC? I want to equip the Guards in Prebleslavitz with my own Armor and Weapons or equip some other NPC´s... I read abouit some Ideas on reddit, like dropping Items in Front of them but, it wont work. Also there was a Mention of editing the Soultables, i would like to do that, but i have no Idea how...
In theory, you could possibly edit that guard's clothing preset to be whatever it is you want him to wear and then provide him with that item in-game to wear, but from my experience in testing my mods that may not stick with the character (meaning he will wear it for a while but eventually revert back). I've noticed when I tried editing guard clothing presets that they tend to be much more finicky than other characters in the game for some reason. I assume there is coding somewhere else in the game that determines guard outfits along with some other characters I've had trouble editing their outfits and keeping them in those outfits throughout the game.
https://www.dropbox.com/s/9vkmuehuohuholw/KnightlyRB.rar?dl=1
Table 'clothing_preset' is patched by 'clothing_preset__knightlyrb', lines added: 0, modified: 8, equal: 1392, time: 0.000
Table 'inventory_preset2item' is patched by 'inventory_preset2item__knightlyrb', lines added: 9, modified: 0, equal: 1999, time: 0.000
Table 'armor2clothing_preset' is patched by 'armor2clothing_preset__knightlyrb', lines added: 29, modified: 0, equal: 11, time: 0.003
I recommend this mod, If you are only using a few mods, so the troubleshooting incompatibility doesn't take too long.
I would appreciate it if you could let me know what mods it is conflicting with so I can see if there is a fix I can possibly make. I use over a couple dozen mods myself along with this one (granted, my personal version is a little different with how it is compiled) and I haven't experienced any noticeable conflicts. However, this was my first uploaded mod so I admit it is kinda messy so there are probably some edits and trimming I could do with it that may be worthwhile if it might fix some conflicts with other mods.
I am a relative newcomer to this game and also quite recently started making mods for it so I am not very familiar with pre-PTF update mods and what that entails. I can take a look at the hoods and scarfs up mod to see what the conflicts are and if it would be possible to fix it. Thank you for the report!
I would think it is definitely possible and can't think of any reason it wouldn't work like any other character. I'll have to look at her entries and IDs to know how it would work for sure, but I would guess that she may be more similar to Robard and Bernard, especially if you've been having trouble getting it to work conventionally like Hans and Tobias. She appears to have multiple soul IDs (I found at least two applicable ones from a quick search) and a different clothing preset for each and you'd have to edit each one individually. If that is the case, I have noticed in my own testing that it can be more stubborn to implement in-game requiring a new playthrough to really work properly.
However, if you specifically just wanted to change her appearance after you reach Rattay, I would wager that there is probably just one specific soul ID that applies and, therefore, just one clothing preset to edit which could make your world much easier and may not require a new playthrough (just wait 1-3 in-game days to spawn). I took a quick look for you in soul.xml and found the likely candidate soul_name "rat_refugee_tereza" which would make her clothing preset id: 40952cd1-e71e-0e08-297b-5cb61d1386ab, just in case you came up with something different and you could give that one a try. Sorry for the vagueness, but I haven't had a ton of time lately to devote to modding and to take a proper look into that for you, but I'll gladly help as much as I can and more once I find some extra time. I would like to figure out Theresa's clothing presets too.
Thanks again for the complements and your interest! Please let me know if you have any other questions. I'm also open to suggestions for any future clothing/armor editing mods once I get back to it.
I didn't know about the 1-3 days thing, that's good to know, and I'll try that out. As near as i can tell, the actual problem has to do with the chest she and pishek use. It respawns her standard outfit, and regardless of preset, she just uses that one. Albeit, I haven't tried out the 1-3 day thing to see if it changes, so maybe that'll work.
I'm trying to reverse engineer the robard and bernard mod. I know the armor2clothing, clothing preset, and soul xml relevance, but i couldn't figure out inventory for theresa. The only inventory id i could find the items for with her were a couple little things (like an apple and a piece of cloth or something). Do you think her iventory id might be responsible for respawning the stock outfit, instead of the chest at the millers? And again, thanks for response!
According to my testing with other NPCs, the chest's clothing should update according to the clothing preset for that character. Inventory respawn lag is likely why it will take a few days to show. You can accelerate the process (and ensure that it works properly) by spawning the items in your own inventory, loot their vanilla clothes, and then replace it with the intended preset clothes. As long as you have edited their clothing preset accordingly the NPC should seamlessly switch to the replaced clothes and not revert back. I did that with Tobias to accelerate that mod's testing phase just to make sure he continued to wear it.
The requirement with needing to start a new playthrough seems to have to do with other aspects in the game's coding that makes changing Robard's and Bernard's outfits a bigger deal than most other characters so it doesn't seem to fully update during a preexisting playthrough. I could go back and try reworking it see if anything I've learned since making this mod could help with that but, honestly, it would likely just be a lot of work for little to no noticeable improvement.
I was wondering, if I wish to do some variation for personal taste, is it enough to make the change in the armor2clothing_preset_knightlyrb.xml file, or other files need to be modified too?
Another special request: is it possible to give Hans Capon his Saint george sword back? or change his merchant sword for a more lavish one, like herod's or noble sword?
and finally, I hate the new ''old boots'' model, any way to replace it with the same model as working boots?, or replace all ''old boots'' in the world to ''working boots''? this might be a huge task, however.
Cheers,
Yes, with the way I have the mod set up all you should need to do is edit the armor2clothing_preset__knightlyrb.xml file if you want to make any clothing item changes. It should be perfectly stable if done correctly. Refer to soul__knightlyrb.xml to see what clothing preset codes are assigned to which character. The clothing id is found preceded by "initial_clothing_preset", and after "soul_name" you'll see who the character is (note that Robard is referred to as "borek" in the game files). Note that both Bernard and Robard have multiple entries in soul__knightlyrb.xml and, with that, multiple clothing id's for usually just slightly different appearances. Also, if you plan on editing xml files extensively or regularly I would strongly recommend getting Notepad++ if you don't already, it will make your world so much easier. Let me know if you have any further questions!
In theory, I think it should be possible. I haven't actually done anything with editing weapon presets because they generally don't bother me much but I could certainly look into it. From what I've seen from editing and figuring out how to get clothing edited on npcs, the weapon presets appear to essentially work the same way in terms of preset2item codes and soul id linking.
That's an interesting request about the boot item replacement and I could look into it. I have a couple ideas how that could work but I doubt it will be as easy as I'm imagining (it never is... lol).