Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 05/31/09 19:05

Mukade
Member
From: Ottawa, Ontario - Canada
Registered: 05/29/07

Help with adding moves

okay, i would like to make it so that mukade has a few more vvariety of moves. He has many, but he's missing some combos that konoko has. So i'm wondering if i can transfer some of the moves from konoko, to mukade
(specifically D+W+Kick or A+W+Kick and S+W+Kick)

I'd rather at least try to give it a shot doing it on my own, but I need youguys to telle me how :3
Also, is there specific programs i'd need?

thx

Last edited by Mukade (05/31/09 19:05)


"He looks mean enough to tear my arm off and beat me to death with it. In fact, he looks mean enough to tear his OWN arm off and beat me to death with it."

Offline

#2 05/31/09 22:05

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: Help with adding moves

Ok, first off: do you know how to convert .oni files to .xml?


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#3 05/31/09 22:05

myplea1
Member
From: Ottawa,Canada
Registered: 05/25/09

Re: Help with adding moves

no we don't


Awol

Offline

#4 05/31/09 23:05

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: Help with adding moves

Ok, first step to XML modding: Open up a cmd window in the folder of the file you want to extract. Either by using...

Getting an XML file
0. Back up any files you are going to use. In our case, level0_Final\TRACninja_animations.oni

1. Run "cmd" and using" cd folder_name_here" to navigate to the proper folder

or

2. http://download.microsoft.com/download/ … ySetup.exe and right clicking the proper folder and clicking "Open command window here"

in this case you will want to be in Oni\edition\GameDataFolder\level0_Final

3. Extract the xml
In general...

Onisplit.exe -extract:xml output_folder input_file(s).oni

Onisplit does support wildcards (*) so if you want to do the same operation on multiple files, go ahead.

In our case, we want....

..\..\install\Onisplit.exe -extract:xml XML TRACninja_animations.oni

4. Don't close the cmd window ^_^ You will need it later.

Modding TRACs to add new animations

1. Open up the file inside the XML in any text editor. Notepad works fine, but I recommend Notepad++

2. Add the animations we want. In this case...

  • KONCOMrt_fw_kick
    KONCOMlt_fw_kick
    KONCOMbk_fw_kick

We can find these animations by...
A. Looking inside other TRACs
B. Looking inside the level0_Final folder
C. Entering "chr_debug_characters = 1" in the dev console and watching the top right corner (debug area) while we do the animation we want.

so add...

            <TRACAnimation>
                <Weight>100</Weight>
                <Animation>KONCOMrt_fw_kick</Animation>
            </TRACAnimation>
            <TRACAnimation>
                <Weight>100</Weight>
                <Animation>KONCOMlt_fw_kick</Animation>
            </TRACAnimation>
            <TRACAnimation>
                <Weight>100</Weight>
                <Animation>KONCOMbk_fw_kick</Animation>
            </TRACAnimation>

There are a few problems with this method of adding animations...
A. Mukade may seem to sink into the ground
B. It will apply to all ninjas, as Mukade doesn't have a special TRAC all to himself
C. Mukade as an AI will not perform these attacks
D. The moves will still have to be unlocked by level. Not a problem in AE.
All of them are solvable, in varying degrees of difficulty, but one step at a time.

Converting back to .oni

Using the same cmd window we used earlier, enter in the command for converting back to xml
In general...

Onisplit.exe -create output_folder input_file(s).xml

In our case...

..\..\install\Onisplit.exe -create . XML\TRACninja_animations.oni

Getting the .oni file into the game

We need to convert our .oni file into a format that Oni can read. This involves the import command. There are two ways of doing this. Either...

1. Using Step9999.bat in the edition\install folder (just double click it and wait for it to finish)
2. Using the -import:nosep (or import:sep if you are on a Mac)
In general,

Onisplit.exe -import:[sep\nosep] input_folder output_dat.dat

In our case...

..\..\install\Onisplit.exe -import:[sep\nosep (pick one!)]  . ..\level0_Final.dat

You are done! Go into the game and try it out. smile


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#5 06/01/09 13:06

Mukade
Member
From: Ottawa, Ontario - Canada
Registered: 05/29/07

Re: Help with adding moves

havent read through it yet, but it seems long enough to be right tongue

thx!

EDIT: Hmmm, the first link u gave doesnt seem to work, i hjave vista and apparantly it only works on XP/ Fixed - Oh well, it took me some more time, but i got the second way to work

Kay... should be working now, just putting it back in place smile gonna try it out soon

Last edited by Mukade (06/01/09 14:06)


"He looks mean enough to tear my arm off and beat me to death with it. In fact, he looks mean enough to tear his OWN arm off and beat me to death with it."

Offline

#6 06/01/09 14:06

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: Help with adding moves

With Vista, just shift+right click a folder. ^_^


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#7 06/01/09 15:06

Mukade
Member
From: Ottawa, Ontario - Canada
Registered: 05/29/07

Re: Help with adding moves

First attempt: bk+fw+kick works smile
others dont, im going back to check those

EDIT: Nope, it doesnt work for some reason, but all the coding is on... im so confused sad

i dont know if you want togive a try adding lt_fw_kick and rt_fw_kick to Mukade and see if it works?

Last edited by Mukade (06/01/09 15:06)


"He looks mean enough to tear my arm off and beat me to death with it. In fact, he looks mean enough to tear his OWN arm off and beat me to death with it."

Offline

#8 06/02/09 02:06

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: Help with adding moves

Should work...


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#9 06/02/09 14:06

Mukade
Member
From: Ottawa, Ontario - Canada
Registered: 05/29/07

Re: Help with adding moves

my theory is that he has some other move that already uses the combonation or sumthin, so it cant do both, but i dont see how that couldbe since he doesnt have any combo using those keys that i can see


"He looks mean enough to tear my arm off and beat me to death with it. In fact, he looks mean enough to tear his OWN arm off and beat me to death with it."

Offline

#10 06/02/09 14:06

Mukade
Member
From: Ottawa, Ontario - Canada
Registered: 05/29/07

Re: Help with adding moves

okay i think i see what happend, you gave me

<TRACAnimation>
                <Weight>100</Weight>
                <Animation>KONCOMrt_fw_kick</Animation>
            </TRACAnimation>
            <TRACAnimation>
                <Weight>100</Weight>
                <Animation>KONCOMlt_fw_kick</Animation>
            </TRACAnimation>

I looked around TRACkonokocore_animation.oni and found thoe moves myself, but insted of KONCOM it was TRAMKONCOM, im not sure if it works, but im just finishing using step9999 and gonnatry it out, with a couple other added moves smile

hoping it works


"He looks mean enough to tear my arm off and beat me to death with it. In fact, he looks mean enough to tear his OWN arm off and beat me to death with it."

Offline

#11 06/02/09 18:06

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: Help with adding moves

D'oh. That might be it, sorry.


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#12 06/02/09 20:06

Mukade
Member
From: Ottawa, Ontario - Canada
Registered: 05/29/07

Re: Help with adding moves

sadly no, it isnt the issue tongue, still doesnt work. Thats assuming that i put in all the coding in right, oh well, at least i got the one move in and thats a start neutral


"He looks mean enough to tear my arm off and beat me to death with it. In fact, he looks mean enough to tear his OWN arm off and beat me to death with it."

Offline

#13 06/02/09 20:06

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: Help with adding moves

Can you upload the .oni file?

EDIT: The problem might be a missing transition. I'll look through sometime and check to make sure Mukade doesn't need a missing animation.


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#14 06/03/09 14:06

Mukade
Member
From: Ottawa, Ontario - Canada
Registered: 05/29/07

Re: Help with adding moves

i could just send you the xml isntead and save youthe trouble of extracting it yourself tongue

EDIT: Where do i upload it >.>

Last edited by Mukade (06/03/09 14:06)


"He looks mean enough to tear my arm off and beat me to death with it. In fact, he looks mean enough to tear his OWN arm off and beat me to death with it."

Offline

#15 06/03/09 14:06

Iritscen
Moderator
From: NC, USA
Registered: 10/22/07

Re: Help with adding moves

The forum doesn't take attachments.  You'll have to use drop.io or another file sharing site of your choice.


Check out the Anniversary Edition Seven at ae.oni2.net!

Offline

#16 06/05/09 14:06

Mukade
Member
From: Ottawa, Ontario - Canada
Registered: 05/29/07

Re: Help with adding moves

http://drop.io/l245w8i/asset/tracninja-animations-xml
here it is... i dunno whts wrong lol, maybe look at the different konoko animations, i think theres different instances of the combo i want, you gave me one, but i found a different one, there may be another one that will work

Last edited by Mukade (06/05/09 14:06)


"He looks mean enough to tear my arm off and beat me to death with it. In fact, he looks mean enough to tear his OWN arm off and beat me to death with it."

Offline

#17 08/31/09 19:08

Mukade
Member
From: Ottawa, Ontario - Canada
Registered: 05/29/07

Re: Help with adding moves

Kay, im giving it another attempt, with the easy to use Onisplit GUI, but i ust realized that the new AE doesnt have step9999 so how do i getthe edited .oni file back to the game?
*Also, i could never get the manual wayto do it to work tongue the sep/nosep etc... way

Last edited by Mukade (08/31/09 19:08)


"He looks mean enough to tear my arm off and beat me to death with it. In fact, he looks mean enough to tear his OWN arm off and beat me to death with it."

Offline

#18 08/31/09 20:08

Leus
Member
From: Boone, NC
Registered: 05/28/09
Website

Re: Help with adding moves

"Seems long enough to be right."  Rofl.


If we don't change the direction we're going, we'll likely end up where we're headed.

Offline

#19 08/31/09 20:08

Mukade
Member
From: Ottawa, Ontario - Canada
Registered: 05/29/07

Re: Help with adding moves

i don't follow >_>

Anyways, i may have solved this myself also, i guess the equivilent  of step9999.bat is now creating mod packages for the game, so i just created a package and installing it now.. testing it in a bit

EDIT: Partial success once more...... yes, i was correct in my thinknig and it did import the stuffi wanted, but as before the twister kicks dont work (lt_fw_kick and rt_fw_kick)

EDIT2: Okay.... i also got the red fury's run_fw_kick throw to work, the one where she surfs you face onto the floor, and her throw_bk_kick where she oes thid crazy thing and flips you with her leg.. (albeit it looks a bit awkward, but im no pro smile ) is it just that that move is not compatible with the specific character??

Last edited by Mukade (08/31/09 20:08)


"He looks mean enough to tear my arm off and beat me to death with it. In fact, he looks mean enough to tear his OWN arm off and beat me to death with it."

Offline

Board footer

Powered by FluxBB