SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   [Help] Menu 1024_768.ini (https://www.subsim.com/radioroom/showthread.php?t=146736)

peabody 01-12-09 03:05 PM

[Help] Menu 1024_768.ini
 
In the Menu_1024_768.ini what do these number refer to:

[G26 I39]



Peabody

vanjast 01-12-09 03:27 PM

Depending on the mod... Static BMP Array in 'Periscope.tga' (or Periscope.dds)

Haven't run up sh4, but it looks like the Tube select control lights (Those round red tube pics) slide out bar.
:D

peabody 01-12-09 03:59 PM

Quote:

Originally Posted by vanjast
Depending on the mod... Static BMP Array in 'Periscope.tga' (or Periscope.dds)

Haven't run up sh4, but it looks like the Tube select control lights (Those round red tube pics) slide out bar.
:D

I worded that totally wrong. I didn't mean those 'specific' numbers. What I wanted to ask is this just a section of the menu 1024....... or does it refer to some other file that may be hardcoded. And can new sections be added?
Problem: Keltos needs some more lights for extra tubes, these sections appear to be where they are taken from the tga file and placed on the panel, and there is one for each light I to VI. If they link to something else, we may be sunk, if they are just sections that can be added and given coodinated then it may be workable.

So, basically what I mean is do these number refer to another file? If not can more sections be added?

Peabody

vanjast 01-12-09 04:12 PM

Haven't played with this but this might be what you're looking for
in C:\Games\SH4\Data\Cfg\Basic.cfg file

.
.
Comp5=5; BowTorpedo
Nb5=5
Subs50=BowDivePlanes;
BowDivePlanes=15; E_BowDivePlanes
TimeRecovery50=3
Subs51=BowTorpedoTubes
BowTorpedoTubes=14; E_BowTorpedoTubes
TimeRecovery51=2
Subs52=BowTorpedoTubes2
BowTorpedoTubes2=35; E_BowTorpedoTubes2
TimeRecovery52=2
Subs53=BowTorpedoTubes3
BowTorpedoTubes3=36; E_BowTorpedoTubes3
TimeRecovery53=2
Subs54=Hydrophones_Receivers
Hydrophones_Receivers=43;E_Hydrophones_Receivers
TimeRecovery54=1


Not sure but maybe one can add extra commands in the Commands.cfg file to accomodate the extra buttons in [G26 Ixx]
Isn't there someone that has done this already....very recently ?

peabody 01-12-09 04:31 PM

Quote:

Originally Posted by vanjast

Not sure but maybe one can add extra commands in the Commands.cfg file to accomodate the extra buttons in [G26 Ixx]
Isn't there someone that has done this already....very recently ?

Thanks for the info.

I tried a search but maybe I am not looking for the right info.

I know a while ago, Keltos made a sub and needed 8 forward tubes. On a Fleet boat when a tube is added a light is added automatically. It uses the same three lights for all of the lights. I remade the image it uses to make the lights smaller so they would not overlap each other.
On the Uboat each light is different and there are only six of them, each with a number (Roman numeral) on it. So when he adds tubes, the panel does not add lights. And the lights appear to be coming from the Menu 1024.......... I'll take a look at the other file you mentioned and see what I can find.

Thanks again for the response.


Edit: I just looked at the Basic.cfg and it's "greek to me", I don't have a clue what that is.
Peabody

Munchausen 01-12-09 07:05 PM

You can duplicate or clone commands used elsewhere, adding them to a different set of IDs (Item and Parent). But that's no guarantee they will operate. For instance, I added some of the nav tools to the attack map ... but none of them actually worked.

Somewhere on this forum, there's an old, old tutorial explaining how menu_1024_768 works. If you can locate it, you might find what it is you need to know.

Edit: Try this link:
http://www.subsim.com/radioroom/showthread.php?t=111832

peabody 01-12-09 08:42 PM

Quote:

Originally Posted by Munchausen
You can duplicate or clone commands used elsewhere, adding them to a different set of IDs (Item and Parent). But that's no guarantee they will operate. For instance, I added some of the nav tools to the attack map ... but none of them actually worked.

Somewhere on this forum, there's an old, old tutorial explaining how menu_1024_768 works. If you can locate it, you might find what it is you need to know.

Edit: Try this link:
http://www.subsim.com/radioroom/showthread.php?t=111832

Thanks Munchausen, I had read that a long time ago, and it has a lot of info. Some of it I may be using. But it doesn't really address adding stuff only changing it.

Peabody

keltos01 01-13-09 04:29 AM

just my 2 cents : since all the tubes showing in my Jyunsen 1M v 1.6 mod are forward shooting tubes, the game has already added two lights and the aft ones aren't visible or is it that is allows preferably the first six lights to the foraward tubes ?


keltos

ps I really need those 2 extra lights in the UZO/Peri....

peabody 01-13-09 12:26 PM

Quote:

Originally Posted by keltos01
just my 2 cents : since all the tubes showing in my Jyunsen 1M v 1.6 mod are forward shooting tubes, the game has already added two lights and the aft ones aren't visible or is it that is allows preferably the first six lights to the foraward tubes ?


keltos

ps I really need those 2 extra lights in the UZO/Peri....

I am not sure. I think I have found the section where the lights are taken from the picture and put on the panel. We will just have to experiment to see if we can add any or not.

Peabody

keltos01 01-13-09 02:33 PM

Good news Peabody !
I'm gonna work some more on the 3d model then.

(edit) my wife went off with my car and my computer...

keltos

keltos01 01-13-09 02:58 PM

in the basic .cfg there is this (for each sub version):

[SUBMARINE_AMMO7];IXC
Type=2
Version=1
ForeTubes=4
AftTubes=2

ForeResIntern=4
ForeResExtern=6
ForeResExtra=2
AftResIntern=2
AftResExtern=2
ShellSlots=12
NbYears=6
Renown=8
SNK_MASK=NSS_Uboattype9_SNK_mask

might not be as simple as that but I'd change it to :

[SUBMARINE_AMMO7];IXC
Type=2
Version=1
ForeTubes=6
AftTubes=2
ForeResIntern=4
ForeResExtern=6
ForeResExtra=2
AftResIntern=2
AftResExtern=2
ShellSlots=12
NbYears=6
Renown=8
SNK_MASK=NSS_Uboattype9_SNK_mask

peabody 01-13-09 03:47 PM

Quote:

Originally Posted by keltos01
in the basic .cfg there is this (for each sub version):

[SUBMARINE_AMMO7];IXC
Type=2
Version=1
ForeTubes=4
AftTubes=2

ForeResIntern=4
ForeResExtern=6
ForeResExtra=2
AftResIntern=2
AftResExtern=2
ShellSlots=12
NbYears=6
Renown=8
SNK_MASK=NSS_Uboattype9_SNK_mask

might not be as simple as that but I'd change it to :

[SUBMARINE_AMMO7];IXC
Type=2
Version=1
ForeTubes=6
AftTubes=2
ForeResIntern=4
ForeResExtern=6
ForeResExtra=2
AftResIntern=2
AftResExtern=2
ShellSlots=12
NbYears=6
Renown=8
SNK_MASK=NSS_Uboattype9_SNK_mask

That is part of the problem. The tubes and bunkers are in the submarine.upc they are on the submarine.sim file, menu1024_768, basic.cfg. How many of those are actually used? How many places do they need the same thing? And how many places have we not found yet? Very weird programming. And what is the IXC? The sub is an IXD2. And now that it is changed to the J1M, will these files even apply to it? I would think they won't since they list a specific sub. The menu1024_768 does not list a specific sub so may apply to all uboats....(all both of them)
That is what I have found frustrating as a beginner. I have found several thing left over from SH3 that are not even used, including the main Logo. How hard is it to hit delete? I know the devs have limited time to complete the game but deleting files you know are not used should not take very long.

Peabody

keltos01 01-13-09 03:56 PM

Maybe I should add the J1M to the basic.cfg and see what gives ?
btw I found the IXD2 later on..

keltos

added :

;[SUBMARINE_AMMO11];J1M
[SUBMARINE_AMMO10]
Type=2
Version=3
ForeTubes=6
AftTubes=2
ForeResIntern=4
ForeResExtern=0
ForeResExtra=2
AftResIntern=2
AftResExtern=0
ShellSlots=16
NbYears=4
Renown=10
SNK_MASK=NSS_Uboattype9d2_SNK_mask

and for each year's ammo added 2 tubes :

Year3=1945
ForeTube30=3 ;T1
ForeTube31=3
ForeTube32=4
ForeTube33=4
ForeTube34=4
ForeTube35=4

keltos01 01-13-09 04:17 PM

the attack map selector shows 8 tubes :
http://img440.imageshack.us/img440/1084/8tubeser3.jpg

peabody 01-13-09 06:27 PM

Quote:

Originally Posted by keltos01

Sorry to burst your bubble but it only shows six lights. On the .dds file you made the lights smaller, now one torpedo tube takes 1 1/4 lights. If you select the lights you will see that you can only click six times, not eight.
If you look closely at light II you will see a small black line going through the first I. That is the end of light # I and the beginning of light #II. If you look again at light number VII you will see a small black line just after the VII and that is the beginning of light VI. So there are really only six selections on the panel, even though it looks like eight.
Sorry but not solved yet.

Peabody


All times are GMT -5. The time now is 12:06 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.