Oni Central Forum

A forum for the Oni community

You are not logged in.

#26 11/30/08 00:11

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

Re: Characters Moves Swap

Hmmm? Where did you get your TRAMs?


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

#27 11/30/08 00:11

Morridin
Member
From: Bulgaria
Registered: 11/28/08
Website

Re: Characters Moves Swap

there is a topic  Modification Diary i got it from there

Offline

#28 11/30/08 00:11

Loser
Member
From: somewhere in da Czech Republic
Registered: 01/14/07

Re: Characters Moves Swap

Morridin, you mean THIS video I think. Old project of mine. I wanted it in AE, but one nasty bug with blue shield popped up, so E-ee, no throwing over obstacles X_x.

Look: Oni has two types of shield.
-Red (boss) shield, which grants around 90% less dmg from shots. But it leaves knockback effect of shots (if you shot Muro with w8_mbo in final battle (Mountain compound), he is knocked down, but takes laughable amount of dmg).
-And then there is *XYZ* (insert bad words) blue shield. It protects you from shots entirely and "absorbs" knockdown effects as well.

Next, in Oni there are two types of "jumping" or being in air.
-Fake one, which is basically just TRAM animation where bones (visible part of character) are told to lift from ground. It looks nice, but with this you cannot jump over obstacles, as collision sphere (invisible part of character, ensures charater's interaction with other wrold) stays on the ground. Only visible model is lifted.
-And true one, for example jump or when blasted by w5_sbg, where whole character (visible model + collision sphere) are lifted from ground. By this way, you can jump over obstacles.

Now you know what you need to understand:
Enhanced throw uses some sort of invisible "shots", modified so they deal no damage, but they cause character to truly lift from ground. Y-positioning of TRAM (how high is visible model from base of its collision sphere) was lowered, so character in this animation "sticks" to the ground all the time. Next, "shot" was added to this TRAM, so it truly lifts character (model +  collision sphere) when it is needed.

By this way, we achieved quite nice efect. But here goes *XYZ* blue shield to spoil the fun. Blue shield absorbs knockback, so if TRAM uses this "shot trick" to lift character and character has blue shield, then character is not lifted when needed and keeps low. Awful to see. That is why this was omitted.

                                                                                                                                         Loser

P.S.: Thank you gumby for dealing with tutorial thing. "I don't have time for this."

Last edited by Loser (11/30/08 00:11)


"I am just a mere reflection of what I would be."

Offline

#29 11/30/08 01:11

Morridin
Member
From: Bulgaria
Registered: 11/28/08
Website

Re: Characters Moves Swap

so that throw mess some parts of the game right ?

Offline

#30 11/30/08 01:11

Loser
Member
From: somewhere in da Czech Republic
Registered: 01/14/07

Re: Characters Moves Swap

No, some parts of game (effects of blue shield) mess this modified throw, making it look ugly.


"I am just a mere reflection of what I would be."

Offline

#31 11/30/08 01:11

Morridin
Member
From: Bulgaria
Registered: 11/28/08
Website

Re: Characters Moves Swap

I see now, Okay

Last edited by Morridin (11/30/08 01:11)

Offline

#32 11/30/08 01:11

Morridin
Member
From: Bulgaria
Registered: 11/28/08
Website

Re: Characters Moves Swap

Thanks for the Explaning

Last edited by Morridin (11/30/08 01:11)

Offline

#33 11/30/08 02:11

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

Re: Characters Moves Swap

Thanks Loser. I probably could have explained it, but not in as much depth as you.

If we ever get engine source I am adding a flag to unstick the collision sphere smile What we need is some way to apply velocity to a character without shooting them.

Morridin: We can still do glass breaking throws (and other moves). Would you like to learn?


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

#34 11/30/08 02:11

Morridin
Member
From: Bulgaria
Registered: 11/28/08
Website

Re: Characters Moves Swap

sure thing big_smile

Offline

#35 11/30/08 03:11

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

Re: Characters Moves Swap

Ok, give me a few days, I've got to prepare\test a few things.


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

#36 11/30/08 04:11

Morridin
Member
From: Bulgaria
Registered: 11/28/08
Website

Re: Characters Moves Swap

Alrighty.

Offline

Board footer

Powered by FluxBB