Bay 12 Games Forum

Please login or register.

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

Author Topic: My First (done) creature the caccodemon... come test it!  (Read 2305 times)

pisskop

  • Bay Watcher
  • Too old and stubborn to get a new avatar
    • View Profile
My First (done) creature the caccodemon... come test it!
« on: August 01, 2012, 06:58:25 am »

Spoiler (click to show/hide)

Not sure how to define teeth or even maw properly...also the one large eye.  Spent half the night getting the syndrome correct.  I copied 4hornhead from b_detail_plan_default and made it 6hornhead, but I am usure if it stands...
« Last Edit: August 06, 2012, 09:30:35 am by pisskop »
Logged
Pisskop's Reblancing Mod - A C:DDA Mod to make life a little (lot) more brutal!
drealmerz7 - pk was supreme pick for traitor too I think, and because of how it all is and pk is he is just feeding into the trollfucking so well.
PKs DF Mod!

celem

  • Bay Watcher
    • View Profile

Dont know nearly enough about modding creatures to say if this will work or anything....

But you got a typo on the line:
    [CDI:MATERIAL:LOCAL_VREATURE_MAT:BALL_LIGHTNING:FIREBALL_FLOW]
in the discharge interaction

C there :)  Hope you get it to work, I know enough about raws to see that this could be fun to fight.
Logged
Marksdwarf Pillboxes
I wish I had something cool to say about this.  Because it's really cool.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution

Interaction is wrong

And the BALL_LIGHTING materials are done wrong as well

[USE_MATERIAL_TEMPLATE:BALL_LIGHTNING:BALL]

      [CDI:MATERIAL:LOCAL_VREATURE_MAT:BALL_LIGHTNING:FIREBALL_FLOW]

[MATERIAL_TEMPLATE:BALL_LIGHTNING_TEMPLATE]

Posted in order of events, aka going from top to bottom of the creature.

[USE_MATERIAL_TEMPLATE:BALL_LIGHTNING:BALL]

there is no "BALL" template but farther down you have the [MATERIAL_TEMPLATE:BALL_LIGHTNING_TEMPLATE] which is not a CREATURE call, you want this in a "material_template.txt" file

      [CDI:MATERIAL:LOCAL_VREATURE_MAT:BALL_LIGHTNING:FIREBALL_FLOW]

this interaction line is wrong,
when using MATERIAL you cannot say "FIREBALL_FLOW" and the typo that was mentioned

When using MATERIAL this is the emission types you can use:
Code: [Select]
TRAILING_DUST_FLOW  Lets out a cloud of solid dust. Appears to use cave-in dust physics, causing this to fling around anything it comes in contact with, making it capable of smashing creatures into the ground and flinging them over walls. Creature will attack as normal. 
TRAILING_VAPOR_FLOW  Similar to the trailing gas, but easier to breathe in, and condensed, so it will collect on creatures. Creature will attack as normal. 
TRAILING_GAS_FLOW  Shoots a trail of gas substance at the creature. Fairly easy to dodge. Creature will attack as normal. 
SOLID_GLOB  Shoots a solid glob of spinning substance at the creature, leaving symbols similar to broken arrows. Essentially a projectile weapon. Some creatures with this breath attack will not move, preferring instead to stay and shoot globs at you, even when you are literally right next to them. 
LIQUID_GLOB  Shoots a solid glob of spinning substance at the creature. Essentially the same as SOLID_GLOB. May do less damage. 
SPATTER_POWDER   
SPATTER_LIQUID   
UNDIRECTED_GAS  Creature occasionally releases a cloud of substance. Similar to TRAILING_GAS_FLOW, but undirected, thus affecting a larger area but losing the distance. Creature will attack as normal. 
UNDIRECTED_VAPOR  Creature occasionally releases a cloud of substance. Similar to TRAILING_VAPOR_FLOW, but undirected, thus affecting a larger area but losing the distance. Creature will attack as normal. 
UNDIRECTED_DUST  Creature occasionally releases a large cloud of substance, which will spread and dissipate. Similar to TRAILING_DUST_FLOW, but undirected, thus affecting a larger area but losing the distance - range is roughly the same as that of a cave-in. Creature will attack as normal. DO NOT USE THIS TAG UNLESS YOU WANT TO KILL THE CREATURE AND EVERYTHING NEAR IT AND SEND PEOPLE FLYING. You know you want to. 

and for a [CDI:FLOW:]

Code: [Select]
WEB_SPRAY  Emits a burst of webs that entangle target creatures. 
DRAGONFIRE  Emits a wide cone of fire that burns target creatures. 
FIREJET  Emits a narrow cone of fire that burns target creatures. 
FIREBALL  Emits a fireball that burns the target creature. 
Logged

pisskop

  • Bay Watcher
  • Too old and stubborn to get a new avatar
    • View Profile

seem to have fleshed him out, mostly.  Is it possible to make 6 horns?

lord knows I've been trying...
Logged
Pisskop's Reblancing Mod - A C:DDA Mod to make life a little (lot) more brutal!
drealmerz7 - pk was supreme pick for traitor too I think, and because of how it all is and pk is he is just feeding into the trollfucking so well.
PKs DF Mod!

Eric Blank

  • Bay Watcher
  • *Remain calm*
    • View Profile

Your creature definition looks good as far as concept goes, but it's not done and will cause a lot of bugs in-game.

seem to have fleshed him out, mostly.  Is it possible to make 6 horns?

lord knows I've been trying...

It is entirely possible to make a new body definition that creates six individual horns. Since you already did that, you could post the raws for that body part?

Note that the horns call on a material and tissue template not included in STANDARD, so you'll have to add it manually:

Spoiler (click to show/hide)

The [BODY:x] string should never end with a colon. It should be :6HEAD_HORN], not :6HEAD_HORN:]

The default body parts do include a single eye in the center of the head, the tag for it being 1EYE. You can change a bodypart's size in the creature raws, by applying the [RELSIZE:X:Y:#], where X is the command stating whether you're looking to modify an individual body part (It's ID), a type of bodypart (defined by the body part's tags, like SIGHT, GRASP, STANCE, or LIMB(maybe LIMB, I dunno about that)) or a category. The first will modify a single body part by it's ID number, the other two will modify ALL body parts of that type or category on the creature/caste it is applied to. So, for your creature all of the following are valid:

"[RELSIZE:BY_TOKEN:EYE:600]," "[RELSIZE:BY_TYPE:SIGHT:600]," and "[RELSIZE:BY_CATEGORY:EYE:600]."

The highlighted strings correspond to these (also highlighted) lines in the body part's definition in body_default.txt

[BODY:1EYE]
   [BP:EYE:eye:STP][CONTYPE:HEAD][SIGHT][EMBEDDED][SMALL][CATEGORY:EYE]
      [DEFAULT_RELSIZE:10]

Actually, SIGHT might not be a valid token for BY_TYPE...



For less important things, you may want to make the strings for NAME and CLASS_NAME lowercase. Prefstring is also not looking for a tag or token, but inserts whatever string you entered there into a dwarf's description if they have a preference for the creature. So, in-game, dwarves who like your creature will read "...and CACCODEMONS for their DEMONIC_GAZE." Which looks pretty silly. Just change it to "demonic gaze"
« Last Edit: August 01, 2012, 07:13:38 pm by Eric Blank »
Logged
I make Spellcrafts!
I have no idea where anything is. I have no idea what anything does. This is not merely a madhouse designed by a madman, but a madhouse designed by many madmen, each with an intense hatred for the previous madman's unique flavour of madness.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile

Make sure to check your errorlog.

pisskop

  • Bay Watcher
  • Too old and stubborn to get a new avatar
    • View Profile

Thank ya'll for your help.  I got much of it done, but untill I get more experience doing this...

This is now what the errlog says

Spoiler (click to show/hide)

Tissue thickness ate much of my time, and I think I may have a clue on how to go about it... but.

this is what it is like at the moment.  I cannot feel like I overcomplicated it...
Spoiler (click to show/hide)

Editing a game like cIV was cake compared to this.  Of course, I mostly just changed values and copy/pasted...

Noticing that this monster is rather OPed at the moment and doesn't really die.  I saw an alligator munch on him for a few minutes before I got bored, and when he does launch his syndrom atk it seems rather useless.

edit: the combat reports of them taking on an allligator(I left the capital C in Caccodemon on to have them show up first) say they use 'spinning chitin'.  is this their breath attack?

pedit:  before I forget:
      the body parts in body_default:
Spoiler (click to show/hide)
« Last Edit: August 02, 2012, 01:06:37 pm by pisskop »
Logged
Pisskop's Reblancing Mod - A C:DDA Mod to make life a little (lot) more brutal!
drealmerz7 - pk was supreme pick for traitor too I think, and because of how it all is and pk is he is just feeding into the trollfucking so well.
PKs DF Mod!

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile

When it says that BY_TYPE is not a valid VOMIT_BLOOD part, it means that CE_VOMIT_BLOOD doesn't have a part; you don't need to include the body part at all.

You may want to add
to the right horn and
to the left horn.

Eric Blank

  • Bay Watcher
  • *Remain calm*
    • View Profile

When it says that BY_TYPE is not a valid VOMIT_BLOOD part, it means that CE_VOMIT_BLOOD doesn't have a part; you don't need to include the body part at all.

You may want to add
to the right horn and
to the left horn.
To put if in code tags:
Code: [Select]
You may want to add [RIGHT] to the right horn and [LEFT] to the left horn.

Damn forums always eating our lefts and rights :P

That said, it appears that he did, actually, because his text is flipping sides too.
« Last Edit: August 02, 2012, 03:55:43 pm by Eric Blank »
Logged
I make Spellcrafts!
I have no idea where anything is. I have no idea what anything does. This is not merely a madhouse designed by a madman, but a madhouse designed by many madmen, each with an intense hatred for the previous madman's unique flavour of madness.

pisskop

  • Bay Watcher
  • Too old and stubborn to get a new avatar
    • View Profile

GaaH  This thing is just a blinking ball of chitin!  He spits chitin,breathes chitin, bites with chitin, and and his heart is as pliable as chitin!

Wtf!  I cannot get him to layer his body [CHITIN:FAT:MUSCLE:BONE:(possibly)SINEW]  Also, if I put arteries in his bone or sinew would it bled to death a little better?  currently all he can do is suffocate.  I am trying to stick arteries around his heart, guts, and brain...

And the syndrome is only spitting chitin.  While amusing...

At least all his external parts are there...  Ohh, and he will not use the [ATTACK:BITE:CHILD_BODYPART_GROUP:BY_CATEGORY:HEAD:BY_CATEGORY:TOOTH]
command

He mums with his mouth only, if that is different.  (does this use teeth or make any bit of difference(mouth vs. head teeth))?


Spoiler (click to show/hide)
and the errorlog?

Spoiler (click to show/hide)

The mat_template
Spoiler (click to show/hide)

everything else goes swimmingly.  Depending on how easy this is, or how confident I get I was hoping to do a few more...
« Last Edit: August 02, 2012, 03:39:54 pm by pisskop »
Logged
Pisskop's Reblancing Mod - A C:DDA Mod to make life a little (lot) more brutal!
drealmerz7 - pk was supreme pick for traitor too I think, and because of how it all is and pk is he is just feeding into the trollfucking so well.
PKs DF Mod!

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile

All that tissue stuff if the reason for all of it being chitin, "using first tissue instead" specifically.

What you need is, instead of this:

[BODY_DETAIL_PLAN:EXOSKELETON_TISSUE_LAYERS]

This:

[BODY_DETAIL_PLAN:EXOSKELETON_TISSUE_LAYERS:CHITIN:FAT:MUSCLE:BONE:SINEW]

Eric Blank

  • Bay Watcher
  • *Remain calm*
    • View Profile

Ok, I have no idea what you just did there... Let's go back to the previous incarnation, since I had no problems figuring it out and fixed most of the errors no problemo.

I copied the body and creature definitions you posted, put them in new files called body_ and creature_CACCODEMON (it's good modding practice to just make new files rather than add them to vanilla files. Easier to clean up/remember where you put them, and your changes won't interfere with the next game update), and ran my copy of DF with them. This is what I got in the errorlog with no changes.

So, now to break down that errorlog and patch up this thing:
Spoiler: warning: very long (click to show/hide)

So, try that I guess.

Oh, but your 6HEAD_HORN_NUMBERED parts don't have left or right tags, so you could add them, and rename them "first right horn, first left horn" and so on, since a caccodemon's horns aren't arranged in a line down the middle of it's forehead. Nomenclature and good definitions is more so other players know what you're talking about. Making sure these things make sense to the player is important, because your creature description, name, prefstring, and body part nomenclature are all the player will have to go by when trying to figure it out in-game, and if that doesn't make sense, they'll be stumped. Well, I suppose they could google it, but what if you came up with something on-the-spot that doesn't exist normally? Least you could do is give them a good idea of how to start imagining it.


Damnit, putnam ninja'd a fix for part of your current problems...
Logged
I make Spellcrafts!
I have no idea where anything is. I have no idea what anything does. This is not merely a madhouse designed by a madman, but a madhouse designed by many madmen, each with an intense hatred for the previous madman's unique flavour of madness.

pisskop

  • Bay Watcher
  • Too old and stubborn to get a new avatar
    • View Profile

With your help the err log is free!

I ended up taking most of your advice, however the "spinning ball lightning" still has.no real effect and I made a special.caccodemon template.  If one had bone it didn't have chitin...

I am sure I could have simply added chitin to standard lists or bone.to chitin, but I failed so hard.on the rest I think this suffices, least for personal use...  Thank yall

edit:  I will try to and make it generic...
« Last Edit: August 02, 2012, 07:51:31 pm by pisskop »
Logged
Pisskop's Reblancing Mod - A C:DDA Mod to make life a little (lot) more brutal!
drealmerz7 - pk was supreme pick for traitor too I think, and because of how it all is and pk is he is just feeding into the trollfucking so well.
PKs DF Mod!

pisskop

  • Bay Watcher
  • Too old and stubborn to get a new avatar
    • View Profile

This is more or less the finished product, save fortress mode testing.

A quick readme
Spoiler (click to show/hide)

The creature itself
Spoiler (click to show/hide)

The custom body parts I could not do away with:

Code: [Select]
INTO 'body_default'



[BODY:LOWER_FANG_TEETH]
[BP:U_F_TOOTH:upper front tooth:upper front teeth][CONTYPE:HEAD][CATEGORY:MOUTH][NUMBER:9][SOCKET][SMALL]
[DEFAULT_RELSIZE:4]
[INDIVIDUAL_NAME:upper center eye tooth:STP]
[INDIVIDUAL_NAME:upper right incisor:STP]
[INDIVIDUAL_NAME:upper left incisor:STP]
[INDIVIDUAL_NAME:upper right eye tooth:STP]
[INDIVIDUAL_NAME:upper left eye tooth:STP]
[INDIVIDUAL_NAME:first upper right canine:STP]
[INDIVIDUAL_NAME:first upper left canine:STP]
[INDIVIDUAL_NAME:second upper right canine:STP]
[INDIVIDUAL_NAME:second upper left canine:STP]
[BP:L_F_TOOTH:lower front tooth:lower front teeth][CONTYPE:HEAD][CATEGORY:TOOTH][NUMBER:2][SOCKET][SMALL]
[DEFAULT_RELSIZE:9]
[INDIVIDUAL_NAME:lower right incisor:STP]
[INDIVIDUAL_NAME:lower left incisor:STP]
[BP:U_R_B_TOOTH:upper right back tooth:upper right back teeth][CONTYPE:HEAD][CATEGORY:TOOTH][NUMBER:6][SOCKET][SMALL]
[DEFAULT_RELSIZE:6]
[INDIVIDUAL_NAME:first upper back right canine:STP]
[INDIVIDUAL_NAME:second upper back right canine:STP]
[INDIVIDUAL_NAME:third upper right canine:STP]
[INDIVIDUAL_NAME:first upper back right incissor:STP]
[INDIVIDUAL_NAME:second upper back right incisor:STP]
[INDIVIDUAL_NAME:upper right molar:STP]
[BP:L_R_B_TOOTH:lower right back tooth:lower right back teeth][CONTYPE:HEAD][CATEGORY:TOOTH][NUMBER:6][SOCKET][SMALL]
[DEFAULT_RELSIZE:4]
[INDIVIDUAL_NAME:first lower back right incisor:STP]
[INDIVIDUAL_NAME:second lower back rightincisor:STP]
[INDIVIDUAL_NAME:third lower back right incisor:STP]
[INDIVIDUAL_NAME:first lower back right canine:STP]
[INDIVIDUAL_NAME:secend lower back right canine:STP]
[INDIVIDUAL_NAME:secondlower back right Molar:STP]
[BP:U_L_B_TOOTH:upper left back tooth:upper left back teeth][CONTYPE:HEAD][CATEGORY:TOOTH][NUMBER:6][SOCKET][SMALL]
[DEFAULT_RELSIZE:6]
[INDIVIDUAL_NAME:first upper back left canine:STP]
[INDIVIDUAL_NAME:second upper back left canine:STP]
[INDIVIDUAL_NAME:third upper left canine:STP]
[INDIVIDUAL_NAME:first upper back left incissor:STP]
[INDIVIDUAL_NAME:second upper back left incisor:STP]
[INDIVIDUAL_NAME:upper left molar:STP]
[BP:L_L_B_TOOTH:lower left back tooth:lower left back teeth][CONTYPE:HEAD][CATEGORY:TOOTH][NUMBER:6][SOCKET][SMALL]
[DEFAULT_RELSIZE:4]
[INDIVIDUAL_NAME:first lower back left incisor:STP]
[INDIVIDUAL_NAME:second lower back leftincisor:STP]
[INDIVIDUAL_NAME:third lower back left incisor:STP]
[INDIVIDUAL_NAME:first lower back left canine:STP]
[INDIVIDUAL_NAME:secend lower back left canine:STP]
[INDIVIDUAL_NAME:secondlower back left Molar:STP]
[BP:L_R_FANG:right fang:right fangs][CONTYPE:HEAD][CATEGORY:TOOTH][SKELETON]
[DEFAULT_RELSIZE:15]
[BP:L_L_FANG:left fang:left fangs][CONTYPE:HEAD][CONTYPE:HEAD][CATEGORY:TOOTH][SKELETON]
[DEFAULT_RELSIZE:15]

[BODY:6HEAD_HORN_NUMBERED]
[BP:RHORN:first right crown horn:STP][CONTYPE:HEAD][RIGHT][SKELETON][CATEGORY:HORN]
[DEFAULT_RELSIZE:150]
[BP:LHORN:first left crown horn:STP][CONTYPE:HEAD][LEFT][SKELETON][CATEGORY:HORN]
[DEFAULT_RELSIZE:150]
[BP:RHORN:second right crown horn:STP][CONTYPE:HEAD][RIGHT][SKELETON][CATEGORY:HORN]
[DEFAULT_RELSIZE:120]
[BP:RHORN:second left crown horn:STP][CONTYPE:HEAD][LEFT][SKELETON][CATEGORY:HORN]
[DEFAULT_RELSIZE:120]
[BP:RHORN:right temple horn:STP][CONTYPE:HEAD][RIGHT][SKELETON][CATEGORY:HORN]
[DEFAULT_RELSIZE:110]
[BP:RHORN:left temple horn:STP][CONTYPE:HEAD][LEFT][SKELETON][CATEGORY:HORN]
[DEFAULT_RELSIZE:110]

[BODY:2CHIN_HORN]
[BP:RHORN:right chin horn:STP][CONTYPE:HEAD][RIGHT][SKELETON][CATEGORY:HORN]
[DEFAULT_RELSIZE:50]
[BP:LHORN:left chin horn:STP][CONTYPE:HEAD][LEFT][SKELETON][CATEGORY:HORN]
[DEFAULT_RELSIZE:50]

I do like feedback!

edit: the files are here:  http://dffd.wimbli.com/file.php?id=6744
« Last Edit: August 06, 2012, 09:46:20 am by pisskop »
Logged
Pisskop's Reblancing Mod - A C:DDA Mod to make life a little (lot) more brutal!
drealmerz7 - pk was supreme pick for traitor too I think, and because of how it all is and pk is he is just feeding into the trollfucking so well.
PKs DF Mod!

GoombaGeek

  • Bay Watcher
  • Horrors! Crundles in the caverns!
    • View Profile
Re: My First (done) creature the caccodemon... come test it!
« Reply #14 on: August 06, 2012, 09:58:25 am »

Yes, but can you make it bite itself to death?
Logged
My wooden badge was delicious.
Pages: [1] 2