Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Small creature body-part logic double check  (Read 1094 times)

NegativeImage

  • Escaped Lunatic
    • View Profile
Small creature body-part logic double check
« on: July 14, 2014, 11:13:50 pm »

I've just gotten myself into the DF modding scene and decided to make myself a creature of my own to break myself in so to speak. One of my favorite creatures was the batwing in the Genesis mod, and thought, "Hey maybe I can update the raw for it for my own game." After further exploration into the batwing's raw file, I realized that it wasn't really the creature I wanted, and decided to create my own. I've started with just the base raw for a crow and tweaked that with inspiration from the original batwing's file. The main reason I did that is because the genesis batwing has a head, two eyes, and arms. The creature I want to develop has no head, one eye, no arms at all.

I figured it would look something like this and as a side note, please forgive my terrible mock up, I am for sure no artist.
Spoiler (click to show/hide)

And this is the raw file I've created for it.
Code: [Select]
[OBJECT:CREATURE]

[CREATURE:BATWING]
[DESCRIPTION:A curious big creature with leathery wings dwelling in caverns. They hunt small vermin and lay tasty eggs]
[NAME:batwing:batwings:batwing]
[CASTE_NAME:batwing:batwings:batwing]
[GENERAL_CHILD_NAME:batwing hatchling:batwing hatchlings]
[CREATURE_TILE:'v'][COLOR:6:0:0]
[COMMON_DOMESTIC]
[PETVALUE:50][NATURAL][PET]
[BIOME:SUBTERRANEAN_CHASM]
[UNDERGROUND_DEPTH:1:2]
[LARGE_ROAMING][LARGE_PREDATOR][AMBUSHPREDATOR]
[AT_PEACE_WITH_WILDLIFE]
[FREQUENCY:30]
[POPULATION_NUMBER:50:100]
[BENIGN][FLIER]
[CHILD:1]
[HUNTS_VERMIN]
[RETURNS_VERMIN_KILLS_TO_OWNER]
[ADOPTS_OWNER]
[ALL_ACTIVE]
[HOMEOTHERM:10067]
[SWIMS_INNATE]
[MUNDANE]
[APPLY_CREATURE_VARIATION:STANDARD_FLYING_GAITS:900:691:482:251:1900:2900] 35 kph, NO DATA
[APPLY_CREATURE_VARIATION:STANDARD_WALKING_GAITS:9000:8900:8825:8775:9500:9900] 1 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
[APPLY_CREATURE_VARIATION:STANDARD_CLIMBING_GAITS:9000:8900:8825:8775:9500:9900] 1 kph, NO DATA
[STANCE_CLIMBER][NATURAL_SKILL:CLIMBING:15]
[PREFSTRING:leathery wings]
[PREFSTRING:cute faces]
[BODY:BASIC_2PARTBODY:2WINGS:2EARS:BODY_EYE:BODY_EYELID:2LUNGS:HEART:GUTS:ORGANS:BASIC_3PARTLEGS:HUMANOID_JOINTS:SPINE:3TOES:LOWERBODY_MOUTH:GENERIC_TEETH_WITH_FANGS:RIBCAGE]
[BODY_DETAIL_PLAN:WEAK_MATERIALS]
[BODY_DETAIL_PLAN:LEATHERY_EGG_MATERIALS]
[BODY_DETAIL_PLAN:WEAK_TISSUES]
[BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]
[BODY_DETAIL_PLAN:BODY_HAIR_TISSUE_LAYERS:HAIR]
[USE_MATERIAL_TEMPLATE:NAIL:NAIL_TEMPLATE]
[USE_TISSUE_TEMPLATE:NAIL:NAIL_TEMPLATE]
[TISSUE_LAYER:BY_CATEGORY:TOE: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: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:700]
[BODY_SIZE:1:0:4000]
[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:20]
[ATTACK:BITE:BODYPART:BY_CATEGORY:GENERIC_TEETH_WITH_FANGS]
[ATTACK_SKILL:BITE]
[ATTACK_VERB:bite:bites]
[ATTACK_CONTACT_PERC:100]
[ATTACK_PENETRATION_PERC:100]
[ATTACK_FLAG_EDGE]
[ATTACK_PREPARE_AND_RECOVER:2:2]
[ATTACK_PRIORITY:MAIN]
[ATTACK:SCRATCH:CHILD_TISSUE_LAYER_GROUP:BY_TYPE:STANCE:BY_CATEGORY:ALL:NAIL]
[ATTACK_SKILL:STANCE_STRIKE]
[ATTACK_VERB:snatch at:snatches at]
[ATTACK_CONTACT_PERC:100]
[ATTACK_PENETRATION_PERC:100]
[ATTACK_FLAG_EDGE]
[ATTACK_PREPARE_AND_RECOVER:3:3]
[ATTACK_PRIORITY:SECOND]
[ATTACK_FLAG_WITH]
[ATTACK_FLAG_BAD_MULTIATTACK]
[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:650]
[CLUTCH_SIZE:2:6]
[CASTE:MALE]
[MALE]
[SELECT_CASTE:ALL]
[SET_TL_GROUP:BY_CATEGORY:ALL:HAIR]
[TL_COLOR_MODIFIER:BLACK:1:GRAY:1:TAUPE_DARK:1:RUSSET:1]
[TLCM_NOUN:hair:SINGULAR]
[SET_TL_GROUP:BY_CATEGORY:ALL:SKIN]
[TL_COLOR_MODIFIER:CINNAMON:1:DARK_BROWN:1:DARK_TAN:1:ECRU:1:PALE_BROWN:1:RAW_UMBER:1:SEPIA:1:TAN:1:TAUPE_PALE:1:TAUPE_SANDY:1:RUSSET:1:TAUPE_ROSE:1]
[TLCM_NOUN:skin:SINGULAR]
[SET_TL_GROUP:BY_CATEGORY:EYE:EYE]
[TL_COLOR_MODIFIER:BLACK:1]
[TLCM_NOUN:eye:SINGULAR]

I am just trying to figure out if I have put all of the body parts together correctly, and any help that could be provided would be awesome.
And of course please and thank you.

-NegativeImage
Logged

Bloax

  • Bay Watcher
    • View Profile
Re: Small creature body-part logic double check
« Reply #1 on: July 14, 2014, 11:19:38 pm »

Who needs limbs?
Spoiler (click to show/hide)
Logged

oh_no

NegativeImage

  • Escaped Lunatic
    • View Profile
Re: Small creature body-part logic double check
« Reply #2 on: July 14, 2014, 11:32:39 pm »

Who needs limbs?
Spoiler (click to show/hide)

Sweet Jesus that is terrifying.
Logged

NegativeImage

  • Escaped Lunatic
    • View Profile
Re: Small creature body-part logic double check
« Reply #3 on: July 14, 2014, 11:48:58 pm »

As as side note I wanted the bat to be cute, not mind meltingly scary. My art, if you can even call it that, really fails me in this situation.

This is an example from Yu Yu Hakusho that is sort of what I was looking for.
Spoiler (click to show/hide)
Logged

NegativeImage

  • Escaped Lunatic
    • View Profile
Re: Small creature body-part logic double check
« Reply #4 on: July 15, 2014, 01:36:52 am »

Oh god. What have I done...?! Just jumped into the arena just to find out that it cant breathe, and suffocates almost immediately. Hmm, considering I have the 2LUNGS token in my body parameters, shouldn't that inherently allow the creature to breathe? Or does the SMELL token that the nose has within the body part raw have something to do with this? I would hope that the SMELL tag only involves the sense of smell and not the ability to breath all together. I also assumed that it could breath through its mouth with no issues. Am I incorrect in assuming this?

EDIT: I added the NOBREATHE token in order to test other things and it seems it cant stand nor fly, and it cannot attack in any way shape or form. Aside from this creature being an abomination that should be purged with fire, what have I done so poorly? Some aid on this wold be quite invaluable.

EDIT 2: Also the LOWERBODY_MOUTH is just a simple modification that changes the mouth's CONTYPE to the LOWERBODY. Its obvious enough, but I figured I should mention it.

Hopefully the last edit: Just realized how useful the errorlog is. I'm gonna go do some reading to figure this out because its absolutely filled with errors.
« Last Edit: July 15, 2014, 02:25:16 am by NegativeImage »
Logged

TheDorf

  • Bay Watcher
    • View Profile
Re: Small creature body-part logic double check
« Reply #5 on: July 15, 2014, 02:28:44 am »

Take a look at this, I created it just for you. Now, remember that the important thing here is not to have a working batwing creature, but to learn how to mod, so take a good look at it, modify it to fit your tastes and then try creating your own. :)

http://dffd.wimbli.com/file.php?id=8985

Based it on the fleshball creature from vanilla. It has the ability to fly as long as it has atleast one wing, and has a really weak "bump" attack.

Oh, and by the way, if you  remove the line [ATTACK_VELOCITY_MODIFIER:1] and add some punch & dodge skills, you can enjoy watching the batwing bump unarmed, unskilled humans into lumps of gore. Awesome. :)
« Last Edit: July 15, 2014, 02:30:52 am by TheDorf »
Logged
I love this community. Somebody asks "hay guise how do i tame shark", and then everybody is like "why don't we fling sharks at things with complex mechanical devices?".

NegativeImage

  • Escaped Lunatic
    • View Profile
Re: Small creature body-part logic double check
« Reply #6 on: July 15, 2014, 02:54:56 am »

Take a look at this, I created it just for you. Now, remember that the important thing here is not to have a working batwing creature, but to learn how to mod, so take a good look at it, modify it to fit your tastes and then try creating your own. :)

http://dffd.wimbli.com/file.php?id=8985

Based it on the fleshball creature from vanilla. It has the ability to fly as long as it has atleast one wing, and has a really weak "bump" attack.

Oh, and by the way, if you  remove the line [ATTACK_VELOCITY_MODIFIER:1] and add some punch & dodge skills, you can enjoy watching the batwing bump unarmed, unskilled humans into lumps of gore. Awesome. :)

Sounds awesome, I'll look over it.
Thanks a bunch.
Logged

Zale

  • Bay Watcher
    • View Profile
Re: Small creature body-part logic double check
« Reply #7 on: July 15, 2014, 10:57:32 am »

I'm still trying to figure out why they can't breathe.
Logged

IndigoFenix

  • Bay Watcher
  • All things die, but nothing dies forever.
    • View Profile
    • Boundworlds: A Browser-Based Multiverse Creation and Exploration Game
Re: Small creature body-part logic double check
« Reply #8 on: July 15, 2014, 12:44:00 pm »

Did you remember the brain?

NegativeImage

  • Escaped Lunatic
    • View Profile
Re: Small creature body-part logic double check
« Reply #9 on: July 15, 2014, 02:09:58 pm »

Well I with TheDorf's help, I realized that I was using body part tokens in a bit of a strange way that wasn't really conducive with proper character creation so to speak. It really was a flaming mess. For a really specific project like this it is much easier to assign body parts in the manner he did. I also noticed that there were some very serious tissue errors caused by me using the tissues from Genesis that did not actually exist in the base game, along with a slew of other things. This has definitely given me a much better insight into how I can make creatures and all of your feedback has been awesome.

Thanks for all the support guys.
-Negative
Logged