Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: How to get Edward Sword-Hands?  (Read 1370 times)

Necro910

  • Bay Watcher
  • Legendary Drunk +5
    • View Profile
How to get Edward Sword-Hands?
« on: May 25, 2011, 04:29:52 pm »

How do I give a creature blades (edges) on their body? As in, a sword on their arm?

Kweri

  • Bay Watcher
    • View Profile
Re: How to get Edward Sword-Hands?
« Reply #1 on: May 25, 2011, 05:14:05 pm »

I'd think you'd define it as any other body part. When you assign an attack using that body part, add [ATTACK_FLAG_EDGE] to the attack.
Logged

Necro910

  • Bay Watcher
  • Legendary Drunk +5
    • View Profile
Re: How to get Edward Sword-Hands?
« Reply #2 on: May 25, 2011, 05:24:17 pm »

I'd think you'd define it as any other body part. When you assign an attack using that body part, add [ATTACK_FLAG_EDGE] to the attack.
I need a stab attack and a slash attack. How do I make the difference?

EDIT: Sorry if I was unclear. I want there to be two different attacks. I want the creature to stab or slice at will.

Trapezohedron

  • Bay Watcher
  • No longer exists here.
    • View Profile
Re: How to get Edward Sword-Hands?
« Reply #3 on: May 25, 2011, 09:51:37 pm »

I'd think you'd define it as any other body part. When you assign an attack using that body part, add [ATTACK_FLAG_EDGE] to the attack.
What Kweri said, although to make it more effective, you might need to alter the related bodyparts' relsize.
Also, to add variety to the stab and slash attack, you might as well add the [ATTACK_FLAG_CANLATCH] tag
to the stab attack, so that the creature's arms get stuck.

Finally, stab and slash attacks work better if their tissues are structural, in short, you might want to make a separate "blade" tissue using (possibly strengthened) bone as a material, like this:

[TISSUE:BLADE]
      [TISSUE_NAME:bone:bone]
      [TISSUE_MATERIAL:LOCAL_CREATURE_MAT:BONE]
      [STRUCTURAL]
      [RELATIVE_THICKNESS:3]
      [CONNECTS]
      [TISSUE_SHAPE:LAYER]
[TISSUE_LAYER:BY_CATEGORY:ARMS_BLADE:BLADE]

Of course, ARMS_BLADE stands for the necromorph's blade arms and blade is the tissue itself.
That is all for now.
Logged
Thank you for all the fish. It was a good run.

Necro910

  • Bay Watcher
  • Legendary Drunk +5
    • View Profile
Re: How to get Edward Sword-Hands?
« Reply #4 on: May 25, 2011, 10:07:57 pm »

I'd think you'd define it as any other body part. When you assign an attack using that body part, add [ATTACK_FLAG_EDGE] to the attack.
What Kweri said, although to make it more effective, you might need to alter the related bodyparts' relsize.
Also, to add variety to the stab and slash attack, you might as well add the [ATTACK_FLAG_CANLATCH] tag
to the stab attack, so that the creature's arms get stuck.

Finally, stab and slash attacks work better if their tissues are structural, in short, you might want to make a separate "blade" tissue using (possibly strengthened) bone as a material, like this:

[TISSUE:BLADE]
      [TISSUE_NAME:bone:bone]
      [TISSUE_MATERIAL:LOCAL_CREATURE_MAT:BONE]
      [STRUCTURAL]
      [RELATIVE_THICKNESS:3]
      [CONNECTS]
      [TISSUE_SHAPE:LAYER]
[TISSUE_LAYER:BY_CATEGORY:ARMS_BLADE:BLADE]

Of course, ARMS_BLADE stands for the necromorph's blade arms and blade is the tissue itself.
That is all for now.
I love how you know what the exact intended purpose was.

You read the Dorf Space Mod thread, didn't you?  :P

Trapezohedron

  • Bay Watcher
  • No longer exists here.
    • View Profile
Re: How to get Edward Sword-Hands?
« Reply #5 on: May 25, 2011, 10:12:15 pm »

I'd think you'd define it as any other body part. When you assign an attack using that body part, add [ATTACK_FLAG_EDGE] to the attack.
I need a stab attack and a slash attack. How do I make the difference?

EDIT: Sorry if I was unclear. I want there to be two different attacks. I want the creature to stab or slice at will.

Like this:

   [ATTACK:SLASH:BODYPART:BY_CATEGORY:ARMS_BLADE]
      [ATTACK_SKILL:GRASP_STRIKE]
      [ATTACK_VERB:slash:slashes]
      [ATTACK_PENETRATION_PERC:100]
      [ATTACK_CONTACT_PERC:100]
      [ATTACK_FLAG_WITH]
      [ATTACK_FLAG_EDGE]
      [ATTACK_PRIORITY:MAIN]
   [ATTACK:STAB:BODYPART:BY_CATEGORY:ARMS_BLADE]
      [ATTACK_SKILL:GRASP_STRIKE]
      [ATTACK_VERB:stab:stabs]
      [ATTACK_PENETRATION_PERC:100]
      [ATTACK_CONTACT_PERC:100]
      [ATTACK_FLAG_WITH]
      [ATTACK_FLAG_EDGE]
      [ATTACK_FLAG_CANLATCH]
      [ATTACK_PRIORITY:MAIN]

If you want to add variety to the necromorph's attack, you might want to add weaker clones of the above attacks, like this:

   [ATTACK:SLASHGLANCE:BODYPART:BY_CATEGORY:ARMS_BLADE]
      [ATTACK_SKILL:GRASP_STRIKE]
      [ATTACK_VERB:glancingly slash:glancingly slashes]
      [ATTACK_PENETRATION_PERC:50]
      [ATTACK_CONTACT_PERC:50]
      [ATTACK_FLAG_WITH]
      [ATTACK_FLAG_EDGE]
      [ATTACK_PRIORITY:MAIN]
   [ATTACK:STAB:BODYPART:BY_CATEGORY:ARMS_BLADE]
      [ATTACK_SKILL:GRASP_STRIKE]
      [ATTACK_VERB:glancingly stab:glancingly stabs] -- how does one glancingly stab an enemy?
      [ATTACK_PENETRATION_PERC:50]
      [ATTACK_CONTACT_PERC:50]
      [ATTACK_FLAG_WITH]
      [ATTACK_FLAG_EDGE]
      [ATTACK_FLAG_CANLATCH]
      [ATTACK_PRIORITY:MAIN]

The above attacks are just examples, you may choose not to add them.

I love how you know what the exact intended purpose was.

You read the Dorf Space Mod thread, didn't you?  :P

Yep. Thought the idea was great, especially that actual forests can be barren. :D
Logged
Thank you for all the fish. It was a good run.

Demonic Gophers

  • Bay Watcher
    • View Profile
    • The Tunnels
Re: How to get Edward Sword-Hands?
« Reply #6 on: May 25, 2011, 11:32:55 pm »

The stab should probably have a low ATTACK_CONTACT_PERC.
Logged
*Digs tunnel under thread.*
I also answer to Gophers and DG.
Quote from: Shades of Gray
*Says something inspiring and quote worthy.*
Opinions are great, they're like onions with pi.

Necro910

  • Bay Watcher
  • Legendary Drunk +5
    • View Profile
Re: How to get Edward Sword-Hands?
« Reply #7 on: May 25, 2011, 11:50:32 pm »

Nice job New Guy. And thanks, the barren forests are there because the world is a desert wasteland  ;D

I'm going to have a stab, a bite, and a slash. The necromorphs do a downward thrust, a wild swing, and a bite (grapple).