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

Pages: 1 2 3


[solved] Laser Beam - IvanYiu247 - 09-21-2009

I recently made a Laser Beam Attack for Davis, but everytime it gets hit by Louis or Henry's Blastpushes, it'll be destroyed. How should I do to make it remain undestroyed when get hit by any attack? I even removed its body. Sorry, but I'm a little bit n00bish in DC.
Coding:

<frame> 80 col
pic: 24 state: 3005 wait: 30 next: 81 dvx: 0 dvy: 0 centerx: 54 centery: 24 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>

<frame> 81 col
pic: 25 state: 3005 wait: 1 next: 82 dvx: 0 dvy: 0 centerx: 54 centery: 24 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>

<frame> 82 col
pic: 26 state: 3005 wait: 1 next: 83 dvx: 0 dvy: 0 centerx: 54 centery: 24 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>

<frame> 83 col
pic: 27 state: 3005 wait: 30 next: 84 dvx: 0 dvy: 0 centerx: 54 centery: 24 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 10 y: 12 w: 2990 h: 24 dvx: 7 dvy: -2 fall: 70 vrest: 6 bdefend: 70 injury: 200
itr_end:
<frame_end>

<frame> 84 col
pic: 27 state: 3005 wait: 30 next: 85 dvx: 0 dvy: 0 centerx: 54 centery: 24 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 10 y: 12 w: 2990 h: 24 dvx: 7 dvy: -2 fall: 70 vrest: 6 bdefend: 70 injury: 200
itr_end:
<frame_end>

<frame> 85 col
pic: 27 state: 3005 wait: 30 next: 86 dvx: 0 dvy: 0 centerx: 54 centery: 24 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 10 y: 12 w: 2990 h: 24 dvx: 7 dvy: -2 fall: 70 vrest: 6 bdefend: 70 injury: 200
itr_end:
<frame_end>

<frame> 86 col
pic: 27 state: 3005 wait: 30 next: 87 dvx: 0 dvy: 0 centerx: 54 centery: 24 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 10 y: 12 w: 2990 h: 24 dvx: 7 dvy: -2 fall: 70 vrest: 6 bdefend: 70 injury: 200
itr_end:
<frame_end>

<frame> 87 col
pic: 26 state: 3005 wait: 1 next: 88 dvx: 0 dvy: 0 centerx: 54 centery: 24 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>

<frame> 88 col
pic: 25 state: 3005 wait: 1 next: 89 dvx: 0 dvy: 0 centerx: 54 centery: 24 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>

<frame> 89 col
pic: 24 state: 3005 wait: 1 next: 1000 dvx: 0 dvy: 0 centerx: 54 centery: 24 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>


RE: Laser Beam - Alectric - 09-21-2009

now i am no expert, but state 3005 in each frame means when its gets hit, it will automatically go to frame 10 or something.
So if you dont want it to be destroyed at all, like even when it hits someone, change it to something like state: 15.
you probably should have left the bodies in, but oh wells, im not sure it makes much of a difference

(slap me if i am wrong)


RE: Laser Beam - IvanYiu247 - 09-21-2009

Thanks!


RE: Laser Beam - Som1Lse - 09-21-2009

What is the purpose of the thanks button. And...
Never post such a big code without the [code]-tags!!!!!

@Alectric:
*slap*
State 3005 is the strongest ball and even without shadow. It is only destroyed when it hits or is hit by a state 3005 ball.
Instead use state 3005 in the balls flying frames without a itr but with a opoint and opoint the ball in another frame with itr state 3005.
This means that the laser cant be hit but the opointed laser will hit instead.


RE: Laser Beam - HappyHouR - 09-21-2009

You could just avoid this and make next from frame 30/20/10 to the normal flying frames.Course You also make it look like a normal flying frame.That only good if you want the lazer to be indestructible.


RE: Laser Beam - Alblaka - 09-21-2009

Alectric+Happyhour: Both fails...

The problem is just, that USUALLY EVERY ball can be blocked by Julian's Ball (state 3006) or Blastpushes (state 3005)

As someone else (who? XD) explained, you need to make a T3 (ball) WITHOUT any body or itr's, but spawning "hitzones" (T3's that are invisble, state 3005, do an itr and then disappear again). If this hitzones hit one of the balls noted above, it will get destroyed, too, but the main attack (first T3) wont be affected.


RE: Laser Beam - HappyHouR - 09-21-2009

(09-21-2009, 11:06 AM)Alblaka Wrote:  Alectric+Happyhour: Both fails...
Nope your wrong and I didnt failed.Please dont say I'm wrong if you didnt try it. If t3 with state: 3005 hit another t3 with state: 3005/6 then both of them go to frames 10.You just need to link it back to the flying frames.I know cause I tried that for fun.

State 3005 in flying frames + next from frames 30/20/10 to the flying frames makes your balls indestructible. Now I have got balls of steel LOL(click)

Its only good if he wants his lazer to be indestructible.Even john shield wont destroy it.

Its not too hard to code ball that able to destroy all the other balls in the game.Its just overpower ball.


Click here to see that it does work and I didnt failed


RE: Laser Beam - TheNave - 09-21-2009

if state 3005 hits a 3006 object then only the 3006 thing goes to frame 10/20/30
also, Alectric didn't fail, state: 15 or 18 or whatever is understroyable...
or do you remember seeing how Firen's explosion got destroyed by julian's ball/henrys wind thing?


RE: Laser Beam - dubbleD - 09-21-2009

oh come on...theres a frame that makes the ball die
just reroute those frames so it dont die -_-
solved


RE: Laser Beam - Madara Uchiha - 09-21-2009

Well, i have had this probelm before. It had something to do with the ID. Try changing it to 200. Cause, when i tried it on 201, state 3005 balls would disappear.

Also when you show data changing codes, do the code thing.

Put your code in the middle of the code thing