Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Problem with 1 shot to the head?  (Read 1226 times)

Godlysockpuppet

  • Bay Watcher
  • [Insert wit here]
    • View Profile
Problem with 1 shot to the head?
« on: June 05, 2013, 01:47:33 pm »

So I've made a creature who has this in their b_detail_plan;
Code: [Select]
[BP_RELATION:BY_CATEGORY:SKULL:AROUND:BY_CATEGORY:OUTERBRAIN:100]
    [BP_RELATION:BY_CATEGORY:OUTERBRAIN:AROUND:BY_CATEGORY:BRAIN:100]
(Yes, I'm using masterwork so outerbrain is a valid token)
However, whenever ANYTHING hits it in the head I get the message "Creature x has hit (my creature) in the head, bruising the skin and bruising (My creature's) brain! Your creature has been struck down!
Why isn't the skull intervening??
Logged

smakemupagus

  • Bay Watcher
  • [CANOPENDOORS]
    • View Profile
Re: Problem with 1 shot to the head?
« Reply #1 on: June 05, 2013, 01:52:26 pm »

So I've made a creature who has this in their b_detail_plan;
Code: [Select]
[BP_RELATION:BY_CATEGORY:SKULL:AROUND:BY_CATEGORY:OUTERBRAIN:100]
    [BP_RELATION:BY_CATEGORY:OUTERBRAIN:AROUND:BY_CATEGORY:BRAIN:100]
(Yes, I'm using masterwork so outerbrain is a valid token)
However, whenever ANYTHING hits it in the head I get the message "Creature x has hit (my creature) in the head, bruising the skin and bruising (My creature's) brain! Your creature has been struck down!
Why isn't the skull intervening??

Well, that's the same as it is in MDF's BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS, which normally works fine, so I guess your problem is somewhere else.  Does it actually have a skull?

Telgin

  • Bay Watcher
  • Professional Programmer
    • View Profile
Re: Problem with 1 shot to the head?
« Reply #2 on: June 05, 2013, 01:53:02 pm »

How many tests have you run and what do the exact combat reports say?  I've seen this even in vanilla where blunt attacks can bruise the brain without any mention of the skull.
Logged
Through pain, I find wisdom.

scamtank

  • Bay Watcher
    • View Profile
Re: Problem with 1 shot to the head?
« Reply #3 on: June 05, 2013, 01:56:25 pm »

Yeah, the announcement might not be telling everything. Here's what you do:

Open up the Arena and spawn two zombie versions of said creature. Possess one and punch the other one in the face until you get a message just like that. Then pop back to the arena overhead, possess the injured guy, press z and open up the health screen. Check the wounds tab for that particular head injury and see whether the skull is really there on the list of harmed tissues or not.
Logged

Godlysockpuppet

  • Bay Watcher
  • [Insert wit here]
    • View Profile
Re: Problem with 1 shot to the head?
« Reply #4 on: June 05, 2013, 02:00:34 pm »

Well the creature has both a skull and an outerbrain. It doesn't use mdf's standard head positions, rather it's own (as it has face tentacles) which includes that little snippet of code :P So far the only workaround I've got is making the skin above the head out of metal and I'd really rather not do that. And that's exactly what the combat logs say. I've run over 30 tests in arena mode, each time I pitted about 5 unarmed allied dwarfs against it. Every time it slays a few, but then ALWAYS get's one shot killed to the face.
#Edit
It also has all the appropriate tissues and materials, so it's not that. no errorlog either.
Also I'll try your method scam.
« Last Edit: June 05, 2013, 02:02:12 pm by Godlysockpuppet »
Logged

Godlysockpuppet

  • Bay Watcher
  • [Insert wit here]
    • View Profile
Re: Problem with 1 shot to the head?
« Reply #5 on: June 05, 2013, 02:09:19 pm »

Update; yep. Says both the skull and the outerbrain are there. They don't seem to protect the brain at all though :(
Logged

Gentlefish

  • Bay Watcher
  • [PREFSTRING: balloon-like qualities]
    • View Profile
Re: Problem with 1 shot to the head?
« Reply #6 on: June 05, 2013, 02:29:25 pm »

Are they set to be around the brain?

Godlysockpuppet

  • Bay Watcher
  • [Insert wit here]
    • View Profile
Re: Problem with 1 shot to the head?
« Reply #7 on: June 05, 2013, 02:30:05 pm »

Are they set to be around the brain?
Refer to post #1
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Problem with 1 shot to the head?
« Reply #8 on: June 05, 2013, 03:01:33 pm »

I think the issue might be cause there is two wrappings Skull > outer brain > brain (inner?) so maybe somehow the outer brain even if it's getting bruised it is getting mashed into the inner one aswell?

I used deons 3 part brain (left, right (brain), and brain stem) works fairly nicely, most peoples heads get beaten to mush but hey nothing says kill like overkill.
Logged

smakemupagus

  • Bay Watcher
  • [CANOPENDOORS]
    • View Profile
Re: Problem with 1 shot to the head?
« Reply #9 on: June 05, 2013, 03:45:57 pm »

so maybe somehow the outer brain even if it's getting bruised it is getting mashed into the inner one aswell?

When this happens in MDF you see it in the combat log, though.

Godlysockpuppet

  • Bay Watcher
  • [Insert wit here]
    • View Profile
Re: Problem with 1 shot to the head?
« Reply #10 on: June 05, 2013, 03:59:30 pm »

I'll put up the creature and all the neccessary parts when I get home. Thanks for the support thus far
Logged