Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: Breakable limbs for animals?  (Read 6588 times)

AfterShave

  • Bay Watcher
    • View Profile
Breakable limbs for animals?
« on: January 09, 2010, 05:03:24 pm »

How do you make animals limbs breakable?
I have always thought it would be nice to be able to do that.
Logged
Gotta love the DF forums. A statement like this anywhere else could land you a couple years of counseling.

This is an anagram of my name
      Highborn Jerk Monster

KaelGotDwarves

  • Bay Watcher
  • [CREATURE:FIRE_ELF]
    • View Profile
Re: Breakable limbs for animals?
« Reply #1 on: January 09, 2010, 05:26:56 pm »

Mod in joints connecting their various limbs in the body raw. Only humanoids have joints in the base raw and that's what you're actually breaking, so you can't do it to animals unless you add them.

Morrigi

  • Bay Watcher
    • View Profile
Re: Breakable limbs for animals?
« Reply #2 on: January 09, 2010, 07:23:32 pm »

Are there any existing mods that do this?
Logged
Cthulhu 2016! No lives matter! No more years! Awaken that which slumbers in the deep!

Sutremaine

  • Bay Watcher
  • [ETHIC:ATROCITY: PERSONAL_MATTER]
    • View Profile
Re: Breakable limbs for animals?
« Reply #3 on: January 10, 2010, 06:33:36 pm »

It's pretty easy to do it yourself. Go to raw/objects and open body_default.txt and replace the whole [BODY:QUADRUPED] entry with the following:

Spoiler (click to show/hide)

It's functionally identical to the humanoid body with the exception of the [STANCE] tags on the front feet and the name of the entry, and splits the legs into two parts each. Since the names of the body parts are the same (that's RUA and LUA, etc, not the text descriptions), you can use humanoid joints without any further modification to the body_default file. You add the joints to your quadrupeds by running through each of the creature files (creature_[whatever].txt) and changing "QUADRUPED" to "QUADRUPED:HUMANOID_JOINTS". That needs to be in all caps -- as a rule, everything needs to be in caps with the exception of text that the game displays.
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.

Arrkhal

  • Bay Watcher
  • Who modded in these flying killer attack babies???
    • View Profile
Re: Breakable limbs for animals?
« Reply #4 on: January 10, 2010, 08:04:01 pm »

May also want to replace the names of the joints.  The names tend to be pretty similar for different quadrupeds.

This one's accurate for horses.
Spoiler (click to show/hide)

I know a dog's knees and ankles are also called stifles and hocks.  Not sure if the wrist joint is still called a knee, though.
« Last Edit: January 10, 2010, 08:06:18 pm by Arrkhal »
Logged
In development: Arrkhal's Material and Weapon balance
Please test and let me know what still needs fixing.  And get these freakin' babies offa me!

Wiseacre

  • Bay Watcher
  • Licker of rogues
    • View Profile
Re: Breakable limbs for animals?
« Reply #5 on: January 10, 2010, 08:10:18 pm »

How do you make animals limbs breakable?
I have always thought it would be nice to be able to do that.

Gotta love the DF forums. A statement like this anywhere else could land you a couple years of counseling.
Logged
Doing youtube stuff now, check me out!
https://www.youtube.com/channel/UC0H15QEUIeG-GyFQY1Mu72Q

Arrkhal

  • Bay Watcher
  • Who modded in these flying killer attack babies???
    • View Profile
Re: Breakable limbs for animals?
« Reply #6 on: January 10, 2010, 09:37:25 pm »

Here's a set for spiders.  Just add SPIDER_JOINTS to giant scorpions and giant cave spiders.  Anyone baddass enough to wrestle one of those deserves the chance to break their legs.

Spoiler (click to show/hide)
Logged
In development: Arrkhal's Material and Weapon balance
Please test and let me know what still needs fixing.  And get these freakin' babies offa me!

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Breakable limbs for animals?
« Reply #7 on: January 10, 2010, 11:04:46 pm »

A very cool thing to add is make NECK a [JOINT] have fun wreastling (was found in "Butterfly effect. small change/big effect" thread)
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Breakable limbs for animals?
« Reply #8 on: January 11, 2010, 02:11:01 am »

Well, most people do it from the 2d version :).
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

AfterShave

  • Bay Watcher
    • View Profile
Re: Breakable limbs for animals?
« Reply #9 on: January 11, 2010, 03:35:39 am »

I tried the neck being a joint. Combat got way easier.
I also made everything a joint. Breaking your enemies internal organs and mouth is fun   ;D
Logged
Gotta love the DF forums. A statement like this anywhere else could land you a couple years of counseling.

This is an anagram of my name
      Highborn Jerk Monster

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Breakable limbs for animals?
« Reply #10 on: January 11, 2010, 04:09:06 am »

I've made a separate "jaw" jpint. Not too much, but funnier :). It's a part pf my detailed body which makes crazy things.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

KaelGotDwarves

  • Bay Watcher
  • [CREATURE:FIRE_ELF]
    • View Profile
Re: Breakable limbs for animals?
« Reply #11 on: January 13, 2010, 04:13:10 am »

Well, as long as it isn't gougable nipples and tearing off of other unmentionables... *shudder*

Arrkhal

  • Bay Watcher
  • Who modded in these flying killer attack babies???
    • View Profile
Re: Breakable limbs for animals?
« Reply #12 on: January 13, 2010, 08:23:32 am »

Hm, giving joints to animals seems to make them able to grapple as well.  I just saw a horse lock and break 2 of a kobold's limbs before kicking him to death.  And wolves keep trying to grapple me, but my wrestler skill is too high.
Logged
In development: Arrkhal's Material and Weapon balance
Please test and let me know what still needs fixing.  And get these freakin' babies offa me!

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Breakable limbs for animals?
« Reply #13 on: January 13, 2010, 08:26:29 pm »

They can do it without joints.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Breakable limbs for animals?
« Reply #14 on: January 13, 2010, 08:52:13 pm »

its the [liMB] tag on a body part that allows grappling [GRASP] does too, just change [liMB] on animal body parts to [SKELETON] and that should stop these savage wreastler horses and wolves
Logged
Pages: [1] 2