Varya
Do you maybe know how to make factions spawn fleets similar to Salvager fleets for independents?
I mean faction fleets disguised as indie exploring far reach sectors with separate ship composition?
CampaignFleetAPI fleet = FleetFactoryV3.createFleet(params);
if (fleet == null || fleet.isEmpty()) return null;
fleet.setFaction(Factions.INDEPENDENT, true); <--- Zhis looks like it could be the faction setter for scavengers
fleet.getMemoryWithoutUpdate().set(MemFlags.MEMORY_KEY_SCAVENGER, true);
CampaignFleetAPI fleet = createScavenger(type, system.getLocation(), route, route.getMarket(), pirate, random);
if (pirate) {
Misc.makeLowRepImpact(fleet, "scav");
}
--> in procgen/themes/RuinsFleetRouteManager.java L 120 to 209
public static CampaignFleetAPI createFleet(FleetParamsV3 params) {
Global.getSettings().profilerBegin("FleetFactoryV3.createFleet()");
try {
boolean fakeMarket = false;
MarketAPI market = pickMarket(params);
if (market == null) {
market = Global.getFactory().createMarket("fake", "fake", 5);
market.getStability().modifyFlat("fake", 10000);
market.setFactionId(params.factionId); <--+
in /impl/campaign/fleets/FleetFactoryV3.java L139 - 148
As for the load-out i really hope the faction setting determines it as well i could take a look at nexes brawl spawning to make sure how it works as nex has a chance for invasion fleets to use random faction ships but lets wait for varya