Aurora is on version 2.5.0 C#, available at the Aurora Forums.

Contact Erik on the forum for a wiki account.

C-NPRs

From AuroraWiki
Revision as of 16:21, 12 January 2019 by King-Salomon (talk | contribs) (Unload Colonists)
Jump to navigation Jump to search

NPR Economy

Quote from: MarcAFK on Today at 06:36:14

Bankrupting the civilians is a good solution to endgame lag, but what about the NPRs? They still build hundreds of hsits. I don't know if they use similar mechanics in regards to hipping lines, do they even have 'civilians"?

For freighters and colony ships, they only have civilians. There didn't seem to be any point in having two types of AI for NPR colony ships and civilians, so they are all created in shipping lines. This is true for C# too. 10.01.2019

Doesn't that mean NPRs can't carry minerals from a system to another, or is that abstracted for them?

Mineral movement is automatic, although it does mean they won't create colonies or move automated mines. Date 10.12.2019


Standing Order for Unload Colonists

I've completely rewritten the standing order (VB6 default order) for unloading colonists (used by shipping lines, NPRs and your own ships if desired). The process is as follows:

  • 1) Colony fleet looks for a suitable population with less than 25m pop and no other colony fleets inbound, checking its current system first and then using the path finding algorithm to search everywhere else in the empire.
  • 2) Same as 1) but without the check for inbound colony ships.
  • 3) Searches for any suitable population with a status of Colonist Destination (which you can set for any pop of at least 25m).

When determining if a population is a suitable destination, the fleet checks the following:

  • 1) How many colonists it is carrying.
  • 2) If the species is the same as the colonists.
  • 3) The available capacity of the system body on which the population is situated, taking into account other populations.
  • 4) The available capacity of the infrastructure (normal or LG depending on the gravity), taking into account the current population size.
  • 5) The lesser of 2) and 3) is used as the base capacity of the population to accept new colonists.
  • 6) Any available space in orbital habitats is added to that capacity.
  • 7) The total number of colonists on ships already inbound to the colony is deducted from that capacity.
  • 8) if the capacity exceeds the number of colonists in the checking fleet and the species match, the colony is suitable.

This should prevent the current problem of many colony ships delivering to a colony without the capacity to support them all. As soon as a fleet determines a colony is suitable, the orders are issued, which means other fleets checking in the same increment will be aware of the extra inbound colonists.

Because of these changes, Passenger Liners will no longer search their current system for a potential destination (otherwise they could load and unload at the same population).

Date 24.02.2018