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)
-   -   i need help with the shells.zon (https://www.subsim.com/radioroom/showthread.php?t=149755)

Webster 03-25-09 02:01 AM

i need help with the shells.zon
 
im trying to mod the sub deck guns but they do not show on the list!

the shells dat shows only 3", 4", 4.7" 5", and 5.25" (the rest are AA or surface ship guns)

now 5.25 matches so thats found but wheres the 3.5 and the 4.5 guns?

the sim IDs dont match anything in the dat or the zon files and for the life of me i cant get the seach to find anything.


im guessing the 3" and 4" are supposed to be the 3.5" and 4.5" but what about the 4.7? what is that?


can someone reassure me which guns are us sub deck guns and confirm the 88mm and 105mm are GE u-boat deck guns

Nisgeis 03-25-09 03:30 AM

If you are talking about size of shells, then the 3"/50 takes 3" shells, the 4"/50 takes 4" shells and the 5"/25 takes 5" shells. 4.7" is a size found on a lot of destroyers - Japanese and I think US.

keltos01 03-25-09 04:55 AM

and you should ask Peabody directly since he implemented the IJN guns in game for our IJN Campaign, I only did the 3D.

I know that the game doesn't always use the "right" shell for the right gun and that there is very little difference between 4.7 inch, 5 inch and 5.5 inch shells in terms of HP.

keltos

Webster 03-25-09 08:22 AM

Quote:

Originally Posted by Nisgeis (Post 1071564)
If you are talking about size of shells, then the 3"/50 takes 3" shells, the 4"/50 takes 4" shells and the 5"/25 takes 5" shells. 4.7" is a size found on a lot of destroyers - Japanese and I think US.


well thats why im so lost here, i thought 3.5 took 3.5 shells

so then

3.5 gun = 3" shells

4.5 gun = 4" shells

5.25 gun = 4.7" shells

now german deck guns must be different because the gun and shell sizes look like they match unless i got these wrong?

88mm gun = 88mm shells

105 gun = 105mm shells

Webster 03-25-09 08:25 AM

Quote:

Originally Posted by keltos01 (Post 1071582)
and you should ask Peabody directly since he implemented the IJN guns in game for our IJN Campaign, I only did the 3D.

I know that the game doesn't always use the "right" shell for the right gun and that there is very little difference between 4.7 inch, 5 inch and 5.5 inch shells in terms of HP.

keltos


well if i mod the wrong gun it could be a very nasty surprise in game :o lol


whats realy puzzling is you can match the ids from the dat to the zon but i cant match the sim ids to anything and thats the problem i ran into


another very curious note is EVERY gun in the game has AA shells even the 16", i would like to see a planes reaction to a 16" AA shell coming at him :har:

peabody 03-25-09 12:25 PM

Quote:

Originally Posted by WEBSTER (Post 1071663)
well thats why im so lost here, i thought 3.5 took 3.5 shells

so then

3.5 gun = 3" shells

4.5 gun = 4" shells

5.25 gun = 4.7" shells

now german deck guns must be different because the gun and shell sizes look like they match unless i got these wrong?

88mm gun = 88mm shells

105 gun = 105mm shells

The deckguns for the subs are in the GerSubParts and USSubParts. and the 3_50 is a 3inch/50caliber gun, but it does not use a 3 inch shell. It actually uses a 88mm shell.
The US guns are 3/50, 4/50, and 5/25. The only one listed for uboat is the 105mm. The type XVIII doesn't have a deckgun on it.

To check the shells go to the USSubParts, pick the gun.sim and wpn_cannon, on the right is ammo storage and you find the shells there. Open for example the AP and it says shell=##########. select that, and at the bottom is a value, that is the ID that should match the ID in Shell.dat file.
The shell.dat ID should match a parent ID in the shell.sim file. And the shell.sim ID should match a Parent ID in the shell.zon file.

One thing you want to make sure is that you are in the right window when you do the "Find". For example you click in the shell.dat file and then open the shell.sim file and do a find but since the shell.dat is the last window you clicked it, it may be searching in the .dat file and not the .sim. So make sure you paste the ID into the "Find" box, then click somewhere in the .sim file and then select "find next". Same for the zon, make sure you click somewhere in the .zon window after you paste into the "find" box but before you click "find next" And make sure 'direction' is set to "all' not just up or down.

Just for info:
The US 3/50 uses an 88mm shell
The US 4/40 uses the 105mm
The US 5/25 uses the 5_25 shell

Don't ask me, I didn't write it. :hmmm:

The Uboat 105mm uses the 105mm

If you are not finding links, I would suspect you are searching the wrong window. So make sure you paste into "find" THEN click in the window BEFORE you click "Find Next".

Peabody

Nisgeis 03-25-09 04:57 PM

That's mental! I'd never have guessed at that arrangement.

The 3"/50 is called that because it's a way of describing the barrel length relative to the shell they fire. The second number multiplied by the shell size is the length of the barrel, so a 3"/50 is 3" x 50 = 150" long and a 4"/50 if 200" long and a 5"/25 is 125" long. You can see at a glance the relative lengths.

Webster 03-25-09 08:12 PM

Quote:

Originally Posted by peabody (Post 1071811)
Just for info:
The US 3/50 uses an 88mm shell
The US 4/40 uses the 105mm
The US 5/25 uses the 5_25 shell

Don't ask me, I didn't write it. :hmmm:

The Uboat 105mm uses the 105mm

Peabody


ok so if i only mod the 5.25 and the 88mm and the 105mm it covers every sub deck gun in the game?

and then all others are ship or land based gun shells correct?

now the million dollar question, the AA guns? are the guns and shells connected by name or are they all fubar too?

and i am assuming the ammo amounts in the basic cfg is correctly named for the guns but i better ask you that too


the last time i modded all this it was with the minitweaker and the names all matched so it was a no brainer, i never dreamed it was all mixed up like this

peabody 03-26-09 12:35 AM

Quote:

Originally Posted by Nisgeis (Post 1072061)
That's mental! I'd never have guessed at that arrangement.

The 3"/50 is called that because it's a way of describing the barrel length relative to the shell they fire. The second number multiplied by the shell size is the length of the barrel, so a 3"/50 is 3" x 50 = 150" long and a 4"/50 if 200" long and a 5"/25 is 125" long. You can see at a glance the relative lengths.

It's all mental!! Only in English would you have a word like caliber that means three different things. Inside of a barrel, outside of a wire, and barrel length relative to its diameter. So the caliber is the size of the shell but, the caliber is the barrel length relative to its caliber. Wait. No. Its caliber is its diameter. no.... its length relative to its caliber is its caliber. That can't be it....I'll get it.....I'm getting a headache.:doh:

@Webster, when I said the gun uses an 88mm shell, I meant in game not in real life. So there are some messed up guns. I don't know on the AA guns, I never checked them. And the basic.cfg I have never even looked at.


Edit: woops typo in my other post. The second gun is a 4/50 not a 4/40.
Peabody

Webster 03-26-09 01:55 AM

Quote:

Originally Posted by peabody (Post 1072284)
It's all mental!! Only in English would you have a word like caliber that means three different things. Inside of a barrel, outside of a wire, and barrel length relative to its diameter. So the caliber is the size of the shell but, the caliber is the barrel length relative to its caliber. Wait. No. Its caliber is its diameter. no.... its length relative to its caliber is its caliber. That can't be it....I'll get it.....I'm getting a headache.:doh:

@Webster, when I said the gun uses an 88mm shell, I meant in game not in real life. So there are some messed up guns. I don't know on the AA guns, I never checked them. And the basic.cfg I have never even looked at.


Edit: woops typo in my other post. The second gun is a 4/50 not a 4/40.
Peabody


well in the sim file for the gun it was blank for AA so i assigned the 20mm and the 40mm the AA ammo listed for them according to the dat and zon references and it works fine in game, they now have AA ammo. cant say it makes a difference but it looks better than firing AP rounds


the deck guns have a spot and an ID number for star shell ammo but when i added some there it doesnt show up in the game, not sure if they had it in R L or not but it would be nice to have if it worked.

peabody 03-26-09 10:51 AM

Quote:

Originally Posted by WEBSTER (Post 1072305)
well in the sim file for the gun it was blank for AA so i assigned the 20mm and the 40mm the AA ammo listed for them according to the dat and zon references and it works fine in game, they now have AA ammo. cant say it makes a difference but it looks better than firing AP rounds


the deck guns have a spot and an ID number for star shell ammo but when i added some there it doesnt show up in the game, not sure if they had it in R L or not but it would be nice to have if it worked.

I did some more looking while I was working on something else and the shell.dat for the 4" gun is linked to the 105 shell, BUT in the weapons.upc, it says it uses 4inapus. I don't know which one would take priority.

Peabody

Webster 03-26-09 11:32 AM

Quote:

Originally Posted by peabody (Post 1072479)
I did some more looking while I was working on something else and the shell.dat for the 4" gun is linked to the 105 shell, BUT in the weapons.upc, it says it uses 4inapus. I don't know which one would take priority.

Peabody


well i did some backwards engineering of my old v1.4 deck guns mod i did with mini tweaker and i confirmed it was the nodes you mentioned that i had changed so you got it right just not sure why the game has it so confused?

i mean everything looks like its there if it was given the correctly named pathways and all. seams like they just threw stuff in there and started connecting it without caring where it was supposed to go.


All times are GMT -5. The time now is 11:15 AM.

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.