Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 64 65 [66] 67 68 ... 372

Author Topic: [MODDING] CREATURE & ENTITY QUESTIONS THREAD  (Read 686452 times)

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #975 on: January 26, 2015, 01:11:35 am »

no, doing that just causes duped raws.

You may want to check your errorlog.

mineforce

  • Bay Watcher
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #976 on: January 26, 2015, 04:33:02 pm »

I want the male caste to grow short hair, but the female caste to keep their long hair.

Also, how to I use appearance modifiers, they are confusing.
Logged
Who's born in the fortress, die in the fortress

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #977 on: January 26, 2015, 08:28:09 pm »

I want the male caste to grow short hair, but the female caste to keep their long hair.

Also, how to I use appearance modifiers, they are confusing.

That can be done, though it requires changes to both the dwarf creature and the dwarf entity.

Dwarves have these tags in their creature file, which set up how their hair is styled:
Code: [Select]
[SET_TL_GROUP:BY_CATEGORY:HEAD:HAIR]
[TISSUE_STYLE_UNIT:HAIR:STANDARD_HAIR_SHAPINGS]
[TSU_NOUN:hair:SINGULAR]

This designates a style type for their hair. Instead, you want to remove this, and put these underneath the female and male castes:
Code: [Select]
[SET_TL_GROUP:BY_CATEGORY:HEAD:HAIR]
[TISSUE_STYLE_UNIT:FEMALE_HAIR:STANDARD_HAIR_SHAPINGS]
[TSU_NOUN:hair:SINGULAR]

[SET_TL_GROUP:BY_CATEGORY:HEAD:HAIR]
[TISSUE_STYLE_UNIT:MALE_HAIR:STANDARD_HAIR_SHAPINGS]
[TSU_NOUN:hair:SINGULAR]

Now for the entity changes. In the dwarven entity, there are these tags:
Code: [Select]
[TISSUE_STYLE:HAIR]
[TS_PREFERRED_SHAPING:STANDARD_HAIR_SHAPINGS]
[TISSUE_STYLE:SIDEBURNS]
[TS_PREFERRED_SHAPING:STANDARD_SIDEBURNS_SHAPINGS]
[TISSUE_STYLE:MOUSTACHE]
[TS_MAINTAIN_LENGTH:100:NONE]
[TS_PREFERRED_SHAPING:STANDARD_MOUSTACHE_SHAPINGS]
[TISSUE_STYLE:BEARD]
[TS_MAINTAIN_LENGTH:100:NONE]
[TS_PREFERRED_SHAPING:STANDARD_BEARD_SHAPINGS]

These determine the common stylings and lengths that can are used by the civilization. Try adding this to it:
Code: [Select]
[TISSUE_STYLE:FEMALE_HAIR]
[TS_PREFERRED_SHAPING:STANDARD_HAIR_SHAPINGS]
[TS_MAINTAIN_LENGTH:150:NONE]
[TISSUE_STYLE:MALE_HAIR]
[TS_PREFERRED_SHAPING:STANDARD_HAIR_SHAPINGS]
[TS_MAINTAIN_LENGTH:0:150]

Now males should typically wear very short to moderate length hair, and females should wear moderate to extremely long hair.
Logged

Badger Storm

  • Bay Watcher
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #978 on: January 30, 2015, 07:08:19 am »

I think I might have found a replacement for the fairy dragon: the pooka, a fairy horse of Irish legend that enjoys taking people on heart-pounding (yet ultimately harmless) rides through the countryside.

Problem is, in legend, pooka are sapient and able to speak (and, in fact, can be quite chatty?), but I like to make animals that are tameable (two words: aquiloup ranch), and sapience kind of conflicts with that.  Is there a way to give them greater-than-animal intelligence and still make them into tasty, tasty steaks?  Failing that, is there a way to make them tameable and/or trainable for war?
Logged

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #979 on: January 30, 2015, 08:02:29 am »

You should be able to tame intelligent creatures if they have [PET] or [PET_EXOTIC]

To train creatures, they need the [TRAINABLE] [TRAINABLE_WAR] or [TRAINABLE_HUNTING] tags.

Though I'm not quite sure what combinations of [CAN_SPEAK] and [CAN_LEARN] work for slaughtering.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #980 on: January 30, 2015, 01:31:04 pm »

AFAIK CAN_LEARN is what determines "sentience".

Badger Storm

  • Bay Watcher
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #981 on: January 30, 2015, 03:59:08 pm »

Do you guys know much about the raws of the old tigermen?  I want to pull a Caligula and have a horse as the mayor of my settlement.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #982 on: January 31, 2015, 01:18:03 am »

It was literally just [CAN_SPEAK] that caused it.

Max™

  • Bay Watcher
  • [CULL:SQUARE]
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #983 on: January 31, 2015, 07:22:03 am »

Though I'm now reminded of Staalo and his "I'm still finding Dog Bone Doctor teeth everywhere" problem.
Logged

Badger Storm

  • Bay Watcher
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #984 on: January 31, 2015, 09:19:04 am »

Got frustrated, so I deleted everything and I'm going to set it all up from scratch again, checking after every modification.

Also, would it be possible to make, say, a "creature_modded.txt." file with all my modded creations in it, so they don't disturb the existing creature raws?

EDIT: I have determined that it is, in fact, the bison.  I had tentatively added a few other mods, and they worked perfectly.  Added the bison, and the problem returned.  Removed it again and the problem rectified itself.  This is exactly what happened with the fairy dragon, and thusly this is why I fear I won't ever be able to properly add modded creatures into the game again.  Has anyone actually tried to put the bison raws into their game to see what happens?
« Last Edit: January 31, 2015, 10:27:35 am by Badger Storm »
Logged

scamtank

  • Bay Watcher
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #985 on: January 31, 2015, 10:20:53 am »

Of course. Just keep in mind that the game looks for files only in that specific "creature_xyz" name format. "mymod_creatures.txt" wouldn't work at all.

Oh and don't forget the file header. See the first few lines of the vanilla raw files, that one trips up a lot of people.
Logged

Badger Storm

  • Bay Watcher
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #986 on: January 31, 2015, 10:53:30 am »

Even in its own file, with absolutely no other suspect modifications, it still messes up the game.  I honestly don't know what in the definition could be causing it.  I don't know if there's much more that I, personally, can investigate.  I don't even want to work on my pooka creature because I know it'll be the same story.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #987 on: January 31, 2015, 01:37:53 pm »

You're probably naming them something the same as the rest. Add your username or something at the end of every creature you make. Check your errorlog.

Badger Storm

  • Bay Watcher
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #988 on: January 31, 2015, 01:53:22 pm »

Errorlog remains frustratingly empty.  I hypothesized that maybe it came from being under a creature who didn't have any brackets "closing up" their files.  That didn't help the situation, but I did get something about duped raws.  I'll have to take a closer look to see if anything weird is going on with that file, anything out of place.

Code: [Select]
[CREATURE:BISON]
[DESCRIPTION: A huge, powerful bovine with short, curved horns and a humped back.  Great numbers of these beasts traverse the temperate plains.]
[NAME:bison:bison:bison]
[CASTE_NAME:bison:bison:bison]
[CREATURE_TILE:'B'][COLOR:6:0:0]
[BIOME:GRASSLAND_TEMPERATE]
[BIOME:SAVANNA_TEMPERATE]
[BIOME:SHRUBLAND_TEMPERATE]
[POPULATION_NUMBER:15:30][FREQUENCY:25]
[CLUSTER_NUMBER:3:7]
[PETVALUE:500]
[PREFSTRING:strength]
[LARGE_ROAMING]
[BENIGN][MEANDERER][PET_EXOTIC]
[VISION_ARC:50:310]
[STANDARD_GRAZER]
[BODY:QUADRUPED_NECK_HOOF:TAIL:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:THROAT:NECK:SPINE:BRAIN:SKULL:MOUTH:TONGUE:GENERIC_TEETH:RIBCAGE:2HEAD_HORN]
[NATURAL]
[BODY_DETAIL_PLAN:STANDARD_MATERIALS]
[USE_MATERIAL_TEMPLATE:HOOF:HOOF_TEMPLATE]
[USE_MATERIAL_TEMPLATE:HORN:HORN_TEMPLATE]
[SELECT_MATERIAL:HAIR]
[STATE_NAME:ALL_SOLID:fleece]
[STATE_ADJ:ALL_SOLID:fleece]
[YARN]
[BODY_DETAIL_PLAN:STANDARD_TISSUES]
[USE_TISSUE_TEMPLATE:HOOF:HOOF_TEMPLATE]
[USE_TISSUE_TEMPLATE:HORN:HORN_TEMPLATE]
[BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]

[BODY_DETAIL_PLAN:BODY_HAIR_TISSUE_LAYERS:HAIR]
[SELECT_TISSUE_LAYER:HEART:BY_CATEGORY:HEART]
[PLUS_TISSUE_LAYER:SKIN:BY_CATEGORY:THROAT]
[TL_MAJOR_ARTERIES]
[BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS]
[BODY_DETAIL_PLAN:HUMANOID_RIBCAGE_POSITIONS]
[USE_MATERIAL_TEMPLATE:SINEW:SINEW_TEMPLATE]
[TENDONS:LOCAL_CREATURE_MAT:SINEW:200]
[LIGAMENTS:LOCAL_CREATURE_MAT:SINEW:200]
[HAS_NERVES]
[USE_MATERIAL_TEMPLATE:BLOOD:BLOOD_TEMPLATE]
[BLOOD:LOCAL_CREATURE_MAT:BLOOD:LIQUID]
[CREATURE_CLASS:GENERAL_POISON]
[GETS_WOUND_INFECTIONS]
[GETS_INFECTIONS_FROM_ROT]
[USE_MATERIAL_TEMPLATE:PUS:PUS_TEMPLATE]
[PUS:LOCAL_CREATURE_MAT:PUS:LIQUID]
[BODY_SIZE:0:0:70000]
[BODY_SIZE:1:0:350000]
[BODY_SIZE:2:0:900000]
[BODY_APPEARANCE_MODIFIER:LENGTH:90:95:98:100:102:105:110]
[BODY_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110]
[BODY_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110]
[MAXAGE:10:25]
[ATTACK:KICK:BODYPART:BY_CATEGORY:HOOF_FRONT]
[ATTACK_SKILL:STANCE_STRIKE]
[ATTACK_VERB:kick:kicks]
[ATTACK_CONTACT_PERC:100]
[ATTACK_PREPARE_AND_RECOVER:4:4]
[ATTACK_PRIORITY:MAIN]
[ATTACK_FLAG_WITH]
[ATTACK_FLAG_BAD_MULTIATTACK]
[ATTACK:KICK:BODYPART:BY_CATEGORY:HOOF_REAR]
[ATTACK_SKILL:STANCE_STRIKE]
[ATTACK_VERB:kick:kicks]
[ATTACK_CONTACT_PERC:100]
[ATTACK_PREPARE_AND_RECOVER:4:4]
[ATTACK_PRIORITY:MAIN]
[ATTACK_FLAG_WITH]
[ATTACK_FLAG_BAD_MULTIATTACK]
[ATTACK:BITE:CHILD_BODYPART_GROUP:BY_CATEGORY:HEAD:BY_CATEGORY:TOOTH]
[ATTACK_SKILL:BITE]
[ATTACK_VERB:bite:bites]
[ATTACK_CONTACT_PERC:100]
[ATTACK_PENETRATION_PERC:100]
[ATTACK_FLAG_EDGE]
[ATTACK_PREPARE_AND_RECOVER:3:3]
[ATTACK_PRIORITY:SECOND]
[ATTACK_FLAG_CANLATCH]
[ATTACK:HGORE:BODYPART:BY_CATEGORY:HORN]
[ATTACK_SKILL:BITE]
[ATTACK_VERB:gore:gores]
[ATTACK_CONTACT_PERC:100]
[ATTACK_PREPARE_AND_RECOVER:3:3]
[ATTACK_FLAG_WITH]
[ATTACK_PRIORITY:MAIN]
[DIURNAL]
[HOMEOTHERM:10068]
[APPLY_CREATURE_VARIATION:STANDARD_QUADRUPED_GAITS:900:711:521:293:1900:2900] 30 kph, NO DATA
[APPLY_CREATURE_VARIATION:STANDARD_SWIMMING_GAITS:9000:8900:8825:8775:9500:9900] 1 kph, NO DATA
[APPLY_CREATURE_VARIATION:STANDARD_CRAWLING_GAITS:9000:8900:8825:8775:9500:9900] 1 kph, NO DATA
[SWIMS_INNATE]
[MUNDANE]
[CASTE:FEMALE]
[FEMALE]
[MULTIPLE_LITTER_RARE]
[CASTE:MALE]
[MALE]
[SET_BP_GROUP:BY_TYPE:LOWERBODY][BP_ADD_TYPE:GELDABLE]
[SELECT_CASTE:ALL]
[SET_TL_GROUP:BY_CATEGORY:ALL:HAIR]
[TL_COLOR_MODIFIER:BROWN:1]
[TLCM_NOUN:hair:SINGULAR]
[TISSUE_LAYER_APPEARANCE_MODIFIER:LENGTH:0:0:0:0:0:0:0]
[APP_MOD_NOUN:fleece:SINGULAR]
[APP_MOD_RATE:1:DAILY:0:300:0:0:NO_END]
[APP_MOD_DESC_RANGE:10:50:100:150:200:300]
[SHEARABLE_TISSUE_LAYER:LENGTH:300]
[SET_TL_GROUP:BY_CATEGORY:ALL:SKIN]
[TL_COLOR_MODIFIER:BROWN:1:BURNT_UMBER:1:CINNAMON:1:COPPER:1:DARK_BROWN:1:DARK_PEACH:1:DARK_TAN:1:ECRU:1:PALE_BROWN:1:PALE_CHESTNUT:1:PALE_PINK:1:PEACH:1:PINK:1:RAW_UMBER:1:SEPIA:1:TAN:1:TAUPE_PALE:1:TAUPE_SANDY:1]
[TLCM_NOUN:skin:SINGULAR]
[SET_TL_GROUP:BY_CATEGORY:EYE:EYE]
[TL_COLOR_MODIFIER:BLACK:1]
[TLCM_NOUN:eyes:PLURAL]
[SELECT_MATERIAL:ALL]
[MULTIPLY_VALUE:3]

The most upsetting thing is that usually the problem persist even after complete deletion of the offending code, as if it's been "tainted", and I need to copy over new raws.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« Reply #989 on: January 31, 2015, 02:35:31 pm »

Does your text editor keep backups?
Pages: 1 ... 64 65 [66] 67 68 ... 372