![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|||||||||
![]() |
|
|
Thread Tools | Display Modes |
|
|
11-07-09, 06:05 AM
|
#1 |
|
Ace of the Deep
![]() Join Date: Mar 2006
Posts: 1,135
Downloads: 147
Uploads: 12
|
Hi everybody,
I have been trying to modify the camera position for the different cameras. I think I figured out how to do this via the NSS_Uboat*_CR.cam files (via the EditObjPos controller). However, I don't know how to do the same for the FreeCommandRoom camera because there is no EditObjPos controller for it (I can modify the position in the camera.dat file, but then it is not sub specific).I tried to add an EditObjPos controller to the NSS_Uboat*_CR.cam file and connected it to a new node in the NSS_Uboat*_CR.dat file, but it did not work So, does anyone know how one can change the initial position of the FreeCommandRoom camera in a sub-specific way? Cheers, LGN1 |
|
|
11-08-09, 12:30 PM
|
#2 |
|
Ace of the Deep
![]() Join Date: Mar 2006
Posts: 1,135
Downloads: 147
Uploads: 12
|
No one any idea or tip
? Where are the camera mod masters? ![]() Cheers, LGN1 |
|
|
11-09-09, 01:21 PM
|
#3 |
|
Grey Wolf
![]() Join Date: Jul 2006
Location: Germany
Posts: 879
Downloads: 10
Uploads: 1
|
Moin LGN1,
you´ll have to add a new child node to your 'CommandRoomFreeCam' in 'cameras.dat', a 'CameraPositioner'. Add a sub entry pointing to the InteriorForeCam and you´ll have your FreeCam linked to the fore cam´s position. Thus the position will fit all subs. Regards, DD
__________________
|
|
|
11-09-09, 03:11 PM
|
#4 |
|
Stowaway
Posts: n/a
Downloads:
Uploads:
|
I've absolutely no idea what you just said there Diving Duck,,,,,but it sounded brilliant!
|
|
11-09-09, 03:32 PM
|
#5 |
|
Ace of the Deep
![]() Join Date: Mar 2006
Posts: 1,135
Downloads: 147
Uploads: 12
|
Hi Diving Duck,
thank you very much for your help Unfortunately, it seems I am missing something. I modified the camera.dat along the lines you describe and it now looks like this: [img=http://img338.imageshack.us/img338/5092/s3d.th.jpg] The 0x9579.....aa4 is the id of the InteriorFore camera node. I did not touch the InteriorFore camera node or anything else. However, the modified camera is still at its initial position. The only change I have realized is that after the change, the camera always jumps back to the initial position if I press Shift+F2 ![]() Do I have to change anything in the InteriorFore camera node? Or do I have to change the position of the FreeCommandRoom node? In this case I would not understand how it would be sub-specific if the relative position between the InteriorFore view and FreeCommandRoom view is sub-specific ![]() Anyway, I hope it makes sense what I am telling and hope you have another tip for me. Thanks a lot! Cheers, LGN1 |
|
|
11-10-09, 10:05 AM
|
#6 |
|
Grey Wolf
![]() Join Date: Jul 2006
Location: Germany
Posts: 879
Downloads: 10
Uploads: 1
|
Moin,
this is how it works, from memory. So, forgive me any mistake. You will have to test it on your own. If you set 'always' to '1' (true) then the values of the linked cam will be used when switching to free cam view. This however means you need to add as many sub entries as interior cams you want to switch to free cam view from. This is needed if you don´t want the free cam to always start at an initial position but in the position of the cam you came from. So, if you link InteriorFore to the free cam, then you will almost not recognize (all values set '1') when switching to free cam view (Shift+F2). But when you switch from any other cam to free cam, then you´ll be in the free cam´s intial position again. Let´s say you are in hydrophone view and go to free cam, you will find yourself in CR then. To avoid this, add one sub entry per interior cam and you will always start from the last cam´s view when switching to free cam. Don´t recall the behaviour when 'always' is unticked. So, that´s the bit you have to check out yourself. For the latest OH version (not yet released) I´ve always set 'always' to '1'. Have fun testing, DD
__________________
|
|
|
11-10-09, 12:39 PM
|
#7 |
|
Ace of the Deep
![]() Join Date: Mar 2006
Posts: 1,135
Downloads: 147
Uploads: 12
|
Hi Diving Duck,
thanks for the reply! I will try it again and test. Just to be sure, I don't need to modify the nodes of any other camera, only the FreeCommandRoom node? Edit: Everything works fine! ![]() Thanks again, Diving Duck! I am eagerly waiting for your new open hatch masterpiece! Cheers, LGN1 Last edited by LGN1; 11-10-09 at 12:54 PM. Reason: Understood it :) |
|
|
![]() |
|
|
