Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thunder problem
#1
:[ 
Hey ho
got a new attack for
thunqua
a fighter which has the power of thunder and aqua

the attack is an thunder
i want the thunder to be invisible
and be visible if it hits the enemy
and thats my stuff
Code:
<bmp_begin>
file(0-1): sprite\sys\Blitz.bmp w: 80 h: 79 row: 1 col: 2
<bmp_end>

<frame> 0 flying
   pic: 0 state: 3000 wait: 1 next: 0 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: 59 h: 30 dvx: 0 dvx: -20 fall: 70 vrest: 0 bdefend: 70 injury: 50
  itr_end:
bdy:
   kind: 0 x: 79 y: 79 w: 59 h: 30
bdy_end:
<frame_end>

<frame> 10 hiting
  pic: 1 state: 3001 wait: 1 next: 1000 dvx: 0  dvy: 0 centerx: 40 centery: 42 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>

<frame> 20 hit
   pic: 1  state: 3002  wait: 1  next: 1000  dvx: 0  dvy: 0  centerx: 44  centery: 43  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>

<frame> 30 rebounding
   pic: 0  state: 3003  wait: 1  next: 31  dvx: 0  dvy: 0  centerx: 43  centery: 43  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>

<frame> 31 rebounding
   pic: 0  state: 3003  wait: 1  next: 32  dvx: 0  dvy: 0  centerx: 40  centery: 42  hit_a: 0  hit_d: 0  hit_j: 0
   opoint:
      kind: 1  x: 41  y: 42  action: 0  dvx: 0  dvy: 0  oid: 230  facing: 1
   opoint_end:
<frame_end>
thats the ball
<frame> 350 blitz
pic: 0 state: 3 wait: 1 next: 351 dvx: 0 dvy: 0 centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_a: 0
<frame_end>

<frame> 351 blitz
pic: 1 state: 3 wait: 1 next: 999 dvx: 0 dvy: 0 centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_a: 0
opoint:
kind: 0 x: 39 y: 79 action: 0 dvx: 10 dvy: 0 oid: 502 facing: 0
opoint_end:
<frame_end>
and thats  the chara
the ball doesnt do anything
i'm seeing my char do this attack but he doesnt
ich seh wie er sie macht seh aber die attacke nicht ^^
Reply
Thanks given by:
#2
I assume that your lightning-attack is stored in data.txt under id: 502, right?
I don't see any other things that could be responsible for that...
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

"Freeze, you're under vrest!" - Mark, probably.

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by:
#3
If the ball is created with frame 0, it's clear why it can't be hit - the itr-area is in the ground.

0 y: 0 starts in the upper left corner of the sprite. in this case x: 79 y: 79 is in the lower right corner of the sprite. Now wonder why it can't hit enemies.

Try this:
Code:
<frame> 0 flying
   pic: 0 state: 3000 wait: 1 next: 0 dvx: 0 dvy: 0 centerx: 51 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0 hit_Fa: 1
  itr:
    kind: 0 x: -99 y: -99 w: 198 h: 198 dvx: 0 dvx: -20 fall: 70 vrest: 0 bdefend: 70 injury: 50 zwidth: 60
  itr_end:
<frame_end>
Reply
Thanks given by:
#4
doesn't work
Reply
Thanks given by:
#5
Does the ball just not hit, or is the attack not created at all?
Reply
Thanks given by:
#6
the ball just not hit
thanks for you help i think im the dc who has the most problems
Reply
Thanks given by:
#7
I see.... erm...
Do the same thing with the bdy, so....
bdy:
kind: 0 x: -99 y: -99 w: 198 h: 198
bdy_end:
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

"Freeze, you're under vrest!" - Mark, probably.

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by:
#8
nope dont work
thats getting on my nerves
Reply
Thanks given by:
#9
I'm not quite sure.
Maybe the "vrest: 0" is a bit too low?
Then there are two "dvx:" in it.
The "next: 0" COULD be a problem. To make it the same effect use "next: 999"

I'd delete the bdy from the first place one, otherwise opponents would be able to "hit" the invisible object.

Something I haven't tried:
You could use Rudolphs-invisible-next to get rid of the shadow. Dunno if this still will aply in the hit/hitting frames, otherwise you'd have to opoint an illusion that should resemble the lighting.
Reply
Thanks given by:
#10
don't work i've created a new frame with next: 0 and gave the first frame an next: 1
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)