View Single Post
Old 04-05-23, 04:40 AM   #1
Mister_M
Grey Wolf
 
Join Date: Feb 2021
Posts: 925
Downloads: 27
Uploads: 0


gear How to get the periscopes to rotate ?

Maybe you've noticed that the periscopes don't rotate in SH3 while you're actually scanning the horizon with them...

To make them rotate and get them to point exactly where you are watching with them, here is how to proceed :

With S3D, 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. Add a child node. I've called it "z rotation". Its rotation on Z axis must be -90°.




3. Add a child node. I've called it "ROTATION DIAL".




4. Add a child "Dial" controller with the proper parameters.




5. Add a child node. I've called it "model". It will be the visible model of the periscope. Its rotation on Z axis must be +90°. In the linked model area, copy-paste the ID of the original model (at index 92) and add the proper material(s).




6. 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).


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