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 > SHIII Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 11-11-05, 10:57 AM   #1
oblio
Watch
 
Join Date: Jul 2005
Posts: 25
Downloads: 0
Uploads: 0
Default Add Log Entry - Captains Log

Has anyone had any success enabling the "Add Log Entry" menu items, located on the Captain's Log screen? To be more specific, the [G35 I*] Menu items, located in the menu_1024_768.ini file; related to the "AddLogEntryGrp". Example of what I'm talking about:

[G35 I2]
Name=AddLogEntryGrp
Type=1026;Menu group
ItemID=0x35010000
ParentID=0x35000000
Pos=157,643,650,639
Color=0xFFFFFFFF

[G35 I5]
Name=LogText
Type=1035;Edit box
ItemID=0x35010002
ParentID=0x35010000
Pos=8,-9,631,581
Color=0xFFFFFF96
Materials=4
Display=4;All directions
Mat 0=data/menu/gui/layout/sel.tga
Mat 1=data/menu/gui/layout/sel.tga
Mat 2=data/menu/gui/layout/sel.tga
Mat 3=data/menu/gui/layout/sel.tga
MatFlags=0x1
TexFmt=0x9
Font=5
Text=0
TextFlags=0x10
StatesColors=0xCDBEB4FF, 0xCDBEB4FF, 0xCDBEB4FF, 0xCDBEB4FF
TextMaxLen=1014
oblio is offline   Reply With Quote
Old 11-11-05, 02:45 PM   #2
Rubini
Ocean Warrior
 
Join Date: May 2005
Location: São Paulo Brazil
Posts: 2,728
Downloads: 132
Uploads: 0
Default

Interesting... :hmm:

But perhaps is another unfinished feature by the devs...who knows... :hmm:


Rubini.
Rubini is offline   Reply With Quote
Old 11-11-05, 02:51 PM   #3
Marhkimov
Admiral
 
Join Date: May 2005
Location: Bay Area, California, USA
Posts: 2,377
Downloads: 0
Uploads: 0
Default

This looks interesting.

I can't guarantee anything, but I'll give it a look.
__________________
It takes two to tango
Marhkimov is offline   Reply With Quote
Old 11-19-05, 08:51 PM   #4
oblio
Watch
 
Join Date: Jul 2005
Posts: 25
Downloads: 0
Uploads: 0
Default

just read a post in general forum about this, so here's a bump...
oblio is offline   Reply With Quote
Old 11-19-05, 09:36 PM   #5
iambecomelife
Silent Hunter
 
Join Date: Apr 2005
Posts: 4,706
Downloads: 300
Uploads: 0


Default

bump
iambecomelife is offline   Reply With Quote
Old 11-20-05, 12:01 PM   #6
ICBM
Navy Dude
 
Join Date: Aug 2004
Location: Holland.
Posts: 175
Downloads: 0
Uploads: 0
Default

Interesting indeed, it would add much to the immersiveness if we could write our own log entries.
__________________
ICBM is offline   Reply With Quote
Old 11-20-05, 10:06 PM   #7
Observer
Commander
 
Join Date: May 2005
Posts: 477
Downloads: 6
Uploads: 0
Default

I took a look at this. The code is all in place in the menu configuration, and a few simple changes can make the "Add new log entry" text show, but there doesn't appear to be an event handler in the SH3 code to execute the text entry box. It's a real shame because the Captain's Log format supports adding the extra entries. The trick seems to be getting an event handler which reads the date/time and opens the textbox defined by this entry in the menu_1024_768.ini:

Code:
[G35 I5]
Name=LogText
Type=1035;Edit box
ItemID=0x35010002
ParentID=0x35010000
Pos=8,-9,631,581
Color=0xFFFFFF96
Materials=4
Display=4;All directions
Mat 0=data/menu/gui/layout/sel.tga
Mat 1=data/menu/gui/layout/sel.tga
Mat 2=data/menu/gui/layout/sel.tga
Mat 3=data/menu/gui/layout/sel.tga
MatFlags=0x1
TexFmt=0x9
Font=5
Text=0
TextFlags=0x10
StatesColors=0xCDBEB4FF, 0xCDBEB4FF, 0xCDBEB4FF, 0xCDBEB4FF
TextMaxLen=1014
It's possible to do this externally, but it still would require an alt-tab to work I think. I haven't looked but I think this event handler is probably in one of the protected files.
Observer 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 04:28 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.