Weapon Range Changer
🟡 Updated this yearPreview

🔍 Analysis
- ✅ Updated 21 days after the latest game patch — actively maintained
- 🏆 #38 of 43 Utilities mods in this game by downloads
📋 About This Mod
Script to increase range and speed of weapons, turrets and missiles in X4: Foundations. Increases weapon firing range for all weapon types Increases projectile speed (for proper ballistics) Supports separate multipliers for Xenon and Kha'ak
I have a lot of mods with weapons and ships, and once I thought that all the battles were too close and I wanted to increase the distance by giving the game a more cinematic look. I don't want to install VRO because not everything is balanced for it, and other mods usually affect only the original game or only DLC.
So I had to create the mod myself.
It works directly with game files, so in theory it should work with all possible mods (VRO, GBO, etc.) and all DLC. (Unless Egosoft changes the game files, of course).
Description
Script to increase or decrease the range and speed of weapons, turrets and missiles in X4: Foundations.
⚙️ How It Works:
The script modifies weapon macro files (.xml) by applying a multiplier to the attributes that determine weapon range.
Range Calculation Logic:
X4 weapons define range in different ways depending on the weapon type:
Weapon Type Range Definition Modifier Application
Beam weapons range attribute only Multiply range by multiplier
Weapons with range range attribute (speed/lifetime are secondary) Multiply range, speed, lifetime — distributed evenly
Weapons without range speed × lifetime Multiply both speed and lifetime — distributed evenly
Multiplier Distribution:
To achieve the desired total range increase, the script distributes the multiplier across all parameters that affect range:
Parameters Present Per-Parameter Multiplier Total Range Increase
range only range × 1. 5 50%
speed + lifetime each × 1. 5^(1/2) = 1. 225 50%
range + speed + lifetime each × 1. 5^(1/3) = 1. 145 50%
Example:
-
[]With
--percent 50 (multiplier = 1. 5)[/
][]If a weapon has range, speed and lifetime:
[]Each parameter gets multiplied by
1. 5^(1/3) = 1. 145[/]
[]Result:
1. 145 × 1. 145 × 1. 145 = 1. 5 → 50% total increase[/]
Beam Weapons (Special Case), beam weapons mostly use "speed of light" as their projectile speed, which is a constant. Modifying it would be incorrect and unrealistic. Therefore:
-
[]Beam weapons: only "range" is modified, "speed" and "lifetime" are left untouched[/]
[]Detection is based on "beam" in the macro name[/]
📊 Mod Details
- Game
- X4foundations Mods
- Author
- vendoom
- Version
- 1.0
- Downloads
- 91
- Endorsements
- 3
- Category
- Utilities
- Created
- 7/1/2026
- Updated
- 7/1/2026
🔧 How to Install X4: Foundations Mods
Download from Nexus Mods.
📖 Full step-by-step install guide for X4: Foundations →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for X4: Foundations commands, item IDs, and more.
Keep browsing — more X4: Foundations mods await