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?
Yep. Thought the idea was great, especially that actual forests can be barren.