Bay 12 Games Forum

Please login or register.

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

Author Topic: Trying to make playable skeletons?  (Read 2052 times)

alphawolf29

  • Bay Watcher
    • View Profile
Trying to make playable skeletons?
« on: January 13, 2010, 08:09:04 pm »

Trying to make a playable skeleton in adventure  world gen goes fine but they arent selectable and no trace of them during worldgen. This is my first attempt at making a civ so I probably did something wrong, Tier is right as far as i know.


Entity
Code: [Select]
[ENTITY:PLAINS]
[INDIV_CONTROLLABLE]
[CREATURE:SKELETON]
[TRANSLATION:SKELETON]
[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_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_COAT:COMMON]
[ARMOR:ITEM_ARMOR_SHIRT:COMMON]
[ARMOR:ITEM_ARMOR_CLOAK:COMMON]
[ARMOR:ITEM_ARMOR_TUNIC:COMMON]
[ARMOR:ITEM_ARMOR_TOGA:UNCOMMON]
[ARMOR:ITEM_ARMOR_CAPE:COMMON]
[ARMOR:ITEM_ARMOR_VEST:COMMON]
[ARMOR:ITEM_ARMOR_DRESS:COMMON]
[ARMOR:ITEM_ARMOR_ROBE:COMMON]
[HELM:ITEM_HELM_HELM:COMMON]
[HELM:ITEM_HELM_CAP:COMMON]
[HELM:ITEM_HELM_HOOD:COMMON]
[HELM:ITEM_HELM_TURBAN:UNCOMMON]
[HELM:ITEM_HELM_MASK:RARE]
[HELM:ITEM_HELM_VEIL_HEAD:UNCOMMON]
[HELM:ITEM_HELM_VEIL_FACE:RARE]
[HELM:ITEM_HELM_SCARF_HEAD:UNCOMMON]
[GLOVES:ITEM_GLOVES_GAUNTLETS:COMMON]
[GLOVES:ITEM_GLOVES_GLOVES:COMMON]
[GLOVES:ITEM_GLOVES_MITTENS: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_CHAUSSE:UNCOMMON]
[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]
[PANTS:ITEM_PANTS_THONG:UNCOMMON]
[PANTS:ITEM_PANTS_SKIRT:COMMON]
[PANTS:ITEM_PANTS_SKIRT_SHORT:COMMON]
[PANTS:ITEM_PANTS_SKIRT_LONG:COMMON]
[PANTS:ITEM_PANTS_BRAIES:UNCOMMON]
[SHIELD:ITEM_SHIELD_SHIELD]
[SHIELD:ITEM_SHIELD_BUCKLER]
[SIEGEAMMO:ITEM_SIEGEAMMO_BALLISTA]
[TOY:ITEM_TOY_PUZZLEBOX]
[TOY:ITEM_TOY_BOAT]
[TOY:ITEM_TOY_HAMMER]
[TOY:ITEM_TOY_AXE]
[INSTRUMENT:ITEM_INSTRUMENT_FLUTE]
[INSTRUMENT:ITEM_INSTRUMENT_TRUMPET]
[INSTRUMENT:ITEM_INSTRUMENT_HARP]
[INSTRUMENT:ITEM_INSTRUMENT_DRUM]
[INSTRUMENT:ITEM_INSTRUMENT_PICCOLO]
[CLOTHING]
[CURRENCY:COPPER:1]
[CURRENCY:SILVER:5]
[CURRENCY:GOLD:15]
[SELECT_SYMBOL:WAR:NAME_WAR]
[SUBSELECT_SYMBOL:WAR:VIOLENT]
        [SELECT_SYMBOL:ALL:EVIL]
[SELECT_SYMBOL:BATTLE:NAME_BATTLE]
[SUBSELECT_SYMBOL:BATTLE:VIOLENT]
[SELECT_SYMBOL:SIEGE:NAME_SIEGE]
[CULL_SYMBOL:ALL:SUBORDINATE]
[CULL_SYMBOL:ALL:UNTOWARD]
[CULL_SYMBOL:ALL:UGLY]
[CULL_SYMBOL:ALL:NEGATOR]
[SELECT_SYMBOL:CIV:NAME_ENTITY_KINGDOM]
[SELECT_SYMBOL:SITE:NAME_ENTITY_TOWN_FOUNDER]
[USE_MISC_PROCESSED_WOOD_PRODUCTS]
[EQUIPMENT_IMPROVEMENTS]
[SPHERE_ALIGNMENT:WAR:512]
        [RELIGION_SPHERE:BLIGHT]
        [RELIGION_SPHERE:CHAOS]
        [RELIGION_SPHERE:DARKNESS]
        [RELIGION_SPHERE:DEATH]
        [RELIGION_SPHERE:DISEASE]
        [RELIGION_SPHERE:MURDER]
        [RELIGION_SPHERE:NIGHT]
        [RELIGION_SPHERE:TORTURE]
[ART_FACET_MODIFIER:FANCIFUL:640]
[ART_FACET_MODIFIER:OWN_RACE:512]
[ADVENTURE_TIER:7]
[FRIENDLY_COLOR:7:0:1]
        [ABUSE_BODIES]
        [BABYSNATCHER]
[DEFAULT_SITE_TYPE:CITY]
[LIKES_SITE:CITY]
[TOLERATES_SITE:CITY]
[TOLERATES_SITE:TREE_CITY]
[TOLERATES_SITE:CAVE_DETAILED]
[CAN_HAVE_MILITARY_SITE_LEADER]
[START_BIOME:ANY_GRASSLAND]
[START_BIOME:ANY_SAVANNA]
[START_BIOME:ANY_SHRUBLAND]
[BIOME_SUPPORT:ANY_WETLAND:1]
[BIOME_SUPPORT:ANY_DESERT:1]
[BIOME_SUPPORT:ANY_FOREST:2]
[BIOME_SUPPORT:ANY_OCEAN:3]
[BIOME_SUPPORT:ANY_LAKE:3]
[BIOME_SUPPORT:ANY_GRASSLAND:3]
[BIOME_SUPPORT:ANY_SAVANNA:2]
[BIOME_SUPPORT:ANY_SHRUBLAND:2]
[BIOME_SUPPORT:ANY_RIVER:1]
[PROGRESS_TRIGGER_TRADE:1]
[ACTIVE_SEASON:WINTER]
[SIEGER]
[MAX_STARTING_CIV_NUMBER:100]
[START_GROUP_NUMBER:10]
[MAX_POP_NUMBER:10000]
[MAX_SITE_POP_NUMBER:120]
[RELIGION:PANTHEON]
[WANDERER]
[BEAST_HUNTER]
[SCOUT]
        [USE_EVIL_ANIMALS]
[PERMITTED_JOB:MINER]
[PERMITTED_JOB:CARPENTER]
[PERMITTED_JOB:BOWYER]
[PERMITTED_JOB:WOODCUTTER]
[PERMITTED_JOB:ENGRAVER]
[PERMITTED_JOB:MASON]
[PERMITTED_JOB:ANIMAL_CARETAKER]
[PERMITTED_JOB:ANIMAL_TRAINER]
[PERMITTED_JOB:HUNTER]
[PERMITTED_JOB:TRAPPER]
[PERMITTED_JOB:ANIMAL_DISSECTOR]
[PERMITTED_JOB:FURNACE_OPERATOR]
[PERMITTED_JOB:WEAPONSMITH]
[PERMITTED_JOB:ARMORER]
[PERMITTED_JOB:BLACKSMITH]
[PERMITTED_JOB:METALCRAFTER]
[PERMITTED_JOB:GEM_CUTTER]
[PERMITTED_JOB:GEM_SETTER]
[PERMITTED_JOB:WOODCRAFTER]
[PERMITTED_JOB:STONECRAFTER]
[PERMITTED_JOB:LEATHERWORKER]
[PERMITTED_JOB:BONE_CARVER]
[PERMITTED_JOB:WEAVER]
[PERMITTED_JOB:CLOTHIER]
[PERMITTED_JOB:GLASSMAKER]
[PERMITTED_JOB:FISHERMAN]
[PERMITTED_JOB:FISH_DISSECTOR]
[PERMITTED_JOB:FISH_CLEANER]
[PERMITTED_JOB:CHEESE_MAKER]
[PERMITTED_JOB:MILKER]
[PERMITTED_JOB:COOK]
[PERMITTED_JOB:THRESHER]
[PERMITTED_JOB:MILLER]
[PERMITTED_JOB:BUTCHER]
[PERMITTED_JOB:TANNER]
[PERMITTED_JOB:DYER]
[PERMITTED_JOB:PLANTER]
[PERMITTED_JOB:HERBALIST]
[PERMITTED_JOB:BREWER]
[PERMITTED_JOB:SOAP_MAKER]
[PERMITTED_JOB:POTASH_MAKER]
[PERMITTED_JOB:LYE_MAKER]
[PERMITTED_JOB:WOOD_BURNER]
[PERMITTED_JOB:MECHANIC]
[PERMITTED_JOB:SIEGE_ENGINEER]
[PERMITTED_JOB:SIEGE_OPERATOR]
[PERMITTED_JOB:PUMP_OPERATOR]
[PERMITTED_JOB:CLERK]
[PERMITTED_JOB:ADMINISTRATOR]
[PERMITTED_JOB:TRADER]
[PERMITTED_JOB:ARCHITECT]
[ETHIC:KILL_ENTITY_MEMBER:JUSTIFIED_IF_GOOD_REASON]
[ETHIC:KILL_NEUTRAL:ACCEPTABLE]
[ETHIC:KILL_ENEMY:ACCEPTABLE]
[ETHIC:KILL_ANIMAL:ACCEPTABLE]
[ETHIC:KILL_PLANT:ACCEPTABLE]
[ETHIC:TORTURE_AS_EXAMPLE:ACCEPTABLE]
[ETHIC:TORTURE_FOR_INFORMATION:ACCEPTABLE]
[ETHIC:TORTURE_FOR_FUN:APPALLING]
[ETHIC:TORTURE_ANIMALS:SHUN]
[ETHIC:TREASON:PUNISH_CAPITAL]
[ETHIC:OATH_BREAKING:PUNISH_CAPITAL]
[ETHIC:LYING:PERSONAL_MATTER]
[ETHIC:VANDALISM:PUNISH_SERIOUS]
[ETHIC:TRESPASSING:PUNISH_SERIOUS]
[ETHIC:THEFT:PUNISH_SERIOUS]
[ETHIC:ASSAULT:PUNISH_SERIOUS]
[ETHIC:SLAVERY:ACCEPTABLE]
[ETHIC:EAT_SAPIENT_OTHER:UNTHINKABLE]
[ETHIC:EAT_SAPIENT_KILL:UNTHINKABLE]
[ETHIC:MAKE_TROPHY_SAME_RACE:ACCEPTABLE]
[ETHIC:MAKE_TROPHY_SAPIENT:ACCEPTABLE]
[ETHIC:MAKE_TROPHY_ANIMAL:ACCEPTABLE]
[WILL_ACCEPT_TRIBUTE]

Creature

Code: [Select]
[CREATURE:SKELETON]
[NAME:skeleton:skeletons:undead]
[TILE:'S'][COLOR:7:0:0]
[EVIL][FANCIFUL][LIKES_FIGHTING]
[NOT_BUTCHERABLE][CAN_LEARN]
[EXTRAVISION][NOBREATHE][MODVALUE:2]
[CANOPENDOORS][NONAUSEA][NOFEAR]
        [NO_SLEEP][NO_DRINK][NO_EAT]
        [NOEXERT][NOSKIN][NOMEAT]
        [NOSTUCKINS][NOEMOTION]
        [NO_PAIN][INTELLIGENT]
[LARGE_ROAMING][FREQUENCY:5]
[POPULATION_NUMBER:10:30]
[CLUSTER_NUMBER:5:12]
[LARGE_PREDATOR]
        [SEVERONBREAKS]
        [NOCTURNAL]
        [LITTERSIZE:1:2]
        [CANOPENDOORS]
        [MAXAGE:90:800]
[PREFSTRING:terrifying nature]
[PREFSTRING:ravenous hunger]
        [BLOODTYPE:0]


[BODY:HUMANOID:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:NECK:THROAT:SPINE:BRAIN:5FINGERS:5TOES:MOUTH]
[SIZE:7][FAT:1]
[DAMBLOCK:3]
[ATTACK:MAIN:BYTYPE:MOUTH:bite:bites:1:8:GORE][ATTACKFLAG_CANLATCH]
[ATTACK:MAIN:BYTYPE:GRASP:claw:claws:1:4:GORE][ATTACKFLAG_WITH]
[NOCTURNAL]
[BIOME:FOREST_TAIGA]
[BIOME:DESERT_BADLAND]
[BIOME:TUNDRA]
[HOMEOTHERM:10067]
[LAYERING:10]
[SWIMS_INNATE][SWIM_SPEED:2500]
[CANNOT_UNDEAD]
        [PERSONALITY:ANGER:60:76:100]
        [PERSONALITY:FRIENDLINESS:5:25:70]
        [PERSONALITY:IMMODERATION:2:5:7]
        [PERSONALITY:LIBERALISM:60:78:93]
        [PERSONALITY:SELF_DISCIPLINE:65:77:92]
        [PERSONALITY:TRUST:5:10:25]
        [PERSONALITY:VULNERABILITY:2:5:12]
        [PERSONALITY:SYMPATHY:1:2:3]
        [SPEECH:skeleton.txt]
        [EQUIPS]
        [LAYERING:70]
        [CRAFTSMAN_NAME:craftsman:craftsmen]
[FISHERMAN_NAME:fisher:fishers]
[HAMMERMAN_NAME:Hammerer:Hammerers]
[SPEARMAN_NAME:sticker:stickers]
[CROSSBOWMAN_NAME:crossbowman:crossbowmen]
[AXEMAN_NAME:chopper:choppers]
[SWORDSMAN_NAME:cutter:cutters]
[MACEMAN_NAME:cleric:clerics]
[PIKEMAN_NAME:piker:pikers]
[BOWMAN_NAME:bowman:bowmen]


Logged

sunshaker

  • Bay Watcher
    • View Profile
Re: Trying to make playable skeletons?
« Reply #1 on: January 13, 2010, 08:14:53 pm »

Did you empty your .../data/objects/ folder?
Did you remove humans from the game?
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Trying to make playable skeletons?
« Reply #2 on: January 13, 2010, 08:16:20 pm »

Did you remove humans from the game?
This.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

3

  • Bay Watcher
    • View Profile
Re: Trying to make playable skeletons?
« Reply #3 on: January 13, 2010, 08:18:00 pm »

Are the files formatted correctly? If you're not using one of the existing files, note that a creature filename must begin with "creature_" and an entity file with "entity_" and so on.

There shouldn't be any reason as to why you should have to remove humans from the game, other than the fact that one or the other will probably get killed off.
« Last Edit: January 13, 2010, 08:19:34 pm by 3 »
Logged

alphawolf29

  • Bay Watcher
    • View Profile
Re: Trying to make playable skeletons?
« Reply #4 on: January 13, 2010, 08:20:27 pm »

Data/objects just emptied, the files are formatted correctly, why would I need to remove humans from the game?
Logged

3

  • Bay Watcher
    • View Profile
Re: Trying to make playable skeletons?
« Reply #5 on: January 13, 2010, 08:23:51 pm »

I presume the logic is that because your civ and humans share the same biomes, they'll be competing for them - and as, by default, humans (and by extension, your civ, as you haven't changed this bit of the entity file) have virtually no limit on the number of civs they can start with, if the game decides to read the human entry first during worldgen, it'll just fill up all of the applicable biomes with human cities and leave none for your civ.

In actuality, that won't be the case, because 1. afaik the game rotates between civs during worldgen so none get left out and 2. it should just reject the map if it can't find enough biomes anyway.

Also, remove FREQUENCY:5, LARGE_ROAMING and such from the creature, just in case.
« Last Edit: January 13, 2010, 08:25:25 pm by 3 »
Logged

alphawolf29

  • Bay Watcher
    • View Profile
Re: Trying to make playable skeletons?
« Reply #6 on: January 13, 2010, 08:31:49 pm »

Ok, tried that all still not working.

They aren't dying out during world gen because there is TONS of humans, and no history at all of skeletons in "Legends" Im custom genning a
"large" map with more plains then usual
Logged

sunshaker

  • Bay Watcher
    • View Profile
Re: Trying to make playable skeletons?
« Reply #7 on: January 13, 2010, 08:32:25 pm »

I presume the logic is that because your civ and humans share the same biomes, they'll be competing for them - and as, by default, humans (and by extension, your civ, as you haven't changed this bit of the entity file) have virtually no limit on the number of civs they can start with, if the game decides to read the human entry first during worldgen, it'll just fill up all of the applicable biomes with human cities and leave none for your civ.

In actuality, that won't be the case, because 1. afaik the game rotates between civs during worldgen so none get left out and 2. it should just reject the map if it can't find enough biomes anyway.

Also, remove FREQUENCY:5, LARGE_ROAMING and such from the creature, just in case.

Incorrect.

The problem is this token [ENTITY:PLAINS]. Each Entry in the entity file must have its own special name, humans are [ENTITY:PLAINS] so no one else can be [ENTITY:PLAINS]. So either you remove the humans thus freeing up [ENTITY:PLAINS] to be used by someone else or you make the SKELETONS [ENTITY:PLAINS_2].

Also there may be issues with SKELETONS and children some of the tags are missing which may cause them not to spawn children and thus not survive world gen.
Logged

alphawolf29

  • Bay Watcher
    • View Profile
Re: Trying to make playable skeletons?
« Reply #8 on: January 13, 2010, 08:34:45 pm »

I presume the logic is that because your civ and humans share the same biomes, they'll be competing for them - and as, by default, humans (and by extension, your civ, as you haven't changed this bit of the entity file) have virtually no limit on the number of civs they can start with, if the game decides to read the human entry first during worldgen, it'll just fill up all of the applicable biomes with human cities and leave none for your civ.

In actuality, that won't be the case, because 1. afaik the game rotates between civs during worldgen so none get left out and 2. it should just reject the map if it can't find enough biomes anyway.

Also, remove FREQUENCY:5, LARGE_ROAMING and such from the creature, just in case.

Incorrect.

The problem is this token [ENTITY:PLAINS]. Each Entry in the entity file must have its own special name, humans are [ENTITY:PLAINS] so no one else can be [ENTITY:PLAINS]. So either you remove the humans thus freeing up [ENTITY:PLAINS] to be used by someone else or you make the SKELETONS [ENTITY:PLAINS_2].

Also there may be issues with SKELETONS and children some of the tags are missing which may cause them not to spawn children and thus not survive world gen.

What tag do i need for them to rarely have children, as their lifespans are HUGE ?


edit: Making them Plains_2 did not work, however as an odd side effect goblins are now a playable race...
« Last Edit: January 13, 2010, 08:37:01 pm by alphawolf29 »
Logged

3

  • Bay Watcher
    • View Profile
Re: Trying to make playable skeletons?
« Reply #9 on: January 13, 2010, 08:37:28 pm »

Aha. Apologies, I completely missed that. Overthinking things. Yeah, that'd break things.

The specific child tag(s) that are missing are [CHILD:(number of child years; 12 on the vanilla civs)], and the default civs also have MULTIPLE_LITTER_RARE, which helps stop them swarming during worldgen. The alternative to not having children is to make the creature immortal and set the initial group number to something huge - 500 or 1000 or whatever - and they should survive, even if they get into wars.

There isn't any means of actively controlling the rate that creatures have children at the moment as far as I know - it's just a fact that creatures with longer lifespans will have more children each, unless you take steps to minimise that via LITTERSIZE:x:y and such.
« Last Edit: January 13, 2010, 08:40:41 pm by 3 »
Logged

sunshaker

  • Bay Watcher
    • View Profile
Re: Trying to make playable skeletons?
« Reply #10 on: January 13, 2010, 08:50:13 pm »

Incorrect.

The problem is this token [ENTITY:PLAINS]. Each Entry in the entity file must have its own special name, humans are [ENTITY:PLAINS] so no one else can be [ENTITY:PLAINS]. So either you remove the humans thus freeing up [ENTITY:PLAINS] to be used by someone else or you make the SKELETONS [ENTITY:PLAINS_2].

Also there may be issues with SKELETONS and children some of the tags are missing which may cause them not to spawn children and thus not survive world gen.

What tag do i need for them to rarely have children, as their lifespans are HUGE ?


edit: Making them Plains_2 did not work, however as an odd side effect goblins are now a playable race...

If goblins are not meant to be a playable race then you have a duplication error somewhere in your raws that is causing problems (playable goblins is minor there have been playable hippos using fish silk). Check your errorlog.txt file to see what it says.
Logged

alphawolf29

  • Bay Watcher
    • View Profile
Re: Trying to make playable skeletons?
« Reply #11 on: January 13, 2010, 09:00:58 pm »

Duplicate Object: creaturebody CAT_MOUTH

Thats the only error other then a couple pathfinding errors (which i take to be routine)

Anyway, I just want to get my skeletons on track..
Logged

3

  • Bay Watcher
    • View Profile
Re: Trying to make playable skeletons?
« Reply #12 on: January 13, 2010, 09:05:21 pm »

Assuming you've gotten rid of the duplicate catmouth, try everything that's already been suggested.

By the way, CAN_LEARN is redundant (it's covered by INTELLIGENT) and I still have a sneaking suspicion that the creature biome tags/LARGE_ROAMING/LARGE_PREDATOR/POPULATION_NUMBER/CLUSTER_NUMBER tags might be breaking something. Generating civ creatures as normal ones might lead to something odd.
Logged

alphawolf29

  • Bay Watcher
    • View Profile
Re: Trying to make playable skeletons?
« Reply #13 on: January 13, 2010, 09:15:06 pm »

Removed redundant/non functional tags, added [CHILD:20] tag, still not working. (goblins no longer playable, fixed duplicates)
Logged

sunshaker

  • Bay Watcher
    • View Profile
Re: Trying to make playable skeletons?
« Reply #14 on: January 13, 2010, 09:21:18 pm »

The only thing I can think of is that the game uses skeletons as part of the hardcode and thus might not like your name for your creature. change the name to something else and see what happens.
Logged
Pages: [1] 2