Little Fighter Empire - Forums
[solved] disappear 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] disappear problem (/showthread.php?tid=3164)



[solved] disappear problem - Ballrogg - 07-01-2009

I´ve made a Bottle who let you disappear when you drink from it.
Because every Char use in the drink frames weaponact: 31, I´ve add an opoint in frame: 31 from my bottle. This opoint activates a frame with state: 18 and a itr kind:3 with a caughtact: 1280 (ripped from Rudolf´s Disappear). So the char goes to frame 1280 and disappears.

But it dont work by Firzen, LouisEX and Bat.
By Knight and Mark the bottle flows away (but the effect works)
And sometimes the lf2.exe chrases.

But why it dont work by these Chars?

download links:
rar
http://www.mediafire.com/download.php?jo1wnzqeyqm
zip
http://www.mediafire.com/download.php?5gumzjrjzje

here is a link to video:
http://www.youtube.com/watch?v=FV-vd01CbJw

char:
    DC-Code:
<frame> 55 weapon_drink
   pic: 107  state: 17  wait: 3  next: 56  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 999  hit_j: 0
  sound: data\042.wav 
   wpoint:
      kind: 1  x: 56  y: 24  weaponact: 31  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   bdy:
      kind: 0  x: 25  y: 26  w: 37  h: 53
   bdy_end:
<frame_end>
 
<frame> 56 weapon_drink
   pic: 108  state: 17  wait: 3  next: 57  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 999  hit_j: 0
   wpoint:
      kind: 1  x: 55  y: 23  weaponact: 31  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   bdy:
      kind: 0  x: 25  y: 26  w: 37  h: 53
   bdy_end:
<frame_end>
 
<frame> 57 weapon_drink
   pic: 109  state: 17  wait: 3  next: 58  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 999  hit_j: 0
   wpoint:
      kind: 1  x: 54  y: 22  weaponact: 31  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   bdy:
      kind: 0  x: 25  y: 26  w: 37  h: 53
   bdy_end:
<frame_end>
 
<frame> 58 weapon_drink
   pic: 108  state: 17  wait: 3  next: 55  dvx: 0  dvy: 0  dvz: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 999  hit_j: 0
   wpoint:
      kind: 1  x: 55  y: 23  weaponact: 31  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   bdy:
      kind: 0  x: 25  y: 26  w: 37  h: 53
   bdy_end:
<frame_end>


weapon:
    DC-Code:
<frame> 31 on_hand
   pic: 31  state: 1001  wait: 0  next: 0  dvx: 0  dvy: 0  centerx: 24  centery: 40  hit_a: 0  hit_d: 0  hit_j: 0
   wpoint:
      kind: 2  x: 33  y: 21  weaponact: 0  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   itr:
      kind: 5  x: 19  y: 15  w: 22  h: 14  dvx: 8  fall: 20  bdefend: 16  injury: 789  
   itr_end:
   opoint:
      kind: 1  x: 12  y: 80  action: 290  dvx: 0  dvy: 0  oid: 1250  facing: 0
   opoint_end:
<frame_end>



    DC-Code:
<frame> 290 disappear_drink
   pic: 100  state: 18  wait: 0  next: 291  dvx: 0  dvy: 0  centerx: 28  centery: 79  hit_a: 0  hit_d: 0 hit_j: 0
<frame_end>
 
<frame> 291 disappear_drink
   pic: 101  state: 18  wait: 0  next: 292  dvx: 0  dvy: 0  centerx: 28  centery: 79  hit_a: 0  hit_d: 0 hit_j: 0
   itr:
      kind: 3  x: 25  y: 26  w: 37  h: 53  vrest: 7  
      catchingact: 293 293  caughtact: 1280 1280  
   itr_end:
<frame_end>
 
<frame> 292 disappear_drink
   pic: 102  state: 18  wait: 0  next: 293  dvx: 0  dvy: 0  centerx: 28  centery: 79  hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
 
<frame> 293 disappear_drink
   pic: 103  state: 18  wait: 0  next: 294  dvx: 0  dvy: 0  centerx: 28  centery: 79  hit_a: 0  hit_d: 0 hit_j: 0
<frame_end>
 
<frame> 294 disappear_drink
   pic: 104  state: 18  wait: 0  next: 1000  dvx: 0  dvy: 0  centerx: 28  centery: 79  hit_a: 0  hit_d: 0 hit_j: 0
<frame_end>



RE: disappear problem - Alblaka - 07-01-2009

First of all: Funny idea ^^

@Problem: Not sure, but maybe the chars you called are using different weaponacts to drink bottles, so the effect doesn't trigger.
OR it could be an ID-thingy, but i don't think so...


RE: disappear problem - no one - 07-01-2009

zhyhm has made this kind of thing once, you can compare your code to his. Here:


http://www.mediafire.com/download.php?mmyyd5j1kou


RE: disappear problem - Ballrogg - 07-01-2009

@Alblaka: EVERY Char use weaponact 31 in the weapon_drink frames! Also firzen, louisex, bat, knight and mark!

@no one: Zhyhm´s way works perfect. But is their a way to make that without change the drinking frames from each char?
Perhaps I should try to combine his and my way...


RE: disappear problem - Drahcir - 07-02-2009

How's this?
Make the item not t6, but t1.
In all the frames where the character attacks with it, have it opoint a criminal object.
The weapon has an itr that corresponds to the bdy it creates.
The criminal object gets an ik3 with caughtact:1280.

My theory might be flawed; experimenting should help.


RE: disappear problem - Ballrogg - 07-02-2009

I´ve combined his way with mine. I hope there is no bug anymore:)

@Drahcir: Sry, I don´t understand your way.:(


P.S.: It is a id-problem. I have changed the id-number of the chars where it don´t work, after that it was also working on this chars! :)