Oni Central Forum

A forum for the Oni community

You are not logged in.

#26 01/30/10 14:01

Samer
Member
From: Lebanon
Registered: 09/04/09
Website

Re: Creating new animations (TRAMS) for Oni.

Do u have BGI characters Iritscen ? u need characters to animate them tongue


Join our Oni Facebook Group
Check My YouTube Channel for my Oni Videos.
Check My Wiki page for all my stuff

Offline

#27 01/30/10 20:01

Samer
Member
From: Lebanon
Registered: 09/04/09
Website

Re: Creating new animations (TRAMS) for Oni.

EdT I'm trying to give the typhoon a new super punch by modifying Striker's\TCTF SWAT super punch .. the plan is to add some of the Elite's super punch to it too .

It seems to have extracted fine ... but the position of the body at some frames is really weird ...

for example these pics :

at frame 14 the body is completely tilted then at 15 it gets back to normal ... at frame 28 and others the leg is directed upwards ... which in the actual game move never happens ...

so is that normal and expected ? or is there something wrong going on ?

also if I want to mix this move with the elite's super :S how do i do that ? mix two moves ?

2010-01-31%2003%2026%2058.jpg


also do u have a very basic tutorial on the expressions ? is a key different from a frame :$ ?
and how do u remove a key ? if i wanted to remove the key or frame 14 where the body was tilted .. do i select the region between 13-14 and delete ? or cut ? or should I move the other frames over it ... whatever I try seems to mess up the other frames too ... and how do I make the animation shorter it has 40 frames I deleted from 28 upward but when it plays it still goes to 40 but with no animation change.

I'm sorry too many questions D: u don't have to answer all of them :$ I know nothing about animation :$


P.S : now I have much more appreciation to the moves u made !

Last edited by Samer (06/30/11 04:06)


Join our Oni Facebook Group
Check My YouTube Channel for my Oni Videos.
Check My Wiki page for all my stuff

Offline

#28 01/30/10 21:01

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: Creating new animations (TRAMS) for Oni.

Samer: Obviously, you didn't read my tutorial tongue  Just teasing, maybe my tutorial was not as clear as I thought.

3) If you get odd rotations where a body part is rotating in the wrong direction, select the part, go to the popup menu under the timeline called "Animation" select the option "Make Rotation Keys Continuous"

So at frame 14 you're getting the odd rotations.  It seems that the pelvis and right and left thighs are the ones that get those odd rotations.  Sometimes, you have to keep applying that option to the body part as you are editing.

(Note: In the timeline at the bottom I changed the number of frames to 18)

If you look next to the timeline in the box it says 40, you will change it to 27 or whatever it should be.

A frame is a point in time, so with animations for Oni, there will be 60 frames for 1 second of action. A key is where a part's parameter is set: location, rotation and probably size.  So if you want the pelvis to be at a specific location, you will select it then press the key icon to key it. That's what's cool about 3D animation, you key certain parts then XSI will make the transition between the keyed frames.  So normally you will call a frame that has a key a keyframe.

One way to remove a key, is to select the body part with a key, notice that the key icon is red, click on the key icon, it turns green and the red mark is removed from the timeline. The second way is using the DopeSheet, select the key to be deleted and click on the X icon.

Mixing 2 moves, unfortunately, I have not figured how to do that in XSI.  But a workaround is to extract the 2 moves as XML, then combine them together.  You will add the 2nd animation's Heights, Velocities, Rotations (You will have to add the data to each Bone), Positions to the first one. You can ignore the other stuff, these items will give the animation data for XSI.

Don't worry you will soon learn quickly.

Last edited by EdT (01/30/10 23:01)

Offline

#29 02/01/10 22:02

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: Creating new animations (TRAMS) for Oni.

Samer: I combined 4 TRAMs, Striker's comb_p, comb_p_p, comb_p_p_p and Red's run_punch in XML as mentioned above.  Converted the XML to .oni.  Then extracted the new TRAM with the ONCC and got this:
http://www.twitvid.com/D0B9B

Its an idea for a new punch_heavy move.  Now I can edit the animation in XSI.  Don't know how well it will work, but I thought I'd give it a try.

Offline

#30 02/02/10 18:02

Samer
Member
From: Lebanon
Registered: 09/04/09
Website

Re: Creating new animations (TRAMS) for Oni.

cool big_smile

can't wait to see what u'll make of it smile

btw the fury's running punch is really interesting for a super, is it easier to make a series of the same move ?

example 3 of the fury's running punch combined in one move ?

u said u have to add the data for each bone :S that must have taken forever :S

will the difference in heights of the fury and striker be an issue in the game, will motoko's feat sink ?  or since u copied the data for each bone and not the other heights section it won't tongue ? or is the heights data rewritten when u export the move ? or am I talking nonsense tongue ?


Join our Oni Facebook Group
Check My YouTube Channel for my Oni Videos.
Check My Wiki page for all my stuff

Offline

#31 02/02/10 20:02

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: Creating new animations (TRAMS) for Oni.

Samer:  Not sure what I'll do with this, it was more of a test of combining a number of TRAMs into one.

It is easy to copy the running punch, by first selecting all the body parts, then in the DopeSheet, copy the frames of the move, then paste the frames.  You will have to have some form of transition between the moves.

Regarding the Striker's height data, I used a spreadsheet to lower the heights to fit Motoko and then put that data into the XML file before converting.  If I used the Striker's height data, then Motoko would have been floating above the ground.

I had to copy and paste 19 bones 3 times to make the XML data, so it took a few minutes. smile

Offline

#32 02/03/10 11:02

love_Oni
Member
From: Da Nang, Vietnam
Registered: 05/10/08

Re: Creating new animations (TRAMS) for Oni.

Just  my thought:

If we want to modify the height position of pelvis and the velocity of the body correctly to make a smooth animation, it is also necessary to do it in XML. For example (er..) I used to want to make Barabus' earthquake jump higher, so at the frame which he jumps to the highest place, I increased the height from 19.56 to 25.13. I did the same to the frames before that one and decreased the height of the frames after steadily. But after that, his jump looked weird. As Gumby said, the orbit of the jump should be parabolic so I tried to find the proper quadratic function of the height. Ha, the jump looks good now. smile

I also want to make elite's super punch a bit more efficient, by making his body move on a round in front of him and return to the initial position. I may need to find the proper sine function of the back/front and left/right velocity, I don't know.

I don't know where I can get the software to make animation so I'm just still modding it in XML. If I could get it I would definitely learn about it for some fun in my spare time, as I think modding animation is my most favorite hobby about Oni. Of course, it is better than doing nothing. smile


The Boy Who Knew Too Much tongue

Offline

#33 02/03/10 12:02

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: Creating new animations (TRAMS) for Oni.

love_Oni: You can get Mod Tools from here:
http://usa.autodesk.com/adsk/servlet/pc … d=13571257

Be sure to check the Mod Tools thread:
http://oni.bungie.org/community/forum/v … ?pid=17555

3D animation is fun!

Offline

#34 02/04/10 11:02

love_Oni
Member
From: Da Nang, Vietnam
Registered: 05/10/08

Re: Creating new animations (TRAMS) for Oni.

Thanks. I didn't know that software before.

It seems big (440 MB) for me. I've asked my brother to download it so I think I'll get it later. smile

(Have you ever play "Blade and Sword"? There are some nice moves in that game. If I am able to, I think I'll take some moves from it.)


The Boy Who Knew Too Much tongue

Offline

#35 04/18/11 16:04

Samer
Member
From: Lebanon
Registered: 09/04/09
Website

Re: Creating new animations (TRAMS) for Oni.

I have a major problem.

once the animation is made and saved as TRAM and imported into game successfully using the method EdT mentioned. (deleting heights, positions velocities .. etc and adding daeimport into the xml then converting to oni)
if i want to re-modify some simple detail in the move, a hit impact or hit points for example. 
I convert the oni back to xml : in the xml i get Qkeys instead of Ekeys, then i do the modifications say change the hit impact, or effect, save the xml and try to convert the xml back to oni : Onisplit doesn't convert it. something about can't read Qkeys.

so this means, one can't re-modify custom moves, say the heavy kick mukade made for casey, if i just want to change the hit points, i can't anymore. so any custom animation is final unless one keeps the dae ? something i'm not always doing hmm
is there any way to work around this ?


Join our Oni Facebook Group
Check My YouTube Channel for my Oni Videos.
Check My Wiki page for all my stuff

Offline

#36 04/18/11 16:04

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: Creating new animations (TRAMS) for Oni.

Try using this older version of OniSplit: http://dl.dropbox.com/u/139715/OniGalor … 9.41.0.zip

You will have to edit the xml file's header to <Oni Version="0.9.41.0">

Offline

#37 04/19/11 15:04

Samer
Member
From: Lebanon
Registered: 09/04/09
Website

Re: Creating new animations (TRAMS) for Oni.

EdT wrote:

Try using this older version of OniSplit: http://dl.dropbox.com/u/139715/OniGalor … 9.41.0.zip

You will have to edit the xml file's header to <Oni Version="0.9.41.0">


thx EdT it worked smile I hope there won't be any cons later though.


Join our Oni Facebook Group
Check My YouTube Channel for my Oni Videos.
Check My Wiki page for all my stuff

Offline

#38 04/27/11 14:04

Samer
Member
From: Lebanon
Registered: 09/04/09
Website

Re: Creating new animations (TRAMS) for Oni.

so far .. I've managed o make new moves by merging and modifying existing ones. I still don't know hot to make completely original moves like EdT. paradox and Mukade did.

the part i'm stuck at is ... how do u position the body parts :\ ?? say u want to do a kick starting from the idle pose animation. would u rotate or translate the body parts ? and would u translate each part individually ? the thigh the calf and the foot each at a time ? they look weird when i do that hmm ...and would u do that for each frame D: ?
to make the leg raise for example in each frame it will raise a little bit more. or do u make like few major frames and let xsi make them continuous on its own ?

also what are some tips for making throws. i want to make a custom throw for hayate.


Join our Oni Facebook Group
Check My YouTube Channel for my Oni Videos.
Check My Wiki page for all my stuff

Offline

#39 04/28/11 00:04

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: Creating new animations (TRAMS) for Oni.

Usually, I start with the idle TRAM, keep the first frame and delete the rest.  Then I would focus on the pelvis' position and rotation and make keyframes of the pelvis every ten to 20 frames depending on the move.  Remember that 60 frames equals 1 second of animation.  XSI will make the in-between frames.

Next is to position the major parts of the body at the keyframes.  Thighs will affect the calf and feet.  Chest will affect the upper body, biceps affect the wrist and hands.  So you start with a very rough animation, then start adding details. Loser suggested keyframing all the parts to make the animation look better.

For example I have an animation that is 60 frames, I would set a keyframe at 0, 15, 30, 45 and 60.  At each of these frames I would position all the body parts to the proper position and rotation.  Then keyframe each of the body parts at that frame.  Sometimes, XSI will have the part move in the wrong direction, so you may have to create another keyframe to get the body part moving correctly.

I have never made a throw, but you will need to make 2 animations for the character and the target.  You would create both animations in a single scene, so its easy to visualize.  However, the target animation has to be rotated 180 degrees.  Paradox has experience with this aspect.

Hope this helps.

Offline

#40 04/28/11 10:04

paradox-01
Member
From: Germany
Registered: 01/14/07

Re: Creating new animations (TRAMS) for Oni.

EdT told you pretty much all everything. IMO, the step between changing animation and making 'completely' new ones is only a psychological step.

About throws: I didn't made many of them, probably three and I kept the files only of one. So my experience is acually little here.
Besides the pelvis rotation you also need to change its movement direction.
Example: not import-ready and import-ready.
(As less pelvis key frames you have as less work you have do.)

Offline

#41 06/30/11 03:06

Samer
Member
From: Lebanon
Registered: 09/04/09
Website

Re: Creating new animations (TRAMS) for Oni.

help :$ !

EdT following ur tutorial ... i came to this step, putting the dae file name in the xml and converting to oni.
the animation is 180 frames ...
....
<Start>0</Start>
<End>...</End>
</DaeImport>
so i put in the end field 180 .. it does convert but oni split says : Warning the specified animation end frame is beyond the last key frame, using the last frame instead.
after that though it converted .. the game doesn't start...

if i put in the end field: 100 instead of 180.. it doesn't give a warning and the game starts but the animation is cut ...

i couldn't get above 100 in the end or the game doesn't start ... is 100 the limit ?? or am i do doing something wrong sad ?

Last edited by Samer (06/30/11 04:06)


Join our Oni Facebook Group
Check My YouTube Channel for my Oni Videos.
Check My Wiki page for all my stuff

Offline

#42 06/30/11 08:06

EdT
Moderator
From: Los Angeles, CA
Registered: 01/13/07
Website

Re: Creating new animations (TRAMS) for Oni.

You are running into the current bug of OniSplit which can only convert up to 107 frames of animations.   To fix your problem, use an older version of OniSplit: http://dl.dropbox.com/u/139715/OniGalor … 9.41.0.zip 

See this page for modding errors: http://wiki.oni2.net/Modding_errors

Offline

#43 06/30/11 10:06

Samer
Member
From: Lebanon
Registered: 09/04/09
Website

Re: Creating new animations (TRAMS) for Oni.

EdT when i use that version it doesn't convert the xml at all .. onisplit says :
System.Xml.XmlException: Element 'Lookup' was not found. Line 4, position 10
and bunch of other stuff related to that

(of course the lookup was moved from line 4 when i added dae import flag)

:S


i've also tried it to convert the animations i made before for hayate, it failed to convert them too, with the same error, though they converted fine before with 0.9.5 ...
but i know it can be done, the animation made by mukade for casey looks like more than 100 frames. (not sure)


so 0.95 doesn't convert more than 107 and 0.941 doesn't convert at all when i add the dae import flag.
also 0.95 has another bug : once a move is done and it's in oni .. convert it back to xml edit something and try to convert back to oni, it can't convert it something about can't read Qkeys.

btw are these bugs being reported to anyone ? isn't there an in between onisplit version that allows conversion of tram with dae import like 0.95 and still allow re-editing that move's xml after conversion from oni like 0.941

Last edited by Samer (06/30/11 12:06)


Join our Oni Facebook Group
Check My YouTube Channel for my Oni Videos.
Check My Wiki page for all my stuff

Offline

#44 06/30/11 13:06

Dirk Gently
Member
From: Boston, MA
Registered: 06/12/09
Website

Re: Creating new animations (TRAMS) for Oni.

Do it manually? smile

Offline

#45 06/30/11 13:06

Samer
Member
From: Lebanon
Registered: 09/04/09
Website

Re: Creating new animations (TRAMS) for Oni.

which means smile ?
yeah i'm barely doing any modding as is ^_^

Last edited by Samer (06/30/11 13:06)


Join our Oni Facebook Group
Check My YouTube Channel for my Oni Videos.
Check My Wiki page for all my stuff

Offline

#46 06/30/11 14:06

Delano762
Member
From: Poland
Registered: 12/29/10
Website

Re: Creating new animations (TRAMS) for Oni.

I'm starting to look around XSI and when I try to import... erm... ONCCmuro_generic.oni, exported as .dae (this is the problem? According to the picture, eez not) using crosswalk (File/Crosswalk/Import) and I get an error called Unspecified Failure.

Last edited by Delano762 (06/30/11 14:06)


Circus Afro, Circus Afro, Polka Dot, Polka Dot!

Offline

#47 06/30/11 14:06

Samer
Member
From: Lebanon
Registered: 09/04/09
Website

Re: Creating new animations (TRAMS) for Oni.


Join our Oni Facebook Group
Check My YouTube Channel for my Oni Videos.
Check My Wiki page for all my stuff

Offline

#48 06/30/11 14:06

Delano762
Member
From: Poland
Registered: 12/29/10
Website

Re: Creating new animations (TRAMS) for Oni.

Erm... Can't find anything there.


Circus Afro, Circus Afro, Polka Dot, Polka Dot!

Offline

#49 06/30/11 17:06

Samer
Member
From: Lebanon
Registered: 09/04/09
Website

Re: Creating new animations (TRAMS) for Oni.

paradox - EdT - mukade have u successfully made an animation more than 107 frames before ? if so what onisplit did u use ... i'm really stuck sad i need to make jester that final animation before i release him and start on the hammer.

anyway tongue if someone's feeling up to it i started the move by combining 2 elite heavy kicks in xml the imported to xsi (cannon balls) and deleted the frames to make it 1 continuous roll .. the idea is to raise the pelvis at some frames to make a bouncing ball move.


Join our Oni Facebook Group
Check My YouTube Channel for my Oni Videos.
Check My Wiki page for all my stuff

Offline

#50 06/30/11 17:06

paradox-01
Member
From: Germany
Registered: 01/14/07

Re: Creating new animations (TRAMS) for Oni.

"and 0.941 doesn't convert at all when i add the dae import flag"
The dae flag is a newer feature. 0.941 doesn't know that flag so it can't handle it.

For long animations use 0.941 and following command.
onisplit -create:tram output input/*.dae

Then edit the xml file. Types, variant, attack, part., etc have to be added.

Offline

Board footer

Powered by FluxBB