Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: (Modding) Crundle man  (Read 2262 times)

polon89

  • Bay Watcher
    • View Profile
(Modding) Crundle man
« on: March 22, 2014, 05:33:39 pm »

I have been obsessed with making a man kind creature with the crundle but i only had a dwarf fortress crashed, but the problem is that the game doesn t find the tokens could someone help me in this. (I am a newbie modder)

[OBJECT:CREATURE]

[CREATURE:CRUNDLE_MAN] [DESCRIPTION:A medium-sized underground creature with the crimson skin,black eyes and his large horns.] [APPLY_CREATURE_VARIATION:ANIMAL_PERSON] [APPLY_CURRENT_CREATURE_VARIATION] [GO_TO_END] [SELECT_CASTE:MALE] [CASTE_NAME:Crundle man:Crundle men:Crundle man] [SELECT_CASTE:FEMALE] [CASTE_NAME:Crundle woman:Crundle women:Crundle woman] [SELECT_CASTE:ALL] [APPLY_CREATURE_VARIATION:PUNCH_ATTACK] [APPLY_CREATURE_VARIATION:KICK_ATTACK] [APPLY_CREATURE_VARIATION:NAIL_SCRATCH_ATTACK] [APPLY_CREATURE_VARIATION:TOOTH_BITE_ATTACK] [APPLY_CURRENT_CREATURE_VARIATION] [GO_TO_START] [NAME:crundle man:crundle men:crundle man] [CREATURE_TILE:'?'][COLOR:4:0:0] [CANOPENDOORS] [INTELLIGENT] [BONECARN] [LIKES_FIGHTING] [PREFSTRING:loyalty] [PREFSTRING:nervous energy] [BODY:HUMANOID:TAIL:2EYES:NOSE:2LUNGS:2HEART:GUTS:ORGANS:HUMANOID_JOINTS:THROAT:NECK:SPINE:BRAIN:SKULL:5FINGERS:6TOES:MOUTH:TONGUE:2HEAD_HORN] [BODY_DETAIL_PLAN:STANDARD_MATERIALS] [REMOVE_MATERIAL:HAIR] [REMOVE_MATERIAL:SKIN] [REMOVE_MATERIAL:LEATHER] [USE_MATERIAL_TEMPLATE:SCALE:SCALE_TEMPLATE] [USE_MATERIAL_TEMPLATE:HORN:HORN_TEMPLATE] [USE_MATERIAL_TEMPLATE:IVORY:TOOTH_TEMPLATE] [STATE_NAME:ALL_SOLID:ivory] [STATE_ADJ:ALL_SOLID:ivory] [BODY_DETAIL_PLAN:STANDARD_TISSUES] [REMOVE_TISSUE:HAIR] [REMOVE_TISSUE:SKIN] [USE_TISSUE_TEMPLATE:SCALE:SCALE_TEMPLATE] [USE_TISSUE_TEMPLATE:HORN:HORN_TEMPLATE] [USE_TISSUE_TEMPLATE:IVORY:IVORY_TEMPLATE] [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SCALE:FAT:MUSCLE:BONE:CARTILAGE] [USE_MATERIAL_TEMPLATE:CLAW:NAIL_TEMPLATE] [USE_TISSUE_TEMPLATE:CLAW:CLAW_TEMPLATE] [TISSUE_LAYER:BY_CATEGORY:FINGER:CLAW:FRONT] [TL_RELATIVE_THICKNESS:10] [TISSUE_LAYER:BY_CATEGORY:TOE:CLAW:FRONT] [BODY_DETAIL_PLAN:LEATHERY_EGG_MATERIALS] [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_HEAD_POSITIONS] [BODY_DETAIL_PLAN:HUMANOID_RIBCAGE_POSITIONS] [BODY_DETAIL_PLAN:HUMANOID_RELSIZES] [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:2500] [BODY_SIZE:1:168:3000] [BODY_SIZE:2:0:35000] [BODY_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110:130] [BODY_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110:130] [MAXAGE:60:110] [ATTACK:SCRATCH:CHILD_TISSUE_LAYER_GROUP:BY_TYPE:GRASP:BY_CATEGORY:FINGER:CLAW] [ATTACK_SKILL:GRASP_STRIKE] [ATTACK_VERB:scratch:scratches] [ATTACK_CONTACT_PERC:110] [ATTACK_PENETRATION_PERC:150] [ATTACK_FLAG_EDGE] [ATTACK_PRIORITY:MAIN] [ATTACK:PUNCH:BODYPART:BY_TYPE:GRASP] [ATTACK_SKILL:GRASP_STRIKE] [ATTACK_VERB:punch:punches] [ATTACK_CONTACT_PERC:100] [ATTACK_FLAG_WITH] [ATTACK_PRIORITY:SECOND] [ATTACK:KICK:BODYPART:BY_TYPE:STANCE] [ATTACK_SKILL:STANCE_STRIKE] [ATTACK_VERB:kick:kicks] [ATTACK_CONTACT_PERC:100] [ATTACK_FLAG_WITH] [ATTACK_PRIORITY:SECOND] [ATTACK:BITE:BODYPART:BY_CATEGORY:MOUTH] [ATTACK_SKILL:BITE] [ATTACK_VERB:bite:bites] [ATTACK_CONTACT_PERC:100] [ATTACK_PRIORITY:MAIN] [ATTACK_FLAG_CANLATCH] [CHILD:9] [BABY:1] [DIURNAL] [SWIMS_INNATE][SWIM_SPEED:2500] [CASTE:FEMALE] [FEMALE] [LAYS_EGGS] [EGG_MATERIAL:LOCAL_CREATURE_MAT:EGGSHELL:SOLID] [EGG_MATERIAL:LOCAL_CREATURE_MAT:EGG_WHITE:LIQUID] [EGG_MATERIAL:LOCAL_CREATURE_MAT:EGG_YOLK:LIQUID] [EGG_SIZE:100] [CLUTCH_SIZE:5:20] [CASTE:MALE] [MALE]
Logged
Always in the philosophical search of answers.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: (Modding) Crundle man
« Reply #1 on: March 22, 2014, 08:41:51 pm »

See the wall of text makes this a bit hard to assist with, fortunately I understand that you wish to just make a simple "man" version of a crundle. So just ripping a vanilla conversion I will attempt to contruct what you need:

Code: [Select]
[CREATURE:CRUNDLE_MAN]
[COPY_TAGS_FROM:CRUNDLE]
[APPLY_CREATURE_VARIATION:ANIMAL_PERSON]
[APPLY_CURRENT_CREATURE_VARIATION]
[GO_TO_END]
[SELECT_CASTE:MALE]
[CASTE_NAME:crundle man:crundle men:crundle man]
[SELECT_CASTE:FEMALE]
[CASTE_NAME:crundle woman:crundle women:crundle woman]
[SELECT_CASTE:ALL]
[APPLY_CREATURE_VARIATION:PUNCH_ATTACK]
[APPLY_CREATURE_VARIATION:KICK_ATTACK]
[APPLY_CREATURE_VARIATION:NAIL_SCRATCH_ATTACK]
[APPLY_CREATURE_VARIATION:TOOTH_BITE_ATTACK]
[APPLY_CURRENT_CREATURE_VARIATION]
[GO_TO_START]
[NAME:crundle man:crundle men:crundle man]
[DESCRIPTION:A crundle that was twisted into a person.]
[POPULATION_NUMBER:300:500]
[CLUSTER_NUMBER:10:25]
[MAXAGE:60:80]
[CREATURE_TILE:'C']
[COLOR:4:0:0]
[GO_TO_TAG:USE_TISSUE_TEMPLATE:NAIL:NAIL_TEMPLATE]
[TISSUE_LAYER:BY_CATEGORY:FINGER:NAIL:FRONT]

Now I think crundles have scales so im not sure how this will turn out.
Logged

polon89

  • Bay Watcher
    • View Profile
Re: (Modding) Crundle man
« Reply #2 on: March 25, 2014, 06:49:17 pm »

@Hugo_The_Dwarf
Actually it work out almost perfectly, but the error log fills with errors about nail template, also i would like to add a graphic to the crundle man. :(
This is the error log if it useful.

*** Error(s) found in the file "raw/objects/creature_next_underground.txt"
CRUNDLE_MAN:GO_TO_TAG could not find target, setting to end: USE_TISSUE_TEMPLATE:NAIL:NAIL_TEMPLATE
CRUNDLE_MAN:FEMALE:Attack SCRATCH seems to have correct format but could not find proper BPs in any caste, so not added
CRUNDLE_MAN:MALE:Attack SCRATCH seems to have correct format but could not find proper BPs in any caste, so not added
CRUNDLE_MAN:FEMALE:Attack BITE seems to have correct format but could not find proper BPs in any caste, so not added
CRUNDLE_MAN:MALE:Attack BITE seems to have correct format but could not find proper BPs in any caste, so not added
*** Error(s) finalizing the creature CRUNDLE_MAN
CRUNDLE_MAN:FEMALE:thumb, right hand, layer 1: Tissue NAIL was not found, using first tissue instead
CRUNDLE_MAN:FEMALE:thumb, left hand, layer 1: Tissue NAIL was not found, using first tissue instead
CRUNDLE_MAN:FEMALE:first finger, right hand, layer 1: Tissue NAIL was not found, using first tissue instead
CRUNDLE_MAN:FEMALE:first finger, left hand, layer 1: Tissue NAIL was not found, using first tissue instead
CRUNDLE_MAN:FEMALE:second finger, right hand, layer 1: Tissue NAIL was not found, using first tissue instead
CRUNDLE_MAN:FEMALE:second finger, left hand, layer 1: Tissue NAIL was not found, using first tissue instead
CRUNDLE_MAN:FEMALE:third finger, right hand, layer 1: Tissue NAIL was not found, using first tissue instead
CRUNDLE_MAN:FEMALE:third finger, left hand, layer 1: Tissue NAIL was not found, using first tissue instead
CRUNDLE_MAN:MALE:thumb, right hand, layer 1: Tissue NAIL was not found, using first tissue instead
CRUNDLE_MAN:MALE:thumb, left hand, layer 1: Tissue NAIL was not found, using first tissue instead
CRUNDLE_MAN:MALE:first finger, right hand, layer 1: Tissue NAIL was not found, using first tissue instead
CRUNDLE_MAN:MALE:first finger, left hand, layer 1: Tissue NAIL was not found, using first tissue instead
CRUNDLE_MAN:MALE:second finger, right hand, layer 1: Tissue NAIL was not found, using first tissue instead
CRUNDLE_MAN:MALE:second finger, left hand, layer 1: Tissue NAIL was not found, using first tissue instead
CRUNDLE_MAN:MALE:third finger, right hand, layer 1: Tissue NAIL was not found, using first tissue instead
CRUNDLE_MAN:MALE:third finger, left hand, layer 1: Tissue NAIL was not found, using first tissue instead
« Last Edit: March 25, 2014, 07:11:30 pm by polon89 »
Logged
Always in the philosophical search of answers.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: (Modding) Crundle man
« Reply #3 on: March 25, 2014, 08:00:58 pm »

may be as easy as changing these lines:
Code: [Select]
[GO_TO_TAG:USE_TISSUE_TEMPLATE:NAIL:NAIL_TEMPLATE]
[TISSUE_LAYER:BY_CATEGORY:FINGER:NAIL:FRONT]

to:

Code: [Select]
[GO_TO_TAG:USE_TISSUE_TEMPLATE:CLAW:CLAW_TEMPLATE]
[TISSUE_LAYER:BY_CATEGORY:FINGER:CLAW:FRONT]

Did a quick check and Crundles don't have nails they have claws, so the untested version I gave you pretty much was looking for a tag that never existed "oops"
so that I hope fixes it.

as for a graphic look in "raw/graphics" and if you have a graphics pack look for a text file that deals with underground creatures and search CRUNDLE it is then as easy as copy, paste, and rename to CRUNDLE_MAN if you want a custom sprite for a crundle man (instead of what the pack uses for the animal version) you will have to make it yourself. Have a gander at how things are done and wiki it. You should have a blast making it.
Logged