Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: how calculate min/max size of creature??  (Read 1035 times)

DWARFFRAWD

  • Bay Watcher
    • View Profile
how calculate min/max size of creature??
« on: May 11, 2020, 08:09:19 am »

In the wiki, it is say that dwarf's size varies 33750~93750.

so what about human?

how calculate body size if i made new civ unit with different body size?
Logged

Shonai_Dweller

  • Bay Watcher
    • View Profile
Re: how calculate min/max size of creature??
« Reply #1 on: May 11, 2020, 08:30:51 am »

[BODY_SIZE] tag.
It's use is described in the raws for dwarves (creature_standard.txt):

Quote
These tags establish the growth phases of the creature's life.  The format is (BODY_SIZE|<year>|<day>|<average size>).

   [BODY_SIZE:0:0:3000]
   [BODY_SIZE:1:168:15000]
   [BODY_SIZE:12:0:60000]

   These body modifiers give individual dwarves different characteristics.  In the case of HEIGHT, BROADNESS and LENGTH, the modifier is also a percentage change to the BODY_SIZE of the individual creature.  The seven numbers afterward give a distribution of ranges.  Each interval has an equal chance of occurring.

   [BODY_APPEARANCE_MODIFIER:HEIGHT:75:95:98:100:102:105:125]
      [APP_MOD_IMPORTANCE:500]
   [BODY_APPEARANCE_MODIFIER:BROADNESS:75:95:98:100:102:105:125]
      [APP_MOD_IMPORTANCE:500]

So, for example a dwarf adult, average size 60000, at the highest and broadest range gets modifiers of 125% each for a max of 93750. And a short, thin dwarf, 75% each for a minimum of 33750.
« Last Edit: May 11, 2020, 08:37:52 am by Shonai_Dweller »
Logged

DWARFFRAWD

  • Bay Watcher
    • View Profile
Re: how calculate min/max size of creature??
« Reply #2 on: May 11, 2020, 09:01:10 am »

[BODY_SIZE] tag.
It's use is described in the raws for dwarves (creature_standard.txt):

Quote
These tags establish the growth phases of the creature's life.  The format is (BODY_SIZE|<year>|<day>|<average size>).

   [BODY_SIZE:0:0:3000]
   [BODY_SIZE:1:168:15000]
   [BODY_SIZE:12:0:60000]

   These body modifiers give individual dwarves different characteristics.  In the case of HEIGHT, BROADNESS and LENGTH, the modifier is also a percentage change to the BODY_SIZE of the individual creature.  The seven numbers afterward give a distribution of ranges.  Each interval has an equal chance of occurring.

   [BODY_APPEARANCE_MODIFIER:HEIGHT:75:95:98:100:102:105:125]
      [APP_MOD_IMPORTANCE:500]
   [BODY_APPEARANCE_MODIFIER:BROADNESS:75:95:98:100:102:105:125]
      [APP_MOD_IMPORTANCE:500]

So, for example a dwarf adult, average size 60000, at the highest and broadest range gets modifiers of 125% each for a max of 93750. And a short, thin dwarf, 75% each for a minimum of 33750.


Oh! Thanks!
i have one more question.
if i set number like this

[BODY_APPEARANCE_MODIFIER:HEIGHT:100:100:100:100:100:100:100]
      [APP_MOD_IMPORTANCE:500]
   [BODY_APPEARANCE_MODIFIER:BROADNESS:100:100:100:100:100:100:100]
      [APP_MOD_IMPORTANCE:500]

all adult dwarf's size be fixed to 60000 absolutely?
Logged

voliol

  • Bay Watcher
    • View Profile
    • Website
Re: how calculate min/max size of creature??
« Reply #3 on: May 11, 2020, 09:17:16 am »

Not necessarily, muscle mass and fat also affect the size of a creature, due to the THICKENS_ON_STRENGTH and THICKENS_ON_FAT_STORAGE tissue definition tokens.