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 |

List of MnID's anywhere (re: remapping keys)

 
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
ColKurtz



Joined: 15 Apr 2005
Posts: 78

PostPosted: Mon Apr 18, 2005 2:16 pm    Post subject: List of MnID's anywhere (re: remapping keys) Reply with quote

I'm trying to map the battery/o2/Co2 levels in the CE menu to a hotkey. I found "Battery level" in the ..\Menu\en_menu.txt file, and it has a string value of 2820.

I created a hotkey in Commands_en.cfg as below (commented the old Cmd180 line out) but it's not working. I'm guessing it's b/c I don't have a MnID, but I can't find a listing of these values anywhere.

Is there a listing of all MnID's, or does anyone know how to map this function?

Thanks!

===============
(what I added to Commands_en.cfg, which isn't working)

[Cmd180]
Name=Battery_Level
Ctxt=1
Str=2820
Key0=0xC0,C,"0"
Back to top
View user's profile Send private message
timetraveller



Joined: 23 Dec 2004
Posts: 967
Location: Atlantic Shipping Lanes

PostPosted: Mon Apr 18, 2005 3:43 pm    Post subject: Re: List of MnID's anywhere (re: remapping keys) Reply with quote

ColKurtz wrote:
I'm trying to map the battery/o2/Co2 levels in the CE menu to a hotkey. I found "Battery level" in the ..\Menu\en_menu.txt file, and it has a string value of 2820.

I created a hotkey in Commands_en.cfg as below (commented the old Cmd180 line out) but it's not working. I'm guessing it's b/c I don't have a MnID, but I can't find a listing of these values anywhere.

Is there a listing of all MnID's, or does anyone know how to map this function?

Thanks!

===============
(what I added to Commands_en.cfg, which isn't working)

[Cmd180]
Name=Battery_Level
Ctxt=1
Str=2820
Key0=0xC0,C,"0"


Hi ColKurtz,

MnID for the battery is MnID=0x3F110003. Scan for ItemID=0x3F110003 in the menu_1024_768.ini file and you will see its menu click source. Best of luck, but I've never had success defining new commands. If you change existing command names by one letter they don't work anymore, which indicates that the command structure (and names, in the case of new entries) must be set up somewhere else too. Let us know if you figure it out.

Cmd180 is already used for the Set_course function so if you want to play with it you'll need to rename your Battery_level command to another number available at the bottom of the list.

[Cmd180]
Name=Set_course
Ctxt=1

-timetraveller
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ColKurtz



Joined: 15 Apr 2005
Posts: 78

PostPosted: Wed Apr 20, 2005 11:24 am    Post subject: Reply with quote

Thanks! If I'm able to get it to work (not hopeful since it seems many others have tried with no success) I'll post results.

Thanks again.
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