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 06-28-13, 12:34 PM   #1
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by volodya61 View Post
I don't think it's time to change zones.cfg file.. we all use different versions of this file.. at least I'm not enough competent to do it.. I will set zones of the 'Zone Type' menu.. Cargo1 or Cargo2 for the regular cargo and ExtCargoFuel for the fuel..
Anyway tomorrow I will finish adding boxes and spheres and you will check it..
Okay, since there are already zone entries for external cargo, I don't see any reason for adding new ones

By the way: have you seen any zone definition for ammo freights?

Quote:
Originally Posted by Rongel View Post
Did a quick test trying to get cargo appear to imported ships. It's the same thing we found out when importing the ships many, many years ago. GR2 equiptments do show up, but they are rendered completely black.
As expected

Quote:
Originally Posted by Rongel View Post
I did another test, copied cargos.dat from SH4 to SH5 and just added some new entries to the cargodef.cfg file. And it worked, SH 4 stuff appeared in game! It looks good with the GR2 ships, but not so hot with the imported ships.

...

So not sure with this... Even if we could convert the whole SH 5 cargo.GR2 file to dat, it wouldn't still look very good in imported ships. Any good ideas?
That is weird. Can you send me SH4 external cargo files (I have SHIII ones already). I want to have a look into them

Quote:
Originally Posted by Rongel View Post
The positive thing is that we can easily now add more cargo to GR2 ships with separate .dat file and it should look just right!
I got the barrels almost finished. Works on them took a bit longer than expected as their UV mapping had a flaw, and I had to redo it. This first cargo type will include 60 steel drums, each as separate model. This means that they will blow up in the air nicely. I just hope that Privateer's trick for reducing file size (it applies to when multiple instances of the same object are repeated n times in the same file), will also keep memory usage reasonably low
gap is offline   Reply With Quote
Old 06-28-13, 12:57 PM   #2
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
..By the way: have you seen any zone definition for ammo freights?..
No.. there were ExtStorage zone for the sub's external torpedoes and several AmmoBunkers for the battleships.. and nothing similar for the merchants..

EDIT: there is AmmoBunkerAbove zone.. maybe we could use it for the ammo freights
__________________
.
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 06-28-13, 01:45 PM   #3
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by volodya61 View Post
No.. there were ExtStorage zone for the sub's external torpedoes and several AmmoBunkers for the battleships.. and nothing similar for the merchants..

EDIT: there is AmmoBunkerAbove zone.. maybe we could use it for the ammo freights
Is AmmoBunkerAbove set to "destroyable"?

I think we need just for 3-4 zone types: one for flammables (like diesel fuel), one for explosives, one for general cargo, and possibly one for armored vehicles/artillery pieces. We can assign them different effects and different HP's, but they all should be destroyable, or cargo will stay on deck forever, no matter how much damage it takes
gap is offline   Reply With Quote
Old 06-29-13, 11:00 AM   #4
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

@ Volodya

Today I had a look into SHIII external cargo files. These are the damage zones they use:

Container, TrapContainer, WoodCrates, Disassembled Aircraft => Load

SHIII (GWX Gold) zone settings:
Code:
[Load]
Multiplier=1.000000
Flotability=0.000000
HitPoints=25
Destructible=Yes
Effect1=#Fire_small, 40
Effect2=#Small_splinter_explosion, 100
Armor Level=5
Critic Flotation=0.300000
Critical=No
FloodingTime=59.999996
CargoType=None
Crash Depth=6
SH5 (Fx Updates) zone settings:
Code:
[Load]
Multiplier=1.000000
Flotability=0.000000
HitPoints=20
Destructible=Yes
Effect1=BAZA_FX_FocFum_mic, 40
Effect2=BAZA_FX_Explozie_mica, 100
Effect3=BAZA_FX_Splinter_fire, 100
Effect4=BAZA_FX_scantei_explozie,100
Armor Level=5
Critic Flotation=0.300000
Critical=No
FloodingTime=59.999996
CargoType=None

OilBarrels, SmallDrums => ExtCargoFuel

SHIII zone settings:
Code:
[ExtCargoFuel]
Multiplier=0.8
Flotability=0.0
HitPoints=50
Destructible=No
Armor Level=-1                            
Critic Flotation=0.300000
Critical=No
FloodingTime=100
CargoType=Fuel
SH5 zone settings:
Code:
[ExtCargoFuel]
Multiplier=1.0
Flotability=0.0
HitPoints=50
Destructible=YES
Armor Level=-1
Critic Flotation=0.300000
Critical=No
FloodingTime=1000
CargoType=Fuel

Truck, Jeep => CLoad

SHIII zone settings:
Code:
[CLoad]
Multiplier=1.000000
Flotability=1.000000
HitPoints=20
Destructible=Yes
Effect1=#Fire_small, 40
Effect2=#Small_splinter_explosion, 100
Armor Level=5
Critic Flotation=0.300000
Critical=No
FloodingTime=59.999996
CargoType=None
Crash Depth=6
SH5 zone settings:
Code:
[CLoad]
Multiplier=1.000000
Flotability=1.000000
HitPoints=20
Destructible=Yes
Effect1=BAZA_FX_FocFum_mic, 40
Effect2=BAZA_FX_Explozie_mica, 100
Effect3=BAZA_FX_Splinter_fire, 100
Effect4=BAZA_FX_scantei_explozie,100
Armor Level=5
Critic Flotation=0.300000
Critical=No
FloodingTime=590
CargoType=None
Crash Depth=1

Tank, landing craft => HLoad

SHIII zone settings:
Code:
[HLoad]
Multiplier=1.000000
Flotability=0.000000
HitPoints=20
Destructible=Yes
Effect1=#Fire_small, 70
Effect2=#Small_splinter_explosion, 100
Armor Level=20
Critic Flotation=0.300000
Critical=No
FloodingTime=59.999996
CargoType=None
Crash Depth=6
SH5 zone settings:
Code:
[HLoad]
Multiplier=1.000000
Flotability=0.000000
HitPoints=20
Destructible=Yes
Effect1=BAZA_FX_FocFum_mic, 70
Effect2=BAZA_FX_Explozie_mica, 100
Effect3=BAZA_FX_Splinter_fire, 100
Effect4=BAZA_FX_scantei_explozie,100
Armor Level=20
Critic Flotation=0.300000
Critical=No
FloodingTime=59.999996
CargoType=None

Soldiers => Troops

SHIII zone settings:
Code:
[Troops]
Multiplier=1.000000
Flotability=10.000000
HitPoints=50
Destructible=No
Armor Level=-1
Critic Flotation=0.300000
Critical=No
FloodingTime=70
CargoType=None
SH5 zone settings:
Code:
[Troops]
Multiplier=1.000000
Flotability=10.000000
HitPoints=50
Destructible=No
Armor Level=-1
Critic Flotation=0.300000
Critical=No
FloodingTime=700
CargoType=None

Moreover, SH5's cargo_truck (the one external cargo model which got a damage box in stock game), uses the ExternalStorage zone.

SHIII zone settings:
Code:
[ExternalStorage]
Multiplier=1.000000
Flotability=0.000000
HitPoints=110
Destructible=Yes
Armor Level=-1
Critic Flotation=0.300000
Critical=No
Father=24 ;Quarters1 (?)
FloodingTime=59.999996
CargoType=None
SH5 zone settings:
Code:
[ExternalStorage]
Multiplier=1.000000
Flotability=0.000000
HitPoints=100
Destructible=Yes
Armor Level=-1
Critic Flotation=0.300000
Critical=No
Father=43 ;DeckGun (?)
FloodingTime=59.999996
CargoType=None
I think it is is safe supposing that (with the exception of ExternalStorage) the above zones are not used in SH5 so, if required, we can adjust their settings to our needs without side effects of any sort
gap is offline   Reply With Quote
Old 06-29-13, 11:58 AM   #5
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
..I think it is is safe supposing that (with the exception of ExternalStorage) the above zones are not used in SH5 so, if required, we can adjust their settings to our needs without side effects of any sort
So, you suggest me to change all the zones in the edited file, I mean Cargo1 etc, with these ones - Load, CLoad, HLoad and ExtStorage?
This will not take much time..

Did I get you correctly?
__________________
.
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 06-29-13, 12:35 PM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

create new zones in the zones.cfg. No reason to muck up existing ones. Adding new zones is really easy to do.
TheDarkWraith is offline   Reply With Quote
Old 06-29-13, 12:40 PM   #7
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by volodya61 View Post
So, you suggest me to change all the zones in the edited file, I mean Cargo1 etc, with these ones - Load, CLoad, HLoad and ExtStorage?
This will not take much time..

Did I get you correctly?
Wait, as suggested by TDW I am going to add some new zone definitions to Zones.cfg.

What is the most updated version of the above file?
gap is offline   Reply With Quote
Old 06-29-13, 12:42 PM   #8
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
Wait, as suggested by TDW I am going to add some new zone definitions to Zones.cfg.

What is the most updated version of the above file?
on second thought adding new zones is going to cause compatibility problems with other mods. You sure these zones aren't used by anything else? The right thing to do is add new zones
TheDarkWraith is offline   Reply With Quote
Old 06-29-13, 12:51 PM   #9
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

@ TDW

in case you are reading this post: do I need to apply any tweak for making fires and explosions to propagate from cargo to ship hull, or Fx Update will take care of it "by default"?
gap is offline   Reply With Quote
Old 06-29-13, 11:03 AM   #10
Rongel
Grey Wolf
 
Join Date: Jan 2009
Location: Finland
Posts: 857
Downloads: 174
Uploads: 0
Default

Quote:
Originally Posted by gap View Post
That is weird. Can you send me SH4 external cargo files (I have SHIII ones already). I want to have a look into them
Sure, I can post them tomorrow, but I think there is no easy way to fix this, we really tried to get the guns look good with the imported ships, but they are still rendered only partially (i mean that lighting doesn't affect them). I think it's because of the unified render controller that the .dat ships are using.



This pic shows what I mean (it's the imported NAMC-ship).
Rongel is offline   Reply With Quote
Old 06-29-13, 11:08 AM   #11
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Rongel View Post
Sure, I can post them tomorrow
Okay, I need to study them in order to finish my oil barrels. They are almost finished by the way

Quote:
Originally Posted by Rongel View Post
...but I think there is no easy way to fix this, we really tried to get the guns look good with the imported ships, but they are still rendered only partially (i mean that lighting doesn't affect them). I think it's because of the unified render controller that the .dat ships are using.
Yes, I know

Maybe we can adjust a bit their diffuse map (RGB and alpha channels) and their material settings, in order to make them to look lesser "washed out", but indeed this won't fix the lack of self illumination /shadows
gap 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:02 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.