[Starsector Mods][0.95.1a] Commissioned Crews 1.999999ggg

  • Post category:Mods
  • Post comments:0 Comments

A solution to the mid-game problem of not needing commissions and enhancing your lore immersion by granting special characteristics depending on what faction you’re commissioned by. Perhaps it is also an encouragement for you to try out new faction starts…

Commissioned Crews is a mod designed to make commissions more worthwhile to hold onto even in the mid-game and late-game by granting ship bonuses that are only unique to the faction you are commissioned to. However, if you get decommissioned by whatever means, you’ll lose that bonus! This mod should be compatible with everything including your saves! It’s also not as performance-intensive as a faction mod at all.

How does it work?

Spoiler: click to expand
Simple.

Dock at a Market. That’s all you need to do. Unless there’s a special circumstance that prevents this check from happening (apparently starting ships aren’t being checked for odd reasons) A certain hull mod checks if there’s a commission and gets replaced by a commissioned crew bonus to a ship you put the hull mod in. It does a fleet-wide check so you only need to do it once if you’re not adding any new ships!

Spoiler: click to expand
Disclaimer

Disclaimer: This fleet-check may not work properly when you first begin the game. You may have to use the hullmod as a backup fleet check. This is because ships that are given to the player aren't "exactly" alive until they encounter their first combat, change weapons, or anything to make them alive!

Spoiler: click to expand
What if there are some ships I JUST DON’T WANT THE BONUS

I got you covered. Just apply this bonus and the ship won’t be tagged for any future commissioned bonus hullmod.

I'm convinced, what bonuses do I get from commissioning with the factions?

Spoiler: click to expand
For the Vanilla 5 Factions that you can actually commission with
Spoiler: click to expand
Hegemony
Spoiler: click to expand
Persean League
Spoiler: click to expand
Luddic Church
Spoiler: click to expand
Tri-Tachyon
Spoiler: click to expand
Sindrian Diktat
Spoiler: click to expand
For those who like Nexerelin… you get access to 2 more factions bonus and a unique mechanic…
Spoiler: click to expand
For you who enjoy more than 1 of these bonuses...
Your voice has been heard! If you have Nexerelin and have allied with several factions. You will now receive their Commissioned Crew bonus when you take up the United We Stand Hullmod!

Spoiler: click to expand
For modders: Wait, but what about MODDED factions?  :-X
To users, you may have to wait for your favorite mod author to make support. Support is very easy to support for modders. You can download this example code to see how Hegemony gets its hullmod.. You just need to remember to put something in the TechpriestCommission.csv to align with the corresponding faction string and hullmod string while making sure your hull mod has code (in the example) to remove itself when the player is no longer commissioned to the faction. The hullmod should somewhat encourage players for receiving a commission with them (straight debuffs are ? but buffs for a debuff is fine). Support is extremely stable at the moment.

Once you have support, there should little need to maintain support aside from balancing out the commissioned hull mods. If you want some ideas, you may check a look into what the supported modded faction have as their bonuses. For mine, all of the vanilla factions are open-sourced, so you may take a peek to see how I made the code work.

1. In `data/hullmods/hull_mods.csv`,
    – [ ] Under `id`, change `CHM_hegemony` to whatever hull mod id you want.
    – [ ] Under `script`, change `data.scripts.hullmods.CHM_hegemony` to use your hull mod id instead.
    – [ ] If desired, change any other values, like the `desc`.

2. In `data/scripts/hullmods`,
    – [ ] Rename `CHM_hegemony.java` to `.java`.
    – [ ] Inside that file, replace `class CHM_hegemony` with `class `.
    – [ ] Inside that file, replace `hegemony` with your faction id.

3. In `data/config/CommissionBonus/TechpriestCommission.csv`,
    – [ ] Change `hegemony` to your faction id.
    – [ ] Change `CHM_hegemony` to your hull mod id.

4. Optionally you may want to add a tip, hullmod font colors, but that’s only if users have this mod so they may get confused if they take a commission and they don’t get anything.

Spoiler: click to expand
To Users: Supported Modded Factions
Click on the image to go to their page! With 33 factions supported already, there is more than enough of factions that you’ll find in suiting your taste.

Spoiler: click to expand
Amazigh's Kyeltziv Technocracy
Spoiler: click to expand
AppleMarineXX’s UNSC
Spoiler: click to expand
Astarat’s Volkov Industrial Conglomerate
Spoiler: click to expand
connortron7’s Exalted
Spoiler: click to expand
Dark.Revenant’s Interstellar Imperum
Spoiler: click to expand
Dazs’s Carter’s Freetraders
Spoiler: click to expand
Dazs’s Junk Yard Dogs
Spoiler: click to expand
King Alfonzo’s Brighton Reconstruction
Spoiler: click to expand
King Alfonzo’s First Persean Empire
Spoiler: click to expand
King Alfonzo’s Hazard Mining Incorporated
Spoiler: click to expand
King Alfonzo’s Holy Convenant of Kemet
Spoiler: click to expand
Knight Chase’s Mayasuran Navy
Spoiler: click to expand
Great Wound’s Ko Combine and Mbaye-Gogol
Spoiler: click to expand
Gwyvern’s Legacy of Arkgnesis
Spoiler: click to expand
Harmful Mechanic’s Dassault-Mikoyan Engineering
Spoiler: click to expand
Harmful Mechanic’s Magellan Protectorate
Spoiler: click to expand
Kayse’s No Such Org
Spoiler: click to expand
KnightOfTigers’s Galaxy Tigers
Spoiler: click to expand
lethargie’s Vanidad y Affliction Operation
Spoiler: click to expand
lolghurt’s Phillip
Spoiler: click to expand
Morrokain’s Adamantine Consortium
Spoiler: click to expand
MShadowy’s Shadowyards Reconstruction Authority
Spoiler: click to expand
Nia Tahl’s Legio Infernalis
Spoiler: click to expand
Nia Tahl’s Spindle Protectorate
Spoiler: click to expand
Peplat’s The Xhan Empire
Spoiler: click to expand
Scarlet-MagicianX26’s Polaris Prime
Spoiler: click to expand
prav’s prv Starworks
Spoiler: click to expand
prav’s Rust Belt
Spoiler: click to expand
Protonus’s Blue (Extratential Lanestate Union)
Spoiler: click to expand
Protonus’s Red (Oculian Berserks)
Spoiler: click to expand
Ryxsen1421’s United Auroran Federation
Spoiler: click to expand
SafariJohn’s Roider Union
Spoiler: click to expand
Sinosauropteryx’s Kingdom of Terra
Spoiler: click to expand
Sleepyfish’s Star Federation
Spoiler: click to expand
Tartiflette’s Diable Avionics
Spoiler: click to expand
Tartiflette’s Outer Rim Alliance
Spoiler: click to expand
Tartiflette’s Scy Nation
Spoiler: click to expand
Techpriest’s Iron Shell
Spoiler: click to expand
Tecrys’s Freitag Corporation
Spoiler: click to expand
theDragn’s Apex Design Collective
Spoiler: click to expand
Unit9461’s Machina Void Services
Spoiler: click to expand
Vayra’s Kadur Remnants
Spoiler: click to expand
xSevenG7x’s Epta Consortium
Spoiler: click to expand
Zudgemud’s P9 Colony Group

Spoiler: click to expand
Lost Archived Commissioned Crews
For those who were lost to the index. Outdated entries still remain in the archives. Some say you can still find records of their crews within these images…

Spoiler: click to expand
Bhdeale's Red Legion
Spoiler: click to expand
connortron7’s Anvil Industries
Spoiler: click to expand
connortron7’s BlackJack Mining Syndicate
Spoiler: click to expand
creature’s Arian Empire
Spoiler: click to expand
creature’s Kingdom of Royal Azalea
Spoiler: click to expand
creature’s Yuri Expedition (Caparice Trade and Exploration Company)
Spoiler: click to expand
J0hn Shm0’s Concordance of Protection Syndicate (COPS)
Spoiler: click to expand
Kissa_Mies’s Free Stars Union
Spoiler: click to expand
mendonca’s ASP Syndicate
Spoiler: click to expand
mendonca’s Junk Pirates
Spoiler: click to expand
mendonca’s PACK
Spoiler: click to expand
MesoTroniK’s Tiandong Heavy Industries
Spoiler: click to expand
Nia Tahl’s Sylphon RnD
Spoiler: click to expand
tomatopaste’s Kipling Radiative
Spoiler: click to expand
tomatopaste’s Pearson Exotronics
Spoiler: click to expand
Vayra’s Ashen Keepers
Spoiler: click to expand
Vayra’s Independent AI Research Mandate
Spoiler: click to expand
Vayra’s Persean Democratic People’s Revolutionary Council
Spoiler: click to expand
Vayra’s Rimward Venture Trading Company
Spoiler: click to expand
Vayra’s Stormhawk Republic
Spoiler: click to expand
Changelog
1.9/1.92/1.93/1.9999 April 11 2020 – March 28 2021

  • Adjusted volume of some background noise when you dock -> Added Custom Sound Effect of CC from
  • Cleaner more optimized code from SirHartley that now fixes the frozen screen market load crash.
  • Rewritten tips from Avanitia.
  • Added CC icons from Mayu.
  • United We Stand now considers your commissioned faction’s alliances now.
  • All Hullmods can now be applied without re-docking
  • Hegemony’s Armor Plating Bonus rescaled from 40/60/80/100 to 55/70/85/100.
  • Luddic Church’s Missile Damage Bonus no longer deals an extra +20%/15%/10%/5%, but +30%/25%/20%/15% damage to shields now.
  • Sindria’s Timid/Cautious bonus reworked now increase shield raise rate and turn rate.
  • Sindria’s Aggressive/Reckless bonus reworked now increases DPS to weapon and engines.
  • Pirate’s Sensor Profile Reduction reduced from -25% to -20%.
  • Pather’s CR Reduction reduced from -20% to -15%.
  • Reworked Tri-Tachyon’s CC Bonus (FINALE): -17% Overload Duration.
  • Added VNSector Support
  • Last Update before Starsector 0.95
  • BIG MODDER’S TOOL: Can add UNLIMITED hullmods under the same faction entry now! NOT RESTRICTED TO ONE HULLMOD PER FACTION.

1.8 March 30 2020

  • When your commissioned faction ally with another faction, you can take United We Stand hullmod and you’ll now receive that alliance hullmod.
  • League Commissioned Crew now reduces minimum crew count by 10%.
  • Assigned techtypes so you can exclude and stuff idk UI stuff.

1.73/1.72/1.71/1.70 January 18th/12th/12th/5th, 2020

  • Fixed some United We Stand bugs..
  • Added Design Type to the Commissioned Crews for aesthetic reasons.
  • Tri-Tachyon Commissions Reworked: Receive +10%/+10%/+10%/+5% Flux Capacity depending on hull size on only High-Tech and Tri-Tachyon designed ships.
  • Cleaner performance improvment
  • Introduce a hullmod that lets you put all the United We Stand hullmod provided you have the ordnance points available on all the ship for convenience.

1.6 December 24th, 2019

  • Introduced United We Stand hullmod. Cost a few ordnance points (3/6/9/15), but can now receive stacking commissioned crew bonuses for you late-gamers.
  • Fixed Hegemony’s XIV Armor Bonus on Destroyers.
  • A component of Vayra’s Ship now receive the same easter egg on a Hegemony commission as well!

1.5 December 1st, 2019

  • Fun easter egg with a pirate commission and some ships from Vayra’s Ships!
  • Commissioned Hull Mods now refresh upon docking at a market rather than instantly. (This means if you get decommissioned out of nowhere, you won’t lose the bonus until you dock at a market).
  • TO MODDERS: THERE IS NO CONFLICT WITH THIS VERSION EXCEPT YOU CAN NOW COMMENT THIS SIMILAR SECTION OUT OF THE CODE IN YOUR HULLMOD
Code
if (!"almighty_dollar".equals(Misc.getCommissionFactionId())) {
       ship.getVariant().removeMod("chm_200iq");
}

1.4.1 October 29th, 2019

  • Fixed a bug where you were able to gain a commission bonus when docking into a planet with no owners.
  • Updated some art assets.
  • Tri-Tech Assistant’s Skeleton Crew Reduction reduced from -15% to -10%
  • Tri-Tech Assistant now provides +20% more flux vent/capacitors from flux distributors/coil adjunct hull mods
  • The Path now provides a +25% weapon/engine repair speed bonus.

1.3 October 13th, 2019

  • Commissioned Bonuses may now be acquired automatically when you dock into a market (in the last resort if a bug happens, the hullmod still does the same purpose and for modules).
  • Game loads 5 seconds faster (code compiled into a .jar, srccode remains)
  • Hegemonic Plating’s Armor Bonus increased from 35/50/65/80 to 40/60/80/100.
    • Ships from a XIV Armor Structure only receive 50 flat armor.
  • League Leadership reworked from League Manufactory; now increases the rate at which fighters respawn by 30%/25%/20%/15%.
  • Blessing of Ludd’s Damage Bonus increased from +10% to +20%/15%/10%/5%.
  • Lion Training reworked; now grants a +5% Maneuverability and +10% Weapon Turn Rates. Provides more bonuses when an officer is attached.
    • Timid and Cautious Officers grant Lion’s Eye. -5% Flux Damage from Shields.
    • Steady Officers grants Lion’s Mane. +10% Maneuverability and +15% Weapon Turn Rate.
    • Aggressive and Reckless Officers receive Lion’s Maul. +5% Damage to Shields.
  • Tri-Tech Assistant reworked; now reduces skeleton crew count by -15%.
  • The Path’s Speed Bonus increased from 15/15/15/10 to 25/20/15/10.

1.2/1.21 September 28th/29th, 2019

  • Hegemonic Plating’s Armor Bonus increased from 35/40/45/50 to 35/50/65/80.
  • Blessing of Ludd reworked; now grants +25% Missile HP and +10% Missile Damage.
  • Sindrian Endurance renamed to Lion Training; now offers a scaling bonus of defensive/offensive abilities varying on the personality of the officer (timid <-> reckless)
  • Tri-Tech Assistant reworked; now reduces the decay of CR by -20%.
  • The Path’s Speed Bonus increased from 15/15/15/5 to 15/15/15/10.
  • The Commissioned Specialist Hullmod will now do a ship-wide check on your fleet instead of doing the ship it has the hullmod on individually.

1.1 September 20th, 2019

  • League Volunteers renamed to League Leadership
  • League Leadership now has a reduced effect of 5% instead of 25% when combined with Expanded Deck Crew
  • Made some user-friendly changes to how commissioned crews can begin.
  • Added tip lines

1.0 September 20th, 2019

  • released
Spoiler: click to expand
F.A.Q.
  • Q: Can you make me a Commissioned Crew bonus?
    A: No, it is your choice as a player or mod author to make one for yourself.
  • Q:Does this apply to AI-controlled fleets?
    A: There is no intent or desire to do so. It would just power creep the game and create modded faction support more difficult to accomplish. As mod authors are limited by what they should give to their AI-controlled fleets when CC is enabled. Nonetheless, I don’t stop them from applying it to AI-controlled fleets. :)
  • Q: How come when I get a commission with this {modded_faction}, I don’t get anything with your mod?
    A: More likely the author of the {modded_faction} has not supported this mod yet or has refused to do so. I cannot personally release one for a {modded_faction} without their explicit permission.
  • Q: What about bonuses for us independents?
    A: Not if you receive commissions, you won’t find any here.
  • Q: What about my player faction?
    A: No.
    Q: but…
    A: No, I mean there are some ways but idk… mhmm dark ways.
Spoiler: click to expand
Credits

Just a heads up, you can have the hullmod cost 0 points. It still works fine, and doesn't require any to install.

Just a heads up, you can have the hullmod cost 0 points. It still works fine, and doesn't require any to install.

New update it is then within the hour. Not sure if it's save-game compatible tho.

Edit: Version 1.1 released, but not save-game compatible, unfortunately. The game should be stable though!


My god.

The pirate commission is SO worth it. Sensor skill + Pirate commission would be insane.

Is it possible to make it so that the more reputation you have in a commission, the higher the bonus? Like, it'd start at 5% when you first commissioned, then goes up to 30% or something or whatever you choose when you become Cooperative.


This is a brilliant way to do faction crews, great job!

Very unbalanced atm, but there are others who can better help you with that.

I think you can remove hullmods from the list of ones the player knows. If so, I suggest reorganizing things so faction crew hullmods are available directly while commissioned and the generic Commissioned Specialists hullmod is shown (but blocked) while not commissioned. This would allow multiple options at once and be cleaner in some ways. It would also let you have pirate and pather crews available simply at high rep with their factions.

If you don't want to do that, I would suggest at least doing a replacement script so you only show one hullmod on the ship. Click the general hullmod in the list, get the specific hullmod on the ship.


My god.

The pirate commission is SO worth it. Sensor skill + Pirate commission would be insane.

Is it possible to make it so that the more reputation you have in a commission, the higher the bonus? Like, it'd start at 5% when you first commissioned, then goes up to 30% or something or whatever you choose when you become Cooperative.

It is an idea, I've been tinkering with.

This is a brilliant way to do faction crews, great job!

Very unbalanced atm, but there are others who can better help you with that.

I think you can remove hullmods from the list of ones the player knows. If so, I suggest reorganizing things so faction crew hullmods are available directly while commissioned and the generic Commissioned Specialists hullmod is shown (but blocked) while not commissioned. This would allow multiple options at once and be cleaner in some ways. It would also let you have pirate and pather crews available simply at high rep with their factions.

If you don't want to do that, I would suggest at least doing a replacement script so you only show one hullmod on the ship. Click the general hullmod in the list, get the specific hullmod on the ship.

There is a replacement script to show one hullmod from this mod already? Or I'm not understanding correctly?


There is a replacement script to show one hullmod from this mod already? Or I'm not understanding correctly?

What I mean by replacement script is changing the code that adds the faction hullmod to remove the generic hullmod at the same time.


This is a really neat idea.  As others have noted, balance is off a bit - some of these are definitely more valuable than others - but it's still a really neat idea.  Kudos.

My assessments:
Hegemonic Plating: Simple and to the point.  Not a really significant bonus, but nothing to sneer at either.
League Leadership: This one's pretty powerful; at least personally, I rarely have the OP available to put expanded deck crews on my carriers, so I'd be getting the full bonus more often than not.  On the flip side, the Persean League is pretty boring as a faction, so giving them an exciting and potent crew bonus is, imo, actually, a good idea.
Sindrian Endurance: An interesting idea, but... not actually that useful, at least for my playstyle.  I'd probably combine this with something like a 10% reduction to ship maintenance supply cost.
Blessing of Ludd: This one is, um... weird?  The effect seems fairly reasonable, but the flavor-text could use a re-write.  Something like "Eschewing automated tracking systems, each missile is individually remote-guided by Luddic gunnery crews."
Tri-Tech Assistant: 100% useless bonus.  There are several sources for auto-aim accuracy bonuses (High CR, gunnery implants skill), and they already add up to more than actually has any effect.  That said, I'm not sure what would be a good replacement here.  Maybe a 5% reduction to shield / phase cloak maintenance flux costs?
The Path: One of the more powerful options.  On the other hand... you've got a commission from the Luddic Path.  That probably balances out.
Pirate Handiworks: Powerful but situational.  Though, again, if you're allied this closely with the pirates... well, not only does that mean you're more likely to be in a situation where this matters, it also means you do need all the help you can get.

Hm.  Yeah, okay, so that's just Sindrian Endurance and Tri-Tech Assistant that I think need work.

Question: Do these bonuses apply to ships from the given faction, or just player ships when commissioned?
Edit: It's been pointed out to me that the above question is unclear.  What I meant to ask is if this gets applied to fleets controlled by the given faction, or just the player's fleets.


Is this an accurate checklist of what a faction mod author needs to do?

1. In `data/hullmods/hull_mods.csv`,
    - [ ] Under `id`, change `chm_200iq` to whatever hull mod id you want.
    - [ ] Under `script`, change `data.scripts.hullmods.chm_200iq` to use your hull mod id instead.
    - [ ] If desired, change any other values, like the `desc`.

1. In `data/scripts/hullmods`,
    - [ ] Rename `chm_200iq.java` to `.java`.
    - [ ] Inside that file, replace `class chm_200iq` with `class `.
    - [ ] Inside that file, replace `almighty_dollar` with your faction id.

1. In `data/config/TechpriestCommission.csv`,
    - [ ] Change `almighty_dollar` to your faction id.
    - [ ] Change `chm_200iq` to your hull mod id.


Question: Do these bonuses apply to ships from the given faction, or just player ships when commissioned?

There's no way to check what's the ship's origin faction/market/whatever. There's potentially a substitute, with bonus applying only to ships that faction uses, though in that case some bonuses would have to change a bit. Church bonus would apply only to low-tech ships, in which case, I would argue it could get even stronger, since they rely on missiles so much and your roster is fairly limited (it won't boost any phase ships). Tri-Tachyon would have to get something that's useful to either phase ships, carriers or high-tech ships, since those are the only ships they use. I think I would settle for energy guns using 10% less flux, or make another fighter focused one and have Tri-Tachyon Aces: more fighter damage, longer refit times.
For Sindrian Diktat, I would perhaps add increased resistance to star coronas and hyperspace storms as well, and maybe what Wyvern suggested.


What I mean by replacement script is changing the code that adds the faction hullmod to remove the generic hullmod at the same time.

It already does that tho? I'll have to recheck.

Is this an accurate checklist of what a faction mod author needs to do?

1. In `data/hullmods/hull_mods.csv`,
    - [ ] Under `id`, change `chm_200iq` to whatever hull mod id you want.
    - [ ] Under `script`, change `data.scripts.hullmods.chm_200iq` to use your hull mod id instead.
    - [ ] If desired, change any other values, like the `desc`.

1. In `data/scripts/hullmods`,
    - [ ] Rename `chm_200iq.java` to `.java`.
    - [ ] Inside that file, replace `class chm_200iq` with `class `.
    - [ ] Inside that file, replace `almighty_dollar` with your faction id.

1. In `data/config/TechpriestCommission.csv`,
    - [ ] Change `almighty_dollar` to your faction id.
    - [ ] Change `chm_200iq` to your hull mod id.

Yup, that should be it. I think.


This is really cool, I'm going to have to think about how I might want to integrate it.

(It would be really fun to balance a faction around below-average stats without a commission that raise to above-average with one. 'Proprietary Maintenance Standards').


What I mean by replacement script is changing the code that adds the faction hullmod to remove the generic hullmod at the same time.

It already does that tho? I'll have to recheck.

(Haven't downloaded the mod since I'm not playing Starsector atm :-[ Was just going off your screenshots)


It's a good idea, making late-game com interesting.  :)

Question: Do these bonuses apply to ships from the given faction, or just player ships when commissioned?
Edit: It's been pointed out to me that the above question is unclear.  What I meant to ask is if this gets applied to fleets controlled by the given faction, or just the player's fleets.

This line of thought is problematic for a lot of reasons, here are some (but far from all) stated in short.

It would basically be power creeping the entire game at the same time. When the point of the mod is to make having a commission make sense later in the game and the bonus it provides offsets the forced enemies that doing so creates. It would also pretty much mean that a mod HAS to support it, even if they don't want to, or if for lore reasons they shouldn't. Because not supporting it nerfs the faction if the end user has this mod and also would hit factions that don't offer commissions.

Leave a Reply