NPC Auto-Leveller 1.0

   (4 reviews)

1 Screenshot

About This File

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
» NPC Auto-Leveller 1.0 Read-Me
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NAME: NPC Auto-Leveller
TYPE: Modder's Resource
VERSION: 1.0
DATE RELEASED: July 2, 2017

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
» DESCRIPTION
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A while back, Darth Tyren was asking me about how the KotOR 2 balances the enemies to make them tougher as you go on through the game. We then spent a few hours running some tests and digging through the files, with the end result being that the game seems to just upgrade the enemies' Hit Points and Force Points.

 

I then theorized that one could use the extra functions Obsidian added for modifying your skills, attributes, feats, and force powers to work up a framework for levelling up the NPCs without actually assigning them levels. This is the result of that work.

 

The heart of this modder's resource is the "fs_level.nss" #include file, where I've one main function called LevelUp and several support functions that will randomly assign feats, force powers, skill points (including support for cross-class skills), and attribute points at the appropriate times and in the appropriate amounts. I've scoured the various .2da files and the all of the default values and rules that the player has to obey are obeyed by the script as well.

 

Also, there are 750 .uti files included. There are 50 for each class, and each item handles the defense, saving throw, and attack modifier increases that a given class would get as they level. These items are not accessible or equippable in-game, as they use the hidden creature slots (specifically, slots 14 and 15).

 

I've shown how to use the #include file in the included "k_ai_master.nss" in the source folder. The compiled form is included in the installation.

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
» INSTALLATION
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
An installation which involves the TSL Patcher has been made ready for your use and is the simplest and easiest way to carry out installation.

 

You don't have to use the installer if you're just using parts of this or adapting it, but it's an easy way to get it all set up and ready to go.

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
» KNOWN BUGS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Not exactly a bug, but the two slots I used may very well be used by animals like the Kinrath that have special properties to their attacks.

 

There are 2 ways to report bugs:
1: Post your issues in the Bug Reporting Thread.
2: PM your issues to Fair Strides at Deadlystream.

 

TO REPORT THROUGH PM

 

1) Go to DeadlyStream ( http://deadlystream.com/ ) and search for the user Fair Strides ( http://deadlystream.com/forum/user/9107-fair-strides/ )
2) Send a private message with as much detail as possible of what is occurring in your game. He will likely report back to you within a week.

 

TO REPORT THROUGH THE BUG THREAD:
1) Go to the Bug Thread ( http://deadlystream.com/forum/topic/5509-downloadnpc-auto-leveller/ )
2) Reply with as much detail as you can provide, and please list (and preferably link to) all the mods you're using.

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
» CONTRIBUTORS / CREDITS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Darth Insidious, Malkior, Markus Ramikin, Darth Tyren, and probably many others who were willing to discuss the topic with me over Skype. :D

 

Darth Tyren for the initial investigative work and the idea itself.

 

90SK for some installer help on my Fumble! mod, whose changes.ini file I edited in Notepad for this mod.

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
» REDISTRIBUTION
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This mod may be re-distributed, but may not be re-uploaded. I request that proper credit be given to me for making the mod, even if you use parts of the mod instead of the whole thing.

 

I would also like to be contacted before you release your mod.


What's New in Version 1.0   See changelog

Released

  • 07/02/17 ~=~ Initial Release



User Feedback

Recommended Comments

I have a question regarding the exp points gained from the leveled up NPCs. Since their level is scaled up to the player's does it mean that you would be able to gain lvl 50 by the end of the game ?

Share this comment


Link to comment
Share on other sites

I have a question regarding the exp points gained from the leveled up NPCs. Since their level is scaled up to the player's does it mean that you would be able to gain lvl 50 by the end of the game ?

I'm not actually able to affect their real level, unfortunately.

 

I track levels using Local numbers 30 and 31. This method doesn't work with the exp distribution system.

 

Is this compatible with Improved Ai?

I had forgotten about that mod when I designed this. I'll have to go back and work on this to make it compatible with stoffe's mod. Same with my Fumble! mod.

Share this comment


Link to comment
Share on other sites

Sounds great, but what about compatibility with mods like Increased Attributes and Skills? Or any feat/force mods? Cheers!

Share this comment


Link to comment
Share on other sites

Lovely idea for a mod! Been looking forward to something like this. There's no "fs_lvl_sas_01.uti" by the way, unsure if that is an issue or not but something I noticed and might just be a problem on my end. Compatibility with "Improved AI" seems relatively easy to do, but I am not an experienced modder by any means so I may be missing something. I've already gone ahead and done my own quick & dirty fix to make them both work. I could provide you my tslpatchdata setup for you to determine if it's all in order, and then you could release a compatible version if you like.

Share this comment


Link to comment
Share on other sites

After some additional testing I've determined my quick and dirty fix does not work at all, and breaks the AI in many ways. So I guess I'll keep fiddling with it and hope to make it work. Ha.

Share this comment


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.