SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   [REL] S3D - Silent 3ditor (https://www.subsim.com/radioroom/showthread.php?t=119571)

SquareSteelBar 03-20-09 05:18 PM

Your object's parent ID should be the node's ID.

thyro 03-20-09 09:26 PM

Quote:

Originally Posted by SquareSteelBar (Post 1069158)
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

SquareSteelBar 03-21-09 03:09 AM

Not the 3D object himself is appended to a parent ID but it's node...

keltos01 03-21-09 01:18 PM

http://img18.imageshack.us/img18/7733/23746413.jpg


Quote:

Originally Posted by thyro (Post 1069262)
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

thyro 03-21-09 01:40 PM

Great!!!

many thanks Keltos and SquareSteelBar :salute:

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 :damn:

It is now working

now is just matter to figure out how to make the dynamic shadows working :)

peabody 03-21-09 01:43 PM

@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

skwasjer 03-21-09 07:22 PM

Guys, I'm sorry, I'm too busy and can't help...

thyro 03-22-09 03:10 AM

@peabody

Thanks for the heads up :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

Webster 03-23-09 01:36 PM

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?

peabody 03-23-09 01:49 PM

Quote:

Originally Posted by WEBSTER (Post 1070632)
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

Webster 03-23-09 02:37 PM

Quote:

Originally Posted by peabody (Post 1070636)
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.

skwasjer 03-23-09 08:12 PM

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.

Webster 03-23-09 08:54 PM

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.

skwasjer 03-23-09 09:17 PM

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 (Post 1070809)
You can attach a label chunk to a controller


Webster 03-23-09 09:34 PM

Quote:

Originally Posted by skwasjer (Post 1070828)
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. :salute:

i'll just write it all down somewhere to use as a reference when i need it.


All times are GMT -5. The time now is 07:55 AM.

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.