Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Creature inable to attack.  (Read 752 times)

MrLurkety

  • Bay Watcher
  • Bogeymen are tasty. So am I, to the bogeymen.
    • View Profile
Creature inable to attack.
« on: July 07, 2017, 04:01:28 pm »

So, I made a creature. This is my second one, so far, and for some reason, it cannot use its attacks.
At first, I thought it was because it was too small, and I tried increasing the size.
Same thing.
It can only push, which is bad, because it is pretty small, usually.
Spoiler (click to show/hide)
Also, for some reason, I've never found these in a world.
Logged
-snip-
I'm not an expert on the political climate but I'm pretty sure that politicians don't join armies and invade dwarven fortresses.

Rethi-Eli

  • Bay Watcher
  • I came for the LNP, I stayed for the RTDs.
    • View Profile
Re: Creature inable to attack.
« Reply #1 on: July 09, 2017, 10:36:05 am »

Try checking your errorlog.
Logged
In the end, the winner is the one with the most snake venom.

MrLurkety

  • Bay Watcher
  • Bogeymen are tasty. So am I, to the bogeymen.
    • View Profile
Re: Creature inable to attack.
« Reply #2 on: July 09, 2017, 12:28:43 pm »

Nothing. I'll try loading it in the testing arena again, but nothing but pathing fails.
Logged
-snip-
I'm not an expert on the political climate but I'm pretty sure that politicians don't join armies and invade dwarven fortresses.

scamtank

  • Bay Watcher
    • View Profile
Re: Creature inable to attack.
« Reply #3 on: July 09, 2017, 02:40:14 pm »

Ah, finally got it. You copied the critical bits from the snakes, but you should've done the same for the attack data.

Where you have
[ATTACK:BITE:BY_CATEGORY:TOOTH]
...you should have:

[ATTACK:BITE:CHILD_BODYPART_GROUP:BY_CATEGORY:HEAD:BY_CATEGORY:TOOTH]

Same sub-bodypart deal with horns, don't ask me why. You also forgot to give your snakes the horn tissues/materials in the first place, since they're not part of the STANDARD_MATERIALS package. You have lines in there that manually add the SCALE stuffs, repeat those for HORN. There's also a missing bracket on the goring attacks' priority line.
Logged

MrLurkety

  • Bay Watcher
  • Bogeymen are tasty. So am I, to the bogeymen.
    • View Profile
Re: Creature inable to attack.
« Reply #4 on: July 09, 2017, 02:51:20 pm »

Ah, finally got it. You copied the critical bits from the snakes, but you should've done the same for the attack data.

Where you have
[ATTACK:BITE:BY_CATEGORY:TOOTH]
...you should have:

[ATTACK:BITE:CHILD_BODYPART_GROUP:BY_CATEGORY:HEAD:BY_CATEGORY:TOOTH]

Same sub-bodypart deal with horns, don't ask me why. You also forgot to give your snakes the horn tissues/materials in the first place, since they're not part of the STANDARD_MATERIALS package. You have lines in there that manually add the SCALE stuffs, repeat those for HORN. There's also a missing bracket on the goring attacks' priority line.
I'll try that. I removed the horn, it was me trying to make it so that it can attack. If it doesn't work, I'll try
Code: [Select]

[ATTACK:BITE:BODYPART:BY_CATEGORY:TOOTH]
[ATTACK_SKILL:BITE]
[ATTACK_VERB:bite:bites]
[ATTACK_CONTACT_PERC:100]
[ATTACK_PENETRATION_PERC:100]
[ATTACK_FLAG_EDGE]
[ATTACK_PREPARE_AND_RECOVER:1:5]
[ATTACK_PRIORITY:MAIN]
[ATTACK_FLAG_CANLATCH]
[ATTACK_FLAG_INDEPENDENT_MULTIATTACK]
I found it somewhere in another snake I made.
Logged
-snip-
I'm not an expert on the political climate but I'm pretty sure that politicians don't join armies and invade dwarven fortresses.

MrLurkety

  • Bay Watcher
  • Bogeymen are tasty. So am I, to the bogeymen.
    • View Profile
Re: Creature inable to attack.
« Reply #5 on: July 09, 2017, 02:53:17 pm »

This has worked.
Logged
-snip-
I'm not an expert on the political climate but I'm pretty sure that politicians don't join armies and invade dwarven fortresses.