Little Fighter Empire - Forums
make template shoot bullets ?? - Printable Version

+- Little Fighter Empire - Forums (https://lf-empire.de/forum)
+-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7)
+--- Forum: Data Changing (https://lf-empire.de/forum/forumdisplay.php?fid=11)
+--- Thread: make template shoot bullets ?? (/showthread.php?tid=7169)

Pages: 1 2


make template shoot bullets ?? - mangavogt - 10-16-2011

sry for bad english ^^ i want to make template shoot some bullets instead of punching .. how does it work ... can someone explain pls german pls or easy english ^^:'(


RE: make template shoot bullets ?? - Ramond - 10-16-2011

First off, be sure to check the mainsite for all the relevant DCing information you need.

Basically, to create bullets, you need to create them as new objects. The "opoint" tag does that. Then just search for the "punch" frames in Template's data (frames 61 and 66), and insert the opoint tag with the respective information there.

And as I said, for information how to use the opoint tag, check the DCing section on the mainsite.


RE: make template shoot bullets ?? - mangavogt - 10-16-2011

hmmm... on the mainsite i coldnt find anything about opoint... can you explain pls ^^


RE: make template shoot bullets ?? - Ramond - 10-16-2011

Sure you couldn't? LF2 Empire > Data Changing > Frame Elements > opoint

=> http://www.lf-empire.de/en/lf2-empire/data-changing/frame-elements/178-opoint-object-point


RE: make template shoot bullets ?? - Hero destroyer - 10-16-2011

it's pretty easy. I can do it for you if you want.


RE: make template shoot bullets ?? - mangavogt - 10-16-2011

that would be nice thanks ^^ can you post it here pls ...^^
or how does it work im new ^^....


RE: make template shoot bullets ?? - Hero destroyer - 10-16-2011

Code:
<frame> 60 punch
   pic: 10  state: 3  wait: 2  next: 61  dvx: 1  dvy: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 2  x: 26  y: 58  w: 37  h: 23  vrest: 1  
      
   itr_end:
   bdy:
      kind: 0  x: 30  y: 18  w: 28  h: 60
   bdy_end:
   bdy:
      kind: 0  x: 23  y: 35  w: 37  h: 24
   bdy_end:
<frame_end>

<frame> 61 punch
   pic: 11  state: 3  wait: 3  next: 999  dvx: 0  dvy: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
  sound: data\007.wav
   itr:
      kind: 0  x: 49  y: 33  w: 30  h: 16  dvx: 2  bdefend: 16  injury: 20  
   itr_end:
   bdy:
      kind: 0  x: 39  y: 19  w: 21  h: 61
   bdy_end:
   bdy:
      kind: 0  x: 51  y: 34  w: 26  h: 16
   bdy_end:
<frame_end>

<frame> 65 punch
   pic: 12  state: 3  wait: 2  next: 66  dvx: 1  dvy: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   itr:
      kind: 2  x: 26  y: 58  w: 37  h: 23  vrest: 1  
      
   itr_end:
   bdy:
      kind: 0  x: 27  y: 17  w: 31  h: 63
   bdy_end:
<frame_end>

<frame> 66 punch
   pic: 13  state: 3  wait: 3  next: 999  dvx: 0  dvy: 0  centerx: 39  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
  sound: data\007.wav
   opoint:
      kind: 1  x: 75 y: 57 action: ???  dvx: ???  dvy: ???  oid: ???  facing: 0
   opoint_end:
   bdy:
      kind: 0  x: 28  y: 17  w: 29  h: 63
   bdy_end:
   bdy:
      kind: 0  x: 45  y: 37  w: 32  h: 11
   bdy_end:
<frame_end>

You do know how to set oid, dvx, dvy, pic and action in the opoint. You gotta be, right?


RE: make template shoot bullets ?? - mangavogt - 10-16-2011

no ... i need help sorry
i tried to use henry_arrow1.dat to have a basic for my bullets but i copieed the dat and changed the oid into mine but game wont start


RE: make template shoot bullets ?? - mfc - 10-16-2011

Learn, study, study and study again.

I think no one will tell you what dvy or dvx is in here.

You should show some effort before doing this.

You can start from making freeze shot fireballs instead of iceball.

Also highly recommended for you to check study examples in mainsite,..

Good luck!


RE: make template shoot bullets ?? - alphafighters - 10-16-2011

Well, it looks like u needed help and Hero Destroyer helped u with a sample code. Now u have surely filled the tags like oid and dvz, so could u please show your final completed code?