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 > SHIII Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 04-23-10, 04:31 AM   #1
Darkbluesky
Sparky
 
Join Date: Sep 2006
Posts: 155
Downloads: 61
Uploads: 0
Default [TEC] Link between clickable spot and camera?

Hello

I was exploring .cam files in order to learn to mod some ideas I had.

I found, for example this: the highlighted proprierty defines the action to trigger when the parentID model (in this case the conning tower hatch 3D model, whose definition is inside the NSS_Uboat7_CR.dat file) is clicked.

The action is, afaik, to trigger the "Conning tower camera", according to what is shown in S3D (see screenshot), if I am not wrong. At this point I lose the link between this and the definition of the characteristics of the conning tower camera, which is defined in Cameras.dat.

I mean, how does the engine know that the command described here "Conning tower camera" relates to the CT camera in Cameras.dat (in Cameras.dat it is described as "_Dummy_Cam_ConningTower")? Is there still another file in between?

The node "_Dummy_Cam_ConningTower" in Cameras.dat does not have any ParentID, and there is no reference to the command "Conning tower camera" in commandes_en.cfg neither... Could some modder please help me?

Thank you very much for any advice!

Note: I am checking all of that with FM_New_Interiors files. Trying to learn from FM work, although I think the question is the same with stock files.


Last edited by Darkbluesky; 04-23-10 at 07:09 AM.
Darkbluesky is offline   Reply With Quote
 


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 05:38 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.