Bay 12 Games Forum

Please login or register.

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

Author Topic: How to Descriptions and Personalities?  (Read 2524 times)

CyberUrist

  • Bay Watcher
  • Nothing satisfies—Attain liberation with vigilance
    • View Profile
How to Descriptions and Personalities?
« on: June 03, 2012, 09:12:31 am »

You know how dwarves will have things like "likes plump helmets for their roundness" and "has long hair and blue eyes"? How can you do that with something else?
« Last Edit: June 03, 2012, 09:14:22 am by CyberUrist »
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: How to Descriptions and Personalities?
« Reply #1 on: June 03, 2012, 09:19:40 am »

PREFSTRING

and then look at Dwarves

you will notice SET_BP or SET_TISSUE_LAYER_GROUP stuff. those are your tickets.
Logged

CyberUrist

  • Bay Watcher
  • Nothing satisfies—Attain liberation with vigilance
    • View Profile
Re: How to Descriptions and Personalities?
« Reply #2 on: June 03, 2012, 09:24:01 am »

What? Now, I fully understand [PREFSTRING], but I'm talking about how to make a creature actually mention that prefstring and have a description. Also, what do body tags have to do with 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: How to Descriptions and Personalities?
« Reply #3 on: June 03, 2012, 09:40:37 am »

Then I don't fully understand your question

[PREFSTRING:roundness] makes a dwarf that like that plant/creature like it for it's roundness

Long hair and Blue eyes are this:

      [SET_TL_GROUP:BY_CATEGORY:ALL:HAIR]
         [TL_COLOR_MODIFIER:GRAY:1]
            [TLCM_NOUN:fur:SINGULAR]
         [TL_COLOR_MODIFIER:WHITE:1]
            [TLCM_NOUN:fur:SINGULAR]
            [TLCM_TIMING:ROOT:700:0:900:0]
         [TISSUE_LAYER_APPEARANCE_MODIFIER:LENGTH:0:0:0:0:0:0:0]
            [APP_MOD_NOUN:fur:SINGULAR]
            [APP_MOD_RATE:1:DAILY:0:300:0:0:NO_END]
            [APP_MOD_DESC_RANGE:10:50:100:150:200:300]

this colors the hair and at the end determins growth and what it will say, after 201 days the creature will have exstreamly long hair

      [SET_TL_GROUP:BY_CATEGORY:EYE:EYE]
         [TL_COLOR_MODIFIER:BLACK:1]
            [TLCM_NOUN:eyes:PLURAL]

black eyes.

I had thought [SET_BP_GROUP] controlled hiar length because you can have a body part be long to "His fingers are long and hooked"

Did I answer your question? or do you just want to hardcode that into the [DESCRIPTION]?
Logged

CyberUrist

  • Bay Watcher
  • Nothing satisfies—Attain liberation with vigilance
    • View Profile
Re: How to Descriptions and Personalities?
« Reply #4 on: June 03, 2012, 10:20:19 am »

What I want to know is how to make a custom creature that I modded in, such as a slime, have a description, like this:
"A living blob of slime.

It's slime is red."
And in another, it's slime would be blue, or purple.
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: How to Descriptions and Personalities?
« Reply #5 on: June 03, 2012, 10:28:56 am »

[CASTE:RED_SLIME]
      [SET_TL_GROUP:BY_CATEGORY:ALL:SLIME] --- targets SLIME on all bodyparts
         [TL_COLOR_MODIFIER:RED:1]
            [TLCM_NOUN:slime:SINGULAR] --- "it's slime is red"
[CASTE:BLUE_SLIME]
      [SET_TL_GROUP:BY_CATEGORY:ALL:SLIME] --- targets SLIME on all bodyparts
         [TL_COLOR_MODIFIER:BLUE:1]
            [TLCM_NOUN:slime:SINGULAR] --- "it's slime is blue"

etc
etc
etc...

and if you don't have tissues and stuff defined before the castes you can use SELECT_CASTE

Logged

CyberUrist

  • Bay Watcher
  • Nothing satisfies—Attain liberation with vigilance
    • View Profile
Re: How to Descriptions and Personalities?
« Reply #6 on: June 03, 2012, 10:33:30 am »

So that's how you do colors? A caste with color modifiers? Then how do you make a custom sentient race have likes and dislikes (preferences and detests)?
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: How to Descriptions and Personalities?
« Reply #7 on: June 03, 2012, 10:36:16 am »

can't all likes and dislikes are picked at random for every creatures.
only way is to limit what creatures have a PREFSTRING and what vermin have VERIM_HATEABLE
Logged

IT 000

  • Bay Watcher
  • Strange Mood
    • View Profile
Re: How to Descriptions and Personalities?
« Reply #8 on: June 03, 2012, 11:29:18 am »

can't all likes and dislikes are picked at random for every creatures.
only way is to limit what creatures have a PREFSTRING and what vermin have VERIM_HATEABLE

Actually, creatures without a PREFSTRING will receive "he/she likes nonexistent creatures for their ." when a creature likes them*.

Also VERMIN_HATEABLE.

But yeah, every creature will randomly choose what they like/dislike out of all the creatures.

* This happened to me in 31.10, some things might have changed.
Logged

***CORROSION v2.14***
<<<More Than Just Zombies>>>
Back from the Dead!

Igfig

  • Bay Watcher
    • View Profile
Re: How to Descriptions and Personalities?
« Reply #9 on: June 03, 2012, 12:17:46 pm »

You really don't need separate castes for each colour. The TL_COLOR_MODIFIER token can take as many arguments as you like.

For instance, this snippet would give you a creature with equal chances of having red, blue, or purple slime:
Code: [Select]
[SET_TL_GROUP:BY_CATEGORY:ALL:SLIME]
[TL_COLOR_MODIFIER:RED:1:BLUE:1:PURPLE:1]
[TLCM_NOUN:slime:SINGULAR]

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: How to Descriptions and Personalities?
« Reply #10 on: June 03, 2012, 12:24:39 pm »

true Igfig, but with what CU was saying it sounded like CU wanted the slimes as castes. and easiest way to make sure a caste is one color and one color only is to force it as such. But a generic slime just says "slime blob" then you have to 'v'iew it to see it's color. Of course there are too many ways to do things that anyway is right.
Logged

CyberUrist

  • Bay Watcher
  • Nothing satisfies—Attain liberation with vigilance
    • View Profile
Re: How to Descriptions and Personalities?
« Reply #11 on: June 03, 2012, 12:58:01 pm »

This is all very nice to know, and thank you, but my question is:

If I have a sentient custom race, say, lizardmen, how do I give them personalities? How do I make them ABLE to like and dislike OTHER things?
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: How to Descriptions and Personalities?
« Reply #12 on: June 03, 2012, 01:01:58 pm »

This is all very nice to know, and thank you, but my question is:

If I have a sentient custom race, say, lizardmen, how do I give them personalities?

[PERSONALITY:ATTRIBUTE:lowest:median:highest] Wiki the trait tokens

How do I make them ABLE to like and dislike OTHER things?
answered twice
can't all likes and dislikes are picked at random for every creatures.
-snip-
-snip-
But yeah, every creature will randomly choose what they like/dislike out of all the creatures.
-snip-
Logged

CyberUrist

  • Bay Watcher
  • Nothing satisfies—Attain liberation with vigilance
    • View Profile
Re: How to Descriptions and Personalities?
« Reply #13 on: June 03, 2012, 01:21:21 pm »

This is all very nice to know, and thank you, but my question is:

If I have a sentient custom race, say, lizardmen, how do I give them personalities?

[PERSONALITY:ATTRIBUTE:lowest:median:highest] Wiki the trait tokens

How do I make them ABLE to like and dislike OTHER things?
answered twice
can't all likes and dislikes are picked at random for every creatures.
-snip-
-snip-
But yeah, every creature will randomly choose what they like/dislike out of all the creatures.
-snip-

I don't mean personality attributes, and I said what makes it possible for them to have prefs, not how to force certain prefs. I'm sort of a newb in both modding and playing, so this is the kind of result I want:

"*creature details*
*wounds*
He prefers to eat *food* when possible. He likes *material*. He likes *something* for their *whatever*. He absolutely detests *creature*. *Name* has been content recently. He has admired a fine *item* recently."
I want them to have happy/sad thoughts.
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: How to Descriptions and Personalities?
« Reply #14 on: June 03, 2012, 01:37:41 pm »

The answers to Questions have been struck down!

Hugo gestures and mumbles some words under his breath

The answers begin to shudder and move

The answers have collapsed

Hmm... Seems they arn't being received too well. I suggest going to the wiki Dwarf Fortress Wiki
there is a little search box in the upper right
search these:
Personality traits
Creature Tokens (look for PREFSTRING, PERSONALITY)
Thoughts

It seems Me, IT000 can't explain the answers. Even when we said there is NO way of Forcing or Suggesting a creature to like a certain thing or hate a certain thing. as they are all Randomly choosen.

PERSONALITY if used right can make a creature get happy thoughts with *certain* things. But not all personality traits affect Happiness

really what I should just say is:

Nope Happy/sad thoughts are hardcoded
since you can't set what a creature *likes* means you can't make them get *happy* thoughts from a certain *Item/material/creature*
Logged
Pages: [1] 2