Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: changing the damage an animal does  (Read 2354 times)

toast

  • Bay Watcher
    • View Profile
changing the damage an animal does
« on: March 15, 2008, 08:59:00 pm »

sorry guys, im new at this:
i want to change the amount of damage my war animals can do, but i dont understand how the tag works.

(this is for the dog)
[ATTACK:MAIN:BYTYPE:MOUTH:bite:bites:1:6:GORE][ATTACKFLAG_CANLATCH]

I assume the numbers are the damage value, but what exactly are they doing? Why are there two numbers? does one determine the percent chance it has to hit, and the other the damage factor?

Logged
-Toast-_

Dwarmin

  • Bay Watcher
  • Where do we go from here?
    • View Profile
Re: changing the damage an animal does
« Reply #1 on: March 15, 2008, 09:02:00 pm »

As far as I know the two numbers are the miniumum and maximum damage.
Logged
Dwarmin's fell gaze has fallen upon you. Sadly, Your life and your quest end here, at this sig.

"The hats never coming off."

Helmaroc

  • Bay Watcher
    • View Profile
Re: changing the damage an animal does
« Reply #2 on: March 15, 2008, 09:09:00 pm »

Yeah, almost all of tags with #:# are min and max.
Logged

Grek

  • Bay Watcher
    • View Profile
Re: changing the damage an animal does
« Reply #3 on: March 15, 2008, 09:40:00 pm »

quote:
[ATTACK:MAIN:BYTYPE:MOUTH:bite:bites:1:6:GORE][ATTACKFLAG_CANLATCH]  

[ATTACK: - this means that this line describes an attack.

MAIN: - This means that the monster will use this attack before it uses other attack. The attack it uses is randomly selected from all the MAIN attacks. If no MAIN attacks can be done, it trys the SECOND attacks.

BYTYPE: or BYTOKEN: - which body part to use. BYTYPE names the part, BYTOKEN is any limb with that token.

MOUTH: - the limb used for BYTYPE or BYTOKEN. BYTYPE can also use STANCE, GRASP or THOUGHT, all of which are infact organ tokens.

bite: - 1st person message. ie; "You bite the goblin."

bites: - 2nd and 3rd persons. "The bear bites you." or "The bear bites the drunk."

1: - Minimum damage.

6: - Max damage.

GORE] - attack type. Options include GORE, BLUDGEON, PIERCE, BURN and HEAT.

[ATTACKFLAG_CANLATCH] - will grasp onto you and keep using the same attack with prefect aim and make chunks inside the bodypart used to make the attack.

[ATTACKFLAG_WITH] - Will use weapons with this attack instead.

[SPECIALATTACK_INJECT_EXTRACT:50:100] - Will inject an extract into you, like a giant cave spider does. Don't know what the numbers mean.

[SPECIALATTACK_SUCK_BLOOD:50:100] - Will suck your blood. No idea what exactly this does gamewise or what the numbers mean.

Logged

Greiger

  • Bay Watcher
  • Reptilian Illuminati member. Keep it secret.
    • View Profile
Re: changing the damage an animal does
« Reply #4 on: March 15, 2008, 11:00:00 pm »

It should also be noted that the size of the creature matters to these numbers too.
A punch (typically a very weak attack) is much stronger when used by a giant(size 16) than when used by an antman(size 4).

And isn't there a COLD or somesuch damage type too or was that just a rumor?

Logged
Disclaimer: Not responsible for dwarven deaths from the use or misuse of this post.
Quote
I don't need friends!! I've got knives!!!

Grek

  • Bay Watcher
    • View Profile
Re: changing the damage an animal does
« Reply #5 on: March 16, 2008, 06:01:00 am »

quote:
And isn't there a COLD or somesuch damage type too or was that just a rumor?

There isn't, but I think a HEAT attack with negative damage would do the same.

Logged

Kagus

  • Bay Watcher
  • Olive oil. Don't you?
    • View Profile
Re: changing the damage an animal does
« Reply #6 on: March 16, 2008, 08:46:00 am »

Very funny.


There is indeed a COLD damage type, don't listen to this joker.

EDIT:  Oh, yeah, there's also SLASH.  That one got dropped from the list.

[ March 16, 2008: Message edited by: Kagus ]

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: changing the damage an animal does
« Reply #7 on: March 16, 2008, 10:15:00 am »

[ATTACKFLAG_WITH] specifies whether the attack message will include the hitting part in it. For example, like the message "The goblin punches you in the head with his left hand!" versus "The wolf bites you in the lower body!".

BYTYPE can take several tags as parameters, but usually only primary ones are actually working. GRASP, STANCE, UPPERBODY, LOWERBODY, HEAD all work. DIGIT and FLIER don't. I haven't tried the rest.

Logged
Multiworld Madness Archive:
Game One, Discontinued at World 3.
Game Two, Discontinued at World 1.

"Europe has to grow out of the mindset that Europe's problems are the world's problems, but the world's problems are not Europe's problems."
- Subrahmanyam Jaishankar, Minister of External Affairs, India

toast

  • Bay Watcher
    • View Profile
Re: changing the damage an animal does
« Reply #8 on: March 16, 2008, 01:41:00 pm »

ok guys thanks a lot
Logged
-Toast-_

Untelligent

  • Bay Watcher
  • I eat flesh!
    • View Profile
Re: changing the damage an animal does
« Reply #9 on: March 18, 2008, 09:35:00 pm »

quote:
Originally posted by Sean Mirrsen:
<STRONG>DIGIT and FLIER don't. I haven't tried the rest.</STRONG>

DIGIT doesn't work? Hmmm... Odd. Then what are my golems poking with when I give them this tag (which DOES work, mind you):

[ATTACK:MAIN:BYTYPE:DIGIT:poke:pokes:1:3:PIERCE]

Odd...

[ March 18, 2008: Message edited by: Untelligent ]

Logged
The World Without Knifebear — A much safer world indeed.
regardless, the slime shooter will be completed, come hell or high water, which are both entirely plausible setbacks at this point.

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: changing the damage an animal does
« Reply #10 on: March 19, 2008, 05:02:00 am »

When I tried it, I think the result was attacking with the head, for both FLIER and DIGIT. Like I said, I haven't tried the rest.
Logged
Multiworld Madness Archive:
Game One, Discontinued at World 3.
Game Two, Discontinued at World 1.

"Europe has to grow out of the mindset that Europe's problems are the world's problems, but the world's problems are not Europe's problems."
- Subrahmanyam Jaishankar, Minister of External Affairs, India