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 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 03-20-09, 05:18 PM   #991
SquareSteelBar
Sea Lord
 
Join Date: May 2006
Location: U-73
Posts: 1,638
Downloads: 618
Uploads: 0
Default

Your object's parent ID should be the node's ID.
SquareSteelBar is offline   Reply With Quote
Old 03-20-09, 09:26 PM   #992
thyro
Commander
 
Join Date: Mar 2006
Location: on a rock surrounded by water, that people call it UK
Posts: 473
Downloads: 31
Uploads: 0
Default

Quote:
Originally Posted by SquareSteelBar View Post
Your object's parent ID should be the node's ID.
Cheers SquareSteelBar

but I have a problem...

when I create a node then I add then "append new child chunk" and select "3D model type 1/101" the 3D object goes to root imediatly like it was "append new chunk".

Once the 3d object created the parent ID = N/A and I don't seem able to change it.

I'm using S3D v0.9.4

Since I could be trying this wrongly...is there a better way to add that 3D object under a node? Thanks
__________________
"The good news is that you’re never, ever more than 6 miles from land. The bad news is, the land is straight down!"


thyro is offline   Reply With Quote
Old 03-21-09, 03:09 AM   #993
SquareSteelBar
Sea Lord
 
Join Date: May 2006
Location: U-73
Posts: 1,638
Downloads: 618
Uploads: 0
Default

Not the 3D object himself is appended to a parent ID but it's node...
SquareSteelBar is offline   Reply With Quote
Old 03-21-09, 01:18 PM   #994
keltos01
Silent Hunter
 
Join Date: Feb 2008
Location: Milan Italy
Posts: 4,999
Downloads: 114
Uploads: 18
Default




Quote:
Originally Posted by thyro View Post
Cheers SquareSteelBar

but I have a problem...

when I create a node then I add then "append new child chunk" and select "3D model type 1/101" the 3D object goes to root imediatly like it was "append new chunk".

Once the 3d object created the parent ID = N/A and I don't seem able to change it.

I'm using S3D v0.9.4

Since I could be trying this wrongly...is there a better way to add that 3D object under a node? Thanks
take the 3d object id number and ctrl-click in the model id blue number (control actually opens that window) then paste your model's id number and the model will move up to the node and be linked to it

keltos
__________________
"Honorable Builder of Sinking Ships"

keltos01 is offline   Reply With Quote
Old 03-21-09, 01:40 PM   #995
thyro
Commander
 
Join Date: Mar 2006
Location: on a rock surrounded by water, that people call it UK
Posts: 473
Downloads: 31
Uploads: 0
Default

Great!!!

many thanks Keltos and SquareSteelBar

now the process is clear, I wasn't moving the 3D object to the node. I assumed by adding a new child it shouldn't have done that automatically

It is now working

now is just matter to figure out how to make the dynamic shadows working
__________________
"The good news is that you’re never, ever more than 6 miles from land. The bad news is, the land is straight down!"


thyro is offline   Reply With Quote
Old 03-21-09, 01:43 PM   #996
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

@Thyro,

One thing not commented on, your 3D node # must be lower than the node that it is linked to. Otherwise it will not work. Notice in Keltos' picute the 3D model is Node 1608 and the node it is linked to is Node 1612.

Peabody
__________________

System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2.

peabody is offline   Reply With Quote
Old 03-21-09, 07:22 PM   #997
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,547
Downloads: 26
Uploads: 3
Default

Guys, I'm sorry, I'm too busy and can't help...
skwasjer is offline   Reply With Quote
Old 03-22-09, 03:10 AM   #998
thyro
Commander
 
Join Date: Mar 2006
Location: on a rock surrounded by water, that people call it UK
Posts: 473
Downloads: 31
Uploads: 0
Default

@peabody

Thanks for the heads up


Does dynamic Shadows really work on SH4? I've also added a node+3D+control+DynamicShadow added a "black" material as shadow but no effects. (I have the main cfg with active shadows btw). Thanks
__________________
"The good news is that you’re never, ever more than 6 miles from land. The bad news is, the land is straight down!"



Last edited by thyro; 03-22-09 at 07:10 AM.
thyro is offline   Reply With Quote
Old 03-23-09, 01:36 PM   #999
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

i need help


im looking at the shells.zon file and the entire tree is anonomous with nothing to show what anything is.


how will i know if im adjusting a 14" gun or a 3.5" gun


im sure this has been answered before somewhere but i didnt have time to read all 50+ pages of posts lol.


is there a plug in or something i forgot to add?
  Reply With Quote
Old 03-23-09, 01:49 PM   #1000
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by WEBSTER View Post
i need help


im looking at the shells.zon file and the entire tree is anonomous with nothing to show what anything is.


how will i know if im adjusting a 14" gun or a 3.5" gun


im sure this has been answered before somewhere but i didnt have time to read all 50+ pages of posts lol.


is there a plug in or something i forgot to add?
Go to shells .dat find the one you want to work on, copy the ID. Go to the .zon file and Edit/find and it will show you the zon file for that shell.

Quote:
how will i know if im adjusting a 14" gun or a 3.5" gun
If you want to work on a specific gun, you should check the shell it uses in the gun file. I did find one once that used the wrong shell (at least not the same size as the gun. something like a 5 inch gun using a 4 inch shell) but I don't remember which one it was.

Peabody
__________________

System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2.

peabody is offline   Reply With Quote
Old 03-23-09, 02:37 PM   #1001
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by peabody View Post
Go to shells .dat find the one you want to work on, copy the ID. Go to the .zon file and Edit/find and it will show you the zon file for that shell.



If you want to work on a specific gun, you should check the shell it uses in the gun file. I did find one once that used the wrong shell (at least not the same size as the gun. something like a 5 inch gun using a 4 inch shell) but I don't remember which one it was.

Peabody

is there a way to add a name to them so i dont have to keep going back to the dat? i know i can add a name but is it "safe" to change the label name? will it still work in the game with a different name?

i would rather spend time attatching names to them all so later it make life easier.

Last edited by Webster; 03-23-09 at 04:46 PM.
  Reply With Quote
Old 03-23-09, 08:12 PM   #1002
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,547
Downloads: 26
Uploads: 3
Default

You can attach a label chunk to a controller, the game won't mind generally speaking (unverified). Just remember that using a reserved name might cause issues (again unverified), and as chunks get reused often it's also more work to manage. That said, I still recommend you remove them from 'published' work because it's best to stay as close to original stock chunk-layout as possible, because it will only be more confusing in the long run (to others anyway).

I just use search function, to me it's faster than adding labels to all chunks.

Another tip is to reorder chunks in a zon or sim-file to match the DAT. Sometimes in stock this isn't the case.
skwasjer is offline   Reply With Quote
Old 03-23-09, 08:54 PM   #1003
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

i want to be sure we are talking about the same thing so let me explain my plan.

in the shells.zon every node has the same name, they are all labeled "AmmoDamageInfo" and they only have different ID numbers to tell them appart.

what i wanted to do was take the name of the coresponding node in the dat and use it to be the new label name.

so in the zon file "2:node - AmmoDamageInfo" has the parent ID 0x765548d9c98196cc

and in the dat file "node 203: 30mm_HE_shell" has its parent ID 0x765548d9c98196cc

so if they share the same parent ID and that means zon "2:node" is for the "30mm HE Shell"

so what i wanted to do was take the zone files "2:node" and give it the exact name i copied fron the dat files "node 203:" and name it like this:

2:node - 30mm_HE_shell

and when i do that the 3:node (child node) automatically becomes

3: !30mm_HE_shell ! - AmmoDamageInfo


i thought it was best if i was going to name things in the zon, it would be best to name them exactly the same way as they were named in the dat file so the game would recognize it. i dont know if my thinking that is correct or not.

hopefully that makes clear my question.


so is this something ok to do or could it cause problems.
  Reply With Quote
Old 03-23-09, 09:17 PM   #1004
skwasjer
The Old Man
 
Join Date: Apr 2007
Location: Netherlands
Posts: 1,547
Downloads: 26
Uploads: 3
Default

Do not change the name of the controller... Perhaps it works, but I rather think it won't and suggest doing as indicated.
Quote:
Originally Posted by skwasjer View Post
You can attach a label chunk to a controller
skwasjer is offline   Reply With Quote
Old 03-23-09, 09:34 PM   #1005
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by skwasjer View Post
Do not change the name of the controller... Perhaps it works, but I rather think it won't and suggest doing as indicated.


ok, i will not change anything.

i'll just write it all down somewhere to use as a reference when i need it.
  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 08:19 AM.


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