Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

Add Log Entry - Captains Log

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop
View previous topic :: View next topic  
Author Message
oblio



Joined: 07 Jul 2005
Posts: 23

PostPosted: Fri Nov 11, 2005 10:57 am    Post subject: Add Log Entry - Captains Log Reply with quote

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
Back to top
View user's profile Send private message
Rubini



Joined: 13 May 2005
Posts: 1149
Location: São Paulo Brazil

PostPosted: Fri Nov 11, 2005 2:45 pm    Post subject: Reply with quote

Interesting... :hmm:

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


Rubini.
Back to top
View user's profile Send private message Send e-mail
Marhkimov



Joined: 22 May 2005
Posts: 2392
Location: Bay Area, California, USA

PostPosted: Fri Nov 11, 2005 2:51 pm    Post subject: Reply with quote

This looks interesting.

I can't guarantee anything, but I'll give it a look. Yep
Back to top
View user's profile Send private message
oblio



Joined: 07 Jul 2005
Posts: 23

PostPosted: Sat Nov 19, 2005 8:51 pm    Post subject: Reply with quote

just read a post in general forum about this, so here's a bump...
Back to top
View user's profile Send private message
iambecomelife



Joined: 11 Apr 2005
Posts: 1047

PostPosted: Sat Nov 19, 2005 9:36 pm    Post subject: Reply with quote

bump
Back to top
View user's profile Send private message Send e-mail
ICBM



Joined: 29 Aug 2004
Posts: 580
Location: Holland.

PostPosted: Sun Nov 20, 2005 12:01 pm    Post subject: Reply with quote

Interesting indeed, it would add much to the immersiveness if we could write our own log entries.
Back to top
View user's profile Send private message
Observer



Joined: 05 May 2005
Posts: 486

PostPosted: Sun Nov 20, 2005 10:06 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group