Little Fighter Empire - Forums
[solved] Itr/kind 8 shield - 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] Itr/kind 8 shield (/showthread.php?tid=4990)



[solved] Itr/kind 8 shield - SirisRhazael - 05-16-2010

A new problem to solve:
    DC-Code:
<frame> 0 standing
pic: 0  state: 0  wait: 3  next: 1  dvx: 0  dvy: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0 hit_Fa: 235 hit_ja: 260 hit_Dj: 320  hit_Da: 328 hit_Uj: 284 hit_Fj: 360
wpoint:
kind: 1  x: 34  y: 54  weaponact: 30  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0 
wpoint_end:
bdy:
kind: 0  x: 21  y: 18  w: 43  h: 62
bdy_end:
bdy: 
kind: 0  x: 0  y: 2000  w: 80  h: 500 dvx: 0
bdy_end:
<frame_end>

I tried to make john's shield "attached" to a character. It works, but only the first shield frame is working (I'd tell that it is inanimated :))
It still damages the enemies, but what's with the state 3002? Yeah, it doesn't work. Theoretically it should be destroyed by a higher state attack, but nothing happens.
    DC-Code:
<frame> 0 forcefield
   pic: 2  state: 3002  wait: 1 next: 1  dvx: 0  dvy: 0  centerx: 20  centery: 71  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 9  x: 33  y: 15  w: 26  h: 55  dvx: 10  vrest: 8  injury: 20   fall: 70  
   itr_end:
  itr:
   kind: 8  x: -5000  y: 2000  w: 10000  h: 500  zwidth: 500 
  itr_end:
<frame_end>

Is there any solution?


RE: Itr/kind 8 shield - Alblaka - 05-16-2010

It can't be destroyed due to NOT having any body...

The kind:9 also reflects/blocks any kind of object, ignoring the "higher balls" thingy.


RE: Itr/kind 8 shield - SirisRhazael - 05-16-2010

So I have to include a normal bdy...
ok, what about "the first frame only"?


RE: Itr/kind 8 shield - Alblaka - 05-16-2010

It won't work with adding a normal bdy...

If bdy < itr:9 it won't change anything
If bdy > itr:9 shield will go to being hit frames whenever a ball comes close.


First frame thingy:
You forgot the dvx in the itr:8. Now it's dvx: 0.
Every itr:8 will send the shield back to frame 0 (first frame)

Set a dvx into every itr:8 having the value of the frame it's in.


RE: Itr/kind 8 shield - SirisRhazael - 05-16-2010

I changed kind: 9 to 0. Problems:
-It does not disappear after "higher state hit"
-It doesn't move (frames)
EDIT: Oh wait
-It doesn't move (frames)
Solved!
Thx, Alblaka
If you don't mind I'll close the thread then...