XML:BINA/ONIE: Difference between revisions

From OniGalore
Jump to navigation Jump to search
No edit summary
Line 322: Line 322:
:Could be more easily\accurately done with an attached particle on the hit_head animations. [[User:Gumby|Gumby]] 03:54, 10 May 2009 (UTC)
:Could be more easily\accurately done with an attached particle on the hit_head animations. [[User:Gumby|Gumby]] 03:54, 10 May 2009 (UTC)
::For example, Ninja's PPK looks like it doesn't care whether it hit the head or an arm. It just has <HitAnimationType>HitHead</HitAnimationType> and this is played on target as long as PPK wasn't blocked, right? :/ [[User:Paradox-01|Paradox-01]] 13:41, 10 May 2009 (UTC)
::For example, Ninja's PPK looks like it doesn't care whether it hit the head or an arm. It just has <HitAnimationType>HitHead</HitAnimationType> and this is played on target as long as PPK wasn't blocked, right? :/ [[User:Paradox-01|Paradox-01]] 13:41, 10 May 2009 (UTC)
:::D'oh. Yeah, forgot. Lazy\overworked Oni devs. >_< Hmm. Well we could almost implement locational attacks, except for a few problems. The most major one being the blue shield effect. ;) [[User:Gumby|Gumby]] 00:54, 11 May 2009 (UTC)


*'''Footprints in snow.''' Should be possible through character-environment collision plus decals or particle which becomes fixed to the ground.
*'''Footprints in snow.''' Should be possible through character-environment collision plus decals or particle which becomes fixed to the ground.
:Not quite. What would need to be done is have a particle attached to the character by spawning them and doing a single frame (basically 0, if interpolated, i think) animation to activate some attached particles that spawn decals. :)
:Not quite. What would need to be done is have a particle attached to the character by spawning them and doing a single frame (basically 0, if interpolated, i think) animation to activate some attached particles that spawn decals. :)
::I think I know what you mean. The decal is every time dropped in first TRAM frame. An alternative might be to set CollideWithWalls=true in attached particle and use HitWall event to drop the decal. [[User:Paradox-01|Paradox-01]] 13:41, 10 May 2009 (UTC)
::I think I know what you mean. The decal is every time dropped in first TRAM frame. An alternative might be to set CollideWithWalls=true in attached particle and use HitWall event to drop the decal. [[User:Paradox-01|Paradox-01]] 13:41, 10 May 2009 (UTC)
:::No, the decal emitter is attached in the frame of a special animation that spawns it. The alternative version is the easiest way to go, and won't get buggered by other things.[[User:Gumby|Gumby]] 00:54, 11 May 2009 (UTC)
:We could also have this activate cold breath effects. :) The former would only be good if we had an actual snow level (or dirt :P), but the latter would be good for Compound. [[User:Gumby|Gumby]] 03:54, 10 May 2009 (UTC)
:We could also have this activate cold breath effects. :) The former would only be good if we had an actual snow level (or dirt :P), but the latter would be good for Compound. [[User:Gumby|Gumby]] 03:54, 10 May 2009 (UTC)
::Yeah, that would be fun. ^^ [[User:Paradox-01|Paradox-01]] 13:41, 10 May 2009 (UTC)
::Yeah, that would be fun. ^^ [[User:Paradox-01|Paradox-01]] 13:41, 10 May 2009 (UTC)
Line 332: Line 334:
:I had the same thought as you a while ago, when we first had ONIE modding unlocked for us. However, I think a better application might be for guns to deal less damage to armour than to flesh. In fact, all the neccessary materials are already in place, there are seperate effects for bullet hits already. :) [[User:Gumby|Gumby]] 03:54, 10 May 2009 (UTC)
:I had the same thought as you a while ago, when we first had ONIE modding unlocked for us. However, I think a better application might be for guns to deal less damage to armour than to flesh. In fact, all the neccessary materials are already in place, there are seperate effects for bullet hits already. :) [[User:Gumby|Gumby]] 03:54, 10 May 2009 (UTC)
::Okay, I will add damage dealing particle for flesh/cloth material around next week. [[User:Paradox-01|Paradox-01]] 13:41, 10 May 2009 (UTC)
::Okay, I will add damage dealing particle for flesh/cloth material around next week. [[User:Paradox-01|Paradox-01]] 13:41, 10 May 2009 (UTC)
:::Coolio. Make sure to upload your files somewhere, or catch me on Yahoo. I'll include it as a package in the next AE. (Not that I don't know how to do it myself, but the installer is taking up all my Oni time atm...) [[User:Gumby|Gumby]] 00:54, 11 May 2009 (UTC)

Revision as of 00:54, 11 May 2009

BINA/ONIE: impact effects

XML notes

  • More than one particle possible in particle part.
  • Location #5: particle is fixed to character if origin is particle-character collision, not fixed if origin is character-character collision*. (* example: look up plasma shot "w3_phr_x02" and add it in particle section of <Impact Name="Kick_Hit">)

<div class="NavFrame collapsed" style="width:

<Orientation>0</Orientation>
<Location>0</Location>
<Orientation>0</Orientation>
<Location>4</Location>
<Decal1>false</Decal1>
<Decal2>true</Decal2>
<Orientation>3</Orientation>
<Location>1</Location>
<Offset>0.2</Offset>
<Orientation>0</Orientation>
<Location>1</Location>
<Offset>-1</Offset>

 ">