View Single Post
Old 06-25-10, 07:56 AM   #2
timetraveller
Beach Leaf
 
Join Date: Dec 2004
Location: Atlantic Shipping Lanes
Posts: 287
Downloads: 1
Uploads: 0
Default

Hi Tempest555,

The tweak allows you to leave the map without the game killing the mission. However, when you leave the map you won't be able to track yourself on the radar map because that is fixed at the 24km range.

Open SCRIPTS\interactive\focus.py in a text editor.

Comment out the following statement (by inserting a # character):

#interactive.preventLeavingMap()

Then resave the file.

The code section is shown below.

def setDefaultWorldObjectCriterion(criterion):
'''Устанавливает критерий, используемый функцией focusNextWorldObject
при её вызове без параметров. В том числе при переключении по кнопке ~'''
global __defaultWorldObjectCriterion
__defaultWorldObjectCriterion = criterion
hud.setObjectsCanGrabFocus(getObjectsCanGrabFocus( ))
#interactive.preventLeavingMap()

__nextPreds = [lambda ind: ind+1, lambda ind: ind-1]

'=====================================

timetraveller
timetraveller is offline   Reply With Quote