Jump to content

Entfernung

From pr0game Wiki
This is the approved revision of this page, as well as being the most recent.

Entfernung

Die Entfernung zwischen zwei Koordinaten bestimmt Flugzeit und Treibstoffverbrauch (siehe Flugzeit, Treibstoffverbrauch). Berechnet aus src/Core/FleetFunctions.php (getTargetDistance()), Faktoren kommen aus den Universums-Einstellungen.

Andere Galaxie

Galaxie-Typ Formel
Kreisförmig (uni_type 2) galaxy_distance_factor
Linear (uni_type 1) min(|Galaxie1-Galaxie2|, max_galaxy - |Galaxie1-Galaxie2|) * galaxy_distance_factor
Standard |Galaxie1-Galaxie2| * galaxy_distance_factor

Gleiche Galaxie, anderes System

Galaxie-Typ Formel
Kreisförmig (galaxy_type 2) system_distance_factor + system_distance
Linear (galaxy_type 1) min(|System1-System2|, max_system - |System1-System2|) * system_distance_factor + system_distance
Standard |System1-System2| * system_distance_factor + system_distance

Gleiches System, anderer Planet

|Position1-Position2| * planet_distance_factor + planet_distance

Gleicher Planet (z. B. Planet↔Mond)

Feste Entfernung: 5

Alle Faktoren (galaxy_distance_factor, system_distance_factor, system_distance, planet_distance_factor, planet_distance, max_galaxy, max_system, uni_type, galaxy_type) sind pro Universum konfigurierbar — siehe die jeweilige Universums-Seite unter "Weitere Einstellungen".