Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Modding animal training  (Read 3125 times)

higgypig

  • Bay Watcher
    • View Profile
Modding animal training
« on: June 30, 2014, 09:12:04 am »

There are quite a few species of animal that I would love to war-train. What would I change in the raws to do so?
Logged

sal880612m

  • Bay Watcher
  • [SANITY:OPTIONAL]
    • View Profile
Re: Modding animal training
« Reply #1 on: June 30, 2014, 09:19:15 am »

As per http://dwarffortresswiki.org/index.php/DF2012:Creature_token#T

You can add the tokens TRAINABLE_WAR for war training , TRAINABLE_HUNTING for hunting training or just TRAINABLE for both.

I also think that the creature also needs to have the PET or PET_EXOTIC token for any of the above to be of use but am not positive. Reading the PET and PET_EXOTIC entires on the creature token page makes me think it is highly likely.
Logged
"I was chopping off little bits of 'im till he talked, startin' at the toes."
"You probably should have stopped sometime before his eyes."

ImagoDeo

  • Bay Watcher
  • [NOT_THINK:UNTHINKABLE]
    • View Profile
Re: Modding animal training
« Reply #2 on: June 30, 2014, 09:47:26 am »

I don't think [PET] tags are necessary at all.

Either way, anything tameable with [TRAINABLE] can be trained for war or hunting. I've modded hyenas, giant badgers, and various other beasties for war training. It's one of the simplest modding tasks and I wouldn't call it cheating since it's not against the spirit of the game at all.
Logged
What would it be like to live in a world that was copy/pasted? Would we even notice? If not, how many times have we switched celestial harddrives or whatever?

Button

  • Bay Watcher
  • Plants Specialist
    • View Profile
Re: Modding animal training
« Reply #3 on: June 30, 2014, 09:58:07 am »

I don't think [PET] tags are necessary at all.

A creature without [PET] or [PET_EXOTIC] cannot be tamed, and taming is a prerequisite for training.  :)
Logged
I used to work on Modest Mod and Plant Fixes.

Always assume I'm not seriously back

glopso

  • Bay Watcher
    • View Profile
Re: Modding animal training
« Reply #4 on: June 30, 2014, 04:17:02 pm »

I don't think [PET] tags are necessary at all.

A creature without [PET] or [PET_EXOTIC] cannot be tamed, and taming is a prerequisite for training.  :)
You could get the pets already tamed through trade, too.
Logged

sal880612m

  • Bay Watcher
  • [SANITY:OPTIONAL]
    • View Profile
Re: Modding animal training
« Reply #5 on: June 30, 2014, 04:43:28 pm »

I am relatively certain they will all have the [PET] or [PET_EXOTIC] tag.
Logged
"I was chopping off little bits of 'im till he talked, startin' at the toes."
"You probably should have stopped sometime before his eyes."

krenshala

  • Bay Watcher
    • View Profile
Re: Modding animal training
« Reply #6 on: June 30, 2014, 05:14:29 pm »

I just looked through raw/objects/creature_large_temperate.txt and creature_large_mountain.txt and everything with a [TRAINABLE] tag has either [PET] or [PET_EXOTIC] as well.  Those that don't have the training flag still usually have on of the pet tags, though I wasn't that thorough in checking that side of it.
Logged
Quote from: Haspen
Quote from: phoenixuk
Zepave Dawnhogs the Butterfly of Vales the Marsh Titan ... was taken out by a single novice axedwarf and his pet war kitten. Long Live Domas Etasastesh Adilloram, slayer of the snow butterfly!
Doesn't quite have the ring of heroics to it...
Mother: "...and after the evil snow butterfly was defeated, Domas and his kitten lived happily ever after!"
Kids: "Yaaaay!"

deepfreeze78

  • Bay Watcher
    • View Profile
Re: Modding animal training
« Reply #7 on: June 30, 2014, 08:52:17 pm »

[PET] or [PET_EXOTIC] are required to be able to train for hunting or war, as taming is required for training, and the pet tags are required for taming. Elves can also only tame things with [PET] or [PET_EXOTIC]
Logged
Nothing's truly dwarfy until it's been weaponized to kill elves with magma.

Rakonas

  • Bay Watcher
    • View Profile
Re: Modding animal training
« Reply #8 on: July 01, 2014, 05:57:11 pm »

Note that Pet Exotic is broken in this version because you need the dungeon master or something like that which is supposed to be a noble capable of training exotic animals, but iirc is bugged and never appears. Always use Pet.
Logged

deepfreeze78

  • Bay Watcher
    • View Profile
Re: Modding animal training
« Reply #9 on: July 01, 2014, 06:11:43 pm »

Note that Pet Exotic is broken in this version because you need the dungeon master or something like that which is supposed to be a noble capable of training exotic animals, but iirc is bugged and never appears. Always use Pet.

No Pet Exotic works perfectly fine. All pets are tamed through the animal trainer. I think that it was previously tamed by the dungeon master.

EDIT: Apparently, I wasn't thinking yesterday, and could not get my words through to my fingers.
« Last Edit: July 02, 2014, 05:07:43 pm by deepfreeze78 »
Logged
Nothing's truly dwarfy until it's been weaponized to kill elves with magma.

krenshala

  • Bay Watcher
    • View Profile
Re: Modding animal training
« Reply #10 on: July 02, 2014, 03:49:13 pm »

Technically, the Dungeon Master is bugged, but Toady set it so PET and PET_EXOTIC work the same right now so exotic pets can still be trained even without the DM.  I don't remember if he said he was going to 'fix' the DM later, though.
Logged
Quote from: Haspen
Quote from: phoenixuk
Zepave Dawnhogs the Butterfly of Vales the Marsh Titan ... was taken out by a single novice axedwarf and his pet war kitten. Long Live Domas Etasastesh Adilloram, slayer of the snow butterfly!
Doesn't quite have the ring of heroics to it...
Mother: "...and after the evil snow butterfly was defeated, Domas and his kitten lived happily ever after!"
Kids: "Yaaaay!"