![]() |
|
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: Problem (/showthread.php?tid=579) Pages:
1
2
|
Problem - Ascor - 07-07-2008 i've got a problem i've coded a new attack for a character i have this <bmp_begin> file(0): sprite\sys\FEUERBALL.bmp w: 80 h: 80 row: 1 col: 1 weapon_hit_sound: data\020.wav weapon_drop_sound: data\020.wav weapon_broken_sound: data\020.wav <bmp_end> <frame> 0 flying pic: 0 state: 3000 wait: 1 next: 1 dvx: 23 dvy: 0 centerx: 51 centery: 41 hit_a: 1 hit_d: 0 hit_j: 0 itr: kind: 0 x: 79 y: 79 w: 70 h: 63 dvx: 30 dvy: -30 fall: 10 vrest: 10 bdefend: 16 injury: 45 effect: 2 itr_end: bdy: kind: 0 x: 22 y: 27 w: 55 h: 27 bdy_end: <frame_end> <frame> 1 flying pic: 0 state: 3000 wait: 1 next: 2 dvx: 23 dvy: 0 centerx: 51 centery: 41 hit_a: 1 hit_d: 0 hit_j: 0 itr: kind: 0 x: 79 y: 79 w: 70 h: 63 dvx: 30 dvy: -30 fall: 10 vrest: 10 bdefend: 16 injury: 45 effect: 2 itr_end: bdy: kind: 0 x: 22 y: 27 w: 55 h: 27 bdy_end: <frame_end> <frame> 2 flying pic: 0 state: 3000 wait: 1 next: 3 dvx: 23 dvy: 0 centerx: 51 centery: 41 hit_a: 1 hit_d: 0 hit_j: 0 itr: kind: 0 x: 79 y: 79 w: 70 h: 63 dvx: 30 dvy: -30 fall: 10 vrest: 10 bdefend: 16 injury: 45 effect: 2 itr_end: bdy: kind: 0 x: 22 y: 27 w: 55 h: 27 bdy_end: <frame_end> <frame> 3 flying pic: 0 state: 3000 wait: 1 next: 4 dvx: 23 dvy: 0 centerx: 51 centery: 41 hit_a: 1 hit_d: 0 hit_j: 0 itr: kind: 0 x: 79 y: 79 w: 70 h: 63 dvx: 30 dvy: -30 fall: 10 vrest: 10 bdefend: 16 injury: 45 effect: 2 itr_end: bdy: kind: 0 x: 22 y: 27 w: 55 h: 27 bdy_end: <frame_end> <frame> 4 flying pic: 0 state: 3000 wait: 1 next: 5 dvx: 23 dvy: 0 centerx: 51 centery: 41 hit_a: 1 hit_d: 0 hit_j: 0 itr: kind: 0 x: 79 y: 79 w: 70 h: 63 dvx: 30 dvy: -30 fall: 10 vrest: 10 bdefend: 16 injury: 45 effect: 2 itr_end: bdy: kind: 0 x: 22 y: 27 w: 55 h: 27 bdy_end: <frame_end> <frame> 5 flying pic: 0 state: 3000 wait: 1 next: 999 dvx: 23 dvy: 0 centerx: 51 centery: 41 hit_a: 1 hit_d: 0 hit_j: 0 itr: kind: 0 x: 79 y: 79 w: 70 h: 63 dvx: 30 dvy: -30 fall: 10 vrest: 10 bdefend: 16 injury: 45 effect: 2 itr_end: bdy: kind: 0 x: 22 y: 27 w: 55 h: 27 bdy_end: <frame_end> <frame> 10 hiting pic: 8 state: 3001 wait: 1 next: 11 dvx: 0 dvy: 0 centerx: 40 centery: 43 hit_a: 1 hit_d: 0 hit_j: 0 <frame_end> <frame> 11 hiting pic: 9 state: 3001 wait: 1 next: 12 dvx: 0 dvy: 0 centerx: 40 centery: 42 hit_a: 1 hit_d: 0 hit_j: 0 <frame_end> <frame> 12 hiting pic: 10 state: 3001 wait: 1 next: 13 dvx: 0 dvy: 0 centerx: 44 centery: 41 hit_a: 1 hit_d: 0 hit_j: 0 <frame_end> <frame> 13 hiting pic: 11 state: 3001 wait: 1 next: 1000 dvx: 0 dvy: 0 centerx: 52 centery: 40 hit_a: 1 hit_d: 0 hit_j: 0 <frame_end> <frame> 20 hit pic: 8 state: 3002 wait: 1 next: 21 dvx: 0 dvy: 0 centerx: 44 centery: 43 hit_a: 1 hit_d: 0 hit_j: 0 <frame_end> <frame> 21 hit pic: 9 state: 3002 wait: 1 next: 22 dvx: 0 dvy: 0 centerx: 41 centery: 43 hit_a: 1 hit_d: 0 hit_j: 0 <frame_end> <frame> 22 hit pic: 10 state: 3002 wait: 1 next: 23 dvx: 0 dvy: 0 centerx: 44 centery: 41 hit_a: 1 hit_d: 0 hit_j: 0 <frame_end> <frame> 23 hit pic: 11 state: 3002 wait: 1 next: 1000 dvx: 0 dvy: 0 centerx: 54 centery: 41 hit_a: 1 hit_d: 0 hit_j: 0 <frame_end> <frame> 30 rebounding pic: 8 state: 3003 wait: 1 next: 31 dvx: 0 dvy: 0 centerx: 43 centery: 43 hit_a: 1 hit_d: 0 hit_j: 0 <frame_end> <frame> 31 rebounding pic: 9 state: 3003 wait: 1 next: 32 dvx: 0 dvy: 0 centerx: 40 centery: 42 hit_a: 1 hit_d: 0 hit_j: 0 opoint: kind: 1 x: 41 y: 42 action: 0 dvx: 0 dvy: 0 oid: 210 facing: 1 opoint_end: <frame_end> <frame> 32 rebounding pic: 10 state: 3003 wait: 1 next: 33 dvx: 0 dvy: 0 centerx: 46 centery: 39 hit_a: 1 hit_d: 0 hit_j: 0 <frame_end> <frame> 33 rebounding pic: 11 state: 3003 wait: 1 next: 1000 dvx: 0 dvy: 0 centerx: 52 centery: 41 hit_a: 1 hit_d: 0 hit_j: 0 <frame_end> but how can my character use this attack what can i do? RE: Problem - Lauli - 07-07-2008 You have to make the character spawn the attack. For that you should use "opoint". Code: <frame> ??? Shootaction: At which frame the created attack should start dvx/y: It gives the attack extra boost oid: ID number of the attack RE: Problem - Ascor - 07-08-2008 Lauli Wrote:You have to make the character spawn the attack. For that you should use "opoint".i love you and then...? sorry ad:
RE: Problem - Lauli - 07-08-2008 And then you have to combine this thread (http://www.lf-empire.de/forum/showthread.php?tid=67) with the opoint thingy. RE: Problem - Ascor - 07-19-2008 and now i have this <frame> 295 feuerball pic: 13 state: 3 wait: 1 next: 296 dvx: 0 dvy: 0 dvz: 0 centerx: 44 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 mp: 50 opoint: kind: 1 x: 49 y: 53 action: 0 dvx: 30 dvy: 30 oid: 300 facing: 0 opoint_end: wpoint: kind: 1 x: 40 y: 57 weaponact: 24 attacking: 1 cover: 0 dvx: 0 dvy: 0 dvz: 0 wpoint_end: bdy: kind: 0 x: 26 y: 12 w: 27 h: 68 bdy_end: <frame_end> <frame> 296 feuerball pic: 13 state: 3 wait: 1 next: 297 dvx: 0 dvy: 0 dvz: 0 centerx: 44 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 wpoint: kind: 1 x: 40 y: 57 weaponact: 24 attacking: 1 cover: 0 dvx: 0 dvy: 0 dvz: 0 wpoint_end: bdy: kind: 0 x: 26 y: 12 w: 27 h: 68 bdy_end: <frame_end> <frame> 297 feuerball pic: 13 state: 3 wait: 1 next: 298 dvx: 0 dvy: 0 dvz: 0 centerx: 44 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 wpoint: kind: 1 x: 40 y: 57 weaponact: 24 attacking: 1 cover: 0 dvx: 0 dvy: 0 dvz: 0 wpoint_end: bdy: kind: 0 x: 26 y: 12 w: 27 h: 68 bdy_end: <frame_end> <frame> 298 feuerball pic: 13 state: 3 wait: 1 next: 299 dvx: 0 dvy: 0 dvz: 0 centerx: 44 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 opoint: kind: 1 x: 49 y: 53 action: 0 dvx: 30 dvy: 30 oid: 300 facing: 0 opoint_end: wpoint: kind: 1 x: 40 y: 57 weaponact: 24 attacking: 1 cover: 0 dvx: 0 dvy: 0 dvz: 0 wpoint_end: bdy: kind: 0 x: 26 y: 12 w: 27 h: 68 bdy_end: <frame_end> <frame> 299 feuerball pic: 13 state: 3 wait: 1 next: 999 dvx: 0 dvy: 0 dvz: 0 centerx: 44 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 wpoint: kind: 1 x: 40 y: 57 weaponact: 24 attacking: 1 cover: 0 dvx: 0 dvy: 0 dvz: 0 wpoint_end: bdy: kind: 0 x: 26 y: 12 w: 27 h: 68 bdy_end: <frame_end> but when i press the keys there is only a shaddow ??? RE: Problem - MH-Razen - 07-19-2008 opoint in 295 will not work, opoints in first frames dont work... opoint: kind: 1 x: 49 y: 53 action: 0 dvx: 30 dvy: 30 oid: 300 facing: 0 opoint_end: Would suggest to use dvx in the ball for the movement - this dvx and dvy will let your ball go outta screen very very quickly... set it to zero, should work then... (if you pess F2 during the move it should look like the ball move forward and fall into the ground) RE: Problem - ~Dome~ - 07-19-2008 To the ball itself... The frames flying frames are all the same, so why don´t do a next: 999 in frame 0? RE: Problem - MH-Razen - 07-19-2008 ~Dome~ Wrote:To the ball itself... wow, kinda good question - also since you just made one pic-frames, hit, hiting and rebound is senceless. Same for char
RE: Problem - Ascor - 07-19-2008 the ball dont hurt the enemy =( <frame> 0 flying pic: 0 state: 3000 wait: 1 next: 1 dvx: 0 dvy: 0 centerx: 51 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0 hit_Fa: 1 itr: kind: 0 x: 79 y: 79 w: 70 h: 63 dvx: 30 dvy: -30 fall: 10 vrest: 10 bdefend: 16 injury: 45 effect: 2 itr_end: bdy: kind: 0 x: 22 y: 27 w: 55 h: 27 bdy_end: <frame_end> <frame> 1 flying pic: 0 state: 3000 wait: 1 next: 1 dvx: 0 dvy: 0 centerx: 51 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0 hit_Fa: 1 itr: kind: 0 x: 79 y: 79 w: 70 h: 63 dvx: 0 dvy: 0 fall: 10 vrest: 10 bdefend: 16 injury: 45 effect: 2 itr_end: bdy: kind: 0 x: 22 y: 27 w: 55 h: 27 bdy_end: <frame_end> <frame> 2 flying pic: 0 state: 3000 wait: 1 next: 1 dvx: 0 dvy: 0 centerx: 51 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0 hit_Fa: 1 itr: kind: 0 x: 79 y: 79 w: 70 h: 63 dvx: 0 dvy: 0 fall: 10 vrest: 10 bdefend: 16 injury: 45 effect: 2 itr_end: bdy: kind: 0 x: 22 y: 27 w: 55 h: 27 bdy_end: <frame_end> <frame> 3 flying pic: 0 state: 3000 wait: 1 next: 1 dvx: 0 dvy: 0 centerx: 51 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0 hit_Fa: 1 itr: kind: 0 x: 79 y: 79 w: 70 h: 63 dvx: 0 dvy: 0 fall: 10 vrest: 10 bdefend: 16 injury: 45 effect: 2 itr_end: bdy: kind: 0 x: 22 y: 27 w: 55 h: 27 bdy_end: <frame_end> <frame> 4 flying pic: 0 state: 3000 wait: 1 next: 1 dvx: 0 dvy: 0 centerx: 51 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0 hit_Fa: 1 itr: kind: 0 x: 79 y: 79 w: 70 h: 63 dvx: 0 dvy: 0 fall: 10 vrest: 10 bdefend: 16 injury: 45 effect: 2 itr_end: bdy: kind: 0 x: 22 y: 27 w: 55 h: 27 bdy_end: <frame_end> <frame> 5 flying pic: 0 state: 3000 wait: 1 next: 1 dvx: 0 dvy: 0 centerx: 51 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0 hit_Fa: 1 itr: kind: 0 x: 79 y: 79 w: 70 h: 63 dvx: 0 dvy: 0 fall: 10 vrest: 10 bdefend: 16 injury: 45 effect: 2 itr_end: bdy: kind: 0 x: 22 y: 27 w: 55 h: 27 bdy_end: <frame_end> ive made an hit_Fa: 1 so the ball just drive around the enemy but dont hurt him what ive made wrong thanks for the replys the char is firzen ^^ and i'm to lazy to make more sprites so i used just one pic RE: Problem - ~Dome~ - 07-19-2008 look: itr: kind: 0 x: 79 y: 79 w: 70 h: 63 dvx: 30 dvy: -30 fall: 10 vrest: 10 bdefend: 16 injury: 45 effect: 2 itr_end: change x to 0 and y to 0, that are the start points of w and h.. |