SUBSIM Radio Room Forums



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

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 04-27-10, 08:03 AM   #1
java`s revenge
Ace of the Deep
 
Join Date: Jan 2007
Location: at periscope depth
Posts: 1,204
Downloads: 97
Uploads: 0
Default

That`s very nice of you TheDarkWrait

I have installed it as i always do. I have choosen for the sh3ui but i
also keep getting the sh4 ui. Very strange.
I thank you in advance.
Here is my file, i have to shorten is because the text is too long.


#+++++++++++++ UI Style ++++++++++++++
# Possible UI Styles:
SH5Enhanced = 0
SH3Style = 1
SH4Style = 2

# the current UI Style
# set below to either SH3Style, SH4Style, or SH5Enhanced
UIStyle = SH3Style


#+++++++++++++ SH5 specific UI Items +++++++++++++++

# the key used to increase the desired heading when you mouse into the heading bar
HeadingBarIncreaseHeadingKey = MenuKeyManagerWrapper.Keys.E # change the E to whatever key you want
HeadingBarDecreaseHeadingKey = MenuKeyManagerWrapper.Keys.Q # change the Q to whatever key you want

# some users may want the desired heading to increase slower. Modify this value to add delay (increment in 1's!)
HeadingBarUserDelay = 0


# the hotkey used to display the heading/rudder dial
# Format:
#
# HeadingRudderKey = False
# False = enabled
# None = key used
#
# if you wanted to enable this:
# HeadingRudderKey = True, MenuKeyManagerWrapper.Keys.C
#
# if you wanted to disable this:
# HeadingRudderKey = False, MenuKeyManagerWrapper.Keys.C
#
HeadingRudderKey = True, MenuKeyManagerWrapper.Keys.C

# the hotkey used to change the heading/rudder dial mode (heading mode or rudder mode) will be the same key
# used to toggle the display of the dial plus the shift key. So you have to press the shift key first then
# the key used to toggle the display of the dial on/off.


# integrate the fuel, battery, compressed air, and CO2 interface into the bottom bar
# change below to either True or False
IntegrateLevels = True


#+++++++++++++ SH3/4/5 specific UI items ++++++++++++++++
#
# the hotkey used to toggle follow target (when you have a target selected you can enable this to have the camera
# automatically follow the target as it moves.)
# Format:
#
# FollowSelectedTargetHotKey = False
# False = enabled
# None = key used
#
# if you wanted to enable this:
# FollowSelectedTargetHotKey = True, MenuKeyManagerWrapper.Keys.X
#
# if you wanted to disable this:
# FollowSelectedTargetHotKey = False, MenuKeyManagerWrapper.Keys.X
#
FollowSelectedTargetHotKey = True, MenuKeyManagerWrapper.Keys.X

# the hotkey used to toggle the nomograph visibility on the mini-map. Nomograph is always visible on nav-map
# Format:
#
# NomographVisibleOnMiniMapHotKey = False
# False = enabled
# None = key used
#
# if you wanted to enable this:
# NomographVisibleOnMiniMapHotKey = False, MenuKeyManagerWrapper.Keys.N
#
# if you wanted to disable this:
# NomographVisibleOnMiniMapHotKey = False, MenuKeyManagerWrapper.Keys.N
#
NomographVisibleOnMiniMapHotKey = False, MenuKeyManagerWrapper.Keys.N

# is the nomograph draggable on the nav map?
NomographDraggableOnNavMap = False

# does the tool helper default to on state at game start (map tools)?
ToolHelperOnAtGameStart = False

# teleport on crash dive?
TeleportOnCrashDive = True

# if teleport on crash dive, time interval to wait before giving the crash dive command (simulates crew clearing the topside deck) (this value is in seconds - i.e. 5.5 would be 5 and a half seconds)
TeleportOnCrashDiveWaitTime = 5

# when a new contact is added to the nav map, does the TC drop back to 1?
SetTC1OnNewNavMapContact = True


#+++++++++++++ SH3/5 specific UI items ++++++++++++++++++
# are the officers enabled (are the officer icons allowed to be rendered)?
# change below to either True or False
RenderOfficerIcons = True


#################################### TDC style (SH3/4/5 modes) #################################

#+++++++++++++++++++ TDC modes +++++++++++++++++++++
# Possible TDC modes:
#
# NOTDCDials - no dials
# TDCSpreadAngle - just the spread angle dial for salvo attacks
# TDCMinimalDials - minimal TDC dials
# TDCAllDials - all TDC dials
#
NOTDCDials = 0
TDCMinimalDials = 1
TDCAllDials = 2
TDCSpreadAngle = 3

# the current TDC mode - NOTE: NOT OPERATIONAL - Only valid values are NOTDCDials and TDCMinimalDials
# change below to either NOTDCDials, TDCSpreadAngle, TDCMinimalDials, or TDCAllDials
TDCMode = TDCMinimalDials

#+++++++++++++++++++ Show TDC in UZO, Obs, and Attack ++++++++++++++++++
# set to False to disable, True to enable at game start
#
# At game start, do you want the dials to be displayed in each of these stations?
# change below to either True or False for each
ShowAttackTDC = True
ShowObsTDC = True
ShowUZOTDC = True

# if a TDC mode is selected that allows dials, there will be a button on the torpedo box lower section right bottom side
# that is used to toggle the dials visibility for that station


#################################### For Dials - SH3 and SH4 UI Modes only ##################################

#++++++++++++++ Dial zoom/unzoom animation speed +++++++++++++++
# rate at which dials grow and shrink (in seconds)
# default is 0.10 seconds
DialsAnimationSpeed = 0.10

#++++++++++++++ Base Zoom +++++++++++++++
# Base Zoom levels
# when MouseIn the dial will grow by this number
# default is 200
BaseZoomThrottle = 200
# default is 200
BaseZoomSpeed = 200
# default is 200
BaseZoomHeading = 200
# default is 200
BaseZoomRudder = 200
# default is 200
BaseZoomDepth260 = 200
# default is 200
BaseZoomDepth25 = 200

#++++++++++++++ Can Zoom +++++++++++++++
# which dials can zoom
# change True to False to disable zoom on that dial
#
# set below to either True or False for each
ThrottleCanZoom = True
SpeedCanZoom = True
HeadingCanZoom = True
RudderCanZoom = True
Depth260CanZoom = True
Depth25CanZoom = True

#++++++++++++++ Offsets +++++++++++++++
# y offset adjustment when mouse in/out and image goes offscreen (BaseZoom - for dynamically repositioning dials)
DialsBaseZoomOffsetYAdjustment = 10

# x offset adjustment when mouse in/out and image goes offscreen (BaseZoom - for dynamically repositioning dials)
DialsBaseZoomOffsetXAdjustment = 10

#+++++++++++++ Enums ++++++++++++++
# zooming/unzooming
# an enumeration of possible zoom states (do not change!)
unzoom = 0
zoom = 1


#+++++++++++++ Flags for zoom state +++++++++++++
# Zoom State Flags (value of zoom or unzoom)
# the current zoom state of the dial
#
# set below to either unzoom or zoom for each
ThrottleZS = unzoom
SpeedZS = unzoom
HeadingZS = unzoom
RudderZS = unzoom
Depth260ZS = unzoom
Depth25ZS = unzoom


##################################### Message Box (SH3/4/5 modes) ####################################
# these control the height and width of the message box. They are multiplied by a set value so increment in small values!
MessageBoxWidthFactor = 2.5 # stock is 2
MessageBoxHeightFactor = 5 # stock is 3

# this will cause the message box to start in the expanded mode when the game starts
# change below to either True or False
MessageBoxStartsExpanded = False

# is the message box displayed at game start?
# change below to either True or False
DisplayTheMessageBox = False

# the hotkey used to toggle the messagebox visibility
# Format:
#
# DisplayTheMessageBoxHotKey = false
# False = enabled
# None = key used
#
# if you wanted to enable this:
# DisplayTheMessageBoxHotKey = True, MenuKeyManagerWrapper.Keys.L
#
# if you wanted to disable this:
# DisplayTheMessageBoxHotKey = False, MenuKeyManagerWrapper.Keys.L
#
DisplayTheMessageBoxHotKey = True, MenuKeyManagerWrapper.Keys.L

# to toggle the messagebox between minimized and maximized states use the hotkey used to toggle visibility with the shift key

# at what TDC mode do we ensure the messagebox is shown and maximized (it will show when the TC level is greater than or equal to this value)?
ShowMessageBoxAndExpandAtTCLevel = 32

# when we drop below the ShowMessageBoxAndExpandAtTCLevel do we restore the messagebox?
RestoreMessageBoxAfterTCLevel = True


##################################### Mini-Map (SH3/4/5 modes) ######################################
# change below to either True or False for each
#
SelectedContactGUIEnabled = False # stock False
ParallelCourseButtonEnabled = True # stock False
InterceptCourseButtonEnabled = True # stock False
DepthGroupHighlightBitmapEnabled = False # stock False
ThrottleHighlightBitmapEnabled = False # stock False
ZoomInOutEnabled = True # stock False
MapCoordinatesEnabled = False # stock False
TorpedoImpactPointsEnabled = False # stock False
VisualContactsEnabled = True # stock True
VisualEnabled = True # stock True
HydrophoneEnabled = True # stock True
HydrophoneContactsEnabled = True # stock True
RadarEnabled = True # stock True
RadarContactsEnabled = True # stock True
SonarEnabled = True # stock True
SonarContactsEnabled = True # stock True
ViewConesEnabled = False # stock False
ContactInfoTextEnabled = True # stock True
TorpedoSolutionEnabled = False # stock False
LocationsInTAIEnabled = False # stock False
IsTacticalMapEnabled = True # stock True
StrategicObjectivesEnabled = True # stock True

# should the mini-map switch to TAI mode when the obs, attack, or UZO station is selected?
# set to False to have the mini-map switch to minimized mode on obs, attack, or UZO station selected. When set to True
# the mini-map will set to TAI mode on those stations selected.
# change below to either True or False
TAIModeOnScopeUZOStationSelected = True

# enums for TAIMode on game start (DO NOT CHANGE)
Minimized = 0
TAI = 1
Maximized = 2

# When game starts, what the status of the mini-map? Does user want it minimized, TAI mode, or maximized?
# change below to either Minimized, TAI, or Maximized
TAIModeOnGameStart = TAI


##################################### Player Guidance (SH3/4/5 modes) ####################################
# are player guidance events enabled? (are they shown)
# change below to either True or False
PlayerGuidanceEnabled = False


##################################### Player Objectives (SH3/4/5 modes) ###################################
# are player objective events enabled? (are they shown)
# change below to either True or False
PlayerObjectivesEnabled = False

# if the mission is a tutorial, are Player Objectives enabled at game start? (overrides PlayerObjectivesEnabled at game start)
IfTutPlayerObjsEnabledAtGameStart = True


##################################### XO TDC Dialog box (SH3/4/5 modes) ###################################
# is the XO and his dialog box visible on the UZO, attack, and obs scopes views?
# change below to either True or False
XOTDCDialogEnabled = True


##################################### Item Notes ################################################## ########
# this enables or disables the item notes from showing. The item notes is the text that displays above
# the message box when you mouse over certain items
#
# change below to either True or False
ShowItemNotes = True


##################################### Orders Bars and Order Categories (SH3/5 modes) ####################################
# when user clicks on order from order bar, does the order bar hide itself or stay visible?
# set to True to have order bar hide itself when order selected
# change below to either True or False
HideOrderBarOnOrderClicked = False

# when user presses a key, does the order bar hide itself or stay visible?
# set to True to have order bar hide itself when key is pressed
# change below to either True or False
HideOrderBarOnKeyPress = False

# do the order categories scroll down when moused out and scroll up when moused in?
# set to True to have the order categories scroll
# change below to either True or False
OrderCategoriesScroll = False


##################################### Lock/Break Lock (SH3/4/5 modes) ###############################################
# The lock/break lock displays in the attack, obs, and UZO views. Set to True to enable them.
# change below to either True or False
ShowLockBreakLock = False


###################################### Teleporting ##############################################
# the hotkeys assigned to the teleport commands
#
# Format:
#
# TeleportToObsScope = False
# False = enabled
# None = key used
# False = shift key required
#
# so if you wanted the teleport to obs scope hot key to be shift + T:
# TeleportToObsScope = True, MenuKeyManagerWrapper.Keys.T, True
#
# if you didn't want to assign a hotkey for teleport to obs scope:
# TeleportToObsScope = False, MenuKeyManagerWrapper.Keys.T, False
#
TeleportToObsScope = MenuKeyManagerWrapper.Keys.7, True
TeleportToAttackScope = MenuKeyManagerWrapper.Keys.6, True
TeleportToUZO = MenuKeyManagerWrapper.Keys.8, True
TeleportToRadar = [ False, None, False ]
TeleportToHydrophone = MenuKeyManagerWrapper.Keys.9, True
TeleportToDeckGun = MenuKeyManagerWrapper.Keys.g, True
TeleportToFlakGun = MenuKeyManagerWrapper.Keys.f, True

# the hotkey used to bring up the Teleporting order bar
# Format:
#
# DisplayTeleportingOrderBarKey = False
# False = enabled
# None = key used
# False = shift key required
#
# so if you wanted the teleport to obs scope hot key to be shift + T:
# DisplayTeleportingOrderBarKey = True, MenuKeyManagerWrapper.Keys.T, True
#
# if you didn't want to assign a hotkey for teleport to obs scope:
# DisplayTeleportingOrderBarKey = False, MenuKeyManagerWrapper.Keys.T, False

# DisplayTeleportingOrderBarKey = True, MenuKeyManagerWrapper.Keys.T, False

# if teleported to obs or attack scope and you leave the station, do you teleport back to bridge?
ObsAndAttackReturnToBridge = False


######################################## Contact Spotted ########################################
# enum of the available date time formats
#
MMDDYYTimeFormat = 0
DDMMYYTimeFormat = 1
MMDDYYMilitaryTimeFormat = 2
DDMMYYMilitaryTimeFormat = 3
ContactDateTimeStampFormat = MMDDYYMilitaryTimeFormat


##################################### others MODs ###############################################

# emtguf's periscope rework enabled (adds support for his mod)
# change below to either True or False
emtgufPeriscopeReworkEnabled = False


#+-------------------------------------- ottos chalkboard --------------------------------------
# the hotkey used to bring up ottos chalkboard
# Format:
#
# ShowChalkBoardHotKey = [ False, None, False ]
# False = enabled
# None = key used
# False = shift key required
#
# so if you wanted to show the chalkboard and hot key to be shift + B:
# ShowChalkBoardHotKey = True, MenuKeyManagerWrapper.Keys.B, True
#
# if you didn't want to assign a hotkey for ottos chalkboard:
# ShowChalkBoardHotKey = False, MenuKeyManagerWrapper.Keys.B, False
#
ShowChalkBoardHotKey = True, MenuKeyManagerWrapper.Keys.B, True

# the hotkey used to increase the chalkboard count
# Format:
#
# IncreaseChalkBoardCountHotKey = False
# False = enabled
# None = key used
# False = shift key required
#
# so if you wanted the increase chalkboard count hot key to be shift + K:
# IncreaseChalkBoardCountHotKey = True, MenuKeyManagerWrapper.Keys.K, True
#
# if you didn't want to assign a hotkey for ottos chalkboard:
# IncreaseChalkBoardCountHotKey = False, MenuKeyManagerWrapper.Keys.K, False
#
IncreaseChalkBoardCountHotKey = True, MenuKeyManagerWrapper.Keys.K, False

# the message displayed on the chalkboard
# you have to use all 3 messages or you will get error!
# if you want one line to not have a message then use """"
OttosChalkBoardMessage = [
"Hier ist ein U-Boat Cocktail!!"
,"ChalkBoard Tally"
,"edit your favorite"
]
__________________
java`s revenge is offline   Reply With Quote
Old 04-27-10, 08:09 AM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by java`s revenge View Post
That`s very nice of you TheDarkWrait

I have installed it as i always do. I have choosen for the sh3ui but i
also keep getting the sh4 ui. Very strange.
I thank you in advance.

Here is my file, i have to shorten is because the text is too long.

# the hotkey used to bring up ottos chalkboard
# Format:
#
# ShowChalkBoardHotKey = [ False, None, False ]
look above in yellow. ALL hotkeys have to follow the format specified under their # Format: tag

Almost all of yours are missing [ ] which will cause a nasty python error and the problems you're experiencing.
TheDarkWraith is offline   Reply With Quote
Old 04-27-10, 08:25 AM   #3
panosrxo
Planesman
 
Join Date: Jan 2010
Location: Greece
Posts: 188
Downloads: 115
Uploads: 0
Default

does your observation scope work? mine is messed up. Scope is too low, part of it is out of the screen.
I use minimal dials.
panosrxo is offline   Reply With Quote
Old 04-27-10, 08:37 AM   #4
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by panosrxo View Post
does your observation scope work? mine is messed up. Scope is too low, part of it is out of the screen.
I use minimal dials.

can you show a screenshot of the problem?
TheDarkWraith is offline   Reply With Quote
Old 04-27-10, 09:04 AM   #5
panosrxo
Planesman
 
Join Date: Jan 2010
Location: Greece
Posts: 188
Downloads: 115
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
can you show a screenshot of the problem?


Screenshot is 1280x720 but the problem is about the same with 1920x1080
panosrxo is offline   Reply With Quote
Old 04-27-10, 09:05 AM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by panosrxo View Post
does your observation scope work? mine is messed up. Scope is too low, part of it is out of the screen.
I use minimal dials.

are the other scopes (attack, uzo) ok?

EDIT:

just looked at obs scope in minimal dials and it's my error. Don't know how some value got changed but it did......

Here is a fix for that problem:

http://www.filefront.com/16277129/Mi...bs-bug-fix.7z/
TheDarkWraith is offline   Reply With Quote
Old 04-27-10, 09:34 AM   #7
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

added another tool to map tools: Toggle draggable compass. This allows you to use either the original draggable compass in v1.9.0 or the compass recommended by kylania. When the toggle draggable compass is not selected (grey color) you get the original draggable compass in v1.9.0. When selected (orange) you get the new one.

unselected:


selected:
TheDarkWraith is offline   Reply With Quote
Old 04-27-10, 09:50 AM   #8
Athlonic
Chief
 
Join Date: Apr 2005
Location: France
Posts: 311
Downloads: 51
Uploads: 2
Default

Quote:
Originally Posted by TheDarkWraith View Post
are the other scopes (attack, uzo) ok?

EDIT:

just looked at obs scope in minimal dials and it's my error. Don't know how some value got changed but it did......

Here is a fix for that problem:

http://www.filefront.com/16277129/Mi...bs-bug-fix.7z/
Thanks had this prob too, if only Ubisoft releases fixes as fast as you ^^


TheDarkWraith : The man who mods faster than we are able to test his work !
(I have downloaded the 1.6.0 version on friday, and now already a 1.9.0 out !)

You are the man !

Athlonic is offline   Reply With Quote
Old 04-27-10, 08:31 AM   #9
kylania
Silent Hunter
 
Join Date: Aug 2006
Posts: 3,528
Downloads: 118
Uploads: 0
Default

The problem with that big compass is that it's not scaled properly in SH5. If you noticed in the SH3 screenshot, the inner rings can be used to draw accurate distances quickly. In SH5 the scale of it changes so that depending on the zoom level you're at you'll get wildly different values for the same distance of line. I'll try to take some screenshots that show that at work.

Here's the documentation for that compass ruler and how it's supposed to work.

Also simply deleting the night_filter.dds seemed to work OK in a quick test. In SH5 the night filter did seem like you were in red light mode with little lamps providing illumination. In SH5 it was more just a uniform washed out look. Probably just needs tweaking.
__________________

kylania is offline   Reply With Quote
Old 04-27-10, 08:45 AM   #10
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,288
Downloads: 262
Uploads: 31
Default

Quote:
Originally Posted by kylania View Post
The problem with that big compass is that it's not scaled properly in SH5. If you noticed in the SH3 screenshot, the inner rings can be used to draw accurate distances quickly.
With regards to scalling has anyone figured out the problem with the Bearing tool only being visible on the 2 most zoomed in levels.
Ie the 2 zoom levels where it displays the Sub a top down graphic rather than the Circle and tail of all the oter zoom levels.

If we could figure what is making it switch between the circle/tail icon and the Sub icon we may find a way to get the 3000m Bearing working.
reaper7 is offline   Reply With Quote
Old 04-27-10, 08:47 AM   #11
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by reaper7 View Post
With regards to scalling has anyone figured out the problem with the Bearing tool only being visible on the 2 most zoomed in levels.
Ie the 2 zoom levels where it displays the Sub a top down graphic rather than the Circle and tail of all the oter zoom levels.

If we could figure what is making it switch between the circle/tail icon and the Sub icon we may find a way to get the 3000m Bearing working.
the MapControl controller controls this. Haven't found a way to make it change the zoom level at which it switches (set at second to last and appears hard coded)
TheDarkWraith is offline   Reply With Quote
Old 04-27-10, 08:53 AM   #12
Sonarman
The Old Man
 
Join Date: Mar 2002
Location: Ayr,Scotland,UK
Posts: 1,396
Downloads: 79
Uploads: 0
Default

If the compass is not scalling properly maybe it would be possible to scale it manually to the correct size in Photoshop and use a different image for each level of zoom? That might actually produce better results anyway as it maybe better/sharper than the games inbuilt scaling engine?


I switched to the SH3 style UI today with the min TDC dials mod and found that the teleport controls seem to be all messed up some controls doing nothing when clicked others dumping you off the boat. I previously used the SH5 enhanced UI and all was fine there.
__________________
"The action is simulated...the excitement is real!"
Microprose Simulation Software.
Sonarman is offline   Reply With Quote
Old 04-27-10, 08:58 AM   #13
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Sonarman View Post
If the compass is not scalling properly maybe it would be possible to scale it manually to the correct size in Photoshop and use a different image for each level of zoom? That might actually produce better results anyway as it maybe better/sharper than the games inbuilt scaling engine?


I switched to the SH3 style UI today with the min TDC dials mod and found that the teleport controls seem to be all messed up some controls doing nothing when clicked others dumping you off the boat. I previously used the SH5 enhanced UI and all was fine there.
interesting I'll have to try it and see for myself
TheDarkWraith is offline   Reply With Quote
Old 04-27-10, 09:42 AM   #14
reaper7
sim2reality
 
Join Date: Jun 2007
Location: AM 82
Posts: 2,288
Downloads: 262
Uploads: 31
Default

Quote:
Originally Posted by TheDarkWraith View Post
the MapControl controller controls this. Haven't found a way to make it change the zoom level at which it switches (set at second to last and appears hard coded)
Quote:
Originally Posted by Sonarman View Post
If the compass is not scalling properly maybe it would be possible to scale it manually to the correct size in Photoshop and use a different image for each level of zoom? That might actually produce better results anyway as it maybe better/sharper than the games inbuilt scaling engine?
Looks like that may be our only option so. If we create an DDS to correspond to each zoom level, then as we zoom in/out make all the images bar the one we want hidden. Don't see why that wouldn't work.
After all the TAI Map gives us a distance scale, just need to create the bearing to that scale for each level.

Edit: Only snag may be centering it on the sub (Circle/Tails) icon when the map is scrolled around. (Sure its poss)
reaper7 is offline   Reply With Quote
Old 04-27-10, 09:53 AM   #15
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by reaper7 View Post
Looks like that may be our only option so. If we create an DDS to correspond to each zoom level, then as we zoom in/out make all the images bar the one we want hidden. Don't see why that wouldn't work.
After all the TAI Map gives us a distance scale, just need to create the bearing to that scale for each level.

Edit: Only snag may be centering it on the sub (Circle/Tails) icon when the map is scrolled around. (Sure its poss)
yes that snag is a valid one. It's doable but it won't be pretty. You'd have to hook into the AnimationStopped of Page Default Hud and tell it to draw the overlay where the sub is located every update. This would be happening every 0.06 second......highly inefficient. We need to find a better way.

just looked into the Page Default Hud.py file to see if there was a way to hook into the zooming/unzooming of the map and there is:

def ZoomInButton_Clicked( sender ):
PageDefaultHud_MapGroup_Mapcontrol.ZoomIn()

def ZoomOutButton_Clicked( sender ):
PageDefaultHud_MapGroup_Mapcontrol.ZoomOut()

As you can see the Mapcontrol controller takes care of everything.......
TheDarkWraith is offline   Reply With Quote
Reply

Tags
dbrn, favorite, new ui

Thread Tools
Display Modes

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 06:17 AM.


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