Advertisement
Mechalico

Special effect header

Sep 15th, 2017
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. Special effect header:
  2.  
  3. The special effect header is at "Mystery 4" on each background object. It consists of:
  4.  
  5. 0x00: 0x04 Uint of Special Effect 1 "frames".
  6. 0x04: 0x04 Uint of Special Effect 1 offset.
  7. 0x08: 0x04 Uint of Special Effect 2 "frames".
  8. 0x0C: 0x04 Uint of Special Effect 2 offset.
  9. 0x10: 0x04 Uint of Special Effect 3 offset.
  10.  
  11. The remaining bytes appear to be zeroes.
  12.  
  13. Each special effect 1 is 0x14 long and apparently consists of 3 uints, 3 ushorts, and two bytes in that order. It's currently unknown what these values are but it likely relates to animated pictures - It's used for the silhouettes in Night, for instance.
  14.  
  15. Each special effect 2 is 0x10 long and appears to consist of three floats, a byte, and 3 zeroes. Again, it's unknown what the purpose is. It's possible that it relates to the flames in Storm.
  16.  
  17. Special Effect 3 is 0x08 long, and consists of two floats. This is the texture scroll, first in the X and then in the Y, presumably in texture lengths/heights.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement