Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Venatos

Pages: [1]
1
Modding / Mod Thread disapeared?
« on: April 18, 2021, 11:01:29 AM »
hi, just posted a thread a few minutes ago for topless portraits, now its gone?

did the dropbox link make trouble?
please advise, it did take a few hours to polish the mod into something more than my usual private copy paste hack.

2
Bug Reports & Support / code to activate starsector?
« on: November 28, 2020, 11:38:08 AM »
something weird just happened, after quite a long time i started starsector again and now it wants some form of code to activate it?
is that new? cant remember that beeing a thing.
i checked my emails but i dont think i ever got a code, then again 2014 was a long time ago.

3
Modding / more ships on the market
« on: November 01, 2014, 04:36:10 AM »
hi there,

after circling the universe several times in search for an Odyssey or an Eagle i decided that there are not enough ships on the market and startet to look into the code.
goal is to roughly double the amount of ships that are sold, so that there is a greater chance to find what your searching for and not waste your precious hours of gametime.

my search lead me to starfarer.api.zip\com\fs\starfarer\api\impl\campaign\submarkets and for testing i took the blackmarketplugin and tryed a few things:

   private void addShips() {
      int marketSize = market.getSize();
      
      pruneShips(0.75f);
      
      WeightedRandomPicker<String> rolePicker = new WeightedRandomPicker<String>();
      rolePicker.add(ShipRoles.CIV_RANDOM, 5f);
      rolePicker.add(ShipRoles.FREIGHTER_SMALL, 3f);
      rolePicker.add(ShipRoles.TANKER_SMALL, 1f);
      rolePicker.add(ShipRoles.COMBAT_FREIGHTER_SMALL, 15f);
      rolePicker.add(ShipRoles.COMBAT_SMALL, 15f);
      rolePicker.add(ShipRoles.COMBAT_MEDIUM, 15f);
      rolePicker.add(ShipRoles.INTERCEPTOR, 5f);
      rolePicker.add(ShipRoles.FIGHTER, 5f);
      rolePicker.add(ShipRoles.BOMBER, 5f);
i added these 5 lines ->      rolePicker.add(ShipRoles.FREIGHTER_MEDIUM, 5f);
      rolePicker.add(ShipRoles.TANKER_MEDIUM, 1f);
      rolePicker.add(ShipRoles.COMBAT_FREIGHTER_MEDIUM, 10f);
      rolePicker.add(ShipRoles.COMBAT_MEDIUM, 10f);
      rolePicker.add(ShipRoles.CARRIER_SMALL, 10f);
      
      if (marketSize >= 4) {
         rolePicker.add(ShipRoles.FREIGHTER_MEDIUM, 5f);
         rolePicker.add(ShipRoles.TANKER_MEDIUM, 1f);
         rolePicker.add(ShipRoles.COMBAT_FREIGHTER_MEDIUM, 10f);
         rolePicker.add(ShipRoles.COMBAT_MEDIUM, 10f);
         rolePicker.add(ShipRoles.CARRIER_SMALL, 10f);
      }
      
      if (marketSize >= 6) {
         rolePicker.add(ShipRoles.FREIGHTER_LARGE, 3f);
         rolePicker.add(ShipRoles.TANKER_LARGE, 1f);
         rolePicker.add(ShipRoles.COMBAT_FREIGHTER_LARGE, 5f);
         rolePicker.add(ShipRoles.COMBAT_LARGE, 5f);
         rolePicker.add(ShipRoles.CARRIER_MEDIUM, 10f);
      }
      
      WeightedRandomPicker<FactionAPI> factionPicker = new WeightedRandomPicker<FactionAPI>();
      float stability = market.getStabilityValue();
      factionPicker.add(market.getFaction(), 10f - stability);
      factionPicker.add(submarket.getFaction(), 10f);
      
i changed marketsize *2 to *5      addShipsForRoles(marketSize * 5, rolePicker, factionPicker);
   }

all seamingly without effect, i am stuck at the moment, i need someone elses brain for a second.
anyone have an idea to what to change where? im also looking into making ai fleets bigger, as to mitigate the roflstomping in the endgame, but all i found there so far is a way to change the starting logistic points for myself from 20 to 5, which should help a bit.
any input is welcome!
thnks! ;)

Pages: [1]