Fractal Softworks Forum

Starsector => Mods => Topic started by: bonomel on November 27, 2018, 07:55:01 AM

Title: [0.9.1a] SkilledUp 1.1 - Sane character progression after level 50!
Post by: bonomel on November 27, 2018, 07:55:01 AM
Latest version, tested with 0.9.1a:
Download 1.1 (https://drive.google.com/uc?export=download&id=1OGwpJ0Su4Cakn3kG34cAHG47cVTEUuVp) Works fine with existing saves!

Version for 0.9a
Download 1.0 (https://drive.google.com/uc?export=download&id=1FTtmFiolIbzbszC4Fe8WUHtm_PEfrUn1)

Hello everyone :)

First of all a little disclaimer:
I've been using this little tweak to the xp requirement formula for some time now and thought I'd put in the bit of extra effort to make a mod out of it and share it with all you lovely internet people! Considering it is my first (and probably last, but who knows?) mod for Starsector I might have overlooked something silly. If you are interested, please try it out and let me know your thoughts!

What does it do?

You could change the maximum player level in the Starsector settings file and call it day. However, the amount of xp required per level gets ridiculous around the 55-60 mark! Sad!

It'll still take a tremendous amount of time to max out, but nowhere near the several lifetimes that it would when simply changing the settings file.

This can be added to a game in progress, even for maxed out characters. For characters level 36 and beyond, you'll have to gain xp once to trigger the game to give you the levels you deserve.

Removing it from a game with a character level 51 and beyond will cause you to gain no more xp, but keep the levels and skills. I haven't invested a lot of time in testing that scenario, but it is logical considering the game treats xp, levels and skills merely as loosely coupled concepts.

In short - my advice is to use 'Save as copy' after enabling this mod on an existing save!

Below is a visual comparison of how the vanilla (red) xp requirements looks vs. those with the mod enabled (blue). As you can see, the difference in requirement for level 36 is negligible, while for level 103 the difference is ~ 90%:

(https://drive.google.com/uc?export=download&id=10eYD2mu58ZT-VAqKkv4Xlm8kFESWESno)
Title: Re: [0.9a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: Milk on November 27, 2018, 11:44:09 PM
Hey, just installed this and it works great. I like it! Thanks for making it.
Title: Re: [0.9a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: code99 on November 28, 2018, 12:57:38 AM
Huh, this sounds great!

Ill download it and see how it goes, keep up the good work!
Title: Re: [0.9a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: TrashMan on November 28, 2018, 06:33:15 AM
The player is already OP as hell... this sounds unnecessary
Title: Re: [0.9a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: bonomel on November 28, 2018, 08:34:22 AM
Hey, just installed this and it works great. I like it! Thanks for making it.

Glad to hear!

Huh, this sounds great!

Ill download it and see how it goes, keep up the good work!


Cheers. Curious to hear how it works for you!

The player is already OP as hell... this sounds unnecessary

 ;D lol yeah isn't it great?
Title: Re: [0.9a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: Hazard on November 28, 2018, 09:01:17 AM
This is neat, nice job.  :)

The player is already OP as hell... this sounds unnecessary

I'm curious, why did you feel the need to point this out? Does the existence of this mod somehow negatively affect your own enjoyment of Starsector?
Title: Re: [0.9a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: Reinhark on November 28, 2018, 09:20:03 AM
My character is level 92 without this mod.

I regret nothing.
Title: Re: [0.9a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: Kulverstukass on November 28, 2018, 09:36:51 AM
My character is level 92 without this mod.

I regret nothing.
Eight levels more and you could build your own nexus!

;D lol yeah isn't it great?
Thanks for the mod, starting as industrious scavenger still leads to need for more command points in later battles, which, in turn, requires personal deployment, which, in it's turn, requires some combat capabilities ::)
Title: Re: [0.9a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: travhill20 on November 29, 2018, 11:22:20 AM
Thanks buddy! I was hoping for a mod like this as soon as I started .9a
Title: Re: [0.9a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: bonomel on November 30, 2018, 12:38:24 AM
Thanks buddy! I was hoping for a mod like this as soon as I started .9a

Anytime!

Thanks for the mod, starting as industrious scavenger still leads to need for more command points in later battles, which, in turn, requires personal deployment, which, in it's turn, requires some combat capabilities ::)

You're welcome! Exactly why I made this :)

My character is level 92 without this mod.

I regret nothing.

 :o that's very impressive!
Title: Re: [0.9a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: arwan on November 30, 2018, 04:42:24 AM
wait does that mean that graph mean i would normally need almost 200,000,000 exp to hit level 84. that is quite the curve. if i get to max level i may just install this to see my level jump LMAO
Title: Re: [0.9a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: Ali on November 30, 2018, 06:20:40 AM
Just to say thanks!!! For doing this..
Currently i, as mentioned edit settings to get to 103 but in the end usually jus end up adding xp long before I would've got there..

This mod will give me cause to play to 103 normally so can't wait to add this to my manadatory mods for all playthroughs!! :D
Title: Re: [0.9a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: Cyan Leader on November 30, 2018, 06:34:41 AM
Amazing, thanks a lot for making this.
Title: Re: [0.9a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: Hussar on November 30, 2018, 07:55:19 AM
I do actually love the idea and are looking forward to trying it out! If it works well, this might become one of must have mods for any playthrough as long as point sinks like aptitudes are still in play. Thanks!
Title: Re: [0.9a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: PeepingPeacock on November 30, 2018, 07:58:40 AM
Now I don't have to cheat with console commands anymore, this is wayyyy more balanced.

Fantastic work!
Title: Re: [0.9a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: Ambient on November 30, 2018, 08:04:55 AM
Good stuff, I was looking forward to getting some of the industry passives but never wanted to waste the points.
Title: Re: [0.9a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: Baxter on December 11, 2018, 04:34:08 AM
Is it possible to change how the XP curve is graded by editing the script? I'd like a little more levels for the XP I've got currently but the default rate you've put in is a bit too lenient for my tastes.
Title: Re: [0.9a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: bonomel on December 11, 2018, 06:04:15 AM
Is it possible to change how the XP curve is graded by editing the script? I'd like a little more levels for the XP I've got currently but the default rate you've put in is a bit too lenient for my tastes.

Ofcourse. I suggest fiddling with the multipliers, because that is where the magic happens:

Code
float mult1 = (1f + (float)level) * 0.5f * (float)level * 1f;
float mult2 = (1f + (float)p1level) * 0.5f * (float)p1level * 0.25f;
float mult3 = (1f + (float)p2level) * 0.4f * (float)p2level * 0.15f;
float mult4 = (1f + (float)p3level) * 0.3f * (float)p3level * 0.1f;

The definitions of mult3 and mult4 are what you are after (and also what I changed / added) and in particular the values 0.4, 0.15, 0.3 and 0.1. This is all *very* sensitive to changes, as each of the previous multipliers also apply to those in the next 'bracket'. So a tiny change of i.e. 0.005 already has a noticeable effect in the higher levels. Try adjusting those a bit and see what works :)

I've thought about making a config option to allow easy customization of the curves, but I ultimately I decided to go with something worked for me and not over-complicate it.
Title: Re: [0.9a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: Baxter on December 12, 2018, 01:09:26 AM
So if I set those numbers to 2x what they are currently would that increase the exp required to level up (according to your new scale) to 2x the amount at each level? I haven't done any proper thinking about programming since uni. Maybe I should sit down and have a proper study.
 
The easiest option for me as a user would be a CFG file where I can set the level at which the exp scaling changes, and by what factor it does compared to vanilla (Like from level 50 onwards the rate of increase is half of what it is from levels 1-49 for example)

Actually now I want to see how simple it would be to change the exp scaling past a certain level from an exponential increase to a linear one instead.
Title: Re: [0.9a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: HeartofDiscord on December 25, 2018, 08:36:44 PM
Would this work in 0.8.1? It seems like it would from first glance.
Title: Re: [0.9a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: bonomel on December 26, 2018, 12:45:03 PM
Would this work in 0.8.1? It seems like it would from first glance.

Yeah I think it should. The game files on which the mod is based didn't change. Can't be 100% sure since I didn't test it on that version though :)
Title: Re: [0.9a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: Ali on May 17, 2019, 11:20:40 PM
Hopin your still active to update this essential mod m8!? I can't start a new playthrough & try out all the new stuff without it!!  ;D
Title: Re: [0.9a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: Cyan Leader on May 18, 2019, 12:38:04 AM
Should be working fine in .9.1, I'm doing a run with it and it's been smooth.
Title: Re: [0.9a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: Ali on May 18, 2019, 02:50:44 AM
Ah great, cheers Cyan!  :)
Title: Re: [0.9a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: DrakonST on May 18, 2019, 04:27:14 AM
I confirm, it works fine on 0.9.1.
Title: Re: [0.9a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: eidolad on May 20, 2019, 05:26:23 PM
I also confirm that I've just run a character in .91a to level 54 without issue...
Title: Re: [0.9a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: bonomel on May 21, 2019, 12:58:38 AM
Hey! Just checking in here to say that I will update the mod soon. As others have confirmed that the mod works just fine, it should come down to the administrative action of bumping the version number.
Title: Re: [0.9a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: vorpal+5 on May 26, 2019, 11:32:02 AM
Would this mod works on an ongoing game?
Title: Re: [0.9a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: Se7ventySix on May 26, 2019, 12:01:50 PM
This can be added to a game in progress, even for maxed out characters. For characters level 36 and beyond, you'll have to gain xp once to trigger the game to give you levels.

Yep!!
Title: Re: [0.9.1a] SkilledUp 1.1 - Sane character progression after level 50!
Post by: bonomel on May 27, 2019, 02:13:22 AM
Updated! No changes other than version numbers bumps.
Title: Re: [0.9.1a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: Buddah on July 20, 2019, 11:05:42 AM
So I downloaded this and stuck it in my mod folder but it doesn't seem to be working. Just hit level 50 and I'm capped out. Anyone seen that happen?
Title: Re: [0.9.1a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: canned Tomatoes on July 20, 2019, 04:57:18 PM
So I downloaded this and stuck it in my mod folder but it doesn't seem to be working. Just hit level 50 and I'm capped out. Anyone seen that happen?
It works as you would expect for me.
As for troubleshooting
Version 1.1 of the mod? On the right Game version?
And you checked the box in the launcher?
Have you unzipped the downloaded file?
After all that, you could check with version checker if it is activated in your game.

And you could start a new character, use console commands and give yourself a lot of xp to see if SkilledUp works.
That is everything I can think of that might be wrong.
Title: Re: [0.9.1a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: Buddah on July 20, 2019, 07:01:15 PM
User error on this one.....I forgot to turn it on ::)
Title: Re: [0.9.1a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: Ranakastrasz on October 15, 2019, 01:04:06 PM
This mod is great!

For a while, I've run a rule in my game, limiting what skills I can pick.
Specifically, I can only have 2+2x skillpoints in each tree, with x being the least number of skillpoints in any tree.

Aside from meaning I can't quite rush to get a t3 skill as trivially as before, the general idea is to let me use all four trees, especially combat, without feeling like I was making a bad decision. Combat boosts are fun, but poor investments compared to things that buff your whole fleet.

The downside was that although I could remove the upper player level, the exponential(Quadradic?) experience cost was still a problem. So this mod fixes that.

Only thing I could request is some constants to modify and comments in the file to easily explain how it works, or maybe just a scalar. I am not exactly good with looking at code and getting an equation, or modifying said equation.
Title: Re: [0.9.1a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: Salano on October 17, 2019, 07:18:32 PM
FYI, the title still indicates that the mod is version 1.0.
Title: Re: [0.9.1a] SkilledUp 1.0 - Sane character progression after level 50!
Post by: bonomel on October 18, 2019, 10:42:20 AM
FYI, the title still indicates that the mod is version 1.0.

Thank you! Didn't notice that before!
Title: Re: [0.9.1a] SkilledUp 1.1 - Sane character progression after level 50!
Post by: Noviastar on November 02, 2019, 02:55:32 AM
This sounds really neat.  as the skill system requires 12 levels just to be able to unlock ass aspects at lev 3 you can quite quickly run into this game becoming a XP grinding fest.  Just park your massive fleet in a high warning sector and fight for months.  just to get 1 combat level... 

The space lord just gets bored of winning. 

The game as it is makes you kinda choose to run a empire, command a ship, manage a fleet, or do random stuff.  You might be able to manage 2 of these things well.
Title: Re: [0.9.1a] SkilledUp 1.1 - Sane character progression after level 50!
Post by: Kalarima on February 20, 2020, 10:47:56 AM
Thanks for the mod it has become my must have mod for the game :)

Is there any chance of making something similar for officers aswell btw? i know you can change game rules to allow them to lvl up above 20 but the game wont give you the normal skill choice so you cant actually do it it seems...
Title: Re: [0.9.1a] SkilledUp 1.1 - Sane character progression after level 50!
Post by: bonomel on February 26, 2020, 12:07:33 AM
Hey sorry for the late reply. Currently I am on a bit of a Starsector hiatus, so I haven't been around much! Good to hear you like this little mod, thanks.

Also thanks for the suggestion. It's a neat idea, but not something that I would be interested in making right now :) Officers and skills will be overhauled in the next big update, so any work I would do on this will very likely be all for naught. But we'll see. Whenever I come back to the game, I might look into doing a bit of modding again too. Who knows, right? :D
Title: Re: [0.9.1a] SkilledUp 1.1 - Sane character progression after level 50!
Post by: NephilimNexus on February 26, 2020, 01:56:09 AM
Is there any chance of making something similar for officers aswell btw? i know you can change game rules to allow them to lvl up above 20 but the game wont give you the normal skill choice so you cant actually do it it seems...

Not sure what you mean.  Go into the game's own base files and raise their level limit to 29.  Just don't go over 29.  Works fine.

Starsector\starsector-core\data\config\settings.json

Line 453:

   "officerMaxLevel":29,

And you're done.
Title: Re: [0.9.1a] SkilledUp 1.1 - Sane character progression after level 50!
Post by: Serenitis on February 27, 2020, 10:54:16 AM
Just don't go over 29.
For clarity, what happens when you set an officer to have more than 29 levels is; they level up, but have no possible skills to choose from as there's no more room in the bar, so the skill points cannot be spent and sit there forever being a mild annoyance.

It won't break your game. But it doesn't give you any benefit, and just looks untidy. And that's terrible!
Title: Re: [0.9.1a] SkilledUp 1.1 - Sane character progression after level 50!
Post by: NephilimNexus on February 27, 2020, 04:12:41 PM
^ What they said.
Title: Re: [0.9.1a] SkilledUp 1.1 - Sane character progression after level 50!
Post by: Sordid on April 02, 2020, 01:50:22 PM
What a fantastic mod! Thank you very much for making this.

The only change I'd suggest is to cap character level at 100 for the sake of having a nice round number. Just give the player those three extra skill points at the start, speed up the tedious early game a bit as well.
Title: Re: [0.9.1a] SkilledUp 1.1 - Sane character progression after level 50!
Post by: Amen on June 05, 2020, 07:28:09 AM
Just don't go over 29.
For clarity, what happens when you set an officer to have more than 29 levels is; they level up, but have no possible skills to choose from as there's no more room in the bar, so the skill points cannot be spent and sit there forever being a mild annoyance.

It won't break your game. But it doesn't give you any benefit, and just looks untidy. And that's terrible!

That sad  :'(
Maybe add additional window or something like that can resolve this problem?