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

Closed Thread
 
Thread Tools Display Modes
Old 03-08-10, 06:11 PM   #1
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

having a hell of a time getting the speed, depth, and heading 'digits' to display. All script code is there and finally not crashing when game loads but nothing displays on screen......I can't figure it out.....
TheDarkWraith is offline  
Old 03-08-10, 06:20 PM   #2
piri_reis
Seasoned Skipper
 
Join Date: Aug 2005
Location: Istanbul, Turkiye
Posts: 715
Downloads: 115
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
having a hell of a time getting the speed, depth, and heading 'digits' to display. All script code is there and finally not crashing when game loads but nothing displays on screen......I can't figure it out.....
Maybe paste some of the code here, or say where so we can all do some brainstorming
__________________

Lt.z.S. Barbaros Hayreddin, U-35, 2nd Flot/Kiel, Type VIIB
Oct.29.1939, 2nd Patrol Eastern English Waters
Running SH5/TWOS
piri_reis is offline  
Old 03-08-10, 06:46 PM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by piri_reis View Post
Maybe paste some of the code here, or say where so we can all do some brainstorming
speed digits:

I took (what I think to be) all the needed code for the speed digits from Page Default Hud.py and placed in Page layout.py (adjust all reference names as needed - will crash game everytime if one even wrong). I cut the group associated with the speed digits from Page Default Hud and pasted to Page layout_Groupfeedback via menu editor. Moved the speed digits group to the bottom of the chain in Group_feedback in the menu editor so it's on top of everything. Fired up game and nothing.
Pasted some debug code in the UpdateSpeedDigits() function that gets fired on a Pagelayout_AnimationStopped to see if the function was getting called and it is.
Fired up game and turned menu debugging on and I don't see the bounding boxes for the new speed digits on the screen. For some reason they're not being drawn.
TheDarkWraith is offline  
Closed Thread

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 03:39 PM.


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.