SovereignXII 25 Posted March 11, 2020 I'm trying to make this mod: https://www.gamefront.com/games/knights-of-the-old-republic-ii/file/revan-s-robes-star-forge-robes-for-tsl compatible with this mod: https://www.nexusmods.com/kotor2/mods/918 I seem to have succeeded, both item are now craftable in the workbench and they display just fine on my Female Exile, Disciple, Visas. The GameFront robes don't display on Bao-Dur properly for obvious reasons, but for Atton they also cause his body to become invisible and talking to him crashes the game? I thought he used the regular male body type so I'm a little confused here? p.s How does one go about adding a restriction to an item so Bao-Dur cannot equip it? Regular robe have the Restriction of cannot equip: Bao-Dur, but I can't seem to add that to the robes. Quote Share this post Link to post Share on other sites
DarthParametric 3,785 Posted March 11, 2020 By default, companions don't have a body model assigned for the J slot (Revan's robes). It will required editing appearance.2da to add it in. Adding a Sub-race: Human restriction should prevent Bao-Dur from using it, since he is the Zabrak sub-race. 1 Quote Share this post Link to post Share on other sites
SovereignXII 25 Posted March 11, 2020 7 minutes ago, DarthParametric said: By default, companions don't have a body model assigned for the J slot (Revan's robes). It will required editing appearance.2da to add it in. Adding a Sub-race: Human restriction should prevent Bao-Dur from using it, since he is the Zabrak sub-race. Odd, it has User Limitation: Human in the uti file, so I don't know why he still can. I also have no idea what J slot means, or what I'd exactly need to change in the apperance.2da file. The most I currently know how to do is open the file with Kotor Tool, but what would I do then? Quote Share this post Link to post Share on other sites
DarthParametric 3,785 Posted March 11, 2020 There are only two races in KOTOR, Human and Droid. Wookiees and Zabrak are a Human sub-race. So the User limitation property only tells the game whether it is for Droids or Humans. In K1, Wookiees are restricted from using robes and such via baseitems.2da. I thought that the Sub-race property added in TSL could be used to do the same directly in the UTI, but it seems selecting Human as the sub-race just acts the same as the User Limitation. You can limit and item only to Bao-Dur or Wookiees, but not restrict them. That would still have to be done in baseitems.2da. @JCarter426 might have to weigh in on that. I have vague memories of discussing the denysubrace column in the past, whether or not it can be tallied to cover more than one sub-race. Armour and robes are divided into body types for different armour classes. What model is assigned for each is defined in appearance.2da. Revan's robes uses its own unique body type, body J. Hence the model name is PxBJ. You'll want to read up on how that all works before going further. 2 Quote Share this post Link to post Share on other sites
SovereignXII 25 Posted March 11, 2020 26 minutes ago, DarthParametric said: There are only two races in KOTOR, Human and Droid. Wookiees and Zabrak are a Human sub-race. So the User limitation property only tells the game whether it is for Droids or Humans. In K1, Wookiees are restricted from using robes and such via baseitems.2da. I thought that the Sub-race property added in TSL could be used to do the same directly in the UTI, but it seems selecting Human as the sub-race just acts the same as the User Limitation. You can limit and item only to Bao-Dur or Wookiees, but not restrict them. That would still have to be done in baseitems.2da. @JCarter426 might have to weigh in on that. I have vague memories of discussing the denysubrace column in the past, whether or not it can be tallied to cover more than one sub-race. Armour and robes are divided into body types for different armour classes. What model is assigned for each is defined in appearance.2da. Revan's robes uses its own unique body type, body J. Hence the model name is PxBJ. You'll want to read up on how that all works before going further. I just found an appearance.2da file from a mod on google that claims to let Atton use the J slot revan robes. Would it be as simple as copying the lines from Party_NPC_Atton from that .2da into mine? Or would be be more involved? Edit: Well I added PMBJ to Atton's 2da section and it seems to work now... xD As for baseitems.2da, taking a look I assume it's the denysubrace section that controls whether Bao-Dur can wear something. Quote Share this post Link to post Share on other sites
Effix 532 Posted March 11, 2020 You might as well do it manually, if you're not sure if that mod is ok. Plus it's a good modding excercise. The first male player character row is 136, check the modelj and texj columns (values PMBJM, PMBJ), copy those to the same columns in Atton's row (452). 1 Quote Share this post Link to post Share on other sites
SovereignXII 25 Posted March 11, 2020 4 minutes ago, Effix said: You might as well do it manually, if you're not sure if that mod is ok. Plus it's a good modding excercise. The first male player character row is 136, check the modelj and texj columns (values PMBJM, PMBJ), copy those to the same columns in Atton's row (452). Adding those to Atton in his row seems to make it work completely now. 1 Quote Share this post Link to post Share on other sites
JCarter426 1,215 Posted March 12, 2020 10 hours ago, DarthParametric said: @JCarter426 might have to weigh in on that. I have vague memories of discussing the denysubrace column in the past, whether or not it can be tallied to cover more than one sub-race. I'm pretty sure it could be via bitmask flags. 0x00000002 seems to mean Wookiee, and I'm guessing 0x00000008 would mean Zabrak (Zabrak is subrace 3, and 2^3 = 8). In that case, 0x0000000A would cover both (2 + 8 = 10, aka A in hex). Quote Share this post Link to post Share on other sites
DarthParametric 3,785 Posted March 12, 2020 Yeah, I'm sure we've discussed it before, but I don't recall ever testing it. I guess I should bust out a baseitems edit and see what happens. Quote Share this post Link to post Share on other sites