View Single Post
Old 04-06-23, 04:32 AM   #6
Mister_M
Grey Wolf
 
Join Date: Feb 2021
Posts: 948
Downloads: 27
Uploads: 0


Default

Download this little NEW_LINES.dat file : https://filebin.net/6ydf6o8fikkdg206#
It contains the extra lines needed for each periscope.

We will do the same procedure as explained in my first post, but now steps 2, 3, 4, and partially 5 will be very easy and fast to do.

Note that my explanations below are in 2 different colors :

- orange : we are in the Turm.DAT file
- blue : we are in the NEW_LINES.dat file


With S3D :

- Open NEW_LINES.dat
- Open any Turm.DAT file in the Objects folder, and find the two nodes finishing with "_periscop B_High" (attack periscope) and "_periscop F_High" (observation periscope).


For each of these nodes, follow this procedure :


1. Make the model unvisible by unmarking the little square "Visible" of the node (here at index 93).




2. In NEW_LINES.dat, click on the menu item Tools and select Remap Id's.... Click on Random to create a random key, and click on OK. Now, all the IDs in NEW_LINES.dat have been remapped.


3. The parent ID of the very first line (index 0) is 0x0000000..., you have to change this with the ID of the node of the periscope
: go in Turm.dat, copy the ID of the node (at index 93), and paste it in the parent ID section of the first node of NEW_LINES.dat.


4. Now, you are good to copy paste the entire block of new lines. Click on the first node (index 0), and hit the shortcut CTRL + SHIFT + C.


5. Click on the last line of the periscope paragraph (here, it is at index 100).



Then, paste the new lines with CTRL + V shortcut.
.


6. Click on the node called "model". In the linked model area, copy-paste the ID of the original model (at index 92) and add the proper material(s) (same as the ones visible at index 93).




7. In the corresponding Turm.ZON file, find the node whose parent ID equals to the ID of the node of the original model (here at index = 93). Replace this parent ID by the one corresponding to the "model" node (here at index 107).
____________

REPEAT from 1. for each periscope...


Last edited by Mister_M; 04-06-23 at 10:08 AM.
Mister_M is offline   Reply With Quote