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 09-20-11, 04:56 AM   #541
uekel
Seasoned Skipper
 
Join Date: Sep 2010
Location: Brandenburg (near Berlin/Germany)
Posts: 690
Downloads: 258
Uploads: 2
Default

Hi chrysanthos!
Quote:
Originally Posted by chrysanthos View Post
i am confused hey friend how can i open a silent hunter 3 or 4 battleship to fixed any damage zones? please show me step by step ok:/
You can use the way with "goblin editor", described in Post 1 http://www.subsim.com/radioroom/show...71&postcount=1.

But, I for myself, prefer s3d (many thanks to skwasjer ) http://s3d.skwas.com/. In this you open the *.dat file.




Now you:

1. goto the main node of the unit

2. linked 3D model you dont need in this case, you can close it

3. open the model preview

4. open the *.zon file (let be open in background)

5. for a better vision, you can switch the diffuse map on

6. toggle to the zones editor

7. now you can edit the boxes and spheres (with rightclick on the types you can add a new)

I hope it helps but I dont know why you need it. I have imported some ships http://www.subsim.com/radioroom/down...o=file&id=3222 and it was rarely nessesary to change the damage zones.

And btw:
Quote:
i have something in my mind for months....since ubisoft is good to make sub simulators why the heck are not make 1 for battleships and destroyers too huh??
agreed completely

I remeber wishfully the times I played "TF1942" or "Burning Steel" ......

___________

And @ tonschk

The flags are ok, but the dat-ships dont cast shadows:




greetings

uekel

Last edited by uekel; 09-20-11 at 05:19 AM.
uekel is offline   Reply With Quote
Old 09-27-11, 05:10 AM   #542
Rongel
Grey Wolf
 
Join Date: Jan 2009
Location: Finland
Posts: 857
Downloads: 174
Uploads: 0
Default

Okay, here goes!

While trying to find ways to render ships without the "unified controller" which makes flags freeze and guns not to render fully, I made a pretty significant find. If this works, flags will work, even Sh 5 guns will render fully and ships will also look more like SH 5 ships! When I first discovered this I was almost shaking! Ok, enough hype...

The secret is the "BumpMap" controller. So at first I deleted the unifiedrenderctrl in S3D, opened Goblin editor, and applied the "BumpMap" from SHcontrollers to the main ship node and merged it to the .val-file. For now I'm using the default values, they seem to be about right. So the basic method is really quite simple. It's more tricky to get all the maps to show, seems to require embedding (currently I'm using basic texture and occlusion map, I don't use Normal map because it was showing in the wrong places, but I think it's fixable). My current S3D setup which seems to work (the interesting stuff is in the materials):



To get best results, ship's texture color and occlusion maps needs changes. It might be that even ships basic texture colour should be changed to grey. I would really like to sneak peek to SH 5 ship GR2-files and see how it's done, but for now it's impossible...

Ofcourse there might be some nasty suprises ahead (at first when I applied the BumpMap in .sim-file, game crashed every time ship was destroyed, but now it works!). One thing is that I don't know how to apply LOD levels, now the ships are rendered fully as far as you can see them, and it may cause stuttering to lower-end PCs. On the other hand, the current imported ships seem to be quite hard on your computer too.


Sun/moon position affects the ship's lighting just like with SH 5 ships.

Anyway, I'll look more into this and I hope that others will too mess with BumpMap controller. That way we might get real results sooner! And no promises yet, but this might be the missing link between SH 4 and SH 5!

Last edited by Rongel; 09-27-11 at 02:39 PM.
Rongel is offline   Reply With Quote
Old 09-27-11, 11:00 AM   #543
mobucks
Seasoned Skipper
 
Join Date: Jan 2010
Posts: 713
Downloads: 209
Uploads: 0
Default

Excellent news Rongel, quite the clever chap you are with this! Hats off!
mobucks is offline   Reply With Quote
Old 09-27-11, 12:11 PM   #544
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Looking good Rongel
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 09-27-11, 12:38 PM   #545
bigboywooly
Rear Admiral
 
Join Date: Apr 2006
Location: Swindon, England
Posts: 10,147
Downloads: 38
Uploads: 0
Default

Hmmmm interesting and nice find
Be nice for imported units to look a lil like the sh5 ones
Literally hundreds of units available from SH3 and 4
Just what the game needs
__________________


My mediafire page http://www.mediafire.com/?11eoq19bq9r41
bigboywooly is offline   Reply With Quote
Old 09-27-11, 02:56 PM   #546
Rongel
Grey Wolf
 
Join Date: Jan 2009
Location: Finland
Posts: 857
Downloads: 174
Uploads: 0
Default

Yep, let's hope that the pros win the cons with this method! Not that I have seen really any, but usually there is always somekind of drawback too.

But this isn't really that hard, and I'm not that professional modder, I made my first Silent Hunter mod just 9 months ago! I think it's more about determination and hard work really.

My plan is to make this particular ship ready and close to Sh 5 as possible and if all works, realease it as a new mod. But as this is still in test phase, it's best not to make too big promises!
Rongel is offline   Reply With Quote
Old 09-27-11, 05:16 PM   #547
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

Really great detective work there
THE_MASK is offline   Reply With Quote
Old 10-02-11, 07:30 AM   #548
Rongel
Grey Wolf
 
Join Date: Jan 2009
Location: Finland
Posts: 857
Downloads: 174
Uploads: 0
Default

Okay, next version of OH II full (1.4) will have a new Rongel Small Split Freighter ship that doesn't use the "Unified render controller", it's rendered with SH 5 bump map controller. There are currently some good things about it and there are some bad things that I know off.

Plus

-Flag doesn't cause freezing (flag will only freeze if other ship causes it first)
-Dynamic lighting that looks more like SH 5
-Guns and equiptment are rendered correctly

Minus

-No caustics
-No bump map (currently I have to choose between occlusion map and bump map)

Can't say yet about performance, didn't notice difference myself. This ship creates also reflections in the water. Uekel figured that one out, I just followed his example, credit goes to Uekel

Please remember that this is basicly a test, somethings may improve further. I hope that the big guys will make it possible to use new GR2 ships in the future, untill then we must accept some compromises.
Rongel is offline   Reply With Quote
Old 11-02-11, 07:57 AM   #549
TheBeast
The Old Man
 
Join Date: Jan 2010
Location: Lynnwood, WA
Posts: 1,533
Downloads: 888
Uploads: 23


Default

I've noticed that Weapons do not render correctly on imported ships.
They are using model from SH4_Guns_Radars.dat

SH5 contains all of the Merchant Weapons located in file
data\Library\ShipPart\guns_radars_01.GR2, .SIM, .ZON

To verify if the SH5 Weapons would work, I edited the .eqp file on a boat and used Stock SH5 in game weapons with basically the same result but the Weapons render black, not white as with the SH4 Models.

BTW, this model is missing its SHD 3D model completely.

Example .eqp file using SH5 Weapon names.
Code:
[Equipment 1]
NodeName=M01
LinkName=NULL
StartDate=19380101
EndDate=19431231
[Equipment 2]
NodeName=M01
LinkName=4.5In_Mk9_US
StartDate=19431231
EndDate=19451231
[Equipment 3]
NodeName=A01
LinkName=NULL
StartDate=19380101
EndDate=19421231
[Equipment 4]
NodeName=A01
LinkName=20mm_single_Oerlikon
StartDate=19421231
EndDate=19451231
[Equipment 5]
NodeName=A02
LinkName=NULL
StartDate=19380101
EndDate=19421231
[Equipment 6]
NodeName=A02
LinkName=20mm_single_Oerlikon
StartDate=19421231
EndDate=19451231
[Equipment 7]
NodeName=A03
LinkName=NULL
StartDate=19380101
EndDate=19430606
[Equipment 8]
NodeName=A03
LinkName=20mm_single_Oerlikon
StartDate=19430606
EndDate=19451231
[Equipment 9]
NodeName=A04
LinkName=20mm_single_Oerlikon
StartDate=19380101
EndDate=19430606
[Equipment 10]
NodeName=A04
LinkName=20mm_single_Oerlikon
StartDate=19430606
EndDate=19451231
[Equipment 11]
NodeName=L01
LinkName=reflector_base
StartDate=19420101
EndDate=19451231
[Equipment 12]
NodeName=L02
LinkName=NULL
StartDate=19380101
EndDate=19451231
[Equipment 13]
NodeName=P01
LinkName=2x2_version02
StartDate=19380101
EndDate=19451231
[Equipment 14]
NodeName=P02
LinkName=PT_Boat_Crew2
StartDate=19380101
EndDate=19451231
[Equipment 15]
NodeName=P03
LinkName=2x2_version01
StartDate=19380101
EndDate=19451231
[Equipment 16]
NodeName=P04
LinkName=NULL
StartDate=19380101
EndDate=19451231
[Equipment 17]
NodeName=P05
LinkName=1x10_version02
StartDate=19380101
EndDate=19451231
[Equipment 18]
NodeName=P06
LinkName=1X1_version01
StartDate=19380101
EndDate=19451231
[Equipment 19]
NodeName=A06
LinkName=NULL
StartDate=19380101
EndDate=19431231
[Equipment 20]
NodeName=A06
LinkName=20mm_double_Oerlikon
StartDate=19431231
EndDate=19451231
I have to ask, If we get basically the same results using stock weapons, why are we using up more virtual memory to load more weapons that do not render correctly either?
__________________
Fear me! I am, TheBeastBelow

SHIV-MediaFire | SHV-MediaFire

Last edited by TheBeast; 11-02-11 at 08:07 AM.
TheBeast is offline   Reply With Quote
Old 11-02-11, 09:39 AM   #550
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

We were using SH4's because they were rendering correctly. SH5's would not using the UnifiedRenderController.

SHDs are a thing of the past and do not exist in SH5. Shadows are done through the Granny interface now (GR2 files).

You see shadows from the SH5 guns because they are from a GR2 file.
TheDarkWraith is offline   Reply With Quote
Old 11-02-11, 09:47 AM   #551
tonschk
Sea Lord
 
Join Date: Mar 2007
Posts: 1,898
Downloads: 172
Uploads: 0
Default

Quote:
Originally Posted by uekel View Post

And @ tonschk

The flags are ok, but the dat-ships dont cast shadows:
Hi there , do you think in the future the modders will be able to make the dat-ships cast shadows ?
__________________
What we do in life echoes in Eternity
tonschk is offline   Reply With Quote
Old 11-02-11, 09:47 AM   #552
Rongel
Grey Wolf
 
Join Date: Jan 2009
Location: Finland
Posts: 857
Downloads: 174
Uploads: 0
Default

Quote:
Originally Posted by TheBeast View Post
I've noticed that Weapons do not render correctly on imported ships.
They are using model from SH4_Guns_Radars.dat

SH5 contains all of the Merchant Weapons located in file
data\Library\ShipPart\guns_radars_01.GR2, .SIM, .ZON

To verify if the SH5 Weapons would work, I edited the .eqp file on a boat and used Stock SH5 in game weapons with basically the same result but the Weapons render black, not white as with the SH4 Models.
Yep, when using Unified render contoller, the guns don't render correctly. So we have to decide if we take black SH 5 guns that cast shadows, or SH 4 guns that have texture, but no occlusion/shadow map. We decided that limited SH 4 guns are still better than the other option. The gun shadow is a bit distracting too, if the ship doesn't cast shadow.

If we take out the unified render controller, all guns work but the quality of the ship suffers, we lose caustics and visual damage.

You mentioned that you have white guns, are you using latest ship patches? Guns and searchlights should have a decent texture.
Rongel is offline   Reply With Quote
Old 11-02-11, 10:16 AM   #553
TheBeast
The Old Man
 
Join Date: Jan 2010
Location: Lynnwood, WA
Posts: 1,533
Downloads: 888
Uploads: 23


Default

Quote:
Originally Posted by Rongel View Post
Yep, when using Unified render contoller, the guns don't render correctly. So we have to decide if we take black SH 5 guns that cast shadows, or SH 4 guns that have texture, but no occlusion/shadow map. We decided that limited SH 4 guns are still better than the other option. The gun shadow is a bit distracting too, if the ship doesn't cast shadow.
A Shadow Model can easily be added to Models that are missing them. I suspect those that are missing their Shadow Model are SHIII imports?
Quote:
If we take out the unified render controller, all guns work but the quality of the ship suffers, we lose caustics and visual damage.
Can we add Granny Caustic Controller using GoblinEditor?
If so, maybe that is a option...
Quote:
You mentioned that you have white guns, are you using latest ship patches? Guns and searchlights should have a decent texture.
I am using the Merchant Ships added from the OH II v1.4 MOD.
Are they current?

I am just thinking about sytem reuirements increasing as the game footprint grows from loading models that really are not required.

Regards!
TheBeast
__________________
Fear me! I am, TheBeastBelow

SHIV-MediaFire | SHV-MediaFire
TheBeast is offline   Reply With Quote
Old 11-02-11, 10:30 AM   #554
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by TheBeast View Post
A Shadow Model can easily be added to Models that are missing them. I suspect those that are missing their Shadow Model are SHIII imports?

Can we add Granny Caustic Controller using GoblinEditor?
If so, maybe that is a option...
You're missing the point here. SHDs do not exist in SH5. All shadows are 'made' from the GR2 files. The Granny part of SH5 controls this.

I tried adding Granny caustics controller and couldn't get it to work. I think it actually CTD from it.
TheDarkWraith is offline   Reply With Quote
Old 11-02-11, 10:54 AM   #555
TheBeast
The Old Man
 
Join Date: Jan 2010
Location: Lynnwood, WA
Posts: 1,533
Downloads: 888
Uploads: 23


Default

Quote:
Originally Posted by TheDarkWraith View Post
You're missing the point here. SHDs do not exist in SH5. All shadows are 'made' from the GR2 files. The Granny part of SH5 controls this.

I tried adding Granny caustics controller and couldn't get it to work. I think it actually CTD from it.
Well hopefully, the work you have been doing with 3D Studeo and Reading GR2 files. You will be able to take a existing GR2 Model and replace the internal Gr2 3D Model with a new 3D Model and specify new Textures in the GR2 as well.

Does a 3D Model contain AO, UV Map info? Haven't really dug that deep with Hex Editor yet.
__________________
Fear me! I am, TheBeastBelow

SHIV-MediaFire | SHV-MediaFire
TheBeast 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 03:04 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.