SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   [REL] Hidden TAI map features. (https://www.subsim.com/radioroom/showthread.php?t=164798)

gutted 03-13-10 11:43 PM

[REL] Hidden TAI map features.
 
Hidden TAI Map Features v0.5


What Does It Do?

Adds two hidden buttons to your TAI map that the devs left out.

Parallel & Intercept Buttons.

Whenever you have a target locked you can:
Hit the paralell button, and the crew will turn your boat on a paralell course.
Hit the intercept button, and the crew will turn your boat to an intercept course (though it MAY just be a direct course, havent left port to really test it more).

Paralell (note: the green arrow is not photoshopped)
http://img69.imageshack.us/img69/9694/parallel.png


Intercept:
http://img24.imageshack.us/img24/6921/intercept.png


HOW TO ENABLE THIS:

Open up Silent Hunter 5\data\scripts\menu\Page Default Hud.py

Search for:
def SetMiniMap( boolvalue ):

Look down a few lines and change these values to True:
Code:

    PageDefaultHud_MapGroup_ParallelCourseButton.Visible = False
    PageDefaultHud_MapGroup_InterceptCourseButton.Visible = False

That's it.


I'm not providing it as a full mod because:
1. It's extremely gamey (the map contacts guys might like it though)
2. The changes are so miniscule.
3. Alot of other mods either already have.. or will be modifiying this file in the future.



Safe-Keeper 03-13-10 11:43 PM

Nice find!

gutted 03-13-10 11:46 PM

There may be more. I'm still looking :D

Elphaba 03-14-10 12:07 AM

Amazing Find! Well done.

Now why on earth would the Dev's leave this out??? WTH were they thinking?

Grrrrrr

gutted 03-14-10 12:13 AM

Ho Ho Ho!! Look what i found....
http://img28.imageshack.us/img28/3052/headingtape.png


Heading indicator? It's fully functional btw. Why did they disable that?


In the same file.. search for:
PageDefaultHud_Feedback_BottomBar_Heading.Visible = False

and change it to True

I might try to position it better, but i suck at the menu editor.

gutted 03-14-10 12:21 AM

There's some zoom in & out buttons at the bottom right corner as well. Not sure how useful they'll be. Ignoring them.

gutted 03-14-10 12:50 AM

Apparently there was an orders bar they ditched.

Still pretty functional for the most part, though clicking the buttons does nothing. Probably have to enable other areas in this file to see them.
http://img16.imageshack.us/img16/3018/ordersbar.png

I was able to enable it partly by changing this:
DisplayPageDefaultHud_Orders = ScriptEventArgsBoolWrapper( False )

To this:
DisplayPageDefaultHud_Orders = ScriptEventArgsBoolWrapper( True )


Looking around the file to see what else is tied to this that is disabled.

mookiemookie 03-14-10 12:56 AM

Quote:

Originally Posted by Elphaba (Post 1314226)
Amazing Find! Well done.

Now why on earth would the Dev's leave this out??? WTH were they thinking?

Grrrrrr

They may have been thinking of a "shadow convoy" or "intercept convoy" order from BdU

Elphaba 03-14-10 01:01 AM

I've found a 'slight' bug with this I think.

When the TAI is minimized, those two buttons don't get hidden - they get shunted out to the left and you can just seem one visible behind the L shaped gui on the bottom left of the screen.

Is this just me it's happening too?

gutted 03-14-10 01:04 AM

No i noticed it too. It may be why they hid them.. but then again.. i see alot of stuff they hid.

TheDarkWraith 03-14-10 01:08 AM

Quote:

Originally Posted by gutted (Post 1314280)
No i noticed it too. It may be why they hid them.. but then again.. i see alot of stuff they hid.

A lot of that stuff was disabled because it either a) wasn't finished, b) isn't fully functional, or c) is buggy. There's more than what you've discovered.

gutted 03-14-10 01:15 AM

Quote:

Originally Posted by TheDarkWraith (Post 1314282)
There's more than what you've discovered.

Yeah i know, i can see most of them hehe. Just trying to see what works and what doesn't. I would really like to get that orders bar functional.

The heading tape im definately keeping on. It's nice to see my course at a glance.

TheDarkWraith 03-14-10 01:18 AM

Quote:

Originally Posted by gutted (Post 1314287)
Yeah i know, i can see most of them hehe. Just trying to see what works and what doesn't. I would really like to get that orders bar functional.

The heading tape im definately keeping on (i dont use the new Dial UI). It's nice to see my course at a glance.

the orders bar can be made functional - just takes some script work.

gutted 03-14-10 01:26 AM

I'm looking through it, but im not very familiar with the way SH does things. I've never done any UI modding in previous versions, so there's alot of things i need to learn to do anything major.

I've also never done any python scripting. I'm just relying on my C/C++/C# knowledge and mimicking the syntax i see whenever i want to do something.

wamphyri 03-14-10 01:39 AM

the python stuff is new to sh5. They didn't let us have access to as much in the other games as we do in sh5. Tho it's annoying as hell that they release the game and we have to finish it.


All times are GMT -5. The time now is 10:31 PM.

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.