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 07-26-13, 12:05 AM   #16
V13dweller
Grey Wolf
 
Join Date: Dec 2012
Location: Perth, Western Australia
Posts: 768
Downloads: 103
Uploads: 2
Default

The Rawalpindi ships guns are visible from large distances, also they have the Naval jack on their flag pole, and that tells me to keep clear unless I have a good torpedo course plotted.

The Auxiliary cruiser for the Germans always spawn in convoy defense in the OHII campaign and their guns as gap said, are hidden within the hull, but in the Goblin editor, the doors they hide behind, look like they could be coded open up, but as we know, the SH5 devs left lot's of content out, so the guns just clip through the side of the ship.
V13dweller is offline   Reply With Quote
Old 07-26-13, 11:01 AM   #17
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by V13dweller View Post
The Rawalpindi ships guns are visible from large distances, also they have the Naval jack on their flag pole, and that tells me to keep clear unless I have a good torpedo course plotted.
The naval ensign... what a noob error!

I had a look at the FLG bone of several units, but unfortunately I couldn't spot any special format which may tell the game wether to use the naval or the civil ensign. The usage of miltary/merchant flags must be hardcoded, and connected with the unit type. Armed merchants use a special type: Type13=Auxiliary Cruiser, and they were grouped by devs together with warships in Names.cfg. This is a indirect evidence of them using the naval ensign. We could change their type to Type102=Cargo (or any other merchant type), but then they woudn't attack enemy ships, and they would use their guns just for self defence

Quote:
Originally Posted by V13dweller View Post
The Auxiliary cruiser for the Germans always spawn in convoy defense in the OHII campaign...
This is another mistake. As far as I know, only the Japanese during WWII used variously armed merchants (some had even DC racks) as convoy escorts. Have you informed Trevally about it?

Quote:
Originally Posted by V13dweller View Post
and their guns as gap said, are hidden within the hull, but in the Goblin editor, the doors they hide behind, look like they could be coded open up, but as we know, the SH5 devs left lot's of content out, so the guns just clip through the side of the ship.


better moving their guns on deck then: the stupid AI ships wouldn't notice their armaments anyway (I think they only react to the type of foe units they meet, and to possible attacks).

As for Allied armed merchants / Q ships, it is another matter, because their guns would betray them to the (wise) eye of the human captain.
Yesterday I had a look into SHIII's trap containers, which can be used for concealing armaments on deck. They got special doors which open/close intermittently. In SHIII there was no controller to trigger their animation, so they weren't a big help either. I wonder if, since SHIII, new animation triggers have been added to the pool of available controllers. If not, there's at least one workaround that I could think of: giving each of the trap container doors a damage box, and giving them a zone with extremely low HP and AP. Should the gun concealed behind them start firing, they would blow ip in the air, thus making space for gun's barrel. What do you think?
gap is offline   Reply With Quote
Old 07-26-13, 11:36 AM   #18
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
I had a look at the FLG bone of several units, but unfortunately I couldn't spot any special format which may tell the game wether to use the naval or the civil ensign.
Should be the cfg# entry for the flag
TheDarkWraith is offline   Reply With Quote
Old 07-26-13, 11:39 AM   #19
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Yep, definitely should be cfg# node related (from my notes):

cfg#E01_ ... = Sub Emblema 1
cfg#E02_ ... = Sub Emblema 2
cfg#A01_ ... = A-A Armament
cfg#A02_ ... = A-A Armament
cfg#ALB_ ... = Submarine Ballast Launch
cfg#B01_ ... = Bomb Armament
cfg#BLD_ ... = Submarine Bold Decoy Launch
cfg#C01_ ... = Radar RWR
cfg#D01_ ... = RadioDF
cfg#FLG_ ... = Flag
cfg#FLGC ... = Flag civil.
cfg#FLS_ ... = Flag (small)
cfg#FLSC_ ... = Flag (small) civil.
cfg#TXR_ ... = External texture
cfg#H01_ ... = Hydrophone 1
cfg#H02_ ... = Hydrophone 2
cfg#SNK_ ... = Snorkel
cfg#K01_ ... = Cargo
cfg#L01_ ... = Search Light
cfg#M01_ ... = Main Armament
cfg#N01_ ... = Sonar
cfg#O01_ ... = AI_Visual (Lookout on conning tower)
cfg#O02_ ... = Periscope/Attack
cfg#O03_ ... = Periscope/Observ
cfg#R01_ ... = Radar
cfg#S01_ ... = Secondary Armament
cfg#S02_ ... = Secondary Armament
cfg#S03_ ... = Secondary Armament
cfg#T01_ ... = Torpedo Armament
cfg#TAR_ ... = Submarine Torpedo Armament
cfg#W01_ ... = ASW Armament (KGun, YGun, Hhog, DCRack)
cfg#Z01_ ... = Submarine Turm
TheDarkWraith is offline   Reply With Quote
Old 07-26-13, 12:16 PM   #20
Stoli151
Helmsman
 
Join Date: Apr 2010
Location: underwater
Posts: 107
Downloads: 333
Uploads: 0
Default

I also think the ships should be something inconspicuous. In other words something that would not look odd travelling alone and are very commonly encountered. I remember the small coastal freighter was used in the mod for SH3, so something similar to that should suffice. The way the cfg was written for that ship seemed to make it either a standard ship or a Qship(very small random chance). I could be wrong. Of course it would be much cooler if they were their own ships that looked exactly like a common ship, that way if sunk you wouldn't encounter that particular one again.

Last edited by Stoli151; 07-26-13 at 12:35 PM.
Stoli151 is offline   Reply With Quote
Old 07-26-13, 12:35 PM   #21
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
Yep, definitely should be cfg# node related (from my notes):
Obviously I am missing something:

C2, C1, N3, Hog Hislander, etc, have all a cfg#FLG_ node like the Rawalpindi, but unlike the Rawalpindi they sail under the civil ensign
gap is offline   Reply With Quote
Old 07-26-13, 12:39 PM   #22
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
Obviously I am missing something:

C2, C1, N3, Hog Hislander, etc, have all a cfg#FLG_ node like the Rawalpindi, but unlike the Rawalpindi they sail under the civil ensign
that tells me that SH5 is different in this aspect than SH3/4 then. That means unit type (i.e. 102, 12, etc.) determines the type of flag flown. Rawalpindi is a type of warship, all the others are types of merchants
TheDarkWraith is offline   Reply With Quote
Old 07-26-13, 12:53 PM   #23
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
that tells me that SH5 is different in this aspect than SH3/4 then. That means unit type (i.e. 102, 12, etc.) determines the type of flag flown. Rawalpindi is a type of warship, all the others are types of merchants
Unless...

cfg#FLG_ and cfg#FLS_ let unit type to determine the flag used, whereas cfg#FLGC_ and cfg#FLSC_ are forcing the merchant flag. How does that sound to you?
gap is offline   Reply With Quote
Old 07-26-13, 01:36 PM   #24
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Small addition. I have just checked Jimbuna's Q-ship:

UnitType: 102 (Cargo)
Flag node: cfg#FLG_

gap is offline   Reply With Quote
Old 07-26-13, 05:10 PM   #25
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
Unless...

cfg#FLG_ and cfg#FLS_ let unit type to determine the flag used, whereas cfg#FLGC_ and cfg#FLSC_ are forcing the merchant flag. How does that sound to you?
The S is supposed to designate small version of the flag.
TheDarkWraith is offline   Reply With Quote
Old 07-26-13, 05:17 PM   #26
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
The S is supposed to designate small version of the flag.
yes, that's clear, but atm I am more concerned about the naval/civil type of flag than about its size
gap is offline   Reply With Quote
Old 07-26-13, 06:09 PM   #27
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
yes, that's clear, but atm I am more concerned about the naval/civil type of flag than about its size
Yeah I would agree with your thinking. The only way to know for sure is to test it
TheDarkWraith is offline   Reply With Quote
Old 07-26-13, 06:42 PM   #28
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
Yeah I would agree with your thinking. The only way to know for sure is to test it
Will do tomorrow

Changing of topic, what do you think of this?

Quote:
Originally Posted by gap View Post
Yesterday I had a look into SHIII's trap containers, which can be used for concealing armaments on deck. They got special doors which open/close intermittently. In SHIII there was no controller to trigger their animation, so they weren't a big help either. I wonder if, since SHIII, new animation triggers have been added to the pool of available controllers. If not, there's at least one workaround that I could think of: giving each of the trap container doors a damage box, and giving them a zone with extremely low HP and AP. Should the gun concealed behind them start firing, they would blow ip in the air, thus making space for gun's barrel. What do you think?
The more I think of it, the more doubts I get about the validity of my workaround. There could be a minimum distance shells mast travel before they get "armed" or, conversely, once an impact with container doors is detected, damage could spread to the nearby zones thus damaging the ship herself
gap is offline   Reply With Quote
Old 07-26-13, 07:58 PM   #29
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by gap View Post
The more I think of it, the more doubts I get about the validity of my workaround.
I was going to sleep, but I was hit by a probably better idea, and I just had to share it:

So let's say that we make a fake gun out of each side of the trap container, the fixed part of it being the base of the gun, and the top spinning door being the barrel. We set our fake guns as follows:

- no training;
- min-max elevation of 0-180 deg;
- a relatively high elevation speed;
- a big number of dummy shells;
- a low rate of fire;
- a range comparable to the one of a medium caliber gun, with a tight trajectory;
- no muzzle firing effect.

Now we should create 4 additional gun bones around each "regular" gun, and assign our dummy guns to each of them, so that they enclose the gun as if they were the sides of a container. We must also take care that the fake barrels (the doors of the container) are oriented with their z axes (their muzzles) pointing inside the container. Not being able to train, our fake guns would be forced to rotate by 180deg in order to follow at their best any target on their side, thus "opening" the container on the side where the real gun is probably going to fire. What do you think? Can it work? I hope I made myself clear.
gap is offline   Reply With Quote
Old 07-26-13, 09:25 PM   #30
Fifi
Navy Seal
 
Fifi's Avatar
 
Join Date: Dec 2012
Location: France
Posts: 6,254
Downloads: 510
Uploads: 0


Default

Sorry to highjack the thread, but it's about guns isn't it?
Is there a way to decrease AI guns accuracy?
Just rising scope in the detection radius area of a Cimmaron, and you're good for half your sub damage...isn't it a bit overdone?
And by what kind of miracle they can damage both my diesel engines 12 meters underwater?
Is there a way so they can damage only perisopes, or some outside structures like deck gun/flakgun?
Diesels, electrics and other stuff like pumps should be pretty hard to damage in my sub, from a 1000m cargo deck machine gun!
Is it a sub hit box problem?
Fifi is offline   Reply With Quote
Reply


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 02:11 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.