[solved] Clone hit problem - 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] Clone hit problem (/showthread.php?tid=3325) Pages:
1
2
|
||
RE: Clone hit problem - HappyHouR - 07-28-2009 (07-28-2009, 08:03 PM)Bamboori Wrote: isn't that what i just said? :P Oh sorry lolz. I thought about the other way around. Character turing into ball lolz.The self hit methid is good if you wanna make your clone do an action after being spawned. state 8000 makes the character go to the standing frame. RE: Clone hit problem - Hax0r - 07-28-2009 There no way with no ball or a changing in to ball please i need easy way ;/. Thanks Sorry 4 mistakes i'm from poland. ;] RE: Clone hit problem - HappyHouR - 07-28-2009 (07-28-2009, 09:16 PM)Hax0r Wrote: There no way with no ball or a changing in to ball please i need easy way ;/. Thanks Sorry 4 mistakes i'm from poland. ;] You could Try also this. Opoint id 5 in frame that transform it into your character.This id has max of 10hp & it dosnt gain hp. If you want you could just copy the code in the spoiler. You just spawn Rudolf in frame that make him to trasform into your character using state 8xxx.Also pic 0-139 will be consider as 140-279.That all. file(0-69): sprite\sys\yourcharacter_0.bmp w: 79 h: 79 row: 10 col: 7 file(70-139): sprite\sys\yourcharacter_1.bmp w: 79 h: 79 row: 10 col: 7 file(140-209): sprite\sys\yourcharacter_0.bmp w: 79 h: 79 row: 10 col: 7 file(210-279): sprite\sys\yourcharacter_1.bmp w: 79 h: 79 row: 10 col: 7 RE: Clone hit problem - Hax0r - 07-28-2009 Great idea but i dont want edit other chars ;/ RE: Clone hit problem - HappyHouR - 07-28-2009 (07-28-2009, 09:53 PM)Hax0r Wrote: Great idea but i dont want edit other chars ;/ It aint affecting rudolf. IT just a single frame that make him to trasform into your character. All the other ways will cause the character to gain hp after you set the hp . Using ball to selfhit your Clones could be very messy.I know cause i tried. it does work. here the code with self hit .The clones will gain hp. RE: Clone hit problem - Hax0r - 07-28-2009 1. My post /\ 2. After hit Dja he will turn back and i have attack on Dja 3. He will have ranged AI RE: Clone hit problem - Alblaka - 07-29-2009 (07-28-2009, 09:16 PM)Hax0r Wrote: There no way with no ball or a changing in to ball please i need easy way (07-28-2009, 09:53 PM)Hax0r Wrote: Great idea but i dont want edit other chars ;/ Sry to disappoint you, but you want a clone move with limited hp, then you HAVE to do something. Imo there are only 4 ways to do this (besides HEXing, which is REALLY difficult): 1. Make the clone hitting himself (which requires a ball) or make your char hitting the clones (It's pretty easy you only need state:18 and a special bdy). 2. Take id 52 (Julian) or id 5 (Rudolph) and give him a special summon frame, transforming into the clone (Works flawless and doesn't affect the chars). 3. Summon a ball which has hit_a: 490 and wait: 1 in his frame, which transforms into the clone afterwards (Not really THAT much complicated...) 4. Make the clone auto-disappearing (next: 1000) in all injured, lying, falling etc frames... will work same as having 10 hp. Or you could even simply c&p one of the solutions that the guys above even given you as DC-Codes... RE: Clone hit problem - Hax0r - 07-29-2009 (07-29-2009, 09:39 AM)Alblaka Wrote: 1. Make the clone hitting himself (which requires a ball) or make your char hitting the clones (It's pretty easy you only need state:18 and a special bdy). What special bdy you have on mind? RE: Clone hit problem - naruto hyuuga - 07-29-2009 like this bdy: kind: 0 x: 21 y: 1000000 w: 43 h: 62 bdy_end: at some enormus y value or bdy: kind: 0 x: -10000000 y: 1000000 w: 2000000000 h: 2000000000 bdy_end: i giant body at a high y value RE: Clone hit problem - godews - 10-07-2009 hi, I guess I'v found a few hours ago the answer to this problem :D. just look at this exemple. I started editing a few days ago, and a friend of me asked me to edit an firzen to him, with a move that call 1 firen and 1 freeze with 10 hp (so it won't be a "broken char"). I'v done some tests and then I'v asked myself "I can't damage them that easly with that precision, exactly 490 pts", so, the only solution is to make the char sacrifices that much hp with an attack. In other words, I must force the char do a move for itself that sacrifices that much. my newbie DC solution is this, take a look at my chars code: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ FIRZEN:
--------------------------------------------------------------- Then add to firen and freeze this frames:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Actually, I'v tested the chars a lot a times and ever works. not allways right at the moment, but works with no fail. But as you can see, I'v put the summoned chars frames in a cycle with no body, so the chars cannot be alved, and with state 10, that make the chars to do not respond to any keys the AI uses. its only ways to get free from that "prision" is to use the right keys to pass to next possible frame, frame 396. and when they does, they loses 490 hp and 100mp. The only fail in this is that the char may have more than 10 hp :(. I hope I'v helped ;) |