Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Throwing weapons, like Rudolf's.
#1
Say, you don't know much about DC (like me here)
And you want to make throwing weapons?
If you want to do that without messing about with all those ids, bdys and such, here are a couple of simple steps to achieve throwing weapons:

1) Create your weapon and add it to data.txt.
Skip this step if you want to throw a knife or crate or something already in data.txt.

2) In the desired character, you need the 'summoning' frames:
Code:
<frame> 397 Summonstart
   pic: 1  state: 3  wait: 0  next: 398  dvx: 0  dvy: 0  dvz: 0  centerx: 52  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   bdy:
      kind: 0  x: 24  y: 14  w: 31  h: 64
   bdy_end:
<frame_end>

<frame> 398 Summongo
   pic: 1  state: 3  wait: 0  next: 46  dvx: 0  dvy: 0  dvz: 0  centerx: 52  centery: 79  hit_a: 0  hit_d: 0  hit_j: 0
   opoint:
      kind: 2  x: 42  y: 51  action: 35  dvx: 0  dvy: 0  oid: WEAPON  facing: 0
   opoint_end:
   wpoint:
      kind: 1  x: 42  y: 51  weaponact: 35  attacking: 0  cover: 0  dvx: 0  dvy: 0  dvz: 0
   wpoint_end:
   bdy:
      kind: 0  x: 24  y: 14  w: 31  h: 64
   bdy_end:
<frame_end>

3)Replace "oid: WEAPON" to "oid: id number of the weapon".

There is a next of 46 on the summongo, because that is usually the throwing light weapon frame.
This also works (to a lesser degree) with heavy and medium weapons, as it works with summoning friendly units and attacks.

If you want to have a different range of throwing than the regular throw, no problem! Just copy the desired throwing frames, modify them as you want, and link the summongo to next: desiredframe.

VOILA! Two-second throwing weapons!
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)