Bay 12 Games Forum

Please login or register.

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

Author Topic: ART_FACET_MODIFIER and ART_IMAGE_ELEMENT_MODIFIER  (Read 3466 times)

Ghostpaw

  • Bay Watcher
    • View Profile
ART_FACET_MODIFIER and ART_IMAGE_ELEMENT_MODIFIER
« on: May 24, 2008, 11:45:00 am »

What does the [ART_FACET_MODIFIER] tag and the [ART_IMAGE_ELEMENT_MODIFIER] tag for entities do?
Logged
t''s so sad.  It''s as if De Beers as invaded Dwarf Fortress.  I nearly cried when I saw how valued and rare diamonds were in Dwarf Fortress.

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: ART_FACET_MODIFIER and ART_IMAGE_ELEMENT_MODIFIER
« Reply #1 on: May 24, 2008, 11:51:00 am »

They define how likely is a race to include certain creatures or items/events in their images and engravings.
Logged
Multiworld Madness Archive:
Game One, Discontinued at World 3.
Game Two, Discontinued at World 1.

"Europe has to grow out of the mindset that Europe's problems are the world's problems, but the world's problems are not Europe's problems."
- Subrahmanyam Jaishankar, Minister of External Affairs, India

Ghostpaw

  • Bay Watcher
    • View Profile
Re: ART_FACET_MODIFIER and ART_IMAGE_ELEMENT_MODIFIER
« Reply #2 on: May 24, 2008, 11:53:00 am »

quote:
Originally posted by Sean Mirrsen:
<STRONG>They define how likely is a race to include certain creatures or items/events in their images and engravings.</STRONG>

Alright so how do you use them and how are they different?

Logged
t''s so sad.  It''s as if De Beers as invaded Dwarf Fortress.  I nearly cried when I saw how valued and rare diamonds were in Dwarf Fortress.

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: ART_FACET_MODIFIER and ART_IMAGE_ELEMENT_MODIFIER
« Reply #3 on: May 24, 2008, 12:46:00 pm »

There's the readme for that. Or, more specifically, the "file changes.txt" file.

Here, I'll quote it and highlight the relevant bit:

quote:
Auxiliary file changes for 0.27.173.38a:

New entity tags
   [USE_EVIL_WOOD]
   [USE_GOOD_WOOD]
   [USE_EVIL_PLANTS]
   [USE_GOOD_PLANTS]
   [USE_GOOD_ANIMALS]
   [USE_ANY_PET_RACE]
   [USE_MISC_PROCESSED_WOOD_PRODUCTS]
   [IMPROVED_BOWS]
   [RESPECT_ANIMALS]
   [RESPECT_TREES]
   [LOW_SKILL]
   [INVADERS_IGNORE_NEUTRALS]
   [AT_PEACE_WITH_WILDLIFE]
   [EQUIPMENT_IMPROVEMENTS]
   [ABUSE_BODIES]
   [SPHERE_ALIGNMENT:<sphere>:<amount>]
      <STRONG><amount> is a multiplicative modifier that runs from 0 to 25600 with 256 being the neutral value
   [ART_FACET_MODIFIER:<facet>:<amount>]
      <facet> is one of: OWN_RACE, FANCIFUL, EVIL, GOOD
      <amount> as above
   [ART_IMAGE_ELEMENT_MODIFIER:<art>:<amount>]
      <art> is one of: CREATURE, PLANT, TREE, SHAPE, ITEM
      <amount> as above</STRONG>
   [ITEM_IMPROVEMENT_MODIFIER:<item>:<amount>]
      <item> is one of:
         ART_IMAGE
         COVERED
         RINGS_HANGING
         BANDS
         SPIKES
         ITEMSPECIFIC
         THREAD
         CLOTH
         SEWN_IMAGE
      <amount> as above
...
...


Logged
Multiworld Madness Archive:
Game One, Discontinued at World 3.
Game Two, Discontinued at World 1.

"Europe has to grow out of the mindset that Europe's problems are the world's problems, but the world's problems are not Europe's problems."
- Subrahmanyam Jaishankar, Minister of External Affairs, India

Ghostpaw

  • Bay Watcher
    • View Profile
Re: ART_FACET_MODIFIER and ART_IMAGE_ELEMENT_MODIFIER
« Reply #4 on: May 24, 2008, 01:55:00 pm »

For ART_FACET_MODIFIER what do each of the following do:
-OWN_RACE
-FANCIFUL
-EVIL
-GOOD

For ART_IMAGE_ELEMENT_MODIFIER for the <art> can you specify a specific CREATURE, PLANT, TREE, SHAPE, or ITEM?

Also could an example of how radically the amount affects how likely is a race to include certain creatures or items/events in their images and engravings be given?

Logged
t''s so sad.  It''s as if De Beers as invaded Dwarf Fortress.  I nearly cried when I saw how valued and rare diamonds were in Dwarf Fortress.

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: ART_FACET_MODIFIER and ART_IMAGE_ELEMENT_MODIFIER
« Reply #5 on: May 24, 2008, 02:12:00 pm »

No, no specific creature, shape or item, just those tags.

Facets supposedly mean what races the images will usually depict. For example, an OWN_RACE facet combined with an ITEM image makes a picture of something related to the race in question, like a common accessory, or a recent artifact. EVIL combined with CREATURE would make images of goblins. Stuff like that, or so I understand it.

And, you have the range values given. If you put 25600 on both OWN_RACE and CREATURE, you'll get some very egocentric creatures, 99 out of 100 images will have them and their doings on them.

Logged
Multiworld Madness Archive:
Game One, Discontinued at World 3.
Game Two, Discontinued at World 1.

"Europe has to grow out of the mindset that Europe's problems are the world's problems, but the world's problems are not Europe's problems."
- Subrahmanyam Jaishankar, Minister of External Affairs, India

Ghostpaw

  • Bay Watcher
    • View Profile
Re: ART_FACET_MODIFIER and ART_IMAGE_ELEMENT_MODIFIER
« Reply #6 on: May 24, 2008, 02:15:00 pm »

quote:
Originally posted by Sean Mirrsen:
<STRONG>No, no specific creature, shape or item, just those tags.

Facets supposedly mean what races the images will usually depict. For example, an OWN_RACE facet combined with an ITEM image makes a picture of something related to the race in question, like a common accessory, or a recent artifact. EVIL combined with CREATURE would make images of goblins. Stuff like that, or so I understand it.

And, you have the range values given. If you put 25600 on both OWN_RACE and CREATURE, you'll get some very egocentric creatures, 99 out of 100 images will have them and their doings on them.</STRONG>


Thankyou for the clear explanation.  How about with 10,000?

Logged
t''s so sad.  It''s as if De Beers as invaded Dwarf Fortress.  I nearly cried when I saw how valued and rare diamonds were in Dwarf Fortress.

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: ART_FACET_MODIFIER and ART_IMAGE_ELEMENT_MODIFIER
« Reply #7 on: May 24, 2008, 02:20:00 pm »

Do I need to quote the file again? The default on each value is 256. Think how much 10000 is bigger than 256. I guess you'll only have 97 of 100 images depicting themselves.
Logged
Multiworld Madness Archive:
Game One, Discontinued at World 3.
Game Two, Discontinued at World 1.

"Europe has to grow out of the mindset that Europe's problems are the world's problems, but the world's problems are not Europe's problems."
- Subrahmanyam Jaishankar, Minister of External Affairs, India

Ghostpaw

  • Bay Watcher
    • View Profile
Re: ART_FACET_MODIFIER and ART_IMAGE_ELEMENT_MODIFIER
« Reply #8 on: May 24, 2008, 03:07:00 pm »

quote:
Originally posted by Sean Mirrsen:
<STRONG>Do I need to quote the file again? The default on each value is 256. Think how much 10000 is bigger than 256. I guess you'll only have 97 of 100 images depicting themselves.</STRONG>

How about 256 then?

Logged
t''s so sad.  It''s as if De Beers as invaded Dwarf Fortress.  I nearly cried when I saw how valued and rare diamonds were in Dwarf Fortress.

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: ART_FACET_MODIFIER and ART_IMAGE_ELEMENT_MODIFIER
« Reply #9 on: May 24, 2008, 03:35:00 pm »

Average. I mean, is it really that complicated? The game chooses from those variants at random. The numbers specify the relative chance that a variant will be chosen in any specific case. Given that 256 is default for all the variants given, then if you again specify any of these at 256, all variants will be present in a statistically equal amount. If you specify more, the variant will be chosen more often, and the higher the number, the more the probability. It's not like we're talking rocket science here, this is pretty basic modding stuff...
Logged
Multiworld Madness Archive:
Game One, Discontinued at World 3.
Game Two, Discontinued at World 1.

"Europe has to grow out of the mindset that Europe's problems are the world's problems, but the world's problems are not Europe's problems."
- Subrahmanyam Jaishankar, Minister of External Affairs, India

Ghostpaw

  • Bay Watcher
    • View Profile
Re: ART_FACET_MODIFIER and ART_IMAGE_ELEMENT_MODIFIER
« Reply #10 on: May 24, 2008, 05:43:00 pm »

Hmm.  I just wanted specific probabilities.
Logged
t''s so sad.  It''s as if De Beers as invaded Dwarf Fortress.  I nearly cried when I saw how valued and rare diamonds were in Dwarf Fortress.

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: ART_FACET_MODIFIER and ART_IMAGE_ELEMENT_MODIFIER
« Reply #11 on: May 24, 2008, 05:46:00 pm »

But, aren't the values specific enough? A simple comparison of numbers gives you the data you're looking for. I was specifically irritated by the "How about 10000/How about 256" question sequence...
Logged
Multiworld Madness Archive:
Game One, Discontinued at World 3.
Game Two, Discontinued at World 1.

"Europe has to grow out of the mindset that Europe's problems are the world's problems, but the world's problems are not Europe's problems."
- Subrahmanyam Jaishankar, Minister of External Affairs, India

Ghostpaw

  • Bay Watcher
    • View Profile
Re: ART_FACET_MODIFIER and ART_IMAGE_ELEMENT_MODIFIER
« Reply #12 on: May 24, 2008, 06:39:00 pm »

quote:
Originally posted by Sean Mirrsen:
<STRONG>But, aren't the values specific enough? A simple comparison of numbers gives you the data you're looking for. I was specifically irritated by the "How about 10000/How about 256" question sequence...</STRONG>

It seemed to me like you were purely guestimating which really made me uncomfortable about the accuracy of your values.  Look at it this way.  Going from 256 to 10,000, which is a 9,744 difference, raises makes the odds 97/100.  But a raise from 10,000 to 25,600, which has a difference of 15,600, only raises the odds to 99/100?  It might just be me but something seems off.  You have even failed to mention the baseline, default, odds are at 256 which will be critical with "guestimation".  What would really help in figuring out how radically these numbers change the outcome will be to find out how many different possible outcomes there are.

Logged
t''s so sad.  It''s as if De Beers as invaded Dwarf Fortress.  I nearly cried when I saw how valued and rare diamonds were in Dwarf Fortress.

Dasleah

  • Bay Watcher
    • View Profile
Re: ART_FACET_MODIFIER and ART_IMAGE_ELEMENT_MODIFIER
« Reply #13 on: May 24, 2008, 06:51:00 pm »

...does it really matter? Do you need something so precise that 78.21% of your engravings are of animals?

The scale is just one of Toady's little things that only he truly knows the ins-and-outs of. All we know is 256 is the middle (so I'm guessing that's 50%).

Logged
Pokethulhu Orange: UPDATE 25
The Roguelike Development Megathread.

As well, all the posts i've seen you make are flame posts, barely if at all constructive.

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: ART_FACET_MODIFIER and ART_IMAGE_ELEMENT_MODIFIER
« Reply #14 on: May 24, 2008, 06:55:00 pm »

Is it that important? The 99/100 wasn't calculation, it was exaggeration. The 97/100 was effective comparison - 10000/256 ~ 40, 100/40 ~ 2.5 ~ 3.   :)

edit: hm, beaten to it. Also, image element chooses from 5 varaints - meaning a 20% default chance for any given one.  ;)

[ May 24, 2008: Message edited by: Sean Mirrsen ]

Logged
Multiworld Madness Archive:
Game One, Discontinued at World 3.
Game Two, Discontinued at World 1.

"Europe has to grow out of the mindset that Europe's problems are the world's problems, but the world's problems are not Europe's problems."
- Subrahmanyam Jaishankar, Minister of External Affairs, India
Pages: [1] 2