Darkbluesky
05-26-10, 06:38 AM
Hello
I am stuck in the middle of my mod trying to solve an issue with statemachine controlers.
What I am trying to do is to make an animation of a 3D object (until here ok thanks to Anvart explanations in the forums and other modders' work) but at some point of the animation, I need that the camera change to another station automatically.
I guess it is possible, because in the game there is a "similar" situation: when you are in the conningdeck and order periscope depth, at some depth value the camera is changed automatically to Conning tower, I guess this is done using a statemachine approach, with a couple conditions, first to check if you are in conningdeck/flak gun/deck gun, and the second one, if depth is greater than some value. But which is the "action" that makes the camera to change station?
I have searched sh3.exe and statemachine files with an HEX editor, but unless I have missed something, I have not found any string that hints that. I have checked the dat files in library folder, but I have not found neither a clue.
I really need to do that... Have I missed some file? Could someone please, help me? even a little :DL? A hint? Tx
I am stuck in the middle of my mod trying to solve an issue with statemachine controlers.
What I am trying to do is to make an animation of a 3D object (until here ok thanks to Anvart explanations in the forums and other modders' work) but at some point of the animation, I need that the camera change to another station automatically.
I guess it is possible, because in the game there is a "similar" situation: when you are in the conningdeck and order periscope depth, at some depth value the camera is changed automatically to Conning tower, I guess this is done using a statemachine approach, with a couple conditions, first to check if you are in conningdeck/flak gun/deck gun, and the second one, if depth is greater than some value. But which is the "action" that makes the camera to change station?
I have searched sh3.exe and statemachine files with an HEX editor, but unless I have missed something, I have not found any string that hints that. I have checked the dat files in library folder, but I have not found neither a clue.
I really need to do that... Have I missed some file? Could someone please, help me? even a little :DL? A hint? Tx