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

Reply
 
Thread Tools Display Modes
Old 09-06-10, 10:05 AM   #1
keltos01
Silent Hunter
 
Join Date: Feb 2008
Location: Milan Italy
Posts: 4,999
Downloads: 114
Uploads: 18
Default [needed] water interaction + anim


the AA gun moves following the arrow's direction, but it doesn't stop rotating...

I need to make an object move when my boat submerges. And appear when we surface...

where do I find a water interaction controller and how do I link it to my model's animation ?

thanks

keltos
__________________
"Honorable Builder of Sinking Ships"

keltos01 is offline   Reply With Quote
Old 09-06-10, 10:20 AM   #2
Hitman
Pacific Aces Dev Team
 
Hitman's Avatar
 
Join Date: Sep 2002
Location: Spain
Posts: 6,109
Downloads: 109
Uploads: 2


Default

Look in the flooding holes or the dive planes. They both change their status when submerged/surfaced.
__________________
One day I will return to sea ...
Hitman is offline   Reply With Quote
Old 09-06-10, 04:05 PM   #3
ETR3(SS)
Ocean Warrior
 
Join Date: Dec 2007
Location: Between test depth and periscope depth
Posts: 3,021
Downloads: 175
Uploads: 16
Default

Silverwolf may be the one to go to for advice as well. A lot of his mods do what you're describing.
__________________


USS Kentucky SSBN 737 (G)
Comms Div 2003-2006
Qualified 19 November 03

Yes I was really on a submarine.
ETR3(SS) is offline   Reply With Quote
Old 09-08-10, 06:26 AM   #4
keltos01
Silent Hunter
 
Join Date: Feb 2008
Location: Milan Italy
Posts: 4,999
Downloads: 114
Uploads: 18
Default

Where is the controller linked to the planes ? the one that starts the animation as you dive ?how is it linked to the planes ?

what I managed so far is to rotate the gun backwards and then to lower it in the hull, but the animation loops ingame

keltos
__________________
"Honorable Builder of Sinking Ships"

keltos01 is offline   Reply With Quote
Old 09-08-10, 04:02 PM   #5
keltos01
Silent Hunter
 
Join Date: Feb 2008
Location: Milan Italy
Posts: 4,999
Downloads: 114
Uploads: 18
Default AA guns animation



surfacing : the guns come up

Going to periscope depth :



you can see the AA guns lowering themselves into the hull.



underwater : AA gun stowed away !

one gun to check though but it works !!

I copied the bak plane node from the hull with its label, set the parent id of both AA guns to that of the added backplane, set the plane to visible=no, moved it to 0,0,0 so it would be centered and the AAs at their right places.

the view here above is when surfacing the sub : the AAs are there

This I couldn't figure out alone : thanks to Silverwolf and Peabody who told me what to do !

keltos
__________________
"Honorable Builder of Sinking Ships"

keltos01 is offline   Reply With Quote
Old 09-09-10, 06:30 AM   #6
keltos01
Silent Hunter
 
Join Date: Feb 2008
Location: Milan Italy
Posts: 4,999
Downloads: 114
Uploads: 18
Default plane animation

where does the bow/rear planes animation come from ?

it's not in the submarine.dat , I can't find their ids in any of the files but for the .zon (damage)

it is also linked to a water interaction node somewhere... where ???

anyone knows ?

keltos
__________________
"Honorable Builder of Sinking Ships"

keltos01 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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:25 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.