Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Please click, read and write
#1
:( 
Hi I did an ability for my character, but I am starting in a coding and I would like to ask your opinion that that's good I did it so or badly thanks:

<bmp_begin>
file(0-99): sprite\sys\mystic_ball.bmp
file(100-199): sprite\sys\mystic_ball_2.bmp
<bmp_end>

<frame> 0 flying
pic: 0
pic: 2
wait: 2 next: 999 centerx: -34 centery: 36 dvx: 0 dvy: 0 dvz: 0 hit_a: 255 hit_d: 180 hit_j: 52 hit_Fa: 6
<frame_end>

<frame> 10 hiting
pic: 0
pic: 2
wait: 2 next: 999 centerx: -34 centery: 36 dvx: 0 dvy: 0 dvz: 0 hit_a: 255 hit_d: 180 hit_j: 52 hit_Fa: 6
<frame_end>

<frame> 20 hit
pic: 0
pic: 2
wait: 2 next: 999 centerx: -34 centery: 36 dvx: 0 dvy: 0 dvz: 0 hit_a: 255 hit_d: 180 hit_j: 52 hit_Fa: 6
<frame_end>ホ
Reply
Thanks given by:
#2
First off welcome to the LFE Forums. For us to tell you whether your code is good or not, first you need to tell us what you want that attack to look/behave like.

Share a little more information about this attack with us and we'll be able to help you out more.
Quote of the Day f***ing Year (Click to View)
Reply
Thanks given by:
#3
Attack, looks so:
[Image: ffa21bb7.jpg]

And Thanks :)
Reply
Thanks given by:
#4
Your frame layout itself it written the wrong way. There two pic tags. And the code you have given is for a type 3 object not a type 0.
[Image: icyboards-ad-468x60.gif]
Reply
Thanks given by:
#5
the dvz dvy dvx think? Shall I amend it to 3 one?
Reply
Thanks given by:
#6
The biggest problem in you code is that you haven't included the state of the object. A frame without a state is considered invalid.
And frames are written this way:
    DC-Code:
<frame> whatever 
pic: ? state: ? wait: ? next: ??? dvx: ? dvy: ? dvz: ? centerx: ?? centery: ?? hit_a: ??? hit_d: ??? hit_j: ?? hit_Fa: ???
<frame_end>
[Image: icyboards-ad-468x60.gif]
Reply
Thanks given by:
#7
ooh okay :) very thanks :)

<frame> whatever
pic: 2 state: 0 wait: 2 next: 999 dvx: 3 dvy: 3 dvz: 3 centerx: -34 centery: -36 hit_a: 255 hit_d: 180 hit_j: 52 hit_Fa: 6
<frame_end>

somehow like this right?

State i don't know what it is necessary to write
Reply
Thanks given by:
#8
(09-02-2012, 04:13 PM)NTMBSasuke Wrote:  State i don't know what it is necessary to write
You can find infos about datachanging on the mainsite ;)

http://www.lf-empire.de/en/lf2-empire/da...e-elements
http://www.lf-empire.de/en/lf2-empire/da...ence-pages
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

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

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by:
#9
oks thanks
A version like that how much time there would be according to you together with a school to create?
Reply
Thanks given by:
#10
Depends on how much devotion you give to that.
And centerx and centery cannot be negative values.
[Image: icyboards-ad-468x60.gif]
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)