Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] activation object
#1
asking again in this section sry:p
i've made a data that will activate some special object but its not working.
i made a 2 kind of special object with type 3 in one data, and i want to activate it with 2 way:
1st object: from frame 10/30
2nd object: from frame 20/30
but it isn't working:( what is the problem?

    DC-Code:
<frame> 283 Alchemy_Activation
   pic: 149  state: 3  wait: 15  next: 999  dvx: 0  dvy: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   wpoint:
      kind: 1  x: 33  y: 45  weaponact: 21  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0 
   wpoint_end:
   bdy:
      kind: 0  x: 21  y: 2000  w: 43  h: 62
   bdy_end:
   bdy:
      kind: 0  x: 21  y: 18  w: 43  h: 62
   bdy_end:
   itr:
      kind: 9  x: 0  y: 2000  w: 45  h: 45  dvx: 2  bdefend: 16  injury: 0 effect: 5 
   itr_end:
   opoint:
      kind: 1  x: 90  y: 2000  action: 23  dvx: 0  dvy: 0  oid: 242  facing: 0
   opoint_end:
<frame_end>
------------------------------------------------------------------------------------------------
 
THE SPECIAL OBJECT
 
 
<bmp_begin>
file(0-11): sprite\template1\ALC.bmp w: 82  h: 64  row: 3  col: 2
weapon_hit_sound: data\020.wav
weapon_drop_sound: data\020.wav
weapon_broken_sound: data\020.wav
<bmp_end>
 
<frame> 0 Circle_Wait
   pic: 0  state: 3005  wait: 0  next: 1  dvx: 0  dvy: 0  dvz: 0  centerx: 40  centery: 52  hit_a: 0  hit_d: 0  hit_j: 0
   bdy:
      kind: 0  x: 0  y: 2000  w: 45  h: 45
   bdy_end:
<frame_end>
 
<frame> 1 Circle_Wait
   pic: 0  state: 3005  wait: 9999  next: 1  dvx: 0  dvy: 0  dvz: 0  centerx: 40  centery: 52  hit_a: 0  hit_d: 0  hit_j: 0
   bdy:
      kind: 0  x: 0  y: 2000  w: 45  h: 45
   bdy_end:
   itr:
      kind: 9  x: -9999  y: 2000  w: 9999  h: 0  dvx: 0  bdefend: 0  injury: 0 effect: 5 
   itr_end:
<frame_end>
 
 
<frame> 10 Circle_Blockstone
   pic: 1  state: 3005  wait: 2  next: 11  dvx: 0  dvy: 0  dvz: 0  centerx: 40  centery: 52  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 11 Circle_Blockstone
   pic: 2  state: 3005  wait: 2  next: 12  dvx: 0  dvy: 0  dvz: 0  centerx: 40  centery: 52  hit_a: 0  hit_d: 0  hit_j: 0
   opoint:
      kind: 1  x: 50  y: 59  action: 0  dvx: 0  dvy: 0  oid: 243  facing: 0
   opoint_end:
<frame_end>
 
<frame> 12 Circle_Blockstone
   pic: 3  state: 3005  wait: 2  next: 1000  dvx: 0  dvy: 0  dvz: 0  centerx: 40  centery: 52  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
 
<frame> 20 Circle_stab
   pic: 1  state: 3005  wait: 2  next: 21  dvx: 0  dvy: 0  dvz: 0  centerx: 40  centery: 52  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 21 Circle_stab
   pic: 2  state: 3005  wait: 2  next: 22  dvx: 0  dvy: 0  dvz: 0  centerx: 40  centery: 52  hit_a: 0  hit_d: 0  hit_j: 0
   opoint:
      kind: 1  x: 50  y: 59  action: 11  dvx: 0  dvy: 0  oid: 243  facing: 0
   opoint_end:
<frame_end>
 
<frame> 22 Circle_stab
   pic: 3  state: 3005  wait: 2  next: 1000  dvx: 0  dvy: 0  dvz: 0  centerx: 40  centery: 52  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 23 Circle_stab
   pic: 5  state: 3000  wait: 0  next: 1000  dvx: 0  dvy: 0  dvz: 0  centerx: 40  centery: 52  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
 
<frame> 30 Circle_Blockstone
   pic: 1  state: 3005  wait: 2  next: 31  dvx: 0  dvy: 0  dvz: 0  centerx: 40  centery: 52  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
 
<frame> 31 Circle_Blockstone
   pic: 2  state: 3005  wait: 2  next: 32  dvx: 0  dvy: 0  dvz: 0  centerx: 40  centery: 52  hit_a: 0  hit_d: 0  hit_j: 0
   opoint:
      kind: 1  x: 50  y: 59  action: 0  dvx: 0  dvy: 0  oid: 243  facing: 0
   opoint_end:
<frame_end>
 
<frame> 33 Circle_Blockstone
   pic: 3  state: 3005  wait: 2  next: 1000  dvx: 0  dvy: 0  dvz: 0  centerx: 40  centery: 52  hit_a: 0  hit_d: 0  hit_j: 0
<frame_end>
Reply
Thanks given by:
#2
Duhhhhhhhhh

<frame> 283 Alchemy_Activation
pic: 149 state: 3 wait: 15 next: 999 dvx: 0 dvy: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 33 y: 45 weaponact: 21 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 21 y: 2000 w: 43 h: 62
bdy_end:
bdy:
kind: 0 x: 21 y: 18 w: 43 h: 62
bdy_end:
itr:
kind: 9 x: 0 y: 2000 w: 45 h: 45 dvx: 2 bdefend: 16 injury: 0 effect: 5
itr_end:
opoint:
kind: 1 x: 90 y: 2000 action: 23 dvx: 0 dvy: 0 oid: 242 facing: 0
opoint_end:
<frame_end>


action 23

<frame> 23 Circle_stab
pic: 5 state: 3000 wait: 0 next: 1000 dvx: 0 dvy: 0 dvz: 0 centerx: 40 centery: 52 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>

next: 1000. loooooooooool. Think with ur brain.
[Image: illidansig1.png]
Reply
Thanks given by:
#3
(05-22-2009, 06:01 AM)WoodySmasher Wrote:  Duhhhhhhhhh

<frame> 283 Alchemy_Activation
pic: 149 state: 3 wait: 15 next: 999 dvx: 0 dvy: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0
wpoint:
kind: 1 x: 33 y: 45 weaponact: 21 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
bdy:
kind: 0 x: 21 y: 2000 w: 43 h: 62
bdy_end:
bdy:
kind: 0 x: 21 y: 18 w: 43 h: 62
bdy_end:
itr:
kind: 9 x: 0 y: 2000 w: 45 h: 45 dvx: 2 bdefend: 16 injury: 0 effect: 5
itr_end:
opoint:
kind: 1 x: 90 y: 2000 action: 23 dvx: 0 dvy: 0 oid: 242 facing: 0
opoint_end:
<frame_end>


action 23

<frame> 23 Circle_stab
pic: 5 state: 3000 wait: 0 next: 1000 dvx: 0 dvy: 0 dvz: 0 centerx: 40 centery: 52 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>

next: 1000. loooooooooool. Think with ur brain.

???
that's an opoint to attack the special object and activate the frame "whatever it is" in the special object. like frame 10 activated when blah-blah
Reply
Thanks given by:
#4
If this 283 is your FIRST frame... > Opoint's won't work in the first frame of a move. (ca

And Woody was right: You spawn the object in frame 23 (action:23).. But due to you have a next:1000 in frame 23 of special object, you will simply make it disappearing...
My Creations: (Click to View)

Return (String) System.getNewsOfTheDay();
Barely active, expect slow responses. If at all.


Greetz,
Alblaka
Reply
Thanks given by:
#5
sry if my explanation isn't clear but... this is just the activation of the circle, the special object opointed in other moves:). and jupp its the 1st frame but... when the SO reacted with special itr, the sprite is missing and the shadow won't dissapper.
Reply
Thanks given by:
#6
So umh, wait.....
Speaking about "wait", the wait-value is 0. In general, 0 is always bad when you try to time stuff correctly. Besides that the object should get some time to be hit by another object, so I'd say (assuming I understood your code correctly) the wait in frame 23 should be around 5. Furthermore, you want this itr in the char react with the t3-object? itr/k:9 is generally a bad idea to use in characters because they'll die if they're hit. Shouldn't it be the other way round? t3 gets an itr & your char gets the special bdy?

Bah, I'm starting to confuse myself.
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

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

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by:
#7
(05-22-2009, 09:05 AM)Blue Phoenix Wrote:  So umh, wait.....
Speaking about "wait", the wait-value is 0. In general, 0 is always bad when you try to time stuff correctly. Besides that the object should get some time to be hit by another object, so I'd say (assuming I understood your code correctly) the wait in frame 23 should be around 5. Furthermore, you want this itr in the char react with the t3-object? itr/k:9 is generally a bad idea to use in characters because they'll die if they're hit. Shouldn't it be the other way round? t3 gets an itr & your char gets the special bdy?

Bah, I'm starting to confuse myself.

that's to make the t3 hit the char/activate dummy frame 10
Reply
Thanks given by:
#8
salvation: state must be 3000, i didn't realize that fatal problem, lol:p.
now the activation works perfectly
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)