Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: INTERNAL organs change[generally against missiles]  (Read 540 times)

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
INTERNAL organs change[generally against missiles]
« on: May 11, 2008, 07:15:00 am »

I'd like to see this kind of change:
RIGHT/LEFT organ cannot be damaged by single piercing attack if the attack was not made "from the side"(this feature is already introduced).

Also I'd like TOP/BOTTOM tokens to be introduced too, and they will work the similar way, the only difference is that the condition will be that the target is "on the ground" instead of side-attack.

This will make currently overpowered missile weaponry more reasonable and real. The bolt in the lung will still be painful and maybe deadly, but it won't pierce your 2nd lung, heart and liver at the same time.

[ May 11, 2008: Message edited by: Deon ]

Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Draco18s

  • Bay Watcher
    • View Profile
Re: INTERNAL organs change[generally against missiles]
« Reply #1 on: May 11, 2008, 01:25:00 pm »

Don't forget the magic lance that went in one eye, through the brain, throat, heart, and then back out the other eye.
(Probably a hyperbole, but I remember a lance that hit both eyes in a single jab)
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: INTERNAL organs change[generally against missiles]
« Reply #2 on: May 12, 2008, 08:32:00 am »

That's what I say about left/right =).
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

JT

  • Bay Watcher
  • Explosively Canadian
    • View Profile
    • http://www.jtgibson.ca/df/
Re: INTERNAL organs change[generally against missiles]
« Reply #3 on: May 12, 2008, 02:43:00 pm »

In addition to the RIGHT/LEFT/TOP/BOTTOM restriction, I think the simplest suggestion would be to say that a piercing weapon should hit only one internal organ at a time.  Without a more accurate organ placement system, there's no way to adequately distinguish body parts enough to allow two or more body parts to be hit.

Even one internal organ destroyed should be more than enough to be fatal in most cases anyway.  That way, weapons have their own benefits:

* Slashing weapons can hit multiple internal organs simultaneously and can cause nasty bleeding, but can get stuck.
* Piercing weapons receive a significant bonus to their odds of destroying any internal organs, but can get stuck.
* Impact weapons can't get stuck, but cause little bleeding or organ damage.

Logged
"The very existence of flamethrowers proves that some time, somewhere, someone said to themselves, 'You know, I want to set those people over there on fire, but I'm just not close enough to get the job done.'" --George Carlin

Narmio

  • Bay Watcher
    • View Profile
Re: INTERNAL organs change[generally against missiles]
« Reply #4 on: May 12, 2008, 08:32:00 pm »

OK, so this may be getting a little complicated, but this is Dwarf Fortress!  If we can't get a little overinvolved here, where can we?

What you could do is define a graph of organ adjacencies.  Not topographical relations like above/below, just "next to" relations.  Right lung is next to left lung, both lungs are next to heart, stomach is next to liver is next to kidneys etc.  You just define the adjacencies in the creature files, which sounds annoying but is really just a copy and paste issue because most living things have very similar internal structures.

Then any hit that penetrates an organ with sufficient power has a chance of also hitting one adjacent organ. Slashing hits might pick several adjacent organs.

This allows for a sufficiently awesome crossbow bolt to go right through a goblin hitting a bunch of organs without the magic MIRV arrows problem we get now.

Logged

Puzzlemaker

  • Bay Watcher
    • View Profile
Re: INTERNAL organs change[generally against missiles]
« Reply #5 on: May 12, 2008, 10:13:00 pm »

Are you guys taking Quantum into effect?
Logged
The mark of the immature man is that he wants to die nobly for a cause, while the mark of the mature man is that he wants to live humbly for one.

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: INTERNAL organs change[generally against missiles]
« Reply #6 on: May 13, 2008, 12:06:00 pm »

I'm still tinkering with my list of suggestions for overhauling the body structure when the Combat Arc begins.

For body structure, I think a slightly more complicated system can be afforded.

Several systems, in fact.

First is attack size. An arrow is, naturally, a very direct attack. It cannot damage more that one-two organs of a human-sized creature. Now consider an arrow hitting a pixie. It'll be an equivalent of a ballista bolt, the poor thing will be ripped apart. So, make attack effects apply basing on size difference between attack and the creature.

Second is organ size. Without resorting to mapping all parts/organs on a 3d matrix, the best we can hope to achieve is have organs have a facing relative to the body and relative size. Have six tags for facing (front/rear/up/low/left/right), and organ size is basically the chance that an organ will be hit by any given attack.

Third is attack propagation. Any part that receives damage should propagate that damage to the parts that are eligible for receiving that damage. An example is a skull or a ribcage - there's a chance the ribcage will be hit (a large chance) when the upper body is hit, and if the damage that is passed to the ribcage is critical (i.e. it will affect INTERNAL organs), the ribcage part propagates that damage to the parts it contains - the lungs and the heart, that have smaller individual hit chances.

Fourth is attack continuity and direction. When the size of the attack is sufficient in relation to the target, so that several connected large parts may (realistically) be damaged, attack propagation will continue in the direction of the attack, which is defined randomly, in accordance with attack type.
A piercing attack will extend effect on one axis, using facing tags to determine the parts it hit. (the spine is in the back, the liver is in the front, a spear can hit them both, but cannot hit a kidney at the same time if it already struck center)
A slashing attack will instead affect only the parts that are facing it, but it will also be able to hit perpendicularly aligned parts (i.e. left/right/up/low when attacking from the front), propagating damage even to unconnected parts if necessary, but not exceeding the damage ratio set by size difference. (both arms can be hit by one attack)
Bashing and magic attacks influence parent and child parts when propagating, without regard to facing. (a hit to the upper body can also break a shoulder or neck)

Fifth is metaparts. Metaparts are parts that are named, but do not exist within the body, save as a name for a collection of parts it houses. For example, the ever-present ribcage. The ribcage is a collection of ribs, more or less. If all ribs are broken, the ribcage is destroyed. However, currently it may be that the ribcage is mangled, but most ribs are whole. This is avoided by making the ribcage just a name for a container. It receives damage, but has no health - instead it uses damage propagation to have its components damaged.

Sixth is property profiles for parts. Each part can be assigned a profile, as in "resists slashing and piercing, damaged easily by bashing, does not bleed, does not cause pain, immune to injections" - that would be for a horn or any other hard bone part. These will allow precise control over which parts are vital and which are not. Also, damage propagation will be affected by the damage resists, where if an attack hits a resistant part, its damage and hit rating decreases, lowering the chance of hitting something that the part may be containing. This applies in sequence to all damaged parts - for example, in an upper body, first the ribcage would be hit by an arrow, and the ribs it has would be affected first, as they would be damaged without a critical check. Once the arrow applies its damage (to just one rib, most probably), the pierce resistance of bone will decrease the arrow's damage potential, and it may lower enough to avert the damage to vitals.

Seventh... uh. There's quite a lot of this stuff. There're lists of tags for different effects on parts, attacks, weapons, and stuff like that. Like tags for multiple attacks on one weapon, parsed message text, etc, etc.

Logged
Multiworld Madness Archive:
Game One, Discontinued at World 3.
Game Two, Discontinued at World 1.

"Europe has to grow out of the mindset that Europe's problems are the world's problems, but the world's problems are not Europe's problems."
- Subrahmanyam Jaishankar, Minister of External Affairs, India