Bay 12 Games Forum

Please login or register.

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

Author Topic: Creature modding help?  (Read 1631 times)

CyberUrist

  • Bay Watcher
  • Nothing satisfies—Attain liberation with vigilance
    • View Profile
Creature modding help?
« on: May 28, 2012, 10:20:11 am »

Is, one known as a Slime and another called a Booze Mongrel. I want slimes to be cute little blobs that just roll around and push things, and I want booze mongrels to be [ALCOHOL_DEPENDENT] and steal your booze. However, I can't figure out how to make the slime see, and I think the booze mongrel crashes the game. Here's the raws:

Slime
Spoiler (click to show/hide)

Booze Mongrel
Spoiler (click to show/hide)

body_custom
Spoiler (click to show/hide)
Logged
Slog looks overjoyed at this revelation.
Slog is a barrel of endless dopamine.

jaxy15

  • Bay Watcher
  • Adept Modder
    • View Profile
Re: Creature modding help?
« Reply #1 on: May 28, 2012, 10:28:39 am »

The eyes don't have [SIGHT]. As for the booze mongrel, I think it's that the tile doesn't work.
Logged
Dwarf Fortress: Threats of metabolism.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Creature modding help?
« Reply #2 on: May 28, 2012, 11:06:30 am »

SLIME:
Missing a PET_VALUE

you set a material FAT = good
You set a TISSUE to use FAT = nope
You set a TISSUE LAYER called FAT on everything = It doesn't exsist

under the line [USE_MATERIAL_TEMPLATE:FAT:FAT_TEMPLATE]
   [TISSUE:FAT]
      [TISSUE_NAME:slime:NP] when attacked it will say slime, but when butchered will drop "Fat"
      [STRUCTURAL] --- LIMBs, GRASP, STANCE, and JOINTs will stop working if damaged
      [FUNCTIONAL] --- if damaged FUNCTIONAL bps that have something like SIGHT will stop working
      [CONNECTIVE_TISSUE_ANCHOR]
      [TISSUE_MATERIAL:LOCAL_CREATURE_MAT:FAT] --- uses the defined fat
      [RELATIVE_THICKNESS:15] --- since fat is so weak, making it thicker increases defense
      [HEALING_RATE:100]
      [VASCULAR:3] --- will cause some bleeding if damaged (only works if creature has blood)
      [CONNECTS]
      [TISSUE_SHAPE:LAYER]

BOOZE MONGREL:
@Jaxy15: [TILE:'8'] is vaild because it forcfully uses the number 8 as a tile
Lacks any biome, large_roaming, and other tags that make it a wondering population
ALCOHOL_DEPENDENT does not make them guzzle booze, it just makes them need it to get through the day you are looking for CURIOUSBEAST_GUZZLER
you call the [body_detail_plan]s STANDARD_MATERIALS and STANDARD_TISSUES but then you do nothing with them, use this after them [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]

By the looks of it your missing a whole lot more, remember to check your "errorlog.txt" found in the same place as "dwarffortress.exe"





Logged

CyberUrist

  • Bay Watcher
  • Nothing satisfies—Attain liberation with vigilance
    • View Profile
Re: Creature modding help?
« Reply #3 on: May 28, 2012, 12:11:09 pm »

Thank you! I'll try those. In my error log for slime it says it can't attach the eye, although I defined it to attach to the body. Thanks for the help!
Logged
Slog looks overjoyed at this revelation.
Slog is a barrel of endless dopamine.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Creature modding help?
« Reply #4 on: May 28, 2012, 12:26:33 pm »

Thank you! I'll try those. In my error log for slime it says it can't attach the eye, although I defined it to attach to the body. Thanks for the help!
you have CONTYPE:BODY on the EYE you want either:
[CONTYPE:UPPERBODY]
[CON:UB]
[CON_CAT:BODY]

that will fix that error
Logged

Revanchist

  • Bay Watcher
  • Thank you for helping us help you help us all.
    • View Profile
Re: Creature modding help?
« Reply #5 on: May 28, 2012, 12:52:10 pm »

If that doesn't work (though it should) then I believe [EXTRAVISION] is a fallback.
Logged
Definition: 'Love' is making a shot to the knees of a target 120 kilometers away using an Aratech sniper rifle with a tri-light scope... Love is knowing your target, putting them in your targeting reticule, and together, achieving a singular purpose against statistically long odds."

People love a happy ending. So every episode, I will explain once again that I don't like people. And then Mal will shoot someone. Someone we like. And their puppy.

CyberUrist

  • Bay Watcher
  • Nothing satisfies—Attain liberation with vigilance
    • View Profile
Re: Creature modding help?
« Reply #6 on: May 28, 2012, 12:59:56 pm »

If that doesn't work (though it should) then I believe [EXTRAVISION] is a fallback.
What does [EXTRAVISION] do and where would I put it?
Logged
Slog looks overjoyed at this revelation.
Slog is a barrel of endless dopamine.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Creature modding help?
« Reply #7 on: May 28, 2012, 01:04:57 pm »

If that doesn't work (though it should) then I believe [EXTRAVISION] is a fallback.
What does [EXTRAVISION] do and where would I put it?
[EXTRAVISION] allows a creature to see 20 tiles without the aid of SIGHT bodyparts, it is placed on the creature, or a castes level.
Do note VIEWRANGE doesn't affect EXTRAVISON, it only works if there is functioning SIGHT bp.

Logged

CyberUrist

  • Bay Watcher
  • Nothing satisfies—Attain liberation with vigilance
    • View Profile
Re: Creature modding help?
« Reply #8 on: May 28, 2012, 01:13:36 pm »

Oh. I'm DEFINITELY going to use that then! I might also make an immobile eye creature that serves as a lookout because it would have a massive view range. Would I have to make it intelligent so it would report to the fort?
Logged
Slog looks overjoyed at this revelation.
Slog is a barrel of endless dopamine.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Creature modding help?
« Reply #9 on: May 28, 2012, 01:31:50 pm »

give it natural skills in TRACKING, SITUATIONAL_AWARENESS and a VIEWRANGE greater then 20 (20 is the default sight range)

as for warning anyone, that will be hard. only thing it could pick up on is ambushers. or give it PRONE_TO_RAGE:5000 so whenever it sees something it gets enraged letting you know it seen something "Seeing Eye has become enraged!"

It should also have [LIKES_FIGHTING] and [NOFEAR] and [NATURAL]
Logged

CyberUrist

  • Bay Watcher
  • Nothing satisfies—Attain liberation with vigilance
    • View Profile
Re: Creature modding help?
« Reply #10 on: May 28, 2012, 01:49:51 pm »

LOL, it gets pissed whenever it sees something. Also, I sort of want the booze mongrels to behave like kobold thieves, being hidden (or not) and then just going straight to your booze, and appearing just like kobold thieves. How could I make them behave like that?
Logged
Slog looks overjoyed at this revelation.
Slog is a barrel of endless dopamine.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Creature modding help?
« Reply #11 on: May 28, 2012, 02:48:03 pm »

LOL, it gets pissed whenever it sees something. Also, I sort of want the booze mongrels to behave like kobold thieves, being hidden (or not) and then just going straight to your booze, and appearing just like kobold thieves. How could I make them behave like that?
[MISCHIEVIOUS] or a custom interaction that it uses to hide itself of course MISCHIEVIOUS has the habbit of making the citter pull levers too
Logged

CyberUrist

  • Bay Watcher
  • Nothing satisfies—Attain liberation with vigilance
    • View Profile
Re: Creature modding help?
« Reply #12 on: May 28, 2012, 02:56:11 pm »

LOL, it gets pissed whenever it sees something. Also, I sort of want the booze mongrels to behave like kobold thieves, being hidden (or not) and then just going straight to your booze, and appearing just like kobold thieves. How could I make them behave like that?
[MISCHIEVIOUS] or a custom interaction that it uses to hide itself of course MISCHIEVIOUS has the habbit of making the citter pull levers too

Custome interaction? I have NO idea how to do any of that stuff, but that would be good.
Logged
Slog looks overjoyed at this revelation.
Slog is a barrel of endless dopamine.

CyberUrist

  • Bay Watcher
  • Nothing satisfies—Attain liberation with vigilance
    • View Profile
Re: Creature modding help?
« Reply #13 on: May 28, 2012, 03:34:53 pm »

Sorry for double post, updated raws:

Slime:
Spoiler (click to show/hide)

Booze Mongrel:
Spoiler (click to show/hide)
Logged
Slog looks overjoyed at this revelation.
Slog is a barrel of endless dopamine.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Creature modding help?
« Reply #14 on: May 28, 2012, 05:34:41 pm »

Custom interactions, look at the vanilla Interactions, and the example ones too. Then hit up the wiki, it's how i learned. It is acually really easy.
Logged
Pages: [1] 2