[solved] îtr/kind 8 problem: attack - 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] îtr/kind 8 problem: attack (/showthread.php?tid=2747) Pages:
1
2
|
|
[solved] îtr/kind 8 problem: attack - Reaper - 04-28-2009 Hi everybody. As you maybe know I'm working on my first char in the moment and I tried to do an itr/kind 8 attack. As you can think it didn't work( otherwise I wouldn't have posted.) What should happen: The reaper catches the enemy and creates a ball that follows this enemy through itr/kind 8. No problem until here. Now I used the "slowing down time" idea I found somewhere here( its by zxcv11791) : It hurts the enemy with 0 injury and fall: -1. problem, the enemy isn't attacked. The idea: The attack has an itr/k 8 in the first two frames with a dvx 1 and dvx 2. This makes the attack follow the enmy. In the next frames it has normal kind: 0 with injury 0 and fall -1 to slow down the enemy. After frame 4 it goes back to frame one( again with the itr/k 8. So that it follows the enemy) what I tried out: changing the area. in this code it is extremely big. deleting the timer, because I thought it would have problems with the dvx in itr/k 8. So whats the problems? doesn't itr/k 8 work with kind 0 and I have to opoint it? Or something else?
RE: îtr/kind 8 problem: attack - Ramond - 04-28-2009 One thing that stands out to me... your y: 100 in the itr indicates the hit area is far in the ground (if the ball is shorter than 100 pixels). Other than that... I'm not too experienced with things that involve balls. RE: îtr/kind 8 problem: attack - TheNave - 04-28-2009 ya, y: 100 should be the problem, also shouldn't the next be 999 on frame 4? RE: îtr/kind 8 problem: attack - Simoneon - 04-28-2009 y: is on the ground, ya. Nave is right with next, and I think in frame 1 need to be next: 2 or 999 also. Idk, it maybe be different to Your plans, but this just opinion. RE: îtr/kind 8 problem: attack - Ramond - 04-28-2009 No, I think frame 1 repeats until the ball hits an enemy, then (through dvx: 2) it jumps to frame 2. RE: îtr/kind 8 problem: attack - Azriel - 04-28-2009 in addition to the above, make vrest for ik0 1, otherwise timestop doesn't work properly. (I don't think vrest: 0 works, but u can try that). if it's vrest: 1, I would opoint 2 of the timestop things wait: 0 apart (wait: 0 is 1 frame long), and have the same ik0 vrest: 1. Azriel~ RE: îtr/kind 8 problem: attack - Alblaka - 04-29-2009 The ball cannot hit anything: "wait: 0" If you use wide itr's the engine needs some time to "scan" all the area and detect hitable targets. That's a reason why you use large bdy's and not large itr8's for upgrade etc purposes... To make the big itr working, wait should be at least 4 or something, you have to test it... but with wait:0 i'm not sure, whether even the small itr8 one will work there... Also: I'm not sure how the engine is doing it exactly, but if you put one itr8 and an itr0 together... maybe it will simply do the itr8 first, jump to another frame and ignore the itr0 as long, as an enemy is in range of the itr8 ^^ Either way, if you have a large area time slow, you don't need any kind of itr8, do you? RE: îtr/kind 8 problem: attack - Azriel - 04-29-2009 oh right. actually wait: 2 is enough to scan everywhere for any itr. I think wait: 1 is possible, but 2 is a safe guard Azriel~ RE: îtr/kind 8 problem: attack - Reaper - 04-29-2009 thank you all. actually I only wanted the itr to affect the character it's attached to. I just used this big area to make sure that I hit the enemy and there won't be an area problem. Stupid idea, should prevent mistakes and created one... Anyway thank you all. I'll try it out when I'm back from school.( can't do it in the moment.) RE: îtr/kind 8 problem: attack - Alblaka - 04-29-2009 (04-29-2009, 09:57 AM)Reaper Wrote: thank you all. actually I only wanted the itr to affect the character it's attached to. I just used this big area to make sure that I hit the enemy and there won't be an area problem. You want to slow down ONE enemy with a ball? ROFL Exactly that is doing the thunderbolt move of my new char ^^ If you want, i can send you the code of that ball via PN. The ball hits an enemy, and sticks to him, causing low damage and slowing him down (massively). |