Skip to content

A useful winforms based tool to create new sectors in X4 Foundations

License

Notifications You must be signed in to change notification settings

Ven0maus/X4SectorCreator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

X4 Sector Creator

A tool to help mod new sectors and gate connections in X4: Foundations. This tool provides an easy way to create clusters, define sectors within those clusters, and establish gate connections between them. It generates a fully working mod directory with all necessary XML files, making the modding process seamless.

Features

  • Cluster creation (placement & visualization on map)
  • Sector creation (up to 3 per cluster for now)
  • Gate creation between custom & basegame sectors (dragging + rotating)
  • Region creation (dragging + resizing + ability to fully choose what is inside the region)
  • Possibility to create a complete custom universe if you wish
  • Auto-detect new versions and will show a popup if new version available
  • Easily edit each component by double clicking on them (clusters, sectors, gates, regions)
  • Detect when you have connections with DLC sectors and will add dependency to content.xml automatically
  • Export/Import configuration (to continue working on your changes later)
  • Export to XML (creates a mod folder with all the required files, it can be directly put in extensions folder and run)

Installation

  1. Just download the latest release, it will contain the tool executable.

Quick Guide

Creating a New Cluster

  1. Click the "New" button under the Cluster section.
  2. This will automatically create a sector with the same name.
  3. You can edit the sector by double-clicking on the new sector entry.

Creating a Connection Between Sectors

  1. Select the source sector.
  2. Click the "New" button under the Connections section.
  3. A prompt will appear where you can:
    • Select the target sector.
    • Set the gate position and rotation.

Positioning the Gate

  • Left-click within the hexagons to move the gate.
  • Right-click to rotate the gate.

Generating the XML

  1. After adding your connection, press "Generate XML".
  2. A prompt will appear asking for:
    • The name of your mod.
    • A unique prefix to prevent overlap with other mods.

Make sure your prefix is unique to avoid conflicts with other mods.

Add the resulting folder in your gamedirectory/extensions folder and enable it in-game to see the results.

License

This project is licensed under the GNU V2.0 License.


Happy modding!

Screenshots

Image Image Image Image Image