SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 02-19-13, 08:59 PM   #481
V13dweller
Grey Wolf
 
Join Date: Dec 2012
Location: Perth, Western Australia
Posts: 768
Downloads: 103
Uploads: 2
Default

I managed to give my U-boat starshells as ammunition, by changing the AA shell to the starshell effect, but then all AA round fired from all ships became starshells, and I think you might be able to tell, that caused massive lags.
When you give you 8.8cm deck gun starshells it doesn't show up as a selectable ammo type, so I had to change the AA round.
And is it possible to change the ammo type, that each gun fires?
At the moment, I do not know how to do that.
V13dweller is offline   Reply With Quote
Old 02-20-13, 05:39 AM   #482
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by V13dweller View Post
I managed to give my U-boat starshells as ammunition, by changing the AA shell to the starshell effect, but then all AA round fired from all ships became starshells, and I think you might be able to tell, that caused massive lags.
When you give you 8.8cm deck gun starshells it doesn't show up as a selectable ammo type, so I had to change the AA round.
And is it possible to change the ammo type, that each gun fires?
At the moment, I do not know how to do that.
I don't understand why you are so fond of arming your guns with starshells: I doubt that they were ever used as ordnance aboard Uboats.

Anyway... if I understood your question, the answer is yes, you can assign any type of shell to any gun:
  • open the GR2 of the gun you want to edit, be one of the U-boat guns (data/Objects/Guns/*.GR2) or ship guns: (data/Library/ShipParts/guns_radars_01.GR2);
  • merge its sim file;
  • merge Shells.dat (data/Library);
  • merge Shells.sim;
  • at this point you can double click on the wpn_Cannon controller of the gun you want to edit;
  • expand the ammo_storage group;
  • expand any of its sub-groups (AP, HE, AA, SS) for changing type and amount of shell used.

The one starshell set in stock game is the 88mm_S_shell. You can assign any type of shell, unrespective of gun's caliber or designation (AP, HE, etc.) to any gun/ammo_storage subgroup. For instance, you could set 20mm_AA_shell as AP ammunition fired by the 88mm gun, but obvously the AI crew would keep using AA rounds as if they were AP shells. And the damage would be the one done by an AA shell, ideed.

You can also create new shell definitions, and assign them to the existing guns, but I think this goes beyond your question, and it would take a lot longer that one would expect from a quick tweak.

Notice also that for human playable guns things are a bit more complex than for AI guns, because when manning a gun manually you need to select the desired type of ammunition, and not all the types are available for each gun. I think that you could add the missing types by messing with UPCDataGE/UPCUnitsData/Ammunition.upc, but for the moment I suggest you to assign the starshells to one of the ordnance types (ammo_storage subgroups) yet available.
gap is offline   Reply With Quote
Old 02-20-13, 06:18 AM   #483
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

So i could fire a star shell off from the sub deck gun ?.
THE_MASK is offline   Reply With Quote
Old 02-20-13, 06:21 AM   #484
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by sober View Post
So i could fire a star shell off from the sub deck gun ?.
yes, I don't see why not
gap is offline   Reply With Quote
Old 02-20-13, 06:31 AM   #485
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

Quote:
Originally Posted by gap View Post
yes, I don't see why not
It might come in handy with real navigation now and again .
THE_MASK is offline   Reply With Quote
Old 02-20-13, 06:41 AM   #486
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by sober View Post
It might come in handy with real navigation now and again .
I see

I think you ar thinking of the extra light made by them.

Unortunately coding German tugboats to be summoned and to tow you safely to port, wouldn't be as easy.
On the other hand, enemy destroyers summoned and coming to harass you, don't need for any extra code
gap is offline   Reply With Quote
Old 02-20-13, 06:47 AM   #487
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

Quote:
Originally Posted by gap View Post
I see

I think you ar thinking of the extra light made by them.

Unortunately coding German tugboats to be summoned and to tow you safely to port, wouldn't be as easy.
On the other hand, enemy destroyers summoned and coming to harass you, don't need for any extra code
The starshells are hardly realistic on a uboot , forget my idea .
THE_MASK is offline   Reply With Quote
Old 02-20-13, 06:50 AM   #488
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by sober View Post
The starshells are hardly realistic on a uboot , forget my idea .
yes, I think so,
but if you want I can send you a modified 88mm gun equipped with starshells, for you to test your idea near Scapa
gap is offline   Reply With Quote
Old 02-20-13, 07:16 AM   #489
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Two discussions on the topic of starshells (and AP shells) usage aboard Uboats, and on how to make any ammo type selectable when manning guns manually:

http://www.subsim.com/radioroom/showthread.php?t=156610
http://www.subsim.com/radioroom/show...=147932&page=2

P.S: Notice that those discussions are relative to SHIII, i.e. some of the suggested settings may not apply to SH5.
gap is offline   Reply With Quote
Old 02-20-13, 12:48 PM   #490
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,292
Downloads: 374
Uploads: 0


Default

Gap, could you make three single missions for deck gun tests?
the ranges for single unarmed merchant from the boat - 600m, 2000m and 3400m.. speed 0..
it's not urgent because I'm still figuring around C38 Twin Shield
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Old 02-20-13, 01:06 PM   #491
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by volodya61 View Post
Gap, could you make three single missions for deck gun tests?
the ranges for single unarmed merchant from the boat - 600m, 2000m and 3400m.. speed 0..
Okay, no problem, but as soon as the merchant ship will spot you, I think she will start evasive maneuvers, no matter what initial speed she is set to.

I don't know if setting her 'is docked' property to true would help. If not, I could try removin her cmdr_AI controller to dumb her down

Quote:
Originally Posted by volodya61 View Post
it's not urgent because I'm still figuring around C38 Twin Shield
what's the probelm with it?
gap is offline   Reply With Quote
Old 02-20-13, 01:25 PM   #492
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,292
Downloads: 374
Uploads: 0


Default

Quote:
Originally Posted by gap View Post
what's the probelm with it?
it's shooting wherever it want except the target..
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Old 02-20-13, 02:15 PM   #493
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by volodya61 View Post
it's shooting wherever it want except the target..


What if I send you my guns with the modified specs, for you to test them?

EDIT: have you seen Wamphyri's start/end elevation indices? He used 0.8/6.1

Last edited by gap; 02-20-13 at 02:30 PM.
gap is offline   Reply With Quote
Old 02-20-13, 03:05 PM   #494
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,292
Downloads: 374
Uploads: 0


Default

Quote:
Originally Posted by gap View Post


What if I send you my guns with the modified specs, for you to test them?
modified specs? what kind of modification?

Quote:
Originally Posted by gap View Post
EDIT: have you seen Wamphyri's start/end elevation indices? He used 0.8/6.1
I know.. and his values excellent works with C38 Twin (I left hard way ).. and not works for Twin Shield..
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Old 02-20-13, 04:45 PM   #495
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,292
Downloads: 374
Uploads: 0


Default

Quote:
Originally Posted by volodya61 View Post
it's shooting wherever it want except the target..
solved
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 04:15 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.