Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.98a is out! (03/27/25)

Pages: 1 2 3 [4] 5

Author Topic: [0.98a] Better Combat 0.3.17  (Read 63967 times)

alaricdragon

  • Captain
  • ****
  • Posts: 254
    • View Profile
Re: [0.97a] Better Combat 0.3.13
« Reply #45 on: January 28, 2025, 12:52:24 PM »

Because of the way the battle map works, no two mods can modify it at the same time(and better combat's map priority is pretty high. Only main menu missions and special battles from other mods will override it). I need to manually add any new objectives to the better combat map for them to appear. So far, secrets of the frontier is the only one implemented. If you could name the mods that add objectives you would like to see that would be helpful.

I can't find where the setting where you set the number of objectives. Is this a mod setting?
I simply assumed the number of objectives was a setting somewhere (that I was unable to find). the mod I was using was secrets of the frontier (changes the number of objectives on most maps to 6). I also know of no other mod that modifies it.

It really sucks that there is no way to like, override the map size of special battles from other mods. the tiny base map size is no fun anymore, so it makes some battles... boring. especially the 'bounty board' battles (I think that's from magic lib)

also, I feel the need to point this out well im posting here, but I had to go into the LunaSettings.csv file of this mod to increase the max 'fighter target speed' because fighters could not keep up with there carriers a lot of the time, and I could not increase the number by default. could you possibly raise the maximum value that lunalib lets you set that to at some point?

lastly, thanks for creating this mod. I had to change a lot of settings to make things work for me, but its a lot of fun. although I think I need a better PC to run it, but modded starsector always makes me think that way.
Logged

RobotWaifuForU

  • Ensign
  • *
  • Posts: 2
    • View Profile
Re: [0.97a] Better Combat 0.3.13
« Reply #46 on: February 10, 2025, 07:49:47 AM »

I can't even get close to the station, let alone attack it.
Am I doing something wrong?  :P
Logged

willthefunperson

  • Lieutenant
  • **
  • Posts: 77
    • View Profile
Re: [0.97a] Better Combat 0.3.13
« Reply #47 on: February 11, 2025, 04:25:51 PM »

I can't even get close to the station, let alone attack it.
Am I doing something wrong?  :P

Due to the sweeping changes this mod makes, some things will become harder than Alex intends them to be. So, there really isn't an intended way.

I'm sure it's possible. You may need a different fleet. GL
« Last Edit: February 11, 2025, 04:27:48 PM by willthefunperson »
Logged

willthefunperson

  • Lieutenant
  • **
  • Posts: 77
    • View Profile
Re: [0.97a] Better Combat 0.3.13
« Reply #48 on: February 11, 2025, 04:31:01 PM »

It really sucks that there is no way to like, override the map size of special battles from other mods. the tiny base map size is no fun anymore, so it makes some battles... boring. especially the 'bounty board' battles (I think that's from magic lib)
It's possible, outside of the main menu missions, but I would need a special case for every mod because some modded battles would break without their plugin.
Logged

RXZH

  • Ensign
  • *
  • Posts: 6
    • View Profile
Re: [0.97a] Better Combat 0.3.13
« Reply #49 on: March 08, 2025, 03:48:26 AM »

Ah, this is my dream MOD! Can I forward it to a Chinese forum (with the author indicated). Waiting for your reply.
Logged

willthefunperson

  • Lieutenant
  • **
  • Posts: 77
    • View Profile
Re: [0.97a] Better Combat 0.3.13
« Reply #50 on: March 08, 2025, 10:14:22 AM »

Ah, this is my dream MOD! Can I forward it to a Chinese forum (with the author indicated). Waiting for your reply.
Thank you. You can post it. Feel free to modify it if you want as well.
Logged

RXZH

  • Ensign
  • *
  • Posts: 6
    • View Profile
Re: [0.97a] Better Combat 0.3.13
« Reply #51 on: March 08, 2025, 08:48:07 PM »

When I want to increase the speed of missiles, the missile speed affects their effective range. However, the missile range also needs to be increased; otherwise, the AI won't fire. The combination of these two factors results in missiles having an extremely long range. Is there no way to reduce the missile's lifetime?
Additionally, the secondary stage of missiles triggers at a very far distance.

I wanted to set the range of beam weapons through additional settings, but no matter what I tried, I couldn't configure it using tags. What should I do?

Asteroids don't seem like a good idea. The AI behaves very poorly when dealing with asteroids. Maybe it's because the original asteroids were very fragile?
Logged

RXZH

  • Ensign
  • *
  • Posts: 6
    • View Profile
Re: [0.97a] Better Combat 0.3.13
« Reply #52 on: March 10, 2025, 01:38:17 AM »

When setting the ship speeds, since I wanted to configure each class of ships separately, I used up all the additional settings for the three extra ships. However, I suddenly realized that the speed of the carrier-based aircraft is affected by (shipSpeedFeature). If I further adjust the speed of the carrier-based aircraft, it would cause all the carrier-based aircraft to have similar speeds. How can I add additional settings for new ships?
Logged

Fermuto

  • Ensign
  • *
  • Posts: 14
    • View Profile
Re: [0.97a] Better Combat 0.3.13
« Reply #53 on: March 14, 2025, 11:05:09 AM »

Thanks for making this. I definitely had to adjust some values to make the ships less ice-skatey and still had to reduce weapon ranges since there is still the problem of Realistic Combat where larger ships exponentially become more able to area denial. Great stuff though! Is making the lunalib menu more user friendly in the works? Currently you have to do some work to figure out what some parameters do.

Also, does projectile coast just affect the effective range that projectiles cause *soft flux* and reduced damage after being outside of their actual range? That's what it seems like but I'd like to clarify.
« Last Edit: March 14, 2025, 11:42:38 AM by Fermuto »
Logged

willthefunperson

  • Lieutenant
  • **
  • Posts: 77
    • View Profile
Re: [0.97a] Better Combat 0.3.13
« Reply #54 on: March 15, 2025, 10:15:11 AM »

Thanks for making this. I definitely had to adjust some values to make the ships less ice-skatey and still had to reduce weapon ranges since there is still the problem of Realistic Combat where larger ships exponentially become more able to area denial. Great stuff though! Is making the lunalib menu more user friendly in the works? Currently you have to do some work to figure out what some parameters do.
I'll look over it before the next update. Thanks
Logged

willthefunperson

  • Lieutenant
  • **
  • Posts: 77
    • View Profile
Re: [0.97a] Better Combat 0.3.13
« Reply #55 on: March 15, 2025, 10:38:56 AM »

First, sorry for the late reply, I was out of town and to answer some of these I needed access to my computer.
When I want to increase the speed of missiles, the missile speed affects their effective range. However, the missile range also needs to be increased; otherwise, the AI won't fire. The combination of these two factors results in missiles having an extremely long range. Is there no way to reduce the missile's lifetime?
Additionally, the secondary stage of missiles triggers at a very far distance.

I wanted to set the range of beam weapons through additional settings, but no matter what I tried, I couldn't configure it using tags. What should I do?

Asteroids don't seem like a good idea. The AI behaves very poorly when dealing with asteroids. Maybe it's because the original asteroids were very fragile?
Currently, the missile flight time and the range bonus are the same, but they can be decoupled, and I will be doing that to solve the missile issue.

Second stages of missiles are triggered at their maximum range, and they are technically a separate weapon, but there are settings to modify specifically that. It is in the submunitionFeature

Beam weapons can currently only be selected with the autofit tags. e.g. beam10, beam12, etc. The highest in vanilla is beam20 and the lowest is beam0. Selecting multiple tags requires you to enter them into bcomSettings.json, there is instructions in there, tell me if anything is unclear because I am not aware of someone besides me using the feature.

Yes, vanilla AI only successfully doges when it has enough maneuverability to do so, and when the asteroids move slow enough, because I think it doesn't look ahead that much. I know they also try to shoot through them too. This is certainly because Alex never intended for asteroids to be a serious obstacle. I don't intend to improve it, though. Too much effort. Ship bounds radius can mitigate it, but has several drawbacks explained in the settings.

When setting the ship speeds, since I wanted to configure each class of ships separately, I used up all the additional settings for the three extra ships. However, I suddenly realized that the speed of the carrier-based aircraft is affected by (shipSpeedFeature). If I further adjust the speed of the carrier-based aircraft, it would cause all the carrier-based aircraft to have similar speeds. How can I add additional settings for new ships?
Lunalib is limited, and the number of the settings in it is hard coded to be 3 which can be modified by changing the luna settings file, and code and rebuilding the project as the source code is included. But a better solution is to use bcomSettings.json instead. It is not limited by the lunalib UI, and easier to share.
« Last Edit: March 15, 2025, 10:51:46 AM by willthefunperson »
Logged

willthefunperson

  • Lieutenant
  • **
  • Posts: 77
    • View Profile
Re: [0.98a] Better Combat 0.3.15
« Reply #56 on: March 28, 2025, 07:24:39 AM »

New update out for the new starsector version. I have rebuilt the code in Java 17, but I haven't done asteroid refactoring to take advantage of the new API method to spawn them yet, but I am going to do that sooner or later. I implemented the missile range and time to live decoupling suggestion from @RXZH and the better feature descriptions from @Fermuto. But, I am making this mod just by myself, so I don't have anyone to tell me if my feature descriptions are clear, so any suggestions to make them better is appreciated.
Logged

Mengyu_Ryougi

  • Ensign
  • *
  • Posts: 5
    • View Profile
Re: [0.98a] Better Combat 0.3.15
« Reply #57 on: March 29, 2025, 03:32:05 AM »

Update it to the newest 0.3.15 and i cannot select ship value setting when i click it, it just crash with this error:
Code
java.util.UnknownFormatConversionException: Conversion = '%'
Also do i need to nuke the setting or rather how to?

Full error log bit:
Spoiler
[main] ERROR com.fs.starfarer.combat.CombatMain java.util.UnknownFormatConversionException: Conversion = '%'
java.util.UnknownFormatConversionException: Conversion = '%'
       at java.base/java.util.Formatter.parse(Unknown Source)
       at java.base/java.util.Formatter.format(Unknown Source)
       at java.base/java.util.Formatter.format(Unknown Source)
       at java.base/java.lang.String.format(Unknown Source)
       at com.fs.starfarer.ui.impl.StandardTooltipV2Expandable.addPara(Unknown Source)
       at com.fs.starfarer.ui.impl.StandardTooltipV2Expandable.addPara(Unknown Source)
       at lunalib.backend.ui.settings.LunaSettingsUISettingsPanel.recreatePanel(LunaSettingsUISettingsPanel.kt:341)
       at lunalib.backend.ui.settings.LunaSettingsUISettingsPanel.recreateTabs$lambda$4(LunaSettingsUISettingsPanel.kt:187)
       at lunalib.backend.ui.components.base.LunaUIBaseElement.processInput(LunaUIBaseElement.kt:240)

       at com.fs.starfarer.ui.newui.I.processInputImpl(Unknown Source)
       at com.fs.starfarer.ui.OOOo.processInput(Unknown Source)
       at com.fs.starfarer.ui.z.dispatchEventsToChildren(Unknown Source)
       at com.fs.starfarer.ui.z.processInputImpl(Unknown Source) 
       at com.fs.starfarer.ui.OOOo.processInput(Unknown Source)   
       at com.fs.starfarer.ui.z.dispatchEventsToChildren(Unknown Source) 
       at com.fs.starfarer.ui.z.processInputImpl(Unknown Source)
       at com.fs.starfarer.ui.impl.StandardTooltipV2.processInputImpl(Unknown Source)
       at com.fs.starfarer.ui.OOOo.processInput(Unknown Source) 
       at com.fs.starfarer.ui.privatesuper$oo.processInputImpl(Unknown Source)
       at com.fs.starfarer.ui.OOOo.processInput(Unknown Source)
       at com.fs.starfarer.ui.z.dispatchEventsToChildren(Unknown Source)
       at com.fs.starfarer.ui.z.processInputImpl(Unknown Source) 
       at com.fs.starfarer.ui.privatesuper.processInputImpl(Unknown Source)
       at com.fs.starfarer.ui.OOOo.processInput(Unknown Source)
       at com.fs.starfarer.ui.z.dispatchEventsToChildren(Unknown Source)
       at com.fs.starfarer.ui.z.processInputImpl(Unknown Source) 
       at com.fs.starfarer.ui.newui.I.processInputImpl(Unknown Source)
       at com.fs.starfarer.ui.OOOo.processInput(Unknown Source)
       at com.fs.starfarer.ui.z.dispatchEventsToChildren(Unknown Source)
       at com.fs.starfarer.ui.z.processInputImpl(Unknown Source)   
       at com.fs.starfarer.ui.newui.I.processInputImpl(Unknown Source)
       at com.fs.starfarer.ui.OOOo.processInput(Unknown Source)
       at com.fs.starfarer.ui.z.dispatchEventsToChildren(Unknown Source)
       at com.fs.starfarer.ui.z.processInputImpl(Unknown Source)
       at com.fs.starfarer.ui.newui.I.processInputImpl(Unknown Source) 
       at com.fs.starfarer.ui.OOOo.processInput(Unknown Source) 
       at com.fs.starfarer.ui.z.dispatchEventsToChildren(Unknown Source) 
       at com.fs.starfarer.ui.z.processInputImpl(Unknown Source)
       at com.fs.starfarer.ui.OOOo.processInput(Unknown Source)   
       at com.fs.starfarer.title.TitleScreenState.processInput(Unknown Source)
       at com.fs.starfarer.BaseGameState.traverse(Unknown Source) 
       at com.fs.state.AppDriver.begin(Unknown Source)
       at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
       at com.fs.starfarer.StarfarerLauncher.super(Unknown Source) 
       at com.fs.starfarer.StarfarerLauncher.<init>(Unknown Source)
       at com.fs.starfarer.StarfarerLauncher.<init>(Unknown Source)
       at com.fs.starfarer.StarfarerLauncher.main(Unknown Source)
[close]
Logged

willthefunperson

  • Lieutenant
  • **
  • Posts: 77
    • View Profile
Re: [0.98a] Better Combat 0.3.15
« Reply #58 on: March 29, 2025, 10:54:55 PM »

Update it to the newest 0.3.15 and i cannot select ship value setting when i click it, it just crash with this error:
Code
java.util.UnknownFormatConversionException: Conversion = '%'
Also do i need to nuke the setting or rather how to?

Full error log bit:
Spoiler
[main] ERROR com.fs.starfarer.combat.CombatMain java.util.UnknownFormatConversionException: Conversion = '%'
java.util.UnknownFormatConversionException: Conversion = '%'
       at java.base/java.util.Formatter.parse(Unknown Source)
       at java.base/java.util.Formatter.format(Unknown Source)
       at java.base/java.util.Formatter.format(Unknown Source)
       at java.base/java.lang.String.format(Unknown Source)
       at com.fs.starfarer.ui.impl.StandardTooltipV2Expandable.addPara(Unknown Source)
       at com.fs.starfarer.ui.impl.StandardTooltipV2Expandable.addPara(Unknown Source)
       at lunalib.backend.ui.settings.LunaSettingsUISettingsPanel.recreatePanel(LunaSettingsUISettingsPanel.kt:341)
       at lunalib.backend.ui.settings.LunaSettingsUISettingsPanel.recreateTabs$lambda$4(LunaSettingsUISettingsPanel.kt:187)
       at lunalib.backend.ui.components.base.LunaUIBaseElement.processInput(LunaUIBaseElement.kt:240)

       at com.fs.starfarer.ui.newui.I.processInputImpl(Unknown Source)
       at com.fs.starfarer.ui.OOOo.processInput(Unknown Source)
       at com.fs.starfarer.ui.z.dispatchEventsToChildren(Unknown Source)
       at com.fs.starfarer.ui.z.processInputImpl(Unknown Source) 
       at com.fs.starfarer.ui.OOOo.processInput(Unknown Source)   
       at com.fs.starfarer.ui.z.dispatchEventsToChildren(Unknown Source) 
       at com.fs.starfarer.ui.z.processInputImpl(Unknown Source)
       at com.fs.starfarer.ui.impl.StandardTooltipV2.processInputImpl(Unknown Source)
       at com.fs.starfarer.ui.OOOo.processInput(Unknown Source) 
       at com.fs.starfarer.ui.privatesuper$oo.processInputImpl(Unknown Source)
       at com.fs.starfarer.ui.OOOo.processInput(Unknown Source)
       at com.fs.starfarer.ui.z.dispatchEventsToChildren(Unknown Source)
       at com.fs.starfarer.ui.z.processInputImpl(Unknown Source) 
       at com.fs.starfarer.ui.privatesuper.processInputImpl(Unknown Source)
       at com.fs.starfarer.ui.OOOo.processInput(Unknown Source)
       at com.fs.starfarer.ui.z.dispatchEventsToChildren(Unknown Source)
       at com.fs.starfarer.ui.z.processInputImpl(Unknown Source) 
       at com.fs.starfarer.ui.newui.I.processInputImpl(Unknown Source)
       at com.fs.starfarer.ui.OOOo.processInput(Unknown Source)
       at com.fs.starfarer.ui.z.dispatchEventsToChildren(Unknown Source)
       at com.fs.starfarer.ui.z.processInputImpl(Unknown Source)   
       at com.fs.starfarer.ui.newui.I.processInputImpl(Unknown Source)
       at com.fs.starfarer.ui.OOOo.processInput(Unknown Source)
       at com.fs.starfarer.ui.z.dispatchEventsToChildren(Unknown Source)
       at com.fs.starfarer.ui.z.processInputImpl(Unknown Source)
       at com.fs.starfarer.ui.newui.I.processInputImpl(Unknown Source) 
       at com.fs.starfarer.ui.OOOo.processInput(Unknown Source) 
       at com.fs.starfarer.ui.z.dispatchEventsToChildren(Unknown Source) 
       at com.fs.starfarer.ui.z.processInputImpl(Unknown Source)
       at com.fs.starfarer.ui.OOOo.processInput(Unknown Source)   
       at com.fs.starfarer.title.TitleScreenState.processInput(Unknown Source)
       at com.fs.starfarer.BaseGameState.traverse(Unknown Source) 
       at com.fs.state.AppDriver.begin(Unknown Source)
       at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
       at com.fs.starfarer.StarfarerLauncher.super(Unknown Source) 
       at com.fs.starfarer.StarfarerLauncher.<init>(Unknown Source)
       at com.fs.starfarer.StarfarerLauncher.<init>(Unknown Source)
       at com.fs.starfarer.StarfarerLauncher.main(Unknown Source)
[close]
It looks like the % character is illegal to use in lunalib settings for some reason. I included it in a description. You can update LunaSettings.csv, search for "%" and remove it. I will update the mod tomorrow. Sorry about this.

EDIT
I am NOT doing this tomorrow. The update to fix this is out now
« Last Edit: March 29, 2025, 11:24:47 PM by willthefunperson »
Logged

Mengyu_Ryougi

  • Ensign
  • *
  • Posts: 5
    • View Profile
Re: [0.98a] Better Combat 0.3.15
« Reply #59 on: March 29, 2025, 11:24:25 PM »

It looks like the % character is illegal to use in lunalib settings for some reason. I included it in a description. You can update LunaSettings.csv, search for "%" and remove it. I will update the mod tomorrow. Sorry about this.

Thank you for the fix and the mod, it is quite fun once i got the setting right. :D
Logged
Pages: 1 2 3 [4] 5