Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Metal body parts and creatures with weapons  (Read 1518 times)

Seriyu

  • Bay Watcher
    • View Profile
    • Springless Clock
Metal body parts and creatures with weapons
« on: January 07, 2013, 08:42:13 pm »

Some questions, is it possible for a creature to be created holding a weapon?

And two, how do you make a specific body part (just the head in this case), out of a different material?

I get the feeling it's got to do with the tissue tags but I'm not quite grasping it.

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Metal body parts and creatures with weapons
« Reply #1 on: January 07, 2013, 08:45:36 pm »

Yes, it is possible. But I am not qualified enough, I frankenstein my craetures together like there is no tomorrow. Try deon or hugo_the_dwarf, the often do these things.
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

Seriyu

  • Bay Watcher
    • View Profile
    • Springless Clock
Re: Metal body parts and creatures with weapons
« Reply #2 on: January 07, 2013, 08:54:33 pm »

Didja mean weapons or metal body parts? Or both?

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Metal body parts and creatures with weapons
« Reply #3 on: January 07, 2013, 08:56:30 pm »

Both. I have golems that do that, deon has animated armors and cursed blacksmith, and hugo had a ton of those. But seriously, dont look up my golems, it would only confuse you.
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

Seriyu

  • Bay Watcher
    • View Profile
    • Springless Clock
Re: Metal body parts and creatures with weapons
« Reply #4 on: January 07, 2013, 08:58:49 pm »

Excellent! I'll toss a PM at one of them then, thank yah!

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Metal body parts and creatures with weapons
« Reply #5 on: January 07, 2013, 09:18:24 pm »

It's actually really simple.

Created holding a weapon is impossible, but using a new part to simulate the weapon isn't.

You can change the part by making a new tissue in the creature (look at the bronze colossus for an example) then using, in your case, [TISSUE_LAYER:BY_TYPE:HEAD:(tissue)]

Seriyu

  • Bay Watcher
    • View Profile
    • Springless Clock
Re: Metal body parts and creatures with weapons
« Reply #6 on: January 07, 2013, 10:08:03 pm »

Oh hey, that is easy. And I was hoping to avoid the body part as a weapon issue (and it isn't a huge deal anyway, just a minor thing), so I'll skip that for now.

Seriyu

  • Bay Watcher
    • View Profile
    • Springless Clock
Re: Metal body parts and creatures with weapons
« Reply #7 on: January 07, 2013, 10:58:01 pm »

Okay, metal part got taken care of, works fine, however I removed one leg, as the creature well, has one leg. Because mythology is wierd. And now the toes aren't connecting, despite the fact that there's a perfectly good STANCE bodypart there. I've messed with CON_TYPES and such to try and get them attached, and any time they attach the toenail tissue refuses to go with it. It's not that big a deal, and I could remove the toes, but to be perfectly honest I kind've refuse to let the error log win at this point.

Code: [Select]
Body:

[BODY:HUMANOID_1LEG]
[BP:UB:upper body:upper bodies][UPPERBODY][CATEGORY:BODY_UPPER]
[DEFAULT_RELSIZE:1000]
[BP:LB:lower body:lower bodies][CON:UB][LOWERBODY][CATEGORY:BODY_LOWER]
[DEFAULT_RELSIZE:1000]
[BP:HD:head:STP][CON:UB][HEAD][CATEGORY:HEAD]
[DEFAULT_RELSIZE:300]
[BP:RUA:right upper arm:STP][CON:UB][LIMB][RIGHT][CATEGORY:ARM_UPPER]
[DEFAULT_RELSIZE:200]
[BP:LUA:left upper arm:STP][CON:UB][LIMB][LEFT][CATEGORY:ARM_UPPER]
[DEFAULT_RELSIZE:200]
[BP:RLA:right lower arm:STP][CON:RUA][LIMB][RIGHT][CATEGORY:ARM_LOWER]
[DEFAULT_RELSIZE:200]
[BP:LLA:left lower arm:STP][CON:LUA][LIMB][LEFT][CATEGORY:ARM_LOWER]
[DEFAULT_RELSIZE:200]
[BP:RH:right hand:STP][CON:RLA][GRASP][RIGHT][CATEGORY:HAND]
[DEFAULT_RELSIZE:80]
[BP:LH:left hand:STP][CON:LLA][GRASP][LEFT][CATEGORY:HAND]
[DEFAULT_RELSIZE:80]
[BP:LUL:upper leg:STP][CON:LB][LIMB][LEFT][CATEGORY:LEG_UPPER]
[DEFAULT_RELSIZE:500]
[BP:LLL:lower leg:STP][CON:RUL][LIMB][LEFT][CATEGORY:LEG_LOWER]
[DEFAULT_RELSIZE:400]
[BP:LF:foot:feet][CON:LLL][STANCE][LEFT][CATEGORY:FOOT]
[DEFAULT_RELSIZE:120]

Creature body layout thingy:

[BODY:HUMANOID_1LEG:1EYE:2EARS:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:THROAT:NECK:SPINE:BRAIN:SKULL:5FINGERS:5TOES_LEG:MOUTH:TONGUE:FACIAL_FEATURES:TEETH:RIBCAGE]

5TOES is completely unchanged.

Thanks again.

EDIT: Incidentally, I noticed the 5TOES_LEG just now, it was a typo of a custom bodypart I was  trying, replacing it with 5TOES doesn't help.
« Last Edit: January 08, 2013, 01:53:42 am by Seriyu »
Logged

McFeel

  • Bay Watcher
    • View Profile
Re: Metal body parts and creatures with weapons
« Reply #8 on: January 08, 2013, 01:33:04 pm »

If you want that a creature wield weapons, you can create a new simple entity, adding the weapons and armor you want. All the vanilla entities are in 'entity_default.txt', but you can create your own (entity_x.txt). You must add in the raws of the creature the tag [EQUIPS].
Logged

Seriyu

  • Bay Watcher
    • View Profile
    • Springless Clock
Re: Metal body parts and creatures with weapons
« Reply #9 on: January 08, 2013, 05:51:07 pm »

Hmmmmmmmm that might be a solution to it, thank yah!

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Metal body parts and creatures with weapons
« Reply #10 on: February 05, 2013, 09:00:17 am »

Okay, metal part got taken care of, works fine, however I removed one leg, as the creature well, has one leg. Because mythology is wierd. And now the toes aren't connecting, despite the fact that there's a perfectly good STANCE bodypart there. I've messed with CON_TYPES and such to try and get them attached, and any time they attach the toenail tissue refuses to go with it. It's not that big a deal, and I could remove the toes, but to be perfectly honest I kind've refuse to let the error log win at this point.

Code: [Select]
Body:

[BODY:HUMANOID_1LEG]
[BP:UB:upper body:upper bodies][UPPERBODY][CATEGORY:BODY_UPPER]
[DEFAULT_RELSIZE:1000]
[BP:LB:lower body:lower bodies][CON:UB][LOWERBODY][CATEGORY:BODY_LOWER]
[DEFAULT_RELSIZE:1000]
[BP:HD:head:STP][CON:UB][HEAD][CATEGORY:HEAD]
[DEFAULT_RELSIZE:300]
[BP:RUA:right upper arm:STP][CON:UB][LIMB][RIGHT][CATEGORY:ARM_UPPER]
[DEFAULT_RELSIZE:200]
[BP:LUA:left upper arm:STP][CON:UB][LIMB][LEFT][CATEGORY:ARM_UPPER]
[DEFAULT_RELSIZE:200]
[BP:RLA:right lower arm:STP][CON:RUA][LIMB][RIGHT][CATEGORY:ARM_LOWER]
[DEFAULT_RELSIZE:200]
[BP:LLA:left lower arm:STP][CON:LUA][LIMB][LEFT][CATEGORY:ARM_LOWER]
[DEFAULT_RELSIZE:200]
[BP:RH:right hand:STP][CON:RLA][GRASP][RIGHT][CATEGORY:HAND]
[DEFAULT_RELSIZE:80]
[BP:LH:left hand:STP][CON:LLA][GRASP][LEFT][CATEGORY:HAND]
[DEFAULT_RELSIZE:80]
[BP:LUL:upper leg:STP][CON:LB][LIMB][LEFT][CATEGORY:LEG_UPPER]
[DEFAULT_RELSIZE:500]
[BP:LLL:lower leg:STP][CON:RUL][LIMB][LEFT][CATEGORY:LEG_LOWER]
[DEFAULT_RELSIZE:400]
[BP:LF:foot:feet][CON:LLL][STANCE][LEFT][CATEGORY:FOOT]
[DEFAULT_RELSIZE:120]

Creature body layout thingy:

[BODY:HUMANOID_1LEG:1EYE:2EARS:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:THROAT:NECK:SPINE:BRAIN:SKULL:5FINGERS:5TOES_LEG:MOUTH:TONGUE:FACIAL_FEATURES:TEETH:RIBCAGE]

5TOES is completely unchanged.

Thanks again.

EDIT: Incidentally, I noticed the 5TOES_LEG just now, it was a typo of a custom bodypart I was  trying, replacing it with 5TOES doesn't help.
Your lower leg tries to connect to RUL which does not exist.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository