[Request] Longer Range Scanner Boost

The place to discuss scripting and game modifications for X Rebirth.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

DaMuncha
Posts: 1394
Joined: Mon, 1. Nov 10, 10:00
x4

[Request] Longer Range Scanner Boost

Post by DaMuncha »

By default you have to practically fly right up to a station face to face with it to have it scanned in your data base, and you have to go to every info point on that station, face to face, to get trade offers and discounts etc. I know there was a mod that increases this to 5km but thats still too small. I'd like the scanning distance to be the actual range of my scanner which is 20km or more. So I could fly near the station and as long as it was within my radar distance I'd get all the info about the station and ships, etc. Like it was in the previous games.
User avatar
kuplo
Posts: 296
Joined: Wed, 6. Sep 06, 08:38
x3tc

Post by kuplo »

Download the 5kScanRange mod, and open up the "unlocks.xml" file with a free program like Notepad ++ and change the instances where it shows 5km to 20km like such:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<diff>
	<replace sel="/unlocks/globals">
		<globals maxdistance="21km" threshold="20km" rechecktime="5s" >
			<infopoint memorydistance="20km" memoryangle="15" memorytime="1h" />
			<missionoffer memorydistance="20km" memoryangle="15" memorytime="1h" />      
			<platform memorydistance="20km" memoryangle="15" memorytime="1h" />
			<tradeoffer memorydistance="20km" memoryangle="15" memorytime="1h" />
  </globals>		
	</replace>
</diff>
Note that I also changed what said 6km to 21km being that 6km is 1km further than 5km and it's for the maxdistance tag as seen above, whether that will work or not I'm not sure.

I believe that would allow you to do the scan from 20km although you'd still have to line up each icon with the center of your hud like you have to do now in the 5kScanRange mod. I did not test this but it stands to reason that changing the distance of 5km to 20km should work unless there is something hardcoded to prevent it I suppose.

EDIT: However, I don't think that the icons are visible from 20km so I guess that would need to be modded somehow too. Seems for me even with LOD and ViewDistance set to 100 both, the icons don't seem to pop into view until I'm about 5 to 7 km or so away from them, so I guess I wrote this up for nothing since it's not likely to work unless you can get the icons to show up from further away.

Return to “X Rebirth - Scripts and Modding”