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 02-26-09, 07:15 PM   #1
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by WEBSTER
i tried to do it to the dat file and got errors, this is what i did:

1 opened data/ library/ USSubParts/ Sensors_sub_US.dat

2 selected 94:Node-NSS_TBT and right clicked, selected Append New Chunk then Controller (10) and then Controller (10/-1) and it created "95: <empty>"

3 selected "95: <empty>" and right click and choose "Append New Chunk" then Properties then "SH4" then "SHControllers" then scroll to the bottom of the list and find VisibleUnderwater and click on it. so i had "96: !! - VisibleUnderwater pop up.

4 i left it false so its invisable underwater.

5 now what do i do next?
1. Select 95:<empty>
2. Copy the ID
3. Select "96: !! - VisibleUnderwater"
4. Paste into "Parent ID"
5. Select 94:Node-NSS_TBT
6. copy that ID
7. Select 95:<empty>
8. Paste into "Parent ID"
9. In the name box type "V" and from the dropdown list select VisibleUnderwater.

But you have created one of those little problems I said happen. By selecting the 94: node you ended up separating the 94:node from its label. No big deal do this:

You should have this:




The A97 is the label for the 94:node It belongs where the blue arrow is.

So click on A97:NSS_TBT (Red arrow)and go look at the top of the S3D window, you will see two very small green arrows, one points up.(Green arrow) Click the up arrow twice and A97:NSS_TBT will go up two slots where it belongs, and become "A95:NSS_TBT" and the VisibleUnderWater will be renumbered. The first time you click the A97 will not move, just the number will change, the second time you click it will go up where it belongs.

Now you should have this:



I tried to show the indents but the indent doesn't work worth a hoot in this thing. So I took a picture.

So what you did is link the 97 properties of the controller to 96 the controller

then you linked 96:visibleunderwater to the 94:Node:Nss_tbt

And the 94:TBT is already linked to the 91:tbt base.

And in the game it looks like this, the TBT base shows but the TBT does not:




Now if you want to make the whole thing invisibleunderwater. Just select 91:Node_NSS_TBT_Base and copy the ID. Then use that ID as the "Parent ID" for 96:VisibleUnderwater. Since the TBT is a child node of the Base. If you make the base invisible, it all disappears.

Clear as mud?

Next time you do it, just open the TBT node and select the last entry which would have been the "A 95 NSS_TBT" and you won't have that label problem. It seems to happen when there is a 3D model involved. As you may have noticed the 3D model number is lower than the node it is connected to. The node for the TBT is 94 but the 3d model is 93 (miust be this way, the 3d model node must be numbered lower than the node that accesses it......don't ask me, I'm a beginner)
That is one reason I was explaining in the .sim file since there are no 3D objects you don't have this happen. The numbering will be off, but that doesn't matter. I think the index takes care of it.
So just keep in mind to think it through and decide what it should be connected to and select the entry that will make it "next in line" by number.
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.


Last edited by peabody; 02-26-09 at 07:32 PM.
peabody is offline   Reply With Quote
Old 02-27-09, 01:43 AM   #2
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

ok i think i got it now, thanks so much for explaining this in your "s3d for dummies" tutorial just for me

sometimes i miss the most obvious things and just dont get it sometimes.


there was two reasons i wanted the dat version as well, first many things i want to do will be for all subs so the dat way is the one i'll use, and secondly so anyone else out there like me would probably want to know too.

again thank you very much for helping me understand all this.
  Reply With Quote
Old 02-27-09, 03:09 AM   #3
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

more errors


its telling me:

description: the id is already used by another chunk (94: node - NSS_TBT)

source: 95:VisibleUnderwater

type: 10/-1



these are the instructions i wrote from what you said:


1. In the .dat file just left click to select or highlight the object node you wish to change. many things are rendered in pieces so in most cases it will be best to select the "parent" node to make all parts of the object disappear. if you dont want everything to be effected, say you want the base to stay visable but not the object, then you would need to select the "child" Node of just the object you want so it will put it next in line.

i selected the A 95: NSS_TBT

2. Right click and in the dropdown menu select Append New Chunk then Controller (10) and then Controller (10/-1)

3. An <empty> node will appear to the bottom of the list or tree if its a child node, but will come back up when you link it to the object)

4. With this <empty> selected, right click and choose "Append New Chunk" then Properties then "SH4" then "SHControllers" then scroll to the bottom of the list and find "VisibleUnderwater" and click on it.

5. you will see a "!!-VisibleUnderwater" node appear under the <empty> node and on the right hand window it will say "Under=false".

NOTE -- as default it is set to be invisable underwater but if you want to change that to make something visable underwater then click on "Under=false" and at the bottom of the screen will be a checkbox for "Value", put a check in the box and then it will be "Under=true" and be visable underwater.

6. Now select <empty> and copy the ID number (not the parent ID number)

7. Select "!!-VisibleUnderwater" node and paste the number into "Parent ID". it is now linked to the "<empty" node.

8. Select the object node to be controlled and copy the ID number (not the parent ID number)

9. Select "<empty>" node and paste the number into "Parent ID".

10. Now if when you started you selected the A node instead of the main node then you may see that the A node is seperated from the 3D model node. if this is the case then you need to put them back together so they work correctly. to do this you need to follow step 11.

everything was in the correct order at this point just like in your picture so i saved and got the error message

11. click on the A node that is out of place and then look at the top of the S3D window, you will see two very small green arrows, they move things up or down the list as needed.Click the up arrow twice and the A node will go up two slots where it belongs, and become renumbered accordingly along with the VisibleUnderWater node. The first time you click the A node will not move, just the number will change, the second time you click it will go up where it belongs.

12. If you've done everything correctly the objects A node should now show above the "VisibleUnderwater" node and you can save your changes and try out your mod.

Last edited by Webster; 02-27-09 at 03:47 AM.
  Reply With Quote
Old 02-27-09, 05:07 AM   #4
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by WEBSTER
more errors


its telling me:

description: the id is already used by another chunk (94: node - NSS_TBT)

source: 95:VisibleUnderwater

type: 10/-1


You may have copied the ID of the TBT but put it in the controller as the ID instead of the "parent ID". Look at the "ID" of the node 94 and the "ID" of the visibleunderwater controller and see if they are the same.
The ID of the TBT should be the same as the "Parent ID" of the visibleunderwater controller NOT the same as the ID.

If you have a filefront (or other) account, could you post the dat file, I will be glad to look at it and see if I can determine the problem.

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 02-27-09, 06:10 AM   #5
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

i found my mistake i was staying away from the parent ID so much i missed #7

7. Select "!!-VisibleUnderwater" node and paste the number into "Parent ID". it is now linked to the "<empty" node.

so i put it in the regular ID box on step 7 instead of the "parent ID" box


i got it working finally

i am now a graduate of Peabody's S3D tutorial


thank you for your time and patience
  Reply With Quote
Old 02-27-09, 12:41 PM   #6
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by WEBSTER
i found my mistake i was staying away from the parent ID so much i missed #7

7. Select "!!-VisibleUnderwater" node and paste the number into "Parent ID". it is now linked to the "<empty" node.

so i put it in the regular ID box on step 7 instead of the "parent ID" box


i got it working finally

i am now a graduate of Peabody's S3D tutorial


thank you for your time and patience
No problem, Webster. Glad you got it working. I know it can be frustrating when you make a little mistake like that and then it seems like it takes forever to find it. OK, now delete it and do it again......

After you do this a couple times you will see what I said about sometimes it is easier to just do it rather then try to find one to copy and sometimes it is not. If it's an animation....copy another one!!!!!!!

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 02-27-09, 12:56 PM   #7
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

i agree, copying can cause more headaches than its worth because you dont know for sure what your starting with sometimes.

now i just need to find out where the biskaya kreuz is so i can fix that
  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 09:23 PM.


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