Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] Problem with attack
#1
Hi all I have a problem with my attack, I did it but the game does not start.
I long time dont dating, and I a bit forgotten this.
This is the date:

    DC-Code:
<bmp_begin>
file(0-3): sprite\sys\atak1.bmp w: 150  h: 120  row: 4  col: 1
<bmp_end>
 
 
<frame> 0 flying
   pic: 0  state: 400  wait: 3  next: 1  dvx: 20  dvy: 150  dvz: 0  centerx: 75  centery: 120  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 1 flying
   pic: 1  state: 3001  wait: 2  next: 2  dvx: 20  dvy: 70  dvz: 0  centerx: 75  centery: 120  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 10 hiting
  pic: 2  state: 3001  wait: 10  next: 3  dvx: 0  dvy: 0  dvz: 0  centerx: 75  centery: 120  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 25  y: 115  w: 95  h: 5  dvx: 0  dvy: 0   fall: 70  vrest: 10  bdefend: 16  injury: 60
         itr_end:
   bdy:
      kind: 0  x: 29  y: 4  w: 98  h: 24
   bdy_end:
<frame_end>
 
<frame> 11 hiting
   pic: 3  state: 9999  wait: 1  next: 999  dvx: 0  dvy: 0  dvz: 0  centerx: 75  centery: 120  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 20 hit
   pic: 1  state: 3002  wait: 0  next: 21  dvx: 0  dvy: 0  dvz: 0  centerx: 90  centery: 16  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 21 hit
   pic: 5  state: 3002  wait: 0  next: 22  dvx: 0  dvy: 0  dvz: 0  centerx: 90  centery: 16  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 22 hit
   pic: 6  state: 3002  wait: 0  next: 23  dvx: 0  dvy: 0  dvz: 0  centerx: 90  centery: 16  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 23 hit
   pic: 7  state: 3002  wait: 0  next: 1000  dvx: 0  dvy: 0  dvz: 0  centerx: 90  centery: 16  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 60 hiting_ground
  pic: 2  state: 3001  wait: 10  next: 999  dvx: 0  dvy: 0  dvz: 0  centerx: 75  centery: 120  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 25  y: 115  w: 95  h: 5  dvx: 0  dvy: 0   fall: 70  vrest: 10  bdefend: 16  injury: 60
         itr_end:
   bdy:
      kind: 0  x: 29  y: 4  w: 98  h: 24
   bdy_end:
<frame_end>



    DC-Code:
<frame> 235 klon
   pic: 79 state: 15 wait: 4 next: 236 dvx: 0 dvy: 0 dvz: 0 centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0 mp: 135
  sound: data\SNDDATA_2005.wav
 opoint:
      kind: 1  x: 10 y: 79 action: 0 dvx: 0  dvy: 0  oid: 217 facing: 0
   opoint_end: 
wpoint:
      kind: 1  x: 33  y: 58  weaponact: 21  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:
<frame_end>


MH-Razen edited this post 07-27-2010 10:50 AM because:
edited cause of dc code
Reply
Thanks given by:
#2
First of all: Please use the code-tags. As you're new to this forum, I'll try to explain:

[code*] Here you put your code [/code*]

Then you remove the * from it.

To the problem itself:
Does the game itself not start, or does the attack not work?
If the game doesn't start, you will have to tell us what error message is displayed.
However, if the attack doesn't work, explanation will follow below:
If frame 235 is the first frame of your attack, then it's no question about it. an opoint, which summons your ball or special attack or whatever, does never work when it is in the first frame of an attack. In other words, it needs to be in the second frame.
Do you understand? If you do, and this solves your question, please press solved.
| Metaknight | G-types | Bottle Skinz | Companion Cube | Art Gallery |
"Do not grieve, it is logical. The needs of the many outweigh the needs of the few, or the one."
- Mr. Spock
"A man's not dead while his name is still spoken"
- Terry Pratchett, Going Postal
Reply
Thanks given by: Krixen
#3
Thanks for the help, but after correction of the game ceases to be loaded during the loading of my attack, so the problem must lie in the attack.
Reply
Thanks given by:
#4
while editing your post cause of the dc-code thing I saw this frame:


    DC-Code:
<frame> 60 hiting_ground
  pic: 2  state: 3001  wait: 10  next: 999  dvx: 0  dvy: 0  dvz: 0  centerx: 75  centery: 120  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 25  y: 115  w: 95  h: 5  dvx: 0  dvy: 0   fall: 70  vrest: 10  bdefend: 16  injury: 60
         itr_end:
   bdy:
      kind: 0  x: 29  y: 4  w: 98  h: 24
   bdy_end:
<frame_end>


get rid of this symbol: ᄌ
in the end of the frame. I`ve no idea if it could cause an error, but hey, give it a try :p
[Image: random.php?pic=random]
www.lf-empire.de
Once I had a fortune, it said: "Leave now. Life is short. Time is luck"
Don't dream your life, live your dream!
Reply
Thanks given by: Krixen
#5
(07-27-2010, 10:51 AM)MH-Razen Wrote:  while editing your post cause of the dc-code thing I saw this frame:


    DC-Code:
<frame> 60 hiting_ground
  pic: 2  state: 3001  wait: 10  next: 999  dvx: 0  dvy: 0  dvz: 0  centerx: 75  centery: 120  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 0  x: 25  y: 115  w: 95  h: 5  dvx: 0  dvy: 0   fall: 70  vrest: 10  bdefend: 16  injury: 60
         itr_end:
   bdy:
      kind: 0  x: 29  y: 4  w: 98  h: 24
   bdy_end:
<frame_end>


get rid of this symbol: ᄌ
in the end of the frame. I`ve no idea if it could cause an error, but hey, give it a try :p


Thanks for the edit. This stamp is not it. Already tried several variants. Can you help me dating your way, here you have a link, I'd be very grateful.
http://img687.imageshack.us/i/atak1r.png/
Reply
Thanks given by:
#6
ok next thing i found:

11 hiting
pic: 3 state: 9999 wait: 1 next: 999 dvx: 0 dvy: 0 dvz: 0 centerx: 75 centery: 120 hit_a: 0 hit_d: 0 hit_j: 0



state 9999? that`s broken weapon stat, i guess you cant use it outside of broken_weapon.dat without having bugs, dont know, never played around with this one :p

What did you think the state 9999 do? if you can tell me this i can tell you which state would do the same :p - but i guess that`s the problem. Maybe just test it with state 3000 and see if the bug still happens
[Image: random.php?pic=random]
www.lf-empire.de
Once I had a fortune, it said: "Leave now. Life is short. Time is luck"
Don't dream your life, live your dream!
Reply
Thanks given by: Krixen
#7
Very thanks Razen MH. The game is working, but now I have a problem with the signs of dimensions. Long ago I played and I forgot the date. In the form I know, but in the attack worse. The problem looks like this:
http://img713.imageshack.us/i/bugw.png/
I want to make my clones teleport to the enemy and struck at him, I do not know exactly how to itr. Please help.
Reply
Thanks given by:
#8
first you should correct your imagea bit - the green lines are simply unprofessional. Delete theupper green line and make sure the width and height of every single pic is the same.

For the exact beam: you used state 400, after this move the char - I'm not sure if it was 120 or 80 px, so test both. Use dvx to move the char...
[Image: random.php?pic=random]
www.lf-empire.de
Once I had a fortune, it said: "Leave now. Life is short. Time is luck"
Don't dream your life, live your dream!
Reply
Thanks given by:
#9
That isn't problem :) but thanks. Mayby another state?
I mean something like this
http://img225.imageshack.us/img225/287/aaahp.png
Reply
Thanks given by:
#10
as far as I mean you mean the area which should hurt?

According to these dates:
p w: 150 h: 120 row: 4 col: 1

it should be around this:

itr:
kind: 0 x: 50 y: 80 w: 50 h: 40 injury: 130 bdefend: 70 fall: 50 vrest: 10
itr_end:

for details on the meanning of the different tags check out the mainsite:

Data Changing -> Frame Elements -> itr
[Image: random.php?pic=random]
www.lf-empire.de
Once I had a fortune, it said: "Leave now. Life is short. Time is luck"
Don't dream your life, live your dream!
Reply
Thanks given by: Krixen




Users browsing this thread: 1 Guest(s)