Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Will my new creature work?  (Read 833 times)

ccoolleeiiss

  • Bay Watcher
  • Welcome, goblins, to the seige kill...waiting room
    • View Profile
Will my new creature work?
« on: April 07, 2012, 03:28:23 pm »

I'm very very new to modding and i just modded my new creature. it's a bit rough, but i just want to know if it will work before i start fine tuning it.

Code: [Select]
[CREATURE:GRAGNOX]
[DESCRIPTION:placeholder description]
[NAME:gragnox:gragnoxes:gragnoxian]
[CASTE_NAME:gragnox:gragnoxes:gragnoxian]
[CREATURE_TILE: 'G'][COLOR:2:0:0]
[INTELLIGENT]
[CANOPENDOORS]
[BENIGN]

[ATTACK:PUNCH:BODYPART:BY_TYPE:GRASP]
[ATTACK_SKILL:GRASP_STRIKE]
[ATTACK_VERB:punch:punches]
[ATTACK_CONTACT_PERC:100]
[ATTACK_FLAG_WITH]
[ATTACK_PRIORITY:MAIN]
[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_PRIORITY:SECOND]
[ATTACK_FLAG_CANLATCH]
[ATTACK:PUNCH:BODYPART:BY_TYPE:GRASP]
[ATTACK_SKILL:GRASP_STRIKE]
[ATTACK_VERB:punch:punches]
[ATTACK_CONTACT_PERC:100]
[ATTACK_FLAG_WITH]
[ATTACK_PRIORITY:MAIN]
[ATTACK:KICK:BODYPART:BY_TYPE:STANCE]
[ATTACK_SKILL:STANCE_STRIKE]
[ATTACK_VERB:kick:kicks]
[ATTACK_CONTACT_PERC:100]
[ATTACK_FLAG_WITH]
[ATTACK_PRIORITY:SECOND]
[BABY:1]
[GENERAL_BABY_NAME:gragnor baby:gragnor babies]
[BABYNAME:gragnor baby:gragnor babies]
[CHILD:9]
[GENERAL_CHILD_NAME:gragnor child:gragnor children]
[CHILDNAME:gragnor child:gragnor children]
[EQUIPS]
[CAVE_ADAPT]
[DIURNAL]
[HOMEOTHERM:10067]
[SWIMS_INNATE][SWIM_SPEED:1500]
[MANNERISM_FINGERS:finger:fingers]
[MANNERISM_NOSE:nose]
[MANNERISM_EAR:ear]
[MANNERISM_HEAD:head]
[MANNERISM_EYES:eyes]
[MANNERISM_MOUTH:mouth]
[MANNERISM_KNUCKLES:knuckles]
[MANNERISM_LIPS:lips]
[MANNERISM_CHEEK:cheek]
[MANNERISM_FEET:feet]
[MANNERISM_ARMS:arms]
[MANNERISM_HANDS:hands]
[MANNERISM_TONGUE:tongue]
[MANNERISM_LEG:leg]
[MANNERISM_LAUGH]
[MANNERISM_SMILE]
[MANNERISM_WALK]
[MANNERISM_SIT]
[MANNERISM_BREATH]
[MANNERISM_POSTURE]
[MANNERISM_STRETCH]
[MANNERISM_EYELIDS]
[SPOUSE_CONVERSION_TARGET]
[CASTE:GOLEM]
[MALE]
[CASTE_NAME:Gragnor Golem:Gragnor Golems:Gragnor Golem]
[POP_RATIO:400]
[CASTE:DANCER]
[BODY:TAIL]
[FEMALE]
[CASTE_NAME:Gragnor Dancer:Gragnor Dancers:Gragnor Dancer]
[POP_RATIO:390]
[CASTE:SENTINEL]
[CASTE_NAME:Gragnor Sentinel:Gragnor Sentinels:Gragnor Sentinel]
[POP_RATIO:120]
[CASTE:MAJESTIC_HARBINGER]
[BODY:TAIL]
[CASTE_NAME:Majestic Harbinger:Majestic Harbingers:Majestic Harbinger]
[POP_RATIO:1]
[SELECT_CASTE:GOLEM]
[BODY:SHELL]
[USE_MATERIAL_TEMPLATE:SHELL:SHELL_TEMPLATE]
[USE_TISSUE_TEMPLATE:SHELL:SHELL_TEMPLATE]
[BODY_DETAIL_PLAN:SHELL_POSITIONS]
[BODY:2EYES]
[PHYS_ATT_RANGE:STRENGTH:650:1050:1450:1850:1950:2550:4250]             
[PHYS_ATT_RANGE:AGILITY:130:400:400:6009100:1000:1200]                 
[PHYS_ATT_RANGE:TOUGHNESS:850:1350:1550:1750:1850:1950:3250]             
[MENT_ATT_RANGE:ANALYTICAL_ABILITY:450:950:1150:1250:1350:1550:2250]   
[MENT_ATT_RANGE:FOCUS:700:1200:1400:1500:1600:1800:2500]               
[MENT_ATT_RANGE:CREATIVITY:450:950:1150:1250:1350:1550:2250]           
[MENT_ATT_RANGE:PATIENCE:450:950:1150:1250:1350:1550:2250]             
[MENT_ATT_RANGE:MEMORY:450:950:1150:1250:1350:1550:2250]               
[MENT_ATT_RANGE:SPATIAL_SENSE:700:1200:1400:1500:1600:1800:2500]
[BODY_SIZE:0:0:5000]
[BODY_SIZE:1:168:25000]
[BODY_SIZE:12:0:95000]
[BODY_APPEARANCE_MODIFIER:HEIGHT:175:195:198:1100:1102:1105:1125]
[APP_MOD_IMPORTANCE:500]
[BODY_APPEARANCE_MODIFIER:BROADNESS:95:195:198:1100:1102:1105:1125]
[APP_MOD_IMPORTANCE:500]
[FIREIMMUNE_SUPER]
[SELECT_CASTE:DANCER]
[PHYS_ATT_RANGE:STRENGTH:450:950:1150:1250:1350:1550:2250]             
[PHYS_ATT_RANGE:AGILITY:150:600:800:900:1000:1100:1500]                 
[PHYS_ATT_RANGE:TOUGHNESS:450:950:1150:1250:1350:1550:2250]             
[MENT_ATT_RANGE:ANALYTICAL_ABILITY:450:950:1150:1250:1350:1550:2250]   
[MENT_ATT_RANGE:FOCUS:700:1200:1400:1500:1600:1800:2500]               
[MENT_ATT_RANGE:CREATIVITY:450:950:1150:1250:1350:1550:2250]           
[MENT_ATT_RANGE:PATIENCE:450:950:1150:1250:1350:1550:2250]             
[MENT_ATT_RANGE:MEMORY:450:950:1150:1250:1350:1550:2250]               
[MENT_ATT_RANGE:SPATIAL_SENSE:700:1200:1400:1500:1600:1800:2500] 
[BODY_SIZE:0:0:3000]
[BODY_SIZE:1:168:25000]
[BODY_SIZE:12:0:69000]
[BODY_APPEARANCE_MODIFIER:HEIGHT:375:395:498:600:702:805:925]
[APP_MOD_IMPORTANCE:500]
[BODY_APPEARANCE_MODIFIER:BROADNESS:95:155:158:1100:1002:1005:1000]
[APP_MOD_IMPORTANCE:500]
[SELECT_CASTE:SENTINEL]
[BODY:SHELL]
[USE_MATERIAL_TEMPLATE:SHELL:SHELL_TEMPLATE]
[USE_TISSUE_TEMPLATE:SHELL:SHELL_TEMPLATE]
[BODY_DETAIL_PLAN:SHELL_POSITIONS]
[BODY:5EYES]
[PHYS_ATT_RANGE:STRENGTH:650:1050:1450:1850:1950:2550:4250]             
[PHYS_ATT_RANGE:AGILITY:130:400:400:6009100:1000:1200]                 
[PHYS_ATT_RANGE:TOUGHNESS:850:1350:1550:1750:1850:1950:3250]             
[MENT_ATT_RANGE:ANALYTICAL_ABILITY:450:950:1150:1250:1350:1550:2250]   
[MENT_ATT_RANGE:FOCUS:700:1200:1400:1500:1600:1800:2500]               
[MENT_ATT_RANGE:CREATIVITY:450:950:1150:1250:1350:1550:2250]           
[MENT_ATT_RANGE:PATIENCE:450:950:1150:1250:1350:1550:2250]             
[MENT_ATT_RANGE:MEMORY:450:950:1150:1250:1350:1550:2250]               
[MENT_ATT_RANGE:SPATIAL_SENSE:700:1200:1400:1500:1600:1800:2500]
[BODY_SIZE:0:0:5000]
[BODY_SIZE:1:168:25000]
[BODY_SIZE:12:0:95000]
[BODY_APPEARANCE_MODIFIER:HEIGHT:175:195:198:1100:1102:1105:1125]
[APP_MOD_IMPORTANCE:500]
[BODY_APPEARANCE_MODIFIER:BROADNESS:95:195:198:1100:1102:1105:1125]
[APP_MOD_IMPORTANCE:500]
[FIREIMMUNE_SUPER]
[SELECT_CASTE:MAJESTIC_HARBINGER]
[BODY:2WINGS]
[PHYS_ATT_RANGE:STRENGTH:450:950:1150:1250:1350:1550:2250]             
[PHYS_ATT_RANGE:AGILITY:150:600:800:900:1000:1100:1500]                 
[PHYS_ATT_RANGE:TOUGHNESS:450:950:1150:1250:1350:1550:2250]             
[MENT_ATT_RANGE:ANALYTICAL_ABILITY:450:950:1150:1250:1350:1550:2250]   
[MENT_ATT_RANGE:FOCUS:700:1200:1400:1500:1600:1800:2500]               
[MENT_ATT_RANGE:CREATIVITY:450:950:1150:1250:1350:1550:2250]           
[MENT_ATT_RANGE:PATIENCE:450:950:1150:1250:1350:1550:2250]             
[MENT_ATT_RANGE:MEMORY:450:950:1150:1250:1350:1550:2250]               
[MENT_ATT_RANGE:SPATIAL_SENSE:700:1200:1400:1500:1600:1800:2500] 
[BODY_SIZE:0:0:3000]
[BODY_SIZE:1:168:25000]
[BODY_SIZE:12:0:69000]
[BODY_APPEARANCE_MODIFIER:HEIGHT:375:395:498:600:702:805:925]
[APP_MOD_IMPORTANCE:500]
[BODY_APPEARANCE_MODIFIER:BROADNESS:95:155:158:1100:1002:1005:1000]
[APP_MOD_IMPORTANCE:500]
[FLIER]
[NOEMOTION]
[NOEXERT]
[NONAUSEA]
[PARALYZEIMMUNE]
[POWER]
[SELECT_CASTE:ALL]
[BODY:HUMANOID:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:THROAT:NECK:SPINE:BRAIN:SKULL:5FINGERS:5TOES:MOUTH:TONGUE:FACIAL_FEATURES:TEETH:RIBCAGE]
[BODY_DETAIL_PLAN:STANDARD_MATERIALS]
[BODY_DETAIL_PLAN:STANDARD_TISSUES]
[BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]
[USE_MATERIAL_TEMPLATE:NAIL:NAIL_TEMPLATE]
[USE_TISSUE_TEMPLATE:NAIL:NAIL_TEMPLATE]
[TISSUE_LAYER:BY_CATEGORY:FINGER:NAIL:FRONT]
[TISSUE_LAYER:BY_CATEGORY:TOE:NAIL:FRONT]
[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]
[RELSIZE:BY_CATEGORY:LIVER:150]
[USE_MATERIAL_TEMPLATE:SINEW:SINEW_TEMPLATE]
[TENDONS:LOCAL_CREATURE_MAT:SINEW:80]
[LIGAMENTS:LOCAL_CREATURE_MAT:SINEW:80]
[HAS_NERVES]
[ATTACK:PUNCH:BODYPART:BY_TYPE:GRASP]
[ATTACK_SKILL:GRASP_STRIKE]
[ATTACK_VERB:punch:punches]
[ATTACK_CONTACT_PERC:100]
[ATTACK_FLAG_WITH]
[ATTACK_PRIORITY:MAIN]
[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_PRIORITY:SECOND]
[ATTACK_FLAG_CANLATCH]
[GETS_WOUND_INFECTIONS]
[GETS_INFECTIONS_FROM_ROT]
[USE_MATERIAL_TEMPLATE:PUS:PUS_TEMPLATE]
[PUS:LOCAL_CREATURE_MAT:PUS:LIQUID]

i know the golem and sentinel are almost exactly the same. i will make them a bit more unique later. Are there any problems with it and if so what are your suggestions? thank you!
Logged
And then did ARMOK say, the east is the holiest of directions, and thou shouldst not stand there lest thou be strucketh down by my holiest of beards. And then did the dorfs did say, we shall build from the west, for more do we fear the beard of ARMOK than the strike of the elephant.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Will my new creature work?
« Reply #1 on: April 07, 2012, 03:39:07 pm »

1. Move the attacks to below the body, otherwise you'll get errors about "not having BP in any caste"

2. All body tokens that are added on top need to go above the original body, not below. Instead of doing the above, put the body near the top of the file. You'll also have to add the body_detail_plan tokens after every new body part.

ccoolleeiiss

  • Bay Watcher
  • Welcome, goblins, to the seige kill...waiting room
    • View Profile
Re: Will my new creature work?
« Reply #2 on: April 07, 2012, 03:41:47 pm »

just noticed i repeated some attacks. that was some copy and pastes mistakes and i fixed them
Logged
And then did ARMOK say, the east is the holiest of directions, and thou shouldst not stand there lest thou be strucketh down by my holiest of beards. And then did the dorfs did say, we shall build from the west, for more do we fear the beard of ARMOK than the strike of the elephant.

ccoolleeiiss

  • Bay Watcher
  • Welcome, goblins, to the seige kill...waiting room
    • View Profile
Re: Will my new creature work?
« Reply #3 on: April 07, 2012, 04:06:01 pm »

1. Move the attacks to below the body, otherwise you'll get errors about "not having BP in any caste"

2. All body tokens that are added on top need to go above the original body, not below. Instead of doing the above, put the body near the top of the file. You'll also have to add the body_detail_plan tokens after every new body part.

Thank you very, very, very much. it is now working (as far as a could tell) and now i'll start with their entity, which i think i have the hang of. i'll also finetune these guys to perfection. thank you.
Logged
And then did ARMOK say, the east is the holiest of directions, and thou shouldst not stand there lest thou be strucketh down by my holiest of beards. And then did the dorfs did say, we shall build from the west, for more do we fear the beard of ARMOK than the strike of the elephant.

zach123b

  • Bay Watcher
    • View Profile
Re: Will my new creature work?
« Reply #4 on: April 07, 2012, 04:50:12 pm »

in the folder you keep the dwarf fortress execute file you'll find an errorlog.txt file, in there you'll find what the game doesn't like/can't understand
if you can't find it there when you start up dwarf fortress then there's nothing wrong or you're not looking hard enough :P

it took me awhile until i found it.  it updates/makes a new file each time it has an error when it loads a game or arena mode, as far as i can tell
Logged
"IT'S WORLDGEN TIME!"
"No, Meph, No!"