[solved] [problem]How to add new criminal - 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: Solved Problems (https://lf-empire.de/forum/forumdisplay.php?fid=14) +---- Thread: [solved] [problem]How to add new criminal (/showthread.php?tid=3302) Pages:
1
2
|
|||
[solved] [problem]How to add new criminal - truongdzuy - 07-23-2009 I make a new criminal ( Justin ) and here is the code :
But In the game , when I hit the criminal then it just have the shadow . Why ? I think the mistake is on the:
but I dunno how to make another kind: for justin , how can I do ??? RE: [problem]How to add new criminal - Eddie - 07-23-2009 right, you haven't edited your stage.dat that's why you're getting the shadow, rather than the character come up methinks. So use this link: http://www.lf-empire.de/lfev9/en/lf2-empire/data-changing/types/166-stage RE: [problem]How to add new criminal - no one - 07-23-2009 where's frame 39? EDIT: ninja'ed RE: [problem]How to add new criminal - truongdzuy - 07-23-2009 Oh yeah , now I can get it . Use kind: 10xx just work when hit and it'll turn to frame xx . Oh yeah , now it's working , and I had 2 new criminal , thanks . Well , It's SOlved RE: [problem]How to add new criminal - Eddie - 07-23-2009 so none of us were useful? XD RE: [problem]How to add new criminal - truongdzuy - 07-23-2009 "right, you haven't edited your stage.dat" No I do yet but I have another question : How can I make for the Bat criminal new skin like bandit,justin,monk,etc... RE: [problem]How to add new criminal - no one - 07-23-2009 the criminal transform back to themselves via state: 80xx so the sprite sheet will change. RE: [problem]How to add new criminal - truongdzuy - 07-23-2009
This's the code . I think it transform to new sprite sheet yet but very weird when he use skill and hit RE: [problem]How to add new criminal - no one - 07-23-2009 the pic number will be +140 when transform, did you take care of that? RE: [problem]How to add new criminal - Ramond - 07-23-2009 Try this, just without the transform back thingy. Your problem is that, you know, when you use state 80xx, each pic: in every frame is shifted by 140 (so pic 0 becomes 140, pic 13 becomes 153, pic 60 becomes 200). This worked for the criminals because they only had 2 spritesheets, but for chars with more spritesheets you need to change each pic: that is 140 or higher into the number +140. As bmps, you have bat_0.bmp #0-69 bat_1.bmp #70-139 bat_0.bmp #140-209 bat_1.bmp #210-279 bat_2.bmp #280-349 (make sure you make it have 10 row 7 col) bat_2.bmp #this is obligatory/unused, you could use anything here. #350-419 (same, 10 row 7 col) bat_2.bmp #420 - anything now if bat's special attacks is pic 140 to something, you add 140 to each pic. in that case the sprite stays 'normal', whether transformed or not. |