SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Sub/Naval + Other Games > Sub/Naval & General Games Discussion
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 06-25-10, 07:56 AM   #1
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
Old 06-26-10, 03:10 AM   #2
Tempest555
Electrician's Mate
 
Join Date: Nov 2008
Posts: 137
Downloads: 166
Uploads: 0
Many Thanks-I would never have found that!
Thank God for Notepad++.
Tempest555 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:51 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.