User Tools

Site Tools


openomf:animation_string

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
openomf:animation_string [2024/10/02 14:55] – [Animation string] joneirikopenomf:animation_string [2024/10/17 14:37] (current) – [M-O] katajakasa
Line 1: Line 1:
 ===== Animation string ===== ===== Animation string =====
-[[omf2097_file_formats|<back<]]+[[omf2097_file_formats|<-back]]
  
 +Animation Strings are the code inside the .AF files (HAR/Bots), that defines how moves and various other things works. They're a string of various tags and values, that instructs the game/engine on what actions to pull at what stage of each move etc. This page is a list of all the tags and with what the OpenOMF team have figured out about them so far.
  
 +----
 ===== Basic format ===== ===== Basic format =====
  
Line 177: Line 179:
 | mo | Enables some flag on animation selected with MM. Possibly used on other HAR ? | | mo | Enables some flag on animation selected with MM. Possibly used on other HAR ? |
 | mu<n> | Sets animation MM unavailable for use for the next <n> ticks. N < 1024. | | mu<n> | Sets animation MM unavailable for use for the next <n> ticks. N < 1024. |
-| mn<n> | |+| mn<n> | Sets z-index for the current and following animation sprites and created animations (by m tag). 0 disables, 1-n enables. Empty value means 0. |
 | mp<n> | Bitmask (1 byte). Affects at least how mn tag is handled. <code> | mp<n> | Bitmask (1 byte). Affects at least how mn tag is handled. <code>
-0x1  Unknown+0x1  Run sprite pixel colors through the palette remapping multiple times (how many?)
 0x2  Unknown 0x2  Unknown
-0x4  Somehow refers to HAR 1+0x4  Unknown, HAR 1 related ?
 0x8  Unknown 0x8  Unknown
-0x10 Somehow refers to HAR 2 +0x10 Unknown, HAR 2 related ? 
-0x20 Flip X axis operations+0x20 Unknown
 0x40 Unknown 0x40 Unknown
 0x80 Unknown 0x80 Unknown
Line 217: Line 219:
 | sa | | | sa | |
 | sb<n> | Sound panning. The range of n is -100 (far left) to 100 (Far right). Value above 126 causes overflow to -128, value lower than -128 is capped to -128.  | | sb<n> | Sound panning. The range of n is -100 (far left) to 100 (Far right). Value above 126 causes overflow to -128, value lower than -128 is capped to -128.  |
-| sc<n> | sc0 is different from other sc tags |+| sc<n> | sc0 is different from other sc tags -- This is possibly sound channel selection |
 | sd | | | sd | |
 | se<n> | similar to sl<n+1>, overrides sl if both sl and se are present in this frame. | | se<n> | similar to sl<n+1>, overrides sl if both sl and se are present in this frame. |
Line 241: Line 243:
 ^ Tag ^ Notes ^ ^ Tag ^ Notes ^
 | t | Prevent sound from playing, if other HAR is blocking. | | t | Prevent sound from playing, if other HAR is blocking. |
-| ua | Sets enemy HAR to damage animation, if not already set. |+| ua | Sets enemy HAR to damage animation, if not already set. Used to keep opponent immobilized during shadow grab, until the grab fades. |
 | ub | Motion blur effect for the current object | | ub | Motion blur effect for the current object |
 | uc | | | uc | |
Line 254: Line 256:
 | ur | | | ur | |
 | us | | | us | |
-| uz | |+| uz | Used in shadow grab. Causes the shadow to disappear when the opponent takes damage |
 | v | 'velocity' modifier for x/y tags | | v | 'velocity' modifier for x/y tags |
 | vsx | also does v. Never used? | | vsx | also does v. Never used? |
openomf/animation_string.1727902547.txt.gz · Last modified: 2024/10/02 14:55 by joneirik