Log in

View Full Version : [TEC] question about nodes


makman94
07-21-16, 06:09 PM
hello Subsimers,

is there a simple way to replace the origin node of the submarine model but all other nodes to remain in place ? (i tried to create a new node and make the origin node as child but it ctd):

http://i66.tinypic.com/nxvz3r.jpg

Jeff-Groves
07-21-16, 07:22 PM
If you want to move say all the water particles nodes at once?
Create a Child node to the main model then assign it as the water particles parent.
Move that one node and all water particles will move with it.

makman94
07-22-16, 04:28 PM
If you want to move say all the water particles nodes at once?
Create a Child node to the main model then assign it as the water particles parent.
Move that one node and all water particles will move with it.

hello Jeff,

i want to replace ONLY the origin node (see the pic,the node that is in the circle. at the left,on nodes's list, is the node in the frame).
The problem is that i want all of origin's child nodes to stay in place

*the water nodes that you see below this node (at the nodes's list) are not child of this origin node and possibly none of these nodes are used becuase the origin node containes all the water nodes (as child nodes) that are vissible in game

Jeff-Groves
07-22-16, 07:48 PM
I'm thinking the reason it CTD is in the SIM file.
Once you create the new node?
Change the cmdr_AIHumanSub, unit_Submarine, and wpn_SubTorpedoSys
parent to the new nodes ID.

Maybe that will give you a start.

makman94
07-23-16, 02:22 PM
I'm thinking the reason it CTD is in the SIM file.
Once you create the new node?
Change the cmdr_AIHumanSub, unit_Submarine, and wpn_SubTorpedoSys
parent to the new nodes ID.

Maybe that will give you a start.

I had allready done this (also had changed to the new id node at the val,dsd,zon,cam files) but still crashed.

anyway , thank you for the idea Jeff :rock:.it was a good one

Jeff-Groves
07-23-16, 05:04 PM
That is indeed strange if you changed all ID's
Did you try removing all the other files except for the dat?

makman94
07-24-16, 03:02 PM
That is indeed strange if you changed all ID's
Did you try removing all the other files except for the dat?

what do you mean ?
at all other files there are no nodes's positions so i can't replace anything there

here you can find the files that i have edited :
http://speedy.sh/gKPHK/files-for-Jeff.rar

have a look at them (if you get some free time) in case that i have made a mistake in that dat file (i am noob on such kind of editings so it is very possible to have made a mistake in this new node i created). the node that i created is called as ''Position''

ps: the dat file is from Wise's mod called as ''VIIB-Trial Version(2015)'' so maybe it is needed to have it installed first ( Wise's mod can be found here:
http://www.mediafire.com/download/795gz012y0x3wxc/VIIB-Trial+Version%282015%29.7z)

Wise
07-24-16, 05:13 PM
Hi, Manos!
What is necessary, buddy?
You want to make so?

http://s20.postimg.org/ckq7yotfx/MAKMAN.jpg

I understand you correctly?

makman94
07-26-16, 01:00 PM
Hi, Manos!
What is necessary, buddy?
You want to make so?

......

I understand you correctly?

hello Wise :up:

no , you don't understand what i am running after. (i don't care for all these water nodes that are below of the ''26:Node - NSS_Uboat7b'')

my main goal is to replace the origin node of the uboat (see the pic at first post) to an other position BUT ,at the same time, i want all of its child nodes to remain at their first positions.

download the files that i uploaded for Jeff (http://speedy.sh/gKPHK/files-for-Jeff.rar) to see what i have done to the dat file. look at the node with the name ''Position''.this is a new node i made with the position that i want the origin node to be. The problem is that after the changes i made , the game is crashing so i am asking if it is possible to be done.

ps: At all other files that you will see (zon,dsd,val,sim,cam) i just rename the id ''0x2c40a8e903c2f7b4'' to the id of the new node ''Position'' that i created

Wise
07-26-16, 04:29 PM
Hmm... I understand.
I think, nothing will turn out.
In the file of the hull of the U-boat (Submarine/NSS_Uboatxx/NSS_Uboatxx.dat), in the main node there has to be a 3D model. In your new main node (Position) the 3D model is absent. Besides, 3d - center of model of the main node , is a water surface level point (waterline). Besides, dimensions of this model which are allocated above or below a waterline, also, have direct interrelation with a waterline. Possibly, they are "reference points" for the ACT and DLL files in which modeling of behavior of the boat on water is programmed (the surface position, emersion - immersion, draft, switching of engines from the diesel to electric motors and back, periscope depth, etc.)
In the Turms-files is allowed more free hierarchy of the nodes, because, Turms are children files from the hull . The main node of the Turm file is attached to a point of the node "Z01" of the hull, and not vice versa.
I regret, Manos.

makman94
07-27-16, 10:37 AM
Hmm... I understand.
I think, nothing will turn out.
In the file of the hull of the U-boat (Submarine/NSS_Uboatxx/NSS_Uboatxx.dat), in the main node there has to be a 3D model. In your new main node (Position) the 3D model is absent. Besides, 3d - center of model of the main node , is a water surface level point (waterline). Besides, dimensions of this model which are allocated above or below a waterline, also, have direct interrelation with a waterline. Possibly, they are "reference points" for the ACT and DLL files in which modeling of behavior of the boat on water is programmed (the surface position, emersion - immersion, draft, switching of engines from the diesel to electric motors and back, periscope depth, etc.)
In the Turms-files is allowed more free hierarchy of the nodes, because, Turms are children files from the hull . The main node of the Turm file is attached to a point of the node "Z01" of the hull, and not vice versa.
I regret, Manos.

i see what you mean Wise :yep:

thank you for the detailed explaination :up: