X4: Foundations

X4: Foundations

Onvoldoende beoordelingen
Higher Dimensional Space
4
   
Prijs
Toevoegen aan favorieten
Toegevoegd aan favorieten
Verwijderen uit favorieten
Bestandsgrootte
Geplaatst op
22.914 KB
30 aug om 2:06
1 wijzigingsnotitie (weergeven)

Abonneren om te downloaden
Higher Dimensional Space

Omschrijving
Higher Dimensional Space

Version: 0.1.0 [BETA] · Author: Reithan

Make X4’s universe actually feel 3D. This mod sphericalizes GOD-driven placements at game start and during AI-driven builds by replacing vanilla “flat/polar” randomization with a sector-centered spherical (or configurable ellipsoidal) distribution.

✨ What it does

  • Gamestart spawns (GOD): Listens to event_god_created_factory and event_god_created_station and repositions eligible creations using a Y-up sphere/ellipsoid around the sector core. Uses safe placement (<safepos includeplotbox="true">).
  • AI economy & goals: Patches vanilla MD (economy/goal/station finders) to use a rand-in-sphere helper instead of the stock polar RNG for many flows (build-in-sector, faction goals, core fallbacks).
  • Respects mods/updates: Classification is based on runtime object props (isgodproductionentry, godentry, zone, position), not hardcoded ID lists.
  • Configurable shape: The helper library supports radius (“R”) and vertical squash (“squash”) so you can go from perfect spheres to gentle ellipsoids.

Result: fewer “pancake layers”, more vertical variety for NPC construction while keeping vanilla logic intact.
15 opmerkingen
Reithan  [auteur] 12 sep om 16:28 
@PKster

In the base implementation there's a 50/50 chance a new station gets placed 'next to' an existing one.

With this mod, it lowers it to 25%, but you'll still see 'clusters' of stations from time-to-time when that 25% rolls success a few times in a row.

Basically: working as intended. It's just more 'visually noticeable' when it happens at a high or low point in the system.
PKster 12 sep om 6:14 
I am noticing that some sectors will cluster 5-8 stations together in a grid at full 'north pole' or sometimes 'south pole'. However, this is rare. Most stations are distributed in an interesting way. Placing sats is more challenging, but I think this mod's station placement is more organic than the 2d plane.
Valador 11 sep om 20:05 
Look forward to testing this, thanks for the work and effort.
Reithan  [auteur] 11 sep om 3:22 
In general this should be pretty compatible with most mods, unless those mods place 'static' stations. This doesn't modify 'statically' placed stations at game-start.
Sentenza 10 sep om 9:56 
AI already sstruggle with 2D plan and you want to make it 3D?
Preliator 10 sep om 8:37 
Is this compatible with Galaxy Remake STARS mod from Nexus?
Godis 10 sep om 8:11 
This sounds pretty amazing. As far as I understand it, it's compatible with most mods out there due to its runtime patching (which would respect modded assets, as long as they're in place already on game load)?
Elec Frost 9 sep om 20:00 
quite the opportunity for paranid humor you got there
Jacky Treehorn 8 sep om 22:54 
I'm right in my first playthrough, but this sounds interesting.
Reithan  [auteur] 7 sep om 12:31 
Yep!