Bay 12 Games Forum

Please login or register.

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

Author Topic: Make pets not trained for war aggressive to to invaders?  (Read 1283 times)

BoogieMan

  • Bay Watcher
  • Hi
    • View Profile
Make pets not trained for war aggressive to to invaders?
« on: June 22, 2013, 06:17:58 pm »

Is this possible? Some animals shouldn't flee from hostiles. And after I saw some tame cave crocs flee from invaders I decided I'd see if it could be fixed. I suppose that making them trainable for war might do it but I'd prefer not doing that if possible since for them and some other beasties it would be a hard sell to think them intelligent enough for such.
Logged
(╯°□°)╯︵ ┻━┻ BoogieMan, Forumscrub cancels tantrum: Seeking Dr. Pepper

Loud Whispers

  • Bay Watcher
  • They said we have to aim higher, so we dug deeper.
    • View Profile
    • I APPLAUD YOU SIRRAH
Re: Make pets not trained for war aggressive to to invaders?
« Reply #1 on: June 22, 2013, 07:00:27 pm »

1. Put animals in cage.
2. Release animals in small room with invaders.

Or

1. Hide animals in depressions in the wall out of LOS until enemies are close enough to panic the animals into attack.

BoogieMan

  • Bay Watcher
  • Hi
    • View Profile
Re: Make pets not trained for war aggressive to to invaders?
« Reply #2 on: June 22, 2013, 07:21:27 pm »

I suppose this would have been better to post in the modding forum, since the best way to get this done would be some kind of creature tag or something. I had a clever pit trapped that dropped invaders down far enough to cause serious injury but not always death and had some 30 cave crocs pastured off to the sides with some water in between, the hope being they'd be more adept at fighting in water and would be more likely to drown the injured attackers.. But they all scattered like cowards to the edges of the wall and only fought back when the goblins hobbled over and cornered them. I was hoping they'd swarm in and just massacre them.

Maybe the [LIKES_FIGHTING] tag would be good? Anyone have experience with this? I just wonder how much it would change the behavior of natural ones (not a big deal I guess) but I'm unsure of how this could possibly affect world gen if added to a few beasts..

If a mod could move this to the modding forum that would be great, I'd prefer not to clutter with another post if possible.
« Last Edit: June 22, 2013, 07:34:29 pm by BoogieMan »
Logged
(╯°□°)╯︵ ┻━┻ BoogieMan, Forumscrub cancels tantrum: Seeking Dr. Pepper

smakemupagus

  • Bay Watcher
  • [CANOPENDOORS]
    • View Profile
Re: Make pets not trained for war aggressive to to invaders?
« Reply #3 on: June 22, 2013, 07:56:14 pm »

Sure, but t'll make them more aggro to your dwarves too (same with PRONE TO RAGE).  I doubt it'll have much effect on world gen, where the specific interactions between every cave croc and every peasant are not modelled in detail.  You could just give them TRAINABLE too.

Toxicshadow

  • Bay Watcher
    • View Profile
    • github
Re: Make pets not trained for war aggressive to to invaders?
« Reply #4 on: June 22, 2013, 08:47:00 pm »

Give the creature [NOFEAR]. Taken from Hugo's wiki rip:
Quote
Creature doesn't feel fear and will never run away from battle.
Might break the second tactic that Loud Whispers mentioned though.
Logged
Quote
'ere the Chias get hungry...

Gentlefish

  • Bay Watcher
  • [PREFSTRING: balloon-like qualities]
    • View Profile
Re: Make pets not trained for war aggressive to to invaders?
« Reply #5 on: June 22, 2013, 11:07:27 pm »

Isn't it

[LIKES_FIGHTING]

?

Toxicshadow

  • Bay Watcher
    • View Profile
    • github
Logged
Quote
'ere the Chias get hungry...

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Make pets not trained for war aggressive to to invaders?
« Reply #7 on: June 23, 2013, 04:35:56 am »

Adding PRONE_TO_RAGE will make them charge at invaders no matter what.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: Make pets not trained for war aggressive to to invaders?
« Reply #8 on: June 23, 2013, 11:46:35 am »

Isn't it

[LIKES_FIGHTING]

?
Giving them either [LIKES_FIGHTING] or [LARGE_PREDATOR] ought to work. It might also help to make sure they don't have [BENIGN].

Giving them [NOFEAR] will likely just stop them from running away.
Logged
P.S. If you don't get this note, let me know and I'll write you another.
It's amazing how dwarves can make a stack of bones completely waterproof and magmaproof.
It's amazing how they can make an entire floodgate out of the bones of 2 cats.

Toxicshadow

  • Bay Watcher
    • View Profile
    • github
Re: Make pets not trained for war aggressive to to invaders?
« Reply #9 on: June 23, 2013, 01:03:46 pm »

Is this possible? Some animals shouldn't flee from hostiles. And after I saw some tame cave crocs flee from invaders I decided I'd see if it could be fixed. I suppose that making them trainable for war might do it but I'd prefer not doing that if possible since for them and some other beasties it would be a hard sell to think them intelligent enough for such.
.-.; Sorry if you guys think I'm horribly wrong, I was just providing a solution to his cave croc issue.
Go with that and what Quietust said o: Should make them fight no matter what, if possible.
Logged
Quote
'ere the Chias get hungry...

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Make pets not trained for war aggressive to to invaders?
« Reply #10 on: June 23, 2013, 01:33:01 pm »

If you add PRONE_TO_RAGE:5 or something, they will fight no matter what.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

BoogieMan

  • Bay Watcher
  • Hi
    • View Profile
Re: Make pets not trained for war aggressive to to invaders?
« Reply #11 on: June 23, 2013, 03:56:37 pm »

Thanks for the help! Should be fun... :)
Logged
(╯°□°)╯︵ ┻━┻ BoogieMan, Forumscrub cancels tantrum: Seeking Dr. Pepper

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: Make pets not trained for war aggressive to to invaders?
« Reply #12 on: June 23, 2013, 08:56:17 pm »

If you add PRONE_TO_RAGE:5 or something, they will fight no matter what.
PRONE_TO_RAGE will not make them fight - what it will do is give them a chance to become "enraged" whenever a creature gets too close to them, and that will make them fight (until the rage wears off). Case in point: badgers have [PRONE_TO_RAGE:1] and [BENIGN], and they will run away from threats if they happen to not get enraged.
Logged
P.S. If you don't get this note, let me know and I'll write you another.
It's amazing how dwarves can make a stack of bones completely waterproof and magmaproof.
It's amazing how they can make an entire floodgate out of the bones of 2 cats.

BoogieMan

  • Bay Watcher
  • Hi
    • View Profile
Re: Make pets not trained for war aggressive to to invaders?
« Reply #13 on: June 23, 2013, 10:50:10 pm »

How exactly does the number after the prone to rage affect it?
Logged
(╯°□°)╯︵ ┻━┻ BoogieMan, Forumscrub cancels tantrum: Seeking Dr. Pepper

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Make pets not trained for war aggressive to to invaders?
« Reply #14 on: June 23, 2013, 11:17:04 pm »

lower the slower it becomes enraged (less chance?) higher means faster (or higher chance to become enraged?)

does this for each turn it sees a hostile (or something that frightens it? or maybe anything that is not a civ member/pet)

I know Higher number result in enragement happening more often
Logged
Pages: [1] 2