04-17-2009, 08:24 AM
^eh, no idea about the correct hit_j-value? Same here =P
Anyways, a t3-object would probably the best thing to use here. In the bmp-part, add a really large sprite (be careful, LF2 sometimes doesn't like those and crashes) (something around 5000x500px). Just be sure to use the correct w/h-values, if you don't, the sprite sometimes disappears. In this case: smaller than actual values are better than greater values.
Now, in the t3-file, as it is only a a few frames, I'd recommend to put it into some already-in-use dat-file. I'm sure you have made an attack with a t3-file already. Just put in this code:
This should last 255 TUs without doing anything but flashing every two TUs. In case you want to read about these special tags, click >here<.
Now, just add an opoint in your character's frame. It should look like this:
And that should be it. I think. And I hope. This is the easy way, Drahcir's is doable, too, but I don't like opointing the same object over and over again. I just don't like it :P
Anyways, a t3-object would probably the best thing to use here. In the bmp-part, add a really large sprite (be careful, LF2 sometimes doesn't like those and crashes) (something around 5000x500px). Just be sure to use the correct w/h-values, if you don't, the sprite sometimes disappears. In this case: smaller than actual values are better than greater values.
Now, in the t3-file, as it is only a a few frames, I'd recommend to put it into some already-in-use dat-file. I'm sure you have made an attack with a t3-file already. Just put in this code:
DC-Code:
<frame> 100 flash_preparation pic: 999 state: 3005 wait: 3 next: 101 dvx: 0 dvy: 0 dvz: 0 centerx: 2500 centery: 500 hit_a: 0 hit_j: 99 hit_d: 0 <frame_end> <frame> 101 poof pic: xyz state: 3005 wait: 0 next: 102 dvx: 0 dvy: 0 dvz: 0 centerx: 2500 centery: 500 hit_a: 2 hit_j: 0 hit_d: 103 <frame_end> <frame> 102 poof_invisible pic: 999 state: 3005 wait: 2 next: 101 dvx: 0 dvy: 0 dvz: 0 centerx: 2500 centery: 500 hit_a: 2 hit_j: 0 hit_d: 103 <frame_end> <frame> 103 remove pic: 999 state: 3005 wait: 0 next: 1000 dvx: 0 dvy: 0 dvz: 0 centerx: 2500 centery: 500 hit_a: 0 hit_j: 0 hit_d: 0 <frame_end> |
This should last 255 TUs without doing anything but flashing every two TUs. In case you want to read about these special tags, click >here<.
Now, just add an opoint in your character's frame. It should look like this:
DC-Code:
opoint: kind: 1 x: 39 y: 79 action: 100 dvx: 0 dvy: 0 dvz: 0 oid: xyz facing: 0 opoint_end: |
And that should be it. I think. And I hope. This is the easy way, Drahcir's is doable, too, but I don't like opointing the same object over and over again. I just don't like it :P
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~
"Freeze, you're under vrest!" - Mark, probably.
» Gallery | » Sprites | » DeviantArt
~ Breaking LFE since 2008 ~
"Freeze, you're under vrest!" - Mark, probably.
» Gallery | » Sprites | » DeviantArt