Hello, my little green friends!
I know, why the project "TSLRCM" is *stuck*.
It is because modders hit the limit of 1000 global number variables that can be stored in Kotor TSL.
Some days ago I have mailed them to share with community information of the problem, but I was ignored. So I will now hit harder...
I will post the workaround *include* file. It will allow to use few more variables, how much exactly I do not know, but you can always expand the workaround (if you have some weight of scripting, ofc!)
So:
// This is your new globalcat. You shoud *not* add them to globalcat.2da // Also, there are my predefined vars (wipe them!), i've installed much mods and exceed the 1000's limit, so wrote that lib
// // I'm unaware how much of them you can put in theory... // Script limit is 9999, my limit is 9-per-row, but if you wish to try 10+ increase next definition. // I'm unaware of how long a string cound even be, too... So... // If you are out of limit of scripted string's length, then script must be modified. Do or inform to do.
// // Note you should *not* write +0/ again after +9/, just continue with +10/YOUR_AWESOME_VARS+11/AS_MUCH_AS_NEED
//
// You are still had to add K_GLOBALS_1 to globalcat.2da, it should look so way: XXX|K_GLOBALS_1|String // And for each new one (K_GLOBALS_2 and so on).
//
// FUNCTIONS:
// Exactly what you need! Just use with your vars as usual, but with _N ))) void SetGlobalNumber_N( string sIdentifier, int nValue );
int GetGlobalNumber_N( string sIdentifier );
void IncrementGlobalNumber_N( string sIdentifier, int nAmount );
void DecrementGlobalNumber_N( string sIdentifier, int nAmount );
Yeah, I'm russian maniaco head-broken psycho-conspirator so MY SCRIPT IS LICENSED.
But do not be afraid, the license is in russian but it is both permissive and GNU GPL compatible. Just google translate contents of ЛИЦЕНЗИЯ.txt if you want to check it.
global_n_inc.nss
ЛИЦЕНЗИЯ.txt
fog_dialogs.zip