![]() |
Quote:
If i can understand your english then it is good enough:up: 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 |
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 |
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 ... :gulp: |
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:
|
Quote:
Long time no see:salute: 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 :up: Best regards Hans |
Answer on video
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 |
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. |
Quote:
For me it also working in S3d but unfortunately not in game maybe i am cursed :haha: Best regards Hans |
Quote:
... and for your mod (Flooding Effect) no need to use it... you have simple case... and StateMachineWrapper. :DL May be we speak about different mods? It's time for bed. |
Quote:
|
Moin Hans,
if your animation shows in S3D but not ingame, you probably have not set the 3d_model identifier (see pic) correctly or you´ve got an ID conflict. Skwasjer is, of course, right saying that you do not need a SMC to make an animation show up ingame. But there are several hooks that might prevent your solution from working. First thing to do is to create a new node featuring a 3d model.
Second step: you have to make sure the 3d_model type/identifier is set to 0x02. (see pic below) Otherwise you will see the base mesh only without animation. http://i182.photobucket.com/albums/x...mation_004.jpg Third step: select the 3d_model node and import your *.obj file sequence. This is the easiest way to bring an ever looping animation into the game. If you don´t want the animation to loop constantly, you´ll have to split and put the data into several files. See pic below. http://i182.photobucket.com/albums/x...mation_002.jpg This last pic says it all. If there´s still something missing, ask! Regards, DD |
Quote:
Thank for that great tutorial but finally someone as pin point that without an hexeditor animation wont work in game i knew that since the beginning and i wasted countless hours trying to make animation work in game. So since i am not good at all at hex editor can you just show me how to change that value to fix my animation? If i type the number in File Offset of S3D in Hex editor will it show me the required information to change? Edit: After some test i follow DD advice on identification tag for 3d model and the animation is working in game wahoooo just have to make the correct statemachines class to make it work under damage state conditions. http://www.u-boot-hahd.com/ubootwebs...eun-Cheers.gif A thousand thank DD you did it again mate. Best regards Hans |
Saving animations
Hi again,
DD can you tell me what is your procedure to save your animation in animation folder? Because now my water flooding work in game by changing tag ID to 2 like you mention but it is only working when i imported the meshanimationdata in my CR.dat. If i remove the meshanimationdata it does not trigger the animation i previously saved in animation folder? Also on game engine what is less demanding regarding animation is it better to save animation in external animation folder or to used them directly under Dat files? Best regards Hans |
Saving .anim
Hi shipmates,
I did some new test on saving as .anim file, what i did is i export as raw data the meshanimationdata and import it back in .anim. file and deleted the 3d model node leaving only the noset +meshanimationdata and re link it to parent AnimationObject. And it is still not working so i think it could be 2 main reasons, first the way i saved .anim file and second the way i build the statemachines class, so far i did only 1 states entries just to test animation trigger in game can you tell me what is wrong with this SMC : http://i886.photobucket.com/albums/a...tteman/SMC.jpg http://www.subsim.com/radioroom/data...8AD/vPt7//2Q== Best regards Hans |
hey dd.
nice to see you that fully passioned in duty again! :yeah: very nice progress here! :salute: |
All times are GMT -5. The time now is 08:39 PM. |
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.