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-27-13, 08:34 AM   #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
If I can help, just tell me exactly what to do
@Volodya

If you want, you can take over for the zon editing stuff, while I am working on the new cargo models
gap is offline   Reply With Quote
Old 06-27-13, 09:01 AM   #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
..Are you going to add K nodes to OH's imported ships as well?
I think this should be done because the convoys in OHII consist mostly of imported vessels

Quote:
Originally Posted by gap View Post
@Volodya

If you want, you can take over for the zon editing stuff, while I am working on the new cargo models
I want and I can.. '..just tell me exactly what to do..'

I downloaded the RosettaStone and ABBYY Lingvo apps and am now heavily engaged in the study/learn of English.. am tired too often use an online translator.. so, a slight reboot/re-load of the brain does not hurt
__________________
.
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-27-13, 09:36 AM   #3
Rongel
Grey Wolf
 
Join Date: Jan 2009
Location: Finland
Posts: 857
Downloads: 174
Uploads: 0
Default

Quote:
Yes Rongel - I would like to help and add your work to OHII.
I can update all the campaign layers to make the ships take the cargo.

I am having a little issue with my PC at the mo (I have kicked it down the stairs is a fit of rage) so am waiting for a new one.
When it arrives - I can join your team

Great! I have some tips for that, for example almost all big cargo units fit to type 102-ships, but type 108 requires smaller cargo. But I'll post the details later! So we wait until your PC arrives.
PS. Maybe you should enlist to anger management class?

Quote:
Okay, I have reworked a bit my texture. Here it is:

http://www.mediafire.com/?787hs5xs7sd8l67

This is a preview of it in GR2 Editor:
Looks good to me! Also the barrels look nice!

Quote:
Are you going to add K nodes to OH's imported ships as well?
I'm not sure what happens when game tries to add GR2 equipments to .dat ships. If I remember right, there was some trouble getting GR2 guns to imported ships. I guess this needs testing. Maybe we can add SH4 dat-cargo to these units? Also if I recall, most of the imported units are transports ships or tankers, so there isn't that many actual cargo ships. But, yeah I'll look into this.

Quote:
If I can help, just tell me exactly what to do
If you have time, you can also test the custom mission in the test cargo-mod. Just to check everything looks okay, and the game is stable! Maybe sink couple of them (just remember that only tanks, trucks and small crates have working damage modelling).
Rongel is offline   Reply With Quote
Old 06-27-13, 09:36 AM   #4
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 think this should be done because the convoys in OHII consist mostly of imported vessels


Quote:
Originally Posted by volodya61 View Post
I want and I can.. '..just tell me exactly what to do..'


Before I start giving you unnecessary instructions: have you ever messed with damage boxes and damage zones?

Quote:
Originally Posted by volodya61 View Post
I downloaded the RosettaStone and ABBYY Lingvo apps and am now heavily engaged in the study/learn of English..
Excellent plan
Should you decide to learn Italian as well, our communications will get even easier

Last edited by gap; 06-27-13 at 09:51 AM.
gap is offline   Reply With Quote
Old 06-27-13, 09:51 AM   #5
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Rongel View Post
PS. Maybe you should enlist to anger management class?


Quote:
Originally Posted by Rongel View Post
Looks good to me! Also the barrels look nice!
Okay, unlike stock crates, each barrel will be a separate object, but I need to apply a trick suggested by Privateer in order to keep poly count as low as possible

Quote:
Originally Posted by Rongel View Post
I'm not sure what happens when game tries to add GR2 equipments to .dat ships. If I remember right, there was some trouble getting GR2 guns to imported ships. I guess this needs testing. Maybe we can add SH4 dat-cargo to these units? Also if I recall, most of the imported units are transports ships or tankers, so there isn't that many actual cargo ships. But, yeah I'll look into this.
Yes, you are right: GR2 objects don't look good when rendered on dat units. If, as I hope, dat cargo is going to work on both GR2 and dat units, maybe we can port stock ship cargo to the dat format, and get rid of the stock GR2 file
gap is offline   Reply With Quote
Old 06-28-13, 04:11 AM   #6
Rongel
Grey Wolf
 
Join Date: Jan 2009
Location: Finland
Posts: 857
Downloads: 174
Uploads: 0
Default

Quote:
Originally Posted by gap View Post
Yes, you are right: GR2 objects don't look good when rendered on dat units. If, as I hope, dat cargo is going to work on both GR2 and dat units, maybe we can port stock ship cargo to the dat format, and get rid of the stock GR2 file
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.

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, here's few pics to explain:



SH 4 tanks in GR2-ship! Looks good, light affects them, everything is like it should be.



And here imported dat ship with SH 4 tanks, light doesn't affect them, they are white, plain and quite ugly... Just like the guns and equiptments on 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?

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!
Rongel is offline   Reply With Quote
Old 06-28-13, 07:40 AM   #7
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

This is edited ship_cargo.zon file - http://rghost.ru/47076749
Boxes and spheres were added to all the cargo types..

Not tested the custom mission yet.. will do it a little later..
__________________
.
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, 12:34 PM   #8
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-27-13, 09:59 AM   #9
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 Rongel View Post
If you have time, you can also test the custom mission in the test cargo-mod. Just to check everything looks okay, and the game is stable! Maybe sink couple of them (just remember that only tanks, trucks and small crates have working damage modelling).
OK, I downloaded test mod and will test it

Quote:
Originally Posted by gap View Post
Before I start giving you unnecessary instructions: have you ever messed with damage boxes and damage zones?
Not yet.. but all things are being made for the first time first time ..

Quote:
Originally Posted by gap View Post
Excellent plan
Should you decide to learn Italian as well, our communications will get even easier
Forgot to mention this - Longman Pronunciation Dictionary
And yes, Italian and Spanish are in my to do list
__________________
.
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-27-13, 12:17 PM   #10
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by Rongel View Post
Great! I have some tips for that, for example almost all big cargo units fit to type 102-ships, but type 108 requires smaller cargo. But I'll post the details later! So we wait until your PC arrives.
Yes - a text editor should make easy work of any upgrade. Just as with the speed fix.

Quote:
PS. Maybe you should enlist to anger management class?
Where is that dam postman........dam dam Dammm DAMMMM!

__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 06-27-13, 01:17 PM   #11
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by volodya61 View Post
Not yet.. but all things are being made for the first time first time ..
I agree, I just wanted to make sure that at least this time I wasn't going to give you unnecessary information. Here we go:
  • Open ship_cargo.GR2 in Goblin and merge it with ship_cargo.zon.

  • Click Ctrl D to recall the the Damage Editor.

  • Click any item in the scene tree, to create a new SH3ZonesCtrl controller with that object as parent.

  • Click on the "Box" button in the Damage Editor window to create a damage box centered around the previously selected object.

  • Use the "Position" controls to edit size and position of the damage box. You can either use button inputs or mouse-drag inputs. Once you get used to both systems, everything gets quite intuitive.

  • Once the damage box fits your object in size and position, you can select a zone that will be applied to your object from the "Zone Type" dropdown menu. Note that zone types listed are taken from the file Zones.cfg. If needed (I suggest you to do so), you can create new zone definitions by editing that file. Refer to this post by Observer on Submarine Sim Central forum for details on how to add new zones, and on what each entry in Zone definitions does.

  • Set armor level of the recently created box in the "Armor" field. The default setting is -1, meaning that the box gets its armor from its respective zone definition.

  • You can similarly add collision spheres if you want (sphere button), but equipments normally get collisions from their parent unit, i.e. adding new spheres is not strictly required for them to get damaged.

  • When finished, drag the new controller on top of ship_cargo.zon (Project Tree), and save as usual. That simple

Quote:
Originally Posted by volodya61 View Post
Forgot to mention this - Longman Pronunciation Dictionary
And yes, Italian and Spanish are in my to do list


I see you got your language learning program seriously. Spanish is a widespread and useful language indeed. As for Italian, if you are looking for a lucrative job opportunity, I would rather focus on German, Chinese, Arabic, or even Hindi
gap is offline   Reply With Quote
Old 06-27-13, 03:02 PM   #12
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 agree, I just wanted to make sure that at least this time I wasn't going to give you unnecessary information. Here we go:
OK, thanks, I'll try to do it right now.. but I'll need you to check it later..

Quote:
Originally Posted by gap View Post
I see you got your language learning program seriously. Spanish is a widespread and useful language indeed. As for Italian, if you are looking for a lucrative job opportunity, I would rather focus on German, Chinese, Arabic, or even Hindi
It's too late to learn something like Chinese or Japanese.. I thought about Arabic.. my wife (or rather ex-wife) speaks Arabic.. and Italian it's just for the soul
__________________
.
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-27-13, 05:35 PM   #13
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
  • Once the damage box fits your object in size and position, you can select a zone that will be applied to your object from the "Zone Type" dropdown menu. Note that zone types listed are taken from the file Zones.cfg. If needed (I suggest you to do so), you can create new zone definitions by editing that file. Refer to this post by Observer on Submarine Sim Central forum for details on how to add new zones, and on what each entry in Zone definitions does.
  • Set armor level of the recently created box in the "Armor" field. The default setting is -1, meaning that the box gets its armor from its respective zone definition.
  • You can similarly add collision spheres if you want (sphere button), but equipments normally get collisions from their parent unit, i.e. adding new spheres is not strictly required for them to get damaged.
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..
__________________
.
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: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.