Mech scripts [message #459772] |
Mon, 21 November 2011 17:22 |
|
jlhill17
Messages: 45 Registered: September 2011
Karma: 0
|
Recruit |
|
|
I've been working for hours on a mech, trying to get it to animate ingame using both the RebornIs_Mech and JFW_Vehicle_Animation scripts. I can't seem to get either one to work. The animation works when I simply set it as the vehicle animation in the settings tab of the preset in LevelEdit, but it doesn't run when I use it in either of the scripts. I tried exporting the model and animations in several different ways, but none of them work.
Do they maybe only work in a mix and not a mod package? Can anyone help me get any of these scripts to work?
|
|
|
Re: Mech scripts [message #459793 is a reply to message #459772] |
Tue, 22 November 2011 23:18 |
|
E!
Messages: 70 Registered: February 2004
Karma: 0
|
Recruit |
|
|
the JFW_Vehicle_Animation Script should work. Where have u attached it to?(in LE in the Presets tree or straight to the Vehicle after placed on the map?) What Parameters have u used please post me all of them:
Animation
Subobject
FirstFrame
LastFrame
Blended
Time
TimerNum
<<SCUD-Storm Origin Creator>>
|
|
|
|
Re: Mech scripts [message #459799 is a reply to message #459772] |
Wed, 23 November 2011 06:56 |
kamuixmod
Messages: 211 Registered: July 2010
Karma: 0
|
Recruit |
|
|
when export it 3 times also on the standart time there is the whole animation already?
If yes, then u export the same model 3 times just with diff names or?
|
|
|
|
Re: Mech scripts [message #459880 is a reply to message #459867] |
Thu, 24 November 2011 16:45 |
|
Jerad2142
Messages: 3809 Registered: July 2006 Location: USA
Karma: 6
|
General (3 Stars) |
|
|
Export all the models as hierarchical animated models, use basemodelname be the skeleton target for basemodelname_m and basemodelname_b. JFW_Vehicle_Animaton will try to override Reborn_IsMech, so if you do use it make sure that the animation JFW_Vehicle_Animation uses doesn't override any changes made by reborn is mech (IE, don't force set any bones in that animation that you are using for Reborn is mech).
Make sure basemodelname, basemodelname_m and basemodelname_b are all hierarchical animated models as well. If you do that Reborn_IsMech will work without JFW_Vehicle_Animation for sure, and if you do it all right it should hopefully work for JFW_Vehicle_Animation as well.
kamuixmod wrote on Wed, 23 November 2011 06:56 | when export it 3 times also on the standart time there is the whole animation already?
If yes, then u export the same model 3 times just with diff names or?
|
blah_B.w3d is backward animation
blah_m.w3d is forward
blah.w3d is just the model itself.
Visit Jerad's deer sweat shop
[Updated on: Thu, 24 November 2011 16:47] Report message to a moderator
|
|
|
Re: Mech scripts [message #459897 is a reply to message #459772] |
Thu, 24 November 2011 23:12 |
|
E!
Messages: 70 Registered: February 2004
Karma: 0
|
Recruit |
|
|
your script parameters are correct except for the animation name. as you said you don't got an animation named vikingmech_A.vikingmech_A
for JFW_Vehicle_Animation you only need 1 model exported as hierarchical animated model. for normal vehicles without move animation the hierarchical model is enough but the animation frames are only exported when export as hierarchical animated model. so if you export your standard model which would have the name vikingmech.w3d the animation inside this file would have the name vikingmech.vikingmech and that's what you have to set as animation parameter. Make sure that your Frames are set correctly in the export window of renx/3dsmax so that all your animation frames are exported into the file and not only 1(should fit to your script parameters first frame and last frame). I'm not sure about the reborn mech script because i haven't take a look into it right now but at least the JFW_Vehicle_Animation script should work then.
<<SCUD-Storm Origin Creator>>
|
|
|
|
|
|
Re: Mech scripts [message #460050 is a reply to message #459772] |
Mon, 28 November 2011 09:13 |
|
jlhill17
Messages: 45 Registered: September 2011
Karma: 0
|
Recruit |
|
|
I can do what I need with the reborn script, but just for trivia sake I tried the JFW script again as explained above, but it still gives me an internal error when I try to build a vehicle with this script attached. I set it up like I described above with the animation set to vikingmech.vikingmech as recommended. Any ideas?
|
|
|