Little Fighter Empire - Forums
Knight - using 3 spritesheets! - Printable Version

+- Little Fighter Empire - Forums (https://lf-empire.de/forum)
+-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7)
+--- Forum: Data Changing (https://lf-empire.de/forum/forumdisplay.php?fid=11)
+---- Forum: Tutorials (https://lf-empire.de/forum/forumdisplay.php?fid=12)
+---- Thread: Knight - using 3 spritesheets! (/showthread.php?tid=10726)



Knight - using 3 spritesheets! - STM1993 - 08-09-2017

Knight has always been a troublesome character DC-wise. He is hardcoded to use +114 to pic for his _b sprite, but using state 8037 just results in the Knight appearing messed up because it still uses +140 to pic. Either you make him look good in Battle, or able to work with state 8xxx.
[Image: tKZ7MPg.png]
NO LONGER SHALL THIS TROUBLE YOU! Introducing the data & sprite edit template for the Knight that allows you to have the best of both worlds!

Just to give an idea of how its done:
    DC-Code:
file(0-25):    sprite\knight\knight_0.bmp     w: 79  h: 99  row: 13  col: 4   #1  unused 26-51
file(52-77):   sprite\knight\knight_1.bmp     w: 79  h: 99  row: 13  col: 4   #2  unused 78-103
file(104-108): sprite\knight\knight_2.bmp     w: 79  h: 99  row: 5   col: 2   #3  unused 109-113
   file(114-139):   sprite\knight\knight_0b.bmp   w: 79  h: 99  row: 13  col: 4    #4 0c = (140-165)
   file(166-191):   sprite\knight\knight_1b.bmp   w: 79  h: 99  row: 13  col: 4    #5 1c = (192-217)
   file(218-222):   sprite\knight\knight_2b.bmp   w: 79  h: 99  row: 13   col: 3    #6 2c = (244-247) unused 248-256
file(257-269): sprite\knight\knight_3.bmp     w: 109 h: 99  row: 13  col: 2   #7
   file(270-341):   sprite\knight\nth.bmp           w: 1   h: 1   row: 88  col: 1  #8
   file(371-396):   sprite\knight\knight_3b.bmp     w: 109 h: 99  row: 13  col: 3  #9 3c = (397-408)

Knight_0b - containing the Battle b sprite, and the _c sprite used for state 8xxx (courtesy of Hari)
[Image: LqY7YWB.png]
As you can see, I was able to fit almost all the sprites into 9 out of 10 bitmap slots, into sections of 26 at most. I only needed to use 1 filler slot, though that filler can potentially be converted for in a new spritesheet. I said "almost all sprites" because I removed 2 specific injury sprites that are identical to his grab attack sprites.

Feel free to use this "template" for your LF2 modding projects!

Download:
[attachment=3572]

As a bonus, here's an old pack which contains b_sprites for ALL characters:
https://www.lf-empire.de/forum/showthread.php?tid=10573&pid=204649#pid204649

Enjoy!
Credits to Hari for the new knight sprite.

edit: I decided to update this after taking some notes from YinYin's goldknight, see the original post in the spoiler below.



Original Post (Click to View)



RE: Knight - using 3 spritesheets! - STM1993 - 09-02-2017

Updated!
I managed to fit everything into 9 bitmap slots instead of 10 after taking out 2 repeated sprites & using YinYin's 13 in a row format.
I also used Hari's new knight sprite instead of Ramond's old recolour for this update.

The original post is still there if you want my older version which has a silly mistake in the burning frames(I swapped the pic numbers).