SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
09-17-15, 11:07 PM | #16 |
Captain
Join Date: Aug 2009
Posts: 481
Downloads: 71
Uploads: 3
|
Yeah. The hex values are links to ItemID in menu_1024_768.ini.
Dial is the background CrtVal (currentVal) is the indicator of where you are now NewVal is the indicator used after command is issued to show where you are going As an example, take a look at the US depth gauge. Dial is the field with the depth numbers CrtVal is the current depth indicator NewVal is the ghost needle left when you click a new depth On the spread angle dial though, Dial is the same texture, location and placement as CrtVal and as far as I can make out is covered by CrtVal. CrtVal is the dial used to indicate current spread angle. Since spread angle responds instantly, NewVal is not used. Question: Where are the itemIDs used in menu_1024_768.ini (ItemID=0x4206000A) defined? Are they just defined when declared in menu_etc or are they referencing something else? Re bug: That's not a rounding error. They forgot to account for 0 as a possible value when deciding range. Supposing you declare a range of degrees from 1-10 inclusive, that's 10 possible values. -10 to -1 is also 10 possible values. -10 to 10 is 21 possible values. They made the mistake of thinking it was 20.
__________________
My SH4 LP Last edited by ColonelSandersLite; 09-17-15 at 11:18 PM. |
09-17-15, 11:52 PM | #17 |
Captain
Join Date: Aug 2009
Posts: 481
Downloads: 71
Uploads: 3
|
And I'm pretty sure the answer is that ItemID is just set to whatever you want in menu_etc. Changing the value ItemID=0x4206000A to ItemID=0x4209900A and correcting in dials.cfg results in a working dial with no error messages.
__________________
My SH4 LP |
|
|