Bay 12 Games Forum

Please login or register.

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

Author Topic: Making a man made out of mushrooms secrete poisonous vapors...  (Read 2285 times)

HonkyPunch

  • Bay Watcher
    • View Profile

Here's my code. I'm doing it wrong. Halp.
(Theres still a lot of stuff I have to clean out. Forgive me if it's messy.)
Code: [Select]
[CREATURE:SMOKING_SHROOM]
[DESCRIPTION:A small mushroom with legs. Emits noxius fumes. Known for their fancy footwork.]
[NAME:smoking shroom:smoking shrooms:smoking shroom]
[CASTE_NAME:smoking shroom:smoking shrooms:smoking shroom]]
[CREATURE_TILE:'m'][COLOR:5:0:0]
[LARGE_ROAMING]
[BIOME:SUBTERRANEAN_WATER]
[UNDERGROUND_DEPTH:2:3]
[FREQUENCY:20]
[BENIGN]
[POPULATION_NUMBER:15:30]
[CLUSTER_NUMBER:3:5]
[CAN_LEARN]
[CANOPENDOORS]
[PREFSTRING:fancy walkin]
[NOBONES]
[BODY:HUMANOID_ARMLESS]
[NO_THOUGHT_CENTER_FOR_MOVEMENT]
[USE_MATERIAL_TEMPLATE:PH_TISSUE:STRUCTURAL_PLANT_TEMPLATE]
[STATE_NAME:ALL_SOLID:plump helmet man tissue]
[STATE_ADJ:ALL_SOLID:plump helmet man tissue]
[STATE_NAME:LIQUID:melted plump helmet man tissue]
[STATE_ADJ:LIQUID:melted plump helmet man tissue]
[STATE_NAME:GAS:boiling plump helmet man tissue]
[STATE_ADJ:GAS:boiling plump helmet man tissue]
[PREFIX:NONE]
[EDIBLE_RAW]
[HOMEOTHERM:1200]
[EDIBLE_COOKED]
[TISSUE:MUSHROOM]
[TISSUE_NAME:plump helmet man tissue:NP]
[TISSUE_MATERIAL:LOCAL_CREATURE_MAT:PH_TISSUE]
[MUSCULAR]
[FUNCTIONAL]
[STRUCTURAL]
[RELATIVE_THICKNESS:1]
[CONNECTS]
[TISSUE_SHAPE:LAYER]
[USE_MATERIAL_TEMPLATE:GOOP:GOOP_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:frozen mushroom goop]
[STATE_NAME_ADJ:LIQUID:mushroom goop]
[STATE_NAME_ADJ:GAS:mushroom spores]
[MATERIAL_VALUE:100]
[DISPLAY_COLOR:7:0:1]
[ENTERS_BLOOD]
[PREFIX:NONE]
[SECRETION:LOCAL_CREATURE_MAT:GOOP:LIQUID:BY_CATEGORY:HEAD:MUSHROOM]
[SYNDROME]
[SYN_NAME:deep shroom death rattle]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[SYN_IMMUNE_CREATURE:SMOKING_SHROOM:ALL]
[ENTERS_BLOOD]
[SYN_INHALED]
[CE_NECROSIS:SEV:900:PROB:99:RESISTABLE:SIZE_DILUTES:LOCALIZED:START:50:PEAK:800:END:3000]
[CE_PAIN:SEV:900:PROB:99:RESISTABLE:SIZE_DILUTES:LOCALIZED:START:50:PEAK:800:END:3000]
[CE_SWELLING:SEV:900:PROB:99:RESISTABLE:SIZE_DILUTES:LOCALIZED:START:50:PEAK:800:END:3000]
[CE_COUGH_BLOOD:SEV:900:PROB:99:RESISTABLE:SIZE_DILUTES:LOCALIZED:START:50:PEAK:800:END:3000]
[CE_VOMIT_BLOOD:SEV:900:PROB:99:RESISTABLE:SIZE_DILUTES:LOCALIZED:START:50:PEAK:800:END:3000]
[TISSUE_LAYER:BY_CATEGORY:ALL:MUSHROOM]
[BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS]
[BODY_DETAIL_PLAN:HUMANOID_HEAD_POSITIONS]
[BODY_DETAIL_PLAN:HUMANOID_RELSIZES]
[BODY_SIZE:0:0:1500]
[BODY_SIZE:1:168:10000]
[BODY_SIZE:12:0:50000]
[BODY_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110]
[BODY_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110]
[MAXAGE:60:80]
[ATTACK:KICK:BODYPART:BY_TYPE:STANCE]
[ATTACK_SKILL:STANCE_STRIKE]
[ATTACK_VERB:kick:kicks]
[ATTACK_CONTACT_PERC:100]
[ATTACK_FLAG_WITH]
[ATTACK_PRIORITY:SECOND]
[BABY:1]
[CHILD:12]
[EQUIPS]
[ALL_ACTIVE]
[SWIMS_INNATE][SWIM_SPEED:2500]
[HOMEOTHERM:10040]
[CASTE:FEMALE]
[FEMALE]
[MULTIPLE_LITTER_RARE]
[CASTE:MALE]
[MALE]
[SELECT_CASTE:ALL]
[SET_TL_GROUP:BY_CATEGORY:ALL:MUSHROOM]
[TL_COLOR_MODIFIER:PURPLE:1]
[TLCM_NOUN:exterior:SINGULAR]
I suceeded in making my salamander drool ([USE_MATERIAL_TEMPLATE:JELLY:JELLY_TEMPLATE]
   [SECRETION:LOCAL_CREATURE_MAT:JELLY:LIQUID:BY_CATEGORY:MOUTH:SKIN])
But that was easy because they have standard skin tissue. So far, my main issue with the mushroom man has been that he doesn't have normal skin. The easy fix would be to give it normal skin, but I want to keep it an actual mushroom man.
Blech. You'll also notice I just copied and modified the plump helmet man, as it's quicker than typing everything out.
« Last Edit: April 05, 2010, 04:18:13 pm by PoonHat »
Logged
nobody of great interest

i have a crap tumblr page. i usually post art but my scanner is down. http://www.tumblr.com/blog/heygofuckadog

Lofn

  • Bay Watcher
  • There was a hole.
    • View Profile
    • Tumblr
Re: Making a man made out of mushrooms secrete poisonous vapors...
« Reply #1 on: April 05, 2010, 04:18:15 pm »

Firstly, you'll want to change LIQUID to GAS, otherwise he'll just cover himself in goop.  Have you tried checking to see if he's secreting it in the first place?  You can do so by spawning one in the arena and examining his inventory.
Logged
Also known as Zuhayr.

HonkyPunch

  • Bay Watcher
    • View Profile
Re: Making a man made out of mushrooms secrete poisonous vapors...
« Reply #2 on: April 05, 2010, 04:21:21 pm »

Yes, i've done those things. The idea was that he would just secrete the goop and seeing as it's boiling point is lower than his homeotherm, it should just boil into a cloud, though that method makes a lot more sense (The one you suggested) and no, he isn't actually secreting it.
Logged
nobody of great interest

i have a crap tumblr page. i usually post art but my scanner is down. http://www.tumblr.com/blog/heygofuckadog

Lofn

  • Bay Watcher
  • There was a hole.
    • View Profile
    • Tumblr
Re: Making a man made out of mushrooms secrete poisonous vapors...
« Reply #3 on: April 05, 2010, 04:39:25 pm »

Okay, I got him secreting the gas properly.  Here are the raws.  You had your material templates messed up and your secretion was in the middle of your syndrome tags, which rendered it useless.  I'm very tired, it's very late/early, so I apologise for not explaining more.

Spoiler (click to show/hide)
Logged
Also known as Zuhayr.

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Making a man made out of mushrooms secrete poisonous vapors...
« Reply #4 on: April 05, 2010, 04:43:52 pm »

At first, you have some things messed up. SYNDROME should be within a tissue layer and don't mix it with secretion. Also you may want to make a specific tissue layer for your GOOP if you want it to be actually present inside of the creature.

Code: [Select]
[CREATURE:SMOKING_SHROOM]
[DESCRIPTION:A small mushroom with legs. Emits noxius fumes. Known for their fancy footwork.]
[NAME:smoking shroom:smoking shrooms:smoking shroom]
[CASTE_NAME:smoking shroom:smoking shrooms:smoking shroom]]
[CREATURE_TILE:'m'][COLOR:5:0:0]
[LARGE_ROAMING]
[BIOME:SUBTERRANEAN_WATER]
[UNDERGROUND_DEPTH:2:3]
[FREQUENCY:20]
[BENIGN]
[POPULATION_NUMBER:15:30]
[CLUSTER_NUMBER:3:5]
[CAN_LEARN]
[CANOPENDOORS]
[PREFSTRING:fancy walkin]
[NOBONES]
[BODY:HUMANOID_ARMLESS]
[NO_THOUGHT_CENTER_FOR_MOVEMENT]
[USE_MATERIAL_TEMPLATE:PH_TISSUE:STRUCTURAL_PLANT_TEMPLATE]
    [STATE_NAME:ALL_SOLID:plump helmet man tissue]
    [STATE_ADJ:ALL_SOLID:plump helmet man tissue]
    [STATE_NAME:LIQUID:melted plump helmet man tissue]
    [STATE_ADJ:LIQUID:melted plump helmet man tissue]
    [STATE_NAME:GAS:boiling plump helmet man tissue]
    [STATE_ADJ:GAS:boiling plump helmet man tissue]
    [PREFIX:NONE]
    [EDIBLE_RAW]
    [HOMEOTHERM:1200]
    [EDIBLE_COOKED]
[USE_MATERIAL_TEMPLATE:GOOP:GOOP_TEMPLATE]
    [STATE_NAME_ADJ:ALL_SOLID:frozen mushroom goop]
    [STATE_NAME_ADJ:LIQUID:mushroom goop]
    [STATE_NAME_ADJ:GAS:mushroom spores]
    [MATERIAL_VALUE:100]
    [DISPLAY_COLOR:7:0:1]
    [ENTERS_BLOOD]
    [PREFIX:NONE]
    [SYNDROME]
        [SYN_NAME:deep shroom death rattle]
        [SYN_AFFECTED_CLASS:GENERAL_POISON]
        [SYN_IMMUNE_CREATURE:SMOKING_SHROOM:ALL]
        [SYN_INHALED]
        [CE_NECROSIS:SEV:900:PROB:99:RESISTABLE:SIZE_DILUTES:LOCALIZED:START:50:PEAK:800:END:3000]
        [CE_PAIN:SEV:900:PROB:99:RESISTABLE:SIZE_DILUTES:LOCALIZED:START:50:PEAK:800:END:3000]
        [CE_SWELLING:SEV:900:PROB:99:RESISTABLE:SIZE_DILUTES:LOCALIZED:START:50:PEAK:800:END:3000]
        [CE_COUGH_BLOOD:SEV:900:PROB:99:RESISTABLE:SIZE_DILUTES:LOCALIZED:START:50:PEAK:800:END:3000]
        [CE_VOMIT_BLOOD:SEV:900:PROB:99:RESISTABLE:SIZE_DILUTES:LOCALIZED:START:50:PEAK:800:END:3000]

[TISSUE:MUSHROOM]
    [TISSUE_NAME:plump helmet man tissue:NP]
    [TISSUE_MATERIAL:LOCAL_CREATURE_MAT:PH_TISSUE]
    [MUSCULAR]
    [FUNCTIONAL]
    [STRUCTURAL]
    [RELATIVE_THICKNESS:1]
    [CONNECTS]
    [TISSUE_SHAPE:LAYER]
[TISSUE_LAYER:BY_CATEGORY:ALL:MUSHROOM]
[BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS]
[BODY_DETAIL_PLAN:HUMANOID_HEAD_POSITIONS]
[BODY_DETAIL_PLAN:HUMANOID_RELSIZES]
[BODY_SIZE:0:0:1500]
[BODY_SIZE:1:168:10000]
[BODY_SIZE:12:0:50000]
[BODY_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110]
[BODY_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110]
[MAXAGE:60:80]
[ATTACK:KICK:BODYPART:BY_TYPE:STANCE]
[ATTACK_SKILL:STANCE_STRIKE]
[ATTACK_VERB:kick:kicks]
[ATTACK_CONTACT_PERC:100]
[ATTACK_FLAG_WITH]
[ATTACK_PRIORITY:SECOND]
[SECRETION:LOCAL_CREATURE_MAT:GOOP:GAS:BY_CATEGORY:HEAD:MUSHROOM]
[BABY:1]
[CHILD:12]
[EQUIPS]
[ALL_ACTIVE]
[SWIMS_INNATE][SWIM_SPEED:2500]
[HOMEOTHERM:10040]
[CASTE:FEMALE]
[FEMALE]
[MULTIPLE_LITTER_RARE]
[CASTE:MALE]
[MALE]
[SELECT_CASTE:ALL]
[SET_TL_GROUP:BY_CATEGORY:ALL:MUSHROOM]
[TL_COLOR_MODIFIER:PURPLE:1]
[TLCM_NOUN:exterior:SINGULAR]

P.S. Wow Lofn... Nice ninja :D I had connection problem when I typed and BAM here's your answer in front of mine already ;).
« Last Edit: April 05, 2010, 04:46:00 pm by Deon »
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Squeegy

  • Bay Watcher
  • I don't really have any answers for you.
    • View Profile
Re: Making a man made out of mushrooms secrete poisonous vapors...
« Reply #5 on: April 05, 2010, 05:09:14 pm »

SYNDROME should be within a tissue layer and don't mix it with secretion.
?!?!?!
Logged
I think I'm an alright guy. I just wanna live until I gotta die. I know I'm not perfect, but God knows I try.
Kobold Name Generator
⚔Dueling Blades⚔
Fertile Lands
The Emerald Isles

abomination5

  • Escaped Lunatic
    • View Profile
Re: Making a man made out of mushrooms secrete poisonous vapors...
« Reply #6 on: April 05, 2010, 05:27:22 pm »

How is secretion supposed to work? I've copied and pasted all these creatures here and tried them in the object testing area but I never saw any "mushroom goop." What's going on?
Logged

Lofn

  • Bay Watcher
  • There was a hole.
    • View Profile
    • Tumblr
Re: Making a man made out of mushrooms secrete poisonous vapors...
« Reply #7 on: April 05, 2010, 05:31:05 pm »

Were you examining the inventory?  Secretions are produced as a coating on a bodypart.
Logged
Also known as Zuhayr.

abomination5

  • Escaped Lunatic
    • View Profile
Re: Making a man made out of mushrooms secrete poisonous vapors...
« Reply #8 on: April 05, 2010, 05:37:03 pm »

Ah! I think I found the problem. When I was testing the secretions I was assuming control of the mushroom. I guess secretions don't work in this mode. When I let the object testing arena run on its own the secretion worked. Thanks.
Logged

HonkyPunch

  • Bay Watcher
    • View Profile
Re: Making a man made out of mushrooms secrete poisonous vapors...
« Reply #9 on: April 05, 2010, 06:09:28 pm »

Thank you very much, it was upsetting me. Kept me up till late last night working with it :D
I can probably discern what I did wrong from the updated file. Thanks!
Logged
nobody of great interest

i have a crap tumblr page. i usually post art but my scanner is down. http://www.tumblr.com/blog/heygofuckadog

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Making a man made out of mushrooms secrete poisonous vapors...
« Reply #10 on: April 05, 2010, 07:01:58 pm »

SYNDROME should be within a tissue layer and don't mix it with secretion.
?!?!?!
In the original text secretions are in between of tissue definition which is broken. Better place it at the end to make it sure :).

abomination5: I was able to secrete ooze while playing my gelatinous cube.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Lancensis

  • Bay Watcher
    • View Profile
Re: Making a man made out of mushrooms secrete poisonous vapors...
« Reply #11 on: April 05, 2010, 07:30:10 pm »

abomination5: I was able to secrete ooze while playing my gelatinous cube.

How do you do that anyway? And any other special attacks?
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Making a man made out of mushrooms secrete poisonous vapors...
« Reply #12 on: April 05, 2010, 07:31:38 pm »

No, you just move around and sometimes it remains on ground. Sadly you cannot use breath attacks when you control a creature.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Shaostoul

  • Bay Watcher
  • Expanding your universe.
    • View Profile
    • Shaostoul Patreon
Re: Making a man made out of mushrooms secrete poisonous vapors...
« Reply #13 on: April 05, 2010, 07:40:15 pm »

So I'm trying to mod your creature to something else...

It seems I foobarred the coding for the constant vapor emitting.

Could you clarify exactly how that works? Maybe show me a basic code to have a constant emitting vapor?
Logged
I mod games and educate others how to do so as well, if you'd like to learn join my Discord and you can join a bunch of like minded individuals. (Presently modding Space Engineers and No Man's Sky.)

Looking into modding DF? This forum guide & wiki guide may still be a good start!

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Making a man made out of mushrooms secrete poisonous vapors...
« Reply #14 on: April 05, 2010, 07:44:08 pm »

   [SECRETION:LOCAL_CREATURE_MAT:FLUID:LIQUID:BY_CATEGORY:ALL:SKIN]

Note that there is
Code: [Select]
[TISSUE:FLUID]
[TISSUE_NAME:ooze:NP]
[TISSUE_MATERIAL:LOCAL_CREATURE_MAT:FLUID]
[TISSUE_MAT_STATE:LIQUID]
[MUSCULAR]
[FUNCTIONAL]
[STRUCTURAL]
[RELATIVE_THICKNESS:1]
[CONNECTS]
[TISSUE_LEAKS]
[TISSUE_SHAPE:LAYER]
so it's an actual tissue which is secreted in my case.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository
Pages: [1] 2