LanguageWriter123 2 Posted Friday at 03:56 AM (edited) So this was a long time coming, way too long I was working on this but finally got it to a relatively good state. I mean it's still messed up in some ways but the biggest thing that gave me trouble was the experience points in alignment to the level-ups. I got that to work but you can't auto-level up lol sorry. But for the exp, I essentially needed to create code caves and track down a struct where the experience points for level-ups were stored. I had to change that offset when the game parses the exptable.2da at the beginning and in a function when you load a character. Other problems are that you can't see the "experience needed" for level ups but it's the same exact equation for calculating the needed exp for level-ups regardless and the same exact needed amounts like in KotOR 2 so peek at the exptable.2da for that I guess lol. And the other problems I know are that you can't get feats and force powers past level 21. You could always mess with the featgain.2da and classpowergain.2da for levels before 21. You can still get attributes and skills past level 21. And you could still be pretty op with all those attribute points, health point, and force power point increases. To install, make a backup of your old K1 exe and 2da files that would be replaced by this mod. Then just put the 2da files in the Override and replace the exe of course. Here is how I worked on it before, but I just fixed the exp problem today. I could go further than level 50, hell the code cave I made can fit way more exp storage data, I could go thousands more but I think 50 in itself is a bit overkill even lol. But no one says you have to keep leveling up anyways. And I just always thought that level 20 was a little too low and just figured matching KotOR 2's level cap was the way to go. I can do this same mod for KotOR 2 btw but I don't think it's needed that much. But if someone really wanted it I could put it out there too of course like raising that cap to 75 or something. Other purposes you can use for this mod are other mods in combination with this like Brotherhood of Shadow, other planet mods, and other mods that add more to the game. You can mod Malak's utc file on the last Star Forge module and make him a lot tougher and stronger to match your higher level character too! There could be other problems too so I might need to make patches for this more down the road. Edit: I fixed a lot of things now. You can download from here again I updated the downloads in this post too. 2das.rar swkotor.exe xptable.2da Edited Friday at 04:42 PM by LanguageWriter123 2 Quote Share this post Link to post Share on other sites
LanguageWriter123 2 Posted Friday at 04:37 PM Hello I just noticed that every enemy you defeat in the beginning of the game only gives 25 exp, I think the game thinks you are a higher level than you actually are in some ways. Replace the xptable.2da with this one I sent here. I raised the every 25, 50, 75 exps to 100s to fix this. ... And just now upon investigating this I noticed near the one "percentXP" string in the exe that there is another area I missed to connect the xptable.2da to the struct where the exptable values are stored. I basically fully fixed this problem now and I'm pretty sure every enemy killed would have given 100 XP when killed even with this new xptable.2da. That would not be fair especially for very challenging opponents. So please get the new EXE too here. Like I hinted at, there will be many patches for this. Now I need to figure out how to fix the actual experience needed area with the exp. ... Holy smokes! I did it now! I found most of the offsets needed to fix the exp adjustments. Please try this mod it's a lot better now. The exp needed will show for all the levels and the scripts will activate with the exp now. xptable.2da swkotor.exe Quote Share this post Link to post Share on other sites
rj464 1 Posted 10 hours ago Holy cow if you Have successdfully done this, then I could kiss you. You sir (or ma'am) are my hero! I have been wanting this in the game since it came out and I played it all those years ago. I will defenitely have to restart kotor again and try this out in the near future. Thank you for your important contribution to the kotor modding scene. Please keep working on this as it is a great accomplishment! 1 Quote Share this post Link to post Share on other sites
LanguageWriter123 2 Posted 9 hours ago It will work don't worry and thank you. Glad you might be able to get use out of this mod, that's great to hear. Hopefully others will too. It took me a while but I just made a huge amount of progress on this in the last few days. Though someone did help point something out to me in a game reverse engineering discord server in a voice chat. Once they pointed out a piece of code I was scanning for in Cheat Engine the whole thing clicked. I realized what I needed to do and changed a bunch more offsets after that and aligned the exp to the code cave with all the new exp storage for all the levels including past level 20. There may be a few more areas but I just tested it for all the classes jedi included and it worked. Only things left to test are the scripts that interact with the levels now. But I think those work too anyways. And I think Malak is leveled to the player still because even at level 50 he was putting up a fight but I did have basic gear on. Quote Share this post Link to post Share on other sites