Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Question regarding body part size and wounds.  (Read 696 times)

hans hass

  • Escaped Lunatic
    • View Profile
Question regarding body part size and wounds.
« on: February 15, 2011, 12:28:21 pm »

Hi,

what would I need to change in the raws for dwarves to rather lose a finger than the whole hand, or rather a toe instead of the foot, an ear instead of the head. I find it annoying that the default mode for dwarves is to lose whole body parts, arms, legs, heads, instead of smaller sub-parts and rarely the whole part.

Thanks.
Logged

D_E

  • Bay Watcher
    • View Profile
Re: Question regarding body part size and wounds.
« Reply #1 on: February 15, 2011, 12:50:02 pm »

Increase the size of the offending body parts in the body_detail file.

For example, the fingers are set to have a default_relsize of 5, while the hands have a relsize of 80.  Increasing the size of the fingers from 5 to something like 40 or 80 would make the fingers a much more likely target. 

There tend to be multiple similar bodyparts in the raws, use cntrl+F to find all the entries that include what you're interested in.

Logged
Mods I've done:
Zelda mod-mod, Beta in the Wild DF 47.04
Illithid Empire mod DF 31.25 (update canceled)
Spotter's Guide to Illithids (Genesis mod-mod) genesis 3.19a4 (update canceled)

hans hass

  • Escaped Lunatic
    • View Profile
Re: Question regarding body part size and wounds.
« Reply #2 on: February 15, 2011, 01:54:22 pm »

Thank you for your answer!

I'm still a little confused over this, though.

I found relsize entries in:

b_detail_plan_default.txt
body_default.txt
body_rcp.txt

Exactly which entries (and in which .txt) do I need to change to only alter the dwarves? And what would be a sensible value? Should I decrease the values for hands, arms, feet and legs also?

/edit: Oh, and do I need to generate a new world for the changes to take effect?
« Last Edit: February 15, 2011, 01:58:23 pm by hans hass »
Logged

Sutremaine

  • Bay Watcher
  • [ETHIC:ATROCITY: PERSONAL_MATTER]
    • View Profile
Re: Question regarding body part size and wounds.
« Reply #3 on: February 15, 2011, 02:26:35 pm »

b_detail_plan_default.txt mentions fingers but doesn't assign a size to them, leaving them to the .
body_default.txt assigns a size to the fingers, but changing this will change anything that uses the 5FINGERS template.
body_rcp.txt appears to contain body recipes for FBs and titans.

To change just dwarves you can either create a whole new finger template for them, or resize their fingers in the same way that their livers are resized.
[RELSIZE:BY_CATEGORY:FINGER:40]

This will make all their fingers the same size. Not sure what syntax you'd need to resize just the little finger.
Logged
I am trying to make chickens lay bees as eggs. So far it only produces a single "Tame Small Creature" when a hen lays bees.
Honestly at the time, I didn't see what could go wrong with crowding 80 military Dwarves into a small room with a necromancer for the purpose of making bacon.

D_E

  • Bay Watcher
    • View Profile
Re: Question regarding body part size and wounds.
« Reply #4 on: February 15, 2011, 03:05:31 pm »

Oops.  body_default.txt.  I made a mistake in my first post when I said body_detail.  These changes would not require a regen;  edit the body_default.txt file located in the save's raw folder (data/save/region/raw/objects).

You should alter the 5FINGERS bodypart, 5TOES, and 2EARS.  Compare the sizes to the BPs you don't want to get hit:  FINGERS and TOES should be either 40 or 80, the ears would have to be quite large before they would get hit as often or more often than the head (>= 300, in which case they'd be hit almost as often as the upperbody).  It's ok to set them by experimentation.

Dwarves share bodyparts with humans/elves/etc, so a change to the dwarves will affect those creatures as well, but I suspect it isn't a problem.

If it is, you should use the approach suggested by Sutremaine.

You probably shouldn't decrease the relative sizes of the hands/head/etc.  Sizes in DF are supposed to be accurate representations of the relative sizes of bodyparts, and so are used in a lot of different places, for example to determine damage resistance, likelyhood of getting hit, how much meat you get for butchering that part, and so on.  It may be difficult to stop dwarves getting hit in the head.


Logged
Mods I've done:
Zelda mod-mod, Beta in the Wild DF 47.04
Illithid Empire mod DF 31.25 (update canceled)
Spotter's Guide to Illithids (Genesis mod-mod) genesis 3.19a4 (update canceled)

hans hass

  • Escaped Lunatic
    • View Profile
Re: Question regarding body part size and wounds.
« Reply #5 on: February 16, 2011, 01:35:17 pm »

I somehow can't seem to get it to work.
I set fingers and toes to relsize 120, while keeping hands etc at default value.
I tried for 15 minutes in the arena without as much as a finger or toe getting scratched. The only times fingers or toes show up is when the dwarves attack with pommel or flat of the blade. Strange.
What am I doing wrong?

/edit: or, as another approach: is it possible to increase the damageresistance of bodyparts so they don't get severed so easily?
« Last Edit: February 16, 2011, 01:44:56 pm by hans hass »
Logged