![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
04-15-11, 03:32 PM
|
#1 |
|
Kaleun of U-3
![]() Join Date: Sep 2008
Location: somewhere in 1939
Posts: 1,815
Downloads: 123
Uploads: 0
|
Hi shipmates,
Something is still puzzle me in animation import process, i know there many way it is implemented in game like meshanimationdata, keyframe etc. But i want to clarify a few points that would help the community to achieve stuff based on crystal clear video tutorial. Here are the main obscure points : If you look at Anvart FLG_GE in data\animations folder you have AnimationObject controller on it but no 3d nodes is in only AnimationObject controller that represent 3 different flag states. My question is how do i put my animation in there so i can make my statemachines controller call it with array item playAnim? Also no one anywhere in all the forum have clearly explain how to import animation even basic stuff in game? Skwasjer have made a small video with a coil but he never show or tell how to put it in game. So far the only way i was able to make animation work in game is by re using stock animation from different animation in game and then i change the keyframe parameters timing or rotational value. This point really need to be explain to the user, why making the wonderful tool that is S3D if no one can use it power? Best regards Hans |
|
|
04-15-11, 06:10 PM
|
#2 |
|
Stowaway
Posts: n/a
Downloads:
Uploads:
|
I'm not very good at tutorials but I'll see what I can whip up this weekend.
Most of what I know I figured out by studying different files in SH3 over the years. And exchangeing thoughts and stuff with my Slacker Friend DivingDuck, Anvart the Crazy Russian, and our missing Techno-Mage Ref. |
|
04-16-11, 03:30 AM
|
#3 | |
|
Admiral
![]() Join Date: Jan 2006
Location: Russia ®
Posts: 2,481
Downloads: 122
Uploads: 1
|
Quote:
![]() ... In my case, the Flag is called through equipment (*.eqp file of sub)... node cfg#F01 ... and all others things through StateMachine (control) mechanism ... IIRC, files with animations are placed in Animations folder... File with models and file with StateMachineClasses are placed in Library folder. Do not understand why you asked. ... If you speak about your flooding and if you can use simple animations for water, you must place them in "effect-object" in interior... i think...
__________________
Alex ® ![]() Moses said: "Don't create yourself an idol"... |
|
|
|
04-16-11, 01:42 PM
|
#4 | |
|
Kaleun of U-3
![]() Join Date: Sep 2008
Location: somewhere in 1939
Posts: 1,815
Downloads: 123
Uploads: 0
|
Quote:
If i can understand your english then it is good enough But for placing animated water plane in effect object you mean effect launcher controller? Does this have to be link via statemachines? Best regards hans |
|
|
|
04-16-11, 05:04 PM
|
#5 | |
|
Admiral
![]() Join Date: Jan 2006
Location: Russia ®
Posts: 2,481
Downloads: 122
Uploads: 1
|
Quote:
http://www.subsim.com/radioroom/showthread.php?t=182437 #7. ... if i understand correctly your effect, you can insert your effect into existing parent object where are water flow effect... if i don't understand your idea... you can creat new dummy-effect-object with name-prefix $Gen_ ... and two (or more) child objects - one with particles generator (and if need with new material in material.dat) and with name-prefix $... it's effect of particles over water... second child with your water model and with animation... without name-prefix. In NSS_Uboat7_CR.sim you see InteriorEffectsManager - here are listed and divided into groups IDs of effect-objects (IIRC, parent)... what else..? aha, in *.sim you see StateMachineWrapper controllers - here shows the Graph names ... if your effect is new separated you must to add new controller with new Graph name... in Library folder (if you created new object and new Graph) do new file with new StateMachineClass with new Graph... if not new add into existing file your logic... I don't remember anything anymore ...
__________________
Alex ® ![]() Moses said: "Don't create yourself an idol"... |
|
|
|
04-16-11, 08:04 AM
|
#6 |
|
Grey Wolf
![]() Join Date: Jul 2006
Location: Germany
Posts: 879
Downloads: 10
Uploads: 1
|
Moin Hans,
I'll post a tut when back at home. Don't have access to any computer atm. I have made a tut for SMC called animations only recently. It shows the dependencies of all related files and nodes. Doesn't deal with S3D though, as it was just created to understand the way the they are interlinked. I'll add a S3D part. DD
__________________
|
|
|
04-16-11, 01:51 PM
|
#7 | |
|
Kaleun of U-3
![]() Join Date: Sep 2008
Location: somewhere in 1939
Posts: 1,815
Downloads: 123
Uploads: 0
|
Quote:
That would be great my friend and with your permission i would do a video tutorial out of it. The statemachines controller are powerful trigger and i already understand the logic for the conditions but only need the correct nodes worflow to make it work. So far if anyone is simply trying to make their animation work in game it wont work at all with the obj keyframes export it is only working in S3D and you can see the meshanimationdata add to it but will not work in game, Just to make a test i took the pescarus meshanimationdata and i pasted it on plane and no animation show up in game. So in a word meshanimationdata is not working alone it need to be call by node in a very strict way. Best regards Hans |
|
|
|
04-18-11, 02:34 AM
|
#8 |
|
Sea Lord
![]() Join Date: Mar 2005
Location: Deep down in Germany
Posts: 1,944
Downloads: 42
Uploads: 0
|
hey dd.
nice to see you that fully passioned in duty again! ![]() very nice progress here!
__________________
|
|
|
04-16-11, 05:59 PM
|
#9 | |
|
The Old Man
![]() Join Date: Apr 2007
Location: Netherlands
Posts: 1,553
Downloads: 30
Uploads: 4
|
http://www.subsim.com/radioroom/showthread.php?t=154550
Also see last post, with link to kickinbak, that page has the video where I imported the coil... Quote:
__________________
![]() SH5 mods: Speech Recognition for SH5 | Digital UI Clock Tutorials: [TEC] Import/export 3D models to/from game using S3D [TEC] How to work with the model viewer in S3D - VIDEO |
|
|
|
04-16-11, 06:06 PM
|
#10 | |
|
Kaleun of U-3
![]() Join Date: Sep 2008
Location: somewhere in 1939
Posts: 1,815
Downloads: 123
Uploads: 0
|
Quote:
Long time no see ![]() Hope you are doing well my friend thank for info i will have a look at this asap and by the way i send you a pm regarding this thread : http://www.subsim.com/radioroom/showthread.php?t=182596 If you can shed some light on this i would be more than happy Best regards Hans |
|
|
|
04-16-11, 06:13 PM
|
#11 |
|
Kaleun of U-3
![]() Join Date: Sep 2008
Location: somewhere in 1939
Posts: 1,815
Downloads: 123
Uploads: 0
|
Hi Skwasjer,
I already saw those videos i have no problem importing animation or model in S3d, the only problem i have is to make the animation work in game. In S3D the animation play fine i have no problem on that but when you look in game it doesn't show! So i think that for animation to work also in game i have to used the statemachines controller technique devellop by Anvart and also used by DD on his periscope. Best regards Hans |
|
|
04-16-11, 06:33 PM
|
#12 |
|
The Old Man
![]() Join Date: Apr 2007
Location: Netherlands
Posts: 1,553
Downloads: 30
Uploads: 4
|
It's not needed, I didn't need to... but then again, I was testing in SH4. It's been so long ago that I've worked on this that I can't remember all exactly, but this definately worked for me.
http://s3d.skwas.com/media/S3D_Anims.wmv This vid shows the coil running without any specific controller attached. Although this was recorded in S3D it worked in game. The rods where made with keyframe anims. I wasn't up to the point of implementing the state machine here yet, all ran without it.
__________________
![]() SH5 mods: Speech Recognition for SH5 | Digital UI Clock Tutorials: [TEC] Import/export 3D models to/from game using S3D [TEC] How to work with the model viewer in S3D - VIDEO |
|
|
04-16-11, 06:36 PM
|
#13 | |
|
Kaleun of U-3
![]() Join Date: Sep 2008
Location: somewhere in 1939
Posts: 1,815
Downloads: 123
Uploads: 0
|
Quote:
For me it also working in S3d but unfortunately not in game maybe i am cursed Best regards Hans |
|
|
|
04-16-11, 07:21 PM
|
#14 | |
|
Admiral
![]() Join Date: Jan 2006
Location: Russia ®
Posts: 2,481
Downloads: 122
Uploads: 1
|
Quote:
... and for your mod (Flooding Effect) no need to use it... you have simple case... and StateMachineWrapper. May be we speak about different mods? It's time for bed.
__________________
Alex ® ![]() Moses said: "Don't create yourself an idol"... Last edited by Anvart; 04-18-11 at 04:27 AM. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
