Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Anubis-class Cruiser (12/20/24)

Author Topic: How is battle difficulty exp determined?  (Read 1269 times)

ohsnapdragon

  • Ensign
  • *
  • Posts: 15
    • View Profile
How is battle difficulty exp determined?
« on: February 25, 2024, 02:40:35 PM »

Take a look at this battle I just experienced.

Spoiler
[close]

The battle states that I am receiving 20% additional experience due to battle difficulty. To me, that implies that the game thinks that the pirate fleet is stronger than my fleet.
This is despite the fact that I have an Aurora with 2 s-mods, a Champion, a Mora, and a Gryphon with 2 s-mods, plus a smattering of support ships. The pirate fleet, meanwhile, has a D-modded venture as their strongest ship, and then a bunch of Shepherds, kites, and logistics ships without weapons. Sure, my Hammerhead is damaged due to space storms, but so are two of their ships!

So I let the battle play out and, unsurprisingly, the four cruisers I deployed without any other support immediately wiped the floor with the pirate fleet. Honestly I probably could have soloed the whole fleet with the Aurora.

So how exactly is battle exp calculated? I can't imagine that the pirate fleet in the picture was actually considered stronger than mine. It was rated as only a 2 star difficulty in the campaign map, and also has less deployment points than my own fleet. So why am I getting bonus exp?

I'm running a fully vanilla game, other than miscellaneous mods like a portrait mod and Graphicslib.
Logged

Grievous69

  • Admiral
  • *****
  • Posts: 3126
    • View Profile
Re: How is battle difficulty exp determined?
« Reply #1 on: February 25, 2024, 02:44:05 PM »

Number and level of officers also matter. It's just that their officers were on such weak ships you didn't notice.
Logged
Please don't take me too seriously.

ohsnapdragon

  • Ensign
  • *
  • Posts: 15
    • View Profile
Re: How is battle difficulty exp determined?
« Reply #2 on: February 25, 2024, 02:53:37 PM »

Number and level of officers also matter. It's just that their officers were on such weak ships you didn't notice.

Does the officer-piloted ship not matter? It seems odd to me that the pirate fleet was only rated 2 stars and was actively trying to avoid me on the campaign map, and yet when I actually fight it, it's considered a stronger fleet.

It seems to me like officer contribution should be scaled to the ship they're commanding, it's a bit silly that their extra four officers in Kites "outweighs" four pristine cruisers.
Logged

Zenaria

  • Ensign
  • *
  • Posts: 23
    • View Profile
Re: How is battle difficulty exp determined?
« Reply #3 on: February 25, 2024, 07:17:27 PM »

Officer mainly contribution on initiative Deployment point.

if officer contribution base on ship size. it would discourage people to put them into anything else but capital ship.

judge by amount of ship they might be a little stronger.

but civilian ship never have a chacne against military ship to begin with.

let say it just give you some free xp  ::)
Logged

Vanshilar

  • Admiral
  • *****
  • Posts: 718
    • View Profile
Re: How is battle difficulty exp determined?
« Reply #4 on: February 25, 2024, 07:54:28 PM »

The battle XP bonus is based on the computed "size" of your fleet compared with the enemy's fleet (or fleets if you're fighting multiple ones). That size is based on the total DP, so I call it "XP DP". It's a straight ratio; if the enemy's XP DP is double of yours, then you get a +100% XP bonus. The maximum bonus is at +500% XP bonus, at which point your XP DP is 1/6 (or smaller) of the enemy.

Each side's XP DP is the sum of the DP of each ship. Civilian ships (ships with a "CIVILIAN" tag in ship_data.csv, not the civilian hullmod) count as 1/4 of their DP, as do any non-civilian ships with absolutely no weapons (including no fighters). If a ship has d-mods, then each d-mod is *0.9 of the original DP (so 3 d-mods means the ship counts as 72.9% of the original DP).

From there, add 7.5 + 3.75 * level for each officer on your side (including the player character). For the enemy side, it's doubled, so their officers count as 15 + 7.5 * level each.

There are a couple of other modifiers, such as if a ship is mothballed, or if it has low CR, etc. But this covers the main rules.

At the end, multiply the enemy side by 0.67.

Then it's just simply a ratio of the two. If (enemy XP DP) / (your XP DP) > 1, then your XP gets multiplied by that amount, up to +500% or 6x.

You don't have to worry about all the math. Just know that it's the ratio between the enemy fleet and your fleet, and that a level 4 officer counts as 22.5 DP and a level 6 officer counts as 30 DP. Your player character, once you reach level 15, counts as 63.75 DP.
Logged

Jonass

  • Ensign
  • *
  • Posts: 34
    • View Profile
Re: How is battle difficulty exp determined?
« Reply #5 on: March 17, 2024, 09:10:16 AM »

Your player character, once you reach level 15, counts as 63.75 DP.

Does it matter what skills you have chosen, or is it just plain lvl 15?

Also i read somewhere there is a hidden calculus called fleet points. 
Logged

eert5rty7u8i9i7u6yrewqdef

  • Admiral
  • *****
  • Posts: 545
    • View Profile
Re: How is battle difficulty exp determined?
« Reply #6 on: March 17, 2024, 12:03:25 PM »

Your player character, once you reach level 15, counts as 63.75 DP.

Does it matter what skills you have chosen, or is it just plain lvl 15?

Also i read somewhere there is a hidden calculus called fleet points.
Fleet points is a separate mechanic used for things like npc vs npc fights and fleet spawning. All ships have a set fleet point value which tends to be lower than their DP value.
Logged

Vanshilar

  • Admiral
  • *****
  • Posts: 718
    • View Profile
Re: How is battle difficulty exp determined?
« Reply #7 on: March 18, 2024, 11:18:56 PM »

Does it matter what skills you have chosen, or is it just plain lvl 15?

For the player, it just counts the level, regardless of whether or not you've taken any skills. Whether skills are elite or not do not affect the XP bonus. For officers, they can stay at level 1 (or any other level) and build up extra XP, since they don't actually get a level until they take another skill, whereas the player character automatically gains a level as soon as the XP is gained.
Logged

Jonass

  • Ensign
  • *
  • Posts: 34
    • View Profile
Re: How is battle difficulty exp determined?
« Reply #8 on: March 18, 2024, 11:51:34 PM »

For the player, it just counts the level, regardless of whether or not you've taken any skills. Whether skills are elite or not do not affect the XP bonus. For officers, they can stay at level 1 (or any other level) and build up extra XP, since they don't actually get a level until they take another skill, whereas the player character automatically gains a level as soon as the XP is gained.

I see. Then it seems beneficial for XP gain, from battles, to only lvl your officers skills as late as possible. Say prior to battles where you feel you must to, to win. And to also have a fleet that is built around the concept of striking way above its DP

Thanks for the clarifications spacer.
Logged