Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Simplifying manual attack target list?  (Read 1200 times)

Murmur

  • Bay Watcher
    • View Profile
Simplifying manual attack target list?
« on: August 23, 2012, 09:12:08 pm »

I'm looking for ways to greatly cut down on the list of possible targets for manual attacks. Would there be any negative side effects to adding [INTERNAL] to things like teeth and fingers? What about combining upper arm/leg and lower arm/leg to just arm/leg? Or is there a better way to handle something like this?
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Simplifying manual attack target list?
« Reply #1 on: August 23, 2012, 09:16:39 pm »

That should all work.

i2amroy

  • Bay Watcher
  • Cats, ruling the world one dwarf at a time
    • View Profile
Re: Simplifying manual attack target list?
« Reply #2 on: August 23, 2012, 09:17:36 pm »

Adding [INTERNAL] means that the parts are considered to be inside of the parts they are attached to. As such you can only damage them if you damage the surrounding part while you are at it (i.e., you can't pierce lungs without harming the upper body as well). The result would be that you would be unable to to damage fingers or teeth without damaging the mouth or hand (which is possible if you consider how you could be stabbed in a finger without harming the palm or get a tooth knocked out without hurting your gums).

As for combining the upper arm/leg and the lower one, there wouldn't be any large differences, with the main one being that you would no longer be able to damage the knees or elbows.
Logged
Quote from: PTTG
It would be brutally difficult and probably won't work. In other words, it's absolutely dwarven!
Cataclysm: Dark Days Ahead - A fun zombie survival rougelike that I'm dev-ing for.

Xangi

  • Bay Watcher
  • ɛkzændʒiː
    • View Profile
Re: Simplifying manual attack target list?
« Reply #3 on: August 23, 2012, 09:41:08 pm »

I think the tag you're looking for is [SMALL], or something like that.
Logged
A spooky ghost.

Previous mod (34.11):
<<Fear The Night!>>
http://www.bay12forums.com/smf/index.php?topic=103747.0

IndigoFenix

  • Bay Watcher
  • All things die, but nothing dies forever.
    • View Profile
    • Boundworlds: A Browser-Based Multiverse Creation and Exploration Game
Re: Simplifying manual attack target list?
« Reply #4 on: August 25, 2012, 02:14:46 pm »

[SMALL] doesn't really work anymore.

The simplest way would be to replace [HUMANOID] with [HUMANOID_SIMPLE] (no upper/lower arms or legs) and just remove the fingers and toes altogether - they don't really do anything except serve as extra things to target and break.  The nose doesn't do anything either, so you can remove that without worry.  You can also replace [TEETH] with [GENERIC_TEETH], which will combine them all into one body part, although this means that you can only bite one thing at a time (which is more realistic, really), and one good hit will knock them all out at once.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Simplifying manual attack target list?
« Reply #5 on: August 25, 2012, 04:53:34 pm »

Fingers scratch. If you remove them, you'll have errors out the wazoo from that.