![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Electrician's Mate
![]() Join Date: Nov 2008
Posts: 137
Downloads: 166
Uploads: 0
|
![]()
Timetraveler posted what I put in italics below on editing a file so you can leave a map-can someone point me to the proper xml file file to do this? I suspect it's a file xml tweak or PY file in the various tutorial/missions in GameData\MISSIONS but not sure. TIA
12. Though the map size seems to be fixed at about 24km square, a simple tweak allows units to leave the map without killing the mission, expanding the play area (although you are no longer on the radar screen when you leave the map). This at least makes an almost unlimited first person playable area. -timetraveler ![]() |
![]() |
![]() |
![]() |
#2 |
Beach Leaf
![]() Join Date: Dec 2004
Location: Atlantic Shipping Lanes
Posts: 287
Downloads: 1
Uploads: 0
|
![]()
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 |
![]() |
![]() |
![]() |
#3 |
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++. |
![]() |
![]() |
![]() |
|
|