Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Need help with custom race, they are having no kids  (Read 1524 times)

The_Duke

  • Escaped Lunatic
    • View Profile
Need help with custom race, they are having no kids
« on: March 31, 2008, 08:11:00 pm »

The orcs never get married or have any children when I create a new world. I know Im missing something but I cant figure out what is causing them to always die out during world creation. Can anyone shed some light on what I have done wrong?

[CREATURE:ORC]
   [NAME :orc :orcs :orc]
   [TILE:'O'][COLOR:7:0:0]
   [GLOWTILE:'"'][GLOWCOLOR:4:0:1]
   [GENPOWER:2]
   [BUTCHERABLE_NONSTANDARD][EVIL]
   [INTELLIGENT]
       [BLOODTYPE:R]
       [LIKES_FIGHTING]
   [BONECARN]
   [CANOPENDOORS]
       [EVIL]
   [PREFSTRING:terrifying features]
   [BODY:HUMANOID:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:THROAT:NECK:SPINE:BRAIN:5FINGERS:5TOES:MOUTH]
   [ATTACK:MAIN:BYTYPE:GRASP :punch :punches:1:2:BLUDGEON][ATTACKFLAG_WITH]
   [ATTACK:SECOND:BYTYPE:MOUTH:bite:bites:1:2:GORE][ATTACKFLAG_CANLATCH]
   [CHILD:12][BABY:1][MULTIPLE_LITTER_RARE]
   [SIZE:7]
   [FAT:2]
   [EQUIPS]
   [NOCTURNAL]
   [STANDARD_FLESH]
   [HOMEOTHERM:10067]
   [LAYERING:10]
   [SWIMS_LEARNED][SWIM_SPEED:2500]
   [PERSONALITY:ANGER:25:75:100]
   [PERSONALITY:IMMODERATION:50:75:100]
   [PERSONALITY:EXCITEMENT_SEEKING:0:60:100]
   [PERSONALITY:CHEERFULNESS:0:40:90]
   [PERSONALITY:ALTRUISM:0:25:50]
   [PERSONALITY:MODESTY:0:40:90]
   [PERSONALITY:SYMPATHY:0:25:50]

Logged

The_Duke

  • Escaped Lunatic
    • View Profile
Re: Need help with custom race, they are having no kids
« Reply #1 on: March 31, 2008, 08:12:00 pm »

Here is the other file.

[ENTITY:EVIL]
   [CREATURE:ORC]
   [TRANSLATION:GOBLIN]
   [DIGGER:ITEM_WEAPON_PICK]
   [WEAPON:ITEM_WEAPON_WHIP]
   [WEAPON:ITEM_WEAPON_AXE_BATTLE]
   [WEAPON:ITEM_WEAPON_HAMMER_WAR]
   [WEAPON:ITEM_WEAPON_SWORD_SHORT]
   [WEAPON:ITEM_WEAPON_SPEAR]
   [WEAPON:ITEM_WEAPON_MACE]
   [WEAPON:ITEM_WEAPON_CROSSBOW]
      [AMMO:ITEM_AMMO_BOLTS]
   [WEAPON:ITEM_WEAPON_BOW]
      [AMMO:ITEM_AMMO_ARROWS]
   [WEAPON:ITEM_WEAPON_PIKE]
   [WEAPON:ITEM_WEAPON_HALBERD]
   [WEAPON:ITEM_WEAPON_SWORD_2H]
   [WEAPON:ITEM_WEAPON_SWORD_LONG]
   [WEAPON:ITEM_WEAPON_MAUL]
   [WEAPON:ITEM_WEAPON_AXE_GREAT]
   [WEAPON:ITEM_WEAPON_DAGGER_LARGE]
   [WEAPON:ITEM_WEAPON_SCOURGE]
   [WEAPON:ITEM_WEAPON_FLAIL]
   [WEAPON:ITEM_WEAPON_MORNINGSTAR]
   [WEAPON:ITEM_WEAPON_SCIMITAR]
   [ARMOR:ITEM_ARMOR_PLATEMAIL:COMMON]
   [ARMOR:ITEM_ARMOR_CHAINMAIL:COMMON]
   [ARMOR:ITEM_ARMOR_LEATHER:COMMON]
   [ARMOR:ITEM_ARMOR_CLOAK:COMMON]
   [ARMOR:ITEM_ARMOR_TUNIC:COMMON]
   [ARMOR:ITEM_ARMOR_ROBE:COMMON]
   [HELM:ITEM_HELM_HELM:COMMON]
   [HELM:ITEM_HELM_CAP:COMMON]
   [HELM:ITEM_HELM_HOOD:COMMON]
   [HELM:ITEM_HELM_MASK:UNCOMMON]
   [GLOVES:ITEM_GLOVES_GAUNTLETS:COMMON]
   [GLOVES:ITEM_GLOVES_GLOVES:COMMON]
   [SHOES:ITEM_SHOES_SHOES:COMMON]
   [SHOES:ITEM_SHOES_BOOTS:COMMON]
   [SHOES:ITEM_SHOES_BOOTS_LOW:COMMON]
   [SHOES:ITEM_SHOES_SANDAL:COMMON]
   [SHOES:ITEM_SHOES_SOCKS:COMMON]
   [PANTS:ITEM_PANTS_PANTS:COMMON]
   [PANTS:ITEM_PANTS_GREAVES:COMMON]
   [PANTS:ITEM_PANTS_LEGGINGS:COMMON]
   [PANTS:ITEM_PANTS_LOINCLOTH:COMMON]
   [SHIELD:ITEM_SHIELD_SHIELD]
   [SHIELD:ITEM_SHIELD_BUCKLER]
   [SIEGEAMMO:ITEM_SIEGEAMMO_BALLISTA]
   [TOY:ITEM_TOY_AXE]
   [TRAPCOMP:ITEM_TRAPCOMP_GIANTAXEBLADE]
   [TRAPCOMP:ITEM_TRAPCOMP_ENORMOUSCORKSCREW]
   [TRAPCOMP:ITEM_TRAPCOMP_SPIKEDBALL]
   [TRAPCOMP:ITEM_TRAPCOMP_LARGESERRATEDDISC]
   [TRAPCOMP:ITEM_TRAPCOMP_MENACINGSPIKE]
   [INSTRUMENT:ITEM_INSTRUMENT_DRUM]
   [CLOTHING]
   [SUBTERRANEAN_CLOTHING]
   [CURRENCY:COPPER:1]
   [CURRENCY:SILVER:5]
   [CURRENCY:GOLD:15]
   [SELECT_SYMBOL:ALL:EVIL]
   [CULL_SYMBOL:ALL :DOMESTIC]
   [CULL_SYMBOL:ALL:FLOWERY]
   [CULL_SYMBOL:ALL:HOLY]
   [CULL_SYMBOL:ALL:PEACE]
   [CULL_SYMBOL:ALL:NEGATOR]
   [CULL_SYMBOL:ALL:GOOD]
   [STONE_PREF]
       [METAL_PREF]
       [GEM_PREF]
   [USE_CAVE_ANIMALS]
   [USE_EVIL_ANIMALS]
   [USE_EVIL_PLANTS]
   [USE_EVIL_WOOD]
   [USE_ANIMAL_PRODUCTS]
   [USE_MISC_PROCESSED_WOOD_PRODUCTS]
   [EQUIPMENT_IMPROVEMENTS]
   [ABUSE_BODIES]
       [SIEGER]
       [AMBUSHER]
   [SPHERE_ALIGNMENT:WAR:512]
   [ART_FACET_MODIFIER:GOOD:0]
   [ART_FACET_MODIFIER:EVIL:512]
   [FRIENDLY_COLOR:5:0:1]
   [DEFAULT_SITE_TYPE :DARK_FORTRESS]
   [LIKES_SITE :DARK_FORTRESS]
   [TOLERATES_SITE :DARK_FORTRESS]
   [LEADER_TYPE:KING]
   [CAN_HAVE_MILITARY_LEADER]
   [SITE_LEADER_TYPE:CHAMPION]
   [CAN_HAVE_MILITARY_SITE_LEADER]
   [START_BIOME:MOUNTAIN]
   [BIOME_SUPPORT:ANY_WETLAND:5]
   [BIOME_SUPPORT:ANY_DESERT:1]
   [BIOME_SUPPORT:ANY_FOREST:3]
   [BIOME_SUPPORT:ANY_OCEAN:1]
   [BIOME_SUPPORT:ANY_LAKE:1]
   [BIOME_SUPPORT:MOUNTAIN:6]
   [BIOME_SUPPORT:ANY_GRASSLAND:2]
   [BIOME_SUPPORT:ANY_SAVANNA:2]
   [BIOME_SUPPORT:ANY_SHRUBLAND:5]
   [BIOME_SUPPORT:ANY_RIVER:2]
   [PROGRESS_TRIGGER_POPULATION:1]
   [PROGRESS_TRIGGER_PRODUCTION:1]
   [PROGRESS_TRIGGER_TRADE:1]
   [ACTIVE_SEASON:SPRING]
   [ACTIVE_SEASON:SUMMER]
   [ACTIVE_SEASON:AUTUMN]
   [ACTIVE_SEASON:WINTER]
   [ENTITY_GROUPING:EVIL]
   [BABYSNATCHER]
   [MAX_STARTING_CIV_NUMBER:4]
   [START_GROUP_NUMBER:10]
   [MAX_POP_NUMBER:500]
   [MAX_SITE_POP_NUMBER:200]
   [RELIGION:ANY_APPROPRIATE_POWER]
       [RELIGION_SPHERE:CHAOS]
       [RELIGION_SPHERE :DARKNESS]
       [RELIGION_SPHERE :DEATH]
       [RELIGION_SPHERE:WAR]
       [RELIGION_SPHERE:TORTURE]
       [RELIGION_SPHERE :DEPRAVITY]

Logged

Untelligent

  • Bay Watcher
  • I eat flesh!
    • View Profile
Re: Need help with custom race, they are having no kids
« Reply #2 on: March 31, 2008, 08:48:00 pm »

I THINK adding the [CAN_CIV] token to the creature file might do something.
Logged
The World Without Knifebear — A much safer world indeed.
regardless, the slime shooter will be completed, come hell or high water, which are both entirely plausible setbacks at this point.

nunix

  • Bay Watcher
    • View Profile
Re: Need help with custom race, they are having no kids
« Reply #3 on: March 31, 2008, 09:08:00 pm »

They're INTELLIGENT which includes CAN_CIV, so that's not it.

Duke, what's it say in your world generation file? Also, how many other civs are there? Do these REPLACE goblins, or in addition to?

Initial thoughts:

* typo in code somewhere not immediately apparent
* no room, and they're dying out in worldgen due to competition
* there's also no MAXAGE which means they're immortal (edit)

[ March 31, 2008: Message edited by: nunix ]

Logged

The_Duke

  • Escaped Lunatic
    • View Profile
Re: Need help with custom race, they are having no kids
« Reply #4 on: March 31, 2008, 09:21:00 pm »

The goblins are still in the game, I changed the goblin entity tag from EVIL to GOBLIN then added the orcs as the EVIL entity. The orcs are showing up in the game, as I have seen them while looking around for a spot for my fortress, they show up as one of the four closest races. They just always die out in the history file.

Here is an example from the history file.

The Ripe Incest, Orcs
Worship List
 Zakosp the Flare of Death, demon: fire, death, torture
Ruler List
 

  • Zakosp the Flare of Death (b.???, Reign Began: 1), *** Original Line, Never Married
         No Children
    Ive made a bunch of different worlds and the orcs never marry or have children in the history file.
Logged

nunix

  • Bay Watcher
    • View Profile
Re: Need help with custom race, they are having no kids
« Reply #5 on: March 31, 2008, 09:41:00 pm »

Make them adventurable (via ADVENTURE_TIER) and see where your character pops up. Wander around and see if you find any children. Your orcs are basically set up like elves right now, and so should have a single 10 children: line in their entry.. dunno what's happening.
Logged

Nite/m4re

  • Bay Watcher
  • Too Deep
    • View Profile
Re: Need help with custom race, they are having no kids
« Reply #6 on: March 31, 2008, 09:43:00 pm »

Missing the MAX_AGE token... That makes the creature a semi-god, so they have no children. Like the goblins demon ruler...
Logged

The_Duke

  • Escaped Lunatic
    • View Profile
Re: Need help with custom race, they are having no kids
« Reply #7 on: March 31, 2008, 09:44:00 pm »

I gave them a min/max age and still they wont marry or have children in the history file. I also noticed the elves have no max age and they marry and have children.

Here is an example from the elves.

The Single Dunes, Elves
Worship List
 Yemeni, force: nature, rivers
Ruler List
 

  • Sareve Felldreamed (b.???, Reign Began: 1), *** Original Line, Married
         10 Children -- Ages: 1049 1048 1047 1046 1045 1044 1043 1042 1041 1040
         Worships Yemeni (39%)

    I will keep looking around the wiki and search these forums for an answer.

    [ March 31, 2008: Message edited by: The_Duke ]

Logged

Cavalcadeofcats

  • Bay Watcher
    • View Profile
Re: Need help with custom race, they are having no kids
« Reply #8 on: March 31, 2008, 10:35:00 pm »

Have you checked the errorlog?
Logged

The_Duke

  • Escaped Lunatic
    • View Profile
Re: Need help with custom race, they are having no kids
« Reply #9 on: March 31, 2008, 10:45:00 pm »

The only thing in the error log is Impoverished Word Selector.

Ive been playing around with the maxage token. I changed the elves to have a maxage. Now they die but the orcs have a max age and he never dies, gets married or has children.

Here is an example of an elf and orc from the history file.

The Glacier of Blossoms, Elves
Worship List
 Cana the Hoary Hills, force: nature, rivers
Ruler List
 

  • Bered Beardreined (b.??? d. 384, Reign Began: 1), *** Original Line, Married (d. 386)
         10 Children (out-lived 1 of them) -- Ages at death: 383 382 381 380 379 378 (d. 325) 376 375 374
         Worshipped Cana the Hoary Hills (81%)
     
  • Narena Cliffplan (b.4 d. 504, Reign Began: 384), Inherited from mother, Married (d. 618)
         7 Children (out-lived 4 of them) -- Ages at death: 484 (d. 470) (d. 322) (d. 493) 480 479 (d. 371)
         Worshipped Cana the Hoary Hills (87%)
     
  • Arile Growledplay (b.20 d. 544, Reign Began: 504), Inherited from father, Married (d. 415)
         1 Child -- Ages at death: 138
         Worshipped Cana the Hoary Hills (17%)
     
  • Ale Glazesister (b.406 d. 809, Reign Began: 544), Inherited from mother, Married (d. 799)
         4 Children -- Ages at death: 285 283 242 232
         Worshipped Cana the Hoary Hills (4%)
     
  • Penopu Fishsister (b.526 d. 873, Reign Began: 809), Inherited from father, Married (d. 875)
         2 Children -- Ages at death: 272 244
         Worshipped Cana the Hoary Hills (38%)
     
  • Lapama Skunktraded (b.601, Reign Began: 873), Inherited from father, Married
         4 Children -- Ages: 406 291 168 161
         Worships Cana the Hoary Hills (52%)

    The Lie of Hate, Orcs
    Worship List
     Atu Menaceflies, demon: fire, death, torture
    Ruler List
     

  • Atu Menaceflies (b.???, Reign Began: 1), *** Original Line, Never Married
         No Children
Logged

Kagus

  • Bay Watcher
  • Olive oil. Don't you?
    • View Profile
Re: Need help with custom race, they are having no kids
« Reply #10 on: April 01, 2008, 02:25:00 am »

Orcs have children, DEMONS don't.


When an entitiy worships a [POWER] creature, the creature they choose gets elected as their leader in not only the spiritual sense, but also in other matters.  In other words, it becomes the ultimate ruler of those who follow it.

Take a look at what it says.  

Worship List
Atu Menaceflies, demon: fire, death, torture
Ruler List
Atu Menaceflies (b.???, Reign...  Etc. Etc.

The_Duke

  • Escaped Lunatic
    • View Profile
Re: Need help with custom race, they are having no kids
« Reply #11 on: April 01, 2008, 06:44:00 am »

Sweet, thanks for the answer Kagus! I was wondering why the orcs where showing up in game but not in the history file.
Logged