Bay 12 Games Forum

Please login or register.

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

Author Topic: Minor Mod Dump!  (Read 2622 times)

Crazy Cow

  • Bay Watcher
  • Legendary Procrastinator
    • View Profile
Minor Mod Dump!
« on: June 09, 2011, 03:00:01 pm »

Modders (and copy-pasters) of Dwarf Fortress, this is the minor modification dump for Dwarf Fortress. It was inspired by a similar thread in the Cortex Command forums (another game with extensive modding), and I thought that Dwarf Fortress players and modders would benefit from such a thing as well.

The general idea is that if you have a mod, regardless of quality, size or usefulness, that you believe others would like but is too small for its own thread, you put it here. If you have a cool creature you just made, put it here. An awesome weapon? Invulnerable armor? Fireworks? Stone that turns your dorfs into spiders? Put it here! The only "rule" is just a request to specify what version of DF you intend your mod to work with.

The thread can be thought of as a sort of semi-serious S.L.A.D.E. mod (http://www.bay12forums.com/smf/index.php?topic=67002.0).
I might even create a list if I can be bothered enough. Have at it!

Crazy Cow

  • Bay Watcher
  • Legendary Procrastinator
    • View Profile
Re: Minor Mod Dump!
« Reply #1 on: June 09, 2011, 03:02:07 pm »

As for my own contribution, I made a creature to combat the mineral scarcity in the latest versions. This is the Thrull, and can be butchered for armor and weapons roughly equal to iron. They are, of course, domestic.
Code: [Select]
creature_thrull

[OBJECT:CREATURE]

[CREATURE:THRULL_CCMOD]
[DESCRIPTION:An unnatural humanoid creature. It is completly useless except for certain powerful bones, with several species sporting different types. These bone peices can be worn as unpleasant, but decent armor.]
[NAME:thrull:thrulls:thrull]
[CASTE_NAME:thrull:thrulls:thrull]
[CHILD:1][MULTIPLE_LITTER_RARE]
[CREATURE_TILE:'t'][COLOR:6:0:0]
[LARGE_ROAMING][NATURAL]
[PET][COMMON_DOMESTIC]
[PREFSTRING:usefulness]
[BODY:HUMANOID:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:THROAT:NECK:SPINE:BRAIN:SKULL:5FINGERS:5TOES:MOUTH: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]
[BODY_DETAIL_PLAN:BODY_HAIR_TISSUE_LAYERS:HAIR]
[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:FACIAL_HAIR_TISSUES]
[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:6000]
[BODY_SIZE:1:168:30000]
[BODY_SIZE:12:0:60000]
[MAXAGE:10:15]
[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]
[ATTACK:SCRATCH:CHILD_TISSUE_LAYER_GROUP:BY_TYPE:GRASP:BY_CATEGORY:FINGER:NAIL]
[ATTACK_SKILL:GRASP_STRIKE]
[ATTACK_VERB:scratch:scratches]
[ATTACK_CONTACT_PERC:100]
[ATTACK_PENETRATION_PERC:100]
[ATTACK_FLAG_EDGE]
[ATTACK_PRIORITY:SECOND]
[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]
[CANOPENDOORS]
[DIURNAL]
[HOMEOTHERM:10067]
[SWIMS_INNATE][SWIM_SPEED:2500]

[CASTE:FEMALE_CHEST]
[FEMALE]
[MULTIPLE_LITTER_RARE]
[CASTE_NAME:armor thrull:armored thrulls:armor thrull]
[ITEMCORPSE:ARMOR:ITEM_ARMOR_BREASTPLATE_THRULL:INORGANIC:THRULL_MAT]
[CASTE:MALE_CHEST]
[MALE]
[CASTE_NAME:armor thrull:armored thrulls:armor thrull]
[ITEMCORPSE:ARMOR:ITEM_ARMOR_BREASTPLATE_THRULL:INORGANIC:THRULL_MAT]
[CASTE:FEMALE_LEGS]
[FEMALE]
[MULTIPLE_LITTER_RARE]
[CASTE_NAME:armor thrull:armored thrulls:armor thrull]
[ITEMCORPSE:PANTS:ITEM_PANTS_LEGGINGS_THRALL:INORGANIC:THRULL_MAT]
[CASTE:MALE_LEGS]
[MALE]
[CASTE_NAME:armor thrull:armored thrulls:armor thrull]
[ITEMCORPSE:PANTS:ITEM_PANTS_LEGGINGS_THRALL:INORGANIC:THRULL_MAT]
[CASTE:FEMALE_GLOVES]
[FEMALE]
[MULTIPLE_LITTER_RARE]
[CASTE_NAME:claw thrull:clawed thrulls:claw thrull]
[ITEMCORPSE:GLOVES:ITEM_GLOVES_GAUNTLETS_THRULL:INORGANIC:THRULL_MAT]
[CASTE:MALE_GLOVES]
[MALE]
[CASTE_NAME:claw thrull:clawed thrulls:claw thrull]
[ITEMCORPSE:GLOVES:ITEM_GLOVES_GAUNTLETS_THRULL:INORGANIC:THRULL_MAT]
[CASTE:FEMALE_BOOT]
[FEMALE]
[MULTIPLE_LITTER_RARE]
[CASTE_NAME:claw thrull:clawed thrulls:claw thrull]
[ITEMCORPSE:SHOES:ITEM_SHOES_BOOTS_THRULL:INORGANIC:THRULL_MAT]
[CASTE:MALE_BOOT]
[MALE]
[CASTE_NAME:claw thrull:clawed thrulls:claw thrull]
[ITEMCORPSE:SHOES:ITEM_SHOES_BOOTS_THRULL:INORGANIC:THRULL_MAT]
[CASTE:FEMALE_HAT]
[FEMALE]
[MULTIPLE_LITTER_RARE]
[CASTE_NAME:skull thrull:skull thrulls:skull thrull]
[ITEMCORPSE:HELM:ITEM_HELM_HELM_THRULL:INORGANIC:THRULL_MAT]
[CASTE:MALE_HAT]
[MALE]
[CASTE_NAME:skull thrull:skull thrulls:skull thrull]
[ITEMCORPSE:HELM:ITEM_HELM_HELM_THRULL:INORGANIC:THRULL_MAT]

[SET_TL_GROUP:BY_CATEGORY:ALL:SKIN]
[TL_COLOR_MODIFIER:GREY:1]
[TLCM_NOUN:skin:SINGULAR]
[SET_TL_GROUP:BY_CATEGORY:EYE:EYE]
[TL_COLOR_MODIFIER:IRIS_EYE_PALE_PINK:1]
[TLCM_NOUN:eyes:PLURAL]
Code: [Select]
inorganic_thrull

[OBJECT:INORGANIC]

[INORGANIC:THRULL_MAT]
[USE_MATERIAL_TEMPLATE:METAL_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:thrull bone]
[STATE_NAME_ADJ:LIQUID:molten thrull bone]
[STATE_NAME_ADJ:GAS:boiling thrull bone]
[DISPLAY_COLOR:7:0:0]
[MATERIAL_VALUE:10]
[SPEC_HEAT:450]
[MELTING_POINT:12768]
[BOILING_POINT:15150]
[SOLID_DENSITY:7850]
[LIQUID_DENSITY:6980]
[MOLAR_MASS:55845]
[IMPACT_YIELD:542500]
[IMPACT_FRACTURE:1085000]
[IMPACT_STRAIN_AT_YIELD:319]
[COMPRESSIVE_YIELD:542500]
[COMPRESSIVE_FRACTURE:1085000]
[COMPRESSIVE_STRAIN_AT_YIELD:319]
[TENSILE_YIELD:155000]
[TENSILE_FRACTURE:310000]
[TENSILE_STRAIN_AT_YIELD:73]
[TORSION_YIELD:155000]
[TORSION_FRACTURE:310000]
[TORSION_STRAIN_AT_YIELD:189]
[SHEAR_YIELD:155000]
[SHEAR_FRACTURE:310000]
[SHEAR_STRAIN_AT_YIELD:189]
[BENDING_YIELD:155000]
[BENDING_FRACTURE:310000]
[BENDING_STRAIN_AT_YIELD:73]
[MAX_EDGE:10000]
Code: [Select]
item_thrull

[OBJECT:ITEM]

[ITEM_ARMOR:ITEM_ARMOR_BREASTPLATE_THRULL]
[NAME:ribcage:ribcages]
[ARMORLEVEL:3]
[UBSTEP:0]
[LBSTEP:0]
[SHAPED]
[LAYER:ARMOR]
[COVERAGE:100]
[LAYER_SIZE:20]
[LAYER_PERMIT:50]
[MATERIAL_SIZE:9]
[HARD]
[METAL]

[ITEM_GLOVES:ITEM_GLOVES_GAUNTLETS_THRULL]
[NAME:hand claws:hand claws]
[ARMORLEVEL:2]
[UPSTEP:1]
[SHAPED]
[LAYER:ARMOR]
[COVERAGE:100]
[LAYER_SIZE:20]
[LAYER_PERMIT:15]
[MATERIAL_SIZE:2]
[SCALED]
[BARRED]
[METAL]
[HARD]

[ITEM_HELM:ITEM_HELM_HELM_THRULL]
[NAME:skull:skulls]
[ARMORLEVEL:1]
[METAL_ARMOR_LEVELS]
[SHAPED]
[LAYER:ARMOR]
[COVERAGE:100]
[LAYER_SIZE:30]
[LAYER_PERMIT:20]
[MATERIAL_SIZE:2]
[HARD]
[METAL]

[ITEM_PANTS:ITEM_PANTS_LEGGINGS_THRALL]
[NAME:legs:legs] -a set of thrull leg bones worn like greaves
[CHAIN_METAL_TEXT]
[ARMORLEVEL:1]
[METAL_ARMOR_LEVELS]
[LBSTEP:MAX]
[SHAPED]
[LAYER:ARMOR]
[COVERAGE:100]
[LAYER_SIZE:15]
[LAYER_PERMIT:30]
[MATERIAL_SIZE:5]
[SCALED]
[METAL]
[STRUCTURAL_ELASTICITY_CHAIN_METAL]

[ITEM_SHOES:ITEM_SHOES_BOOTS_THRULL]
[NAME:foot claws:foot claws]
[ARMORLEVEL:1]
[UPSTEP:1]
[METAL_ARMOR_LEVELS]
[LAYER:OVER]
[COVERAGE:100]
[LAYER_SIZE:25]
[LAYER_PERMIT:15]
[MATERIAL_SIZE:2]
[METAL]
[LEATHER]
[HARD]

They come in five different castes. The Armor Thrulls drop either breastplates or leggings, Claw Thrulls drop either gauntlets or boots, and Skull Thrulls drop helmets. They are made with .25, though they will probably work with older versions, as they use none of the new tags.

Aramco

  • Bay Watcher
    • View Profile
Re: Minor Mod Dump!
« Reply #2 on: June 09, 2011, 10:19:08 pm »

I made a living tree. It's basically exactly the same (It is literally exactly the same) as a normal tree, except that it must be killed, rather than designated.

There was something I wanted to add that I needed this to test it, but, alas, what it was eludes me.

Spoiler: The raw files (click to show/hide)
Logged
Or maybe there's a god who's just completely insane and sends you to Detroit, Michigan in a new body if you ever utter the name "Pat Sajak".

Nikov

  • Bay Watcher
  • Riverend's Flame-beater of Earth-Wounders
    • View Profile
Re: Minor Mod Dump!
« Reply #3 on: June 10, 2011, 12:58:26 am »


Logged
I should probably have my head checked, because I find myself in complete agreement with Nikov.

Jacob/Lee

  • Bay Watcher
    • View Profile
Re: Minor Mod Dump!
« Reply #4 on: June 10, 2011, 01:26:32 am »

Can somebody post the raws of the dwarves so they heals things like nerves, please? You know, all those things that normally don't heal which is absolute bullshit.

Interus

  • Bay Watcher
    • View Profile
Re: Minor Mod Dump!
« Reply #5 on: June 10, 2011, 05:10:46 pm »

Can somebody post the raws of the dwarves so they heals things like nerves, please? You know, all those things that normally don't heal which is absolute bullshit.

I could, but I think I added claws to my default one, I don't know if they're there normally or not, and I remember having issues with them.  To do it yourself(and I like the idea of people learning to mod), you need to open up tissue_template_default.txt and add [HEALING_RATE:100] to whatever you feel needs improvement.  Nerves and brains seem like the big ones, but you might want to improve nails too, just so they don't stay permanently broken.  100 is the healing rate of skin and most organs, but bones heal at 1000, and I'm not sure where you want this to fall at anyway.  Lower is faster. I'd personally stick them at 1000 or higher, so that they take even longer to heal than broken bones, but I don't know how quickly nerves heal.    This way though, you have control over it.

Horns, hooves, cartilage, all hair(including feathers), nails, claws, talons, teeth, ivory, nerves, and brain tissue don't heal.

Cartilage, nails, nerves, and the brain seem like the big ones for dwarves, since teeth tend to be lost completely rather than breaking, and I doubt healing rate would help that at all.
Logged

Alem

  • Bay Watcher
    • View Profile
Re: Minor Mod Dump!
« Reply #6 on: June 10, 2011, 09:15:41 pm »

As an aside, as far as your question to how quickly nerves heal, from what I recall nerve tissue never heals, hence its lack of a healing rate.
Logged

Interus

  • Bay Watcher
    • View Profile
Re: Minor Mod Dump!
« Reply #7 on: June 10, 2011, 09:53:23 pm »

As an aside, as far as your question to how quickly nerves heal, from what I recall nerve tissue never heals, hence its lack of a healing rate.

I'm pretty sure that's true, but it is possible for people to regain limb control.  Of course, I don't know how that works, but I do know it happens.  My best guess is that it wasn't complete nerve damage.  Plus, I've always been confused about how they can grow but not heal, without being like hair or nails.  Unfortunately, I've never really had a reason to actually look it up.

Oh, would the pike and halberd work as is?  I've already changed them without testing, but it looks like adding them to their own file would result in duplicate raws.
Logged

Wirevix

  • Bay Watcher
  • Hammered Elf Sympathizer
    • View Profile
Re: Minor Mod Dump!
« Reply #8 on: June 11, 2011, 12:56:37 am »

I added a race of iguana-men, 'cuz I wanted to play as one one day.  They're not very heavily customized from their initial copy-pasting off of humans, just a bit bigger with some different body parts, scales, lay eggs, and their biome is ANY_TROPICAL.  I plan to eventually make something more full-feature of them with different castes, unique domestic animals, unique equipment and toys etc., custom noble positions...  But right now they're basically just lizard-humans who build towns.  Still, you can hit people with your tail.

Spoiler: custom body parts (click to show/hide)

Spoiler: creature file (click to show/hide)

Spoiler: entity file (click to show/hide)

edit: forgot the entity file had some stuff from the Monster Hunter mod in.  Removed that.
« Last Edit: June 11, 2011, 03:25:17 pm by Wirevix »
Logged
In other news, the trees in my game can have invisible sex.

Nikov

  • Bay Watcher
  • Riverend's Flame-beater of Earth-Wounders
    • View Profile
Re: Minor Mod Dump!
« Reply #9 on: June 11, 2011, 07:17:41 am »

As an aside, as far as your question to how quickly nerves heal, from what I recall nerve tissue never heals, hence its lack of a healing rate.

I researched this once and it turns out periphrial nerves grow at a rate of like an inch a week if severed, and if the ends are aligned they'll heal back. Thus it sort of comes down to how sophisticated you imagine dwarven surgery might be. It also seems worthwhile to put a healing rate on the brain since 99% of all brain injuries are instantly fatal, thus the remaining 1% could fall under the realm of concussions. And what the hell, lets slap a number on the spine too.

I really hate nerve damage. How do I turn dwarven nerves into adamantine thread?
Logged
I should probably have my head checked, because I find myself in complete agreement with Nikov.

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Minor Mod Dump!
« Reply #10 on: June 11, 2011, 07:42:52 am »

Remove [HAS_NERVES]
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Greiger

  • Bay Watcher
  • Reptilian Illuminati member. Keep it secret.
    • View Profile
Re: Minor Mod Dump!
« Reply #11 on: June 11, 2011, 09:58:11 am »

I've been looking for a thread like this.   I often throw stuff together and don't want to just keep it to myself, yet often don't want to deal with the hassle of putting together and uploading or updating a full blown mod.

Anyway for content.  I don't have anything that isn't already availible at the moment, but here's a couple critters for the sake of adding to the thread.. (You already have them if you have the Greimod)

Spoiler: Wyvern (click to show/hide)
Logged
Disclaimer: Not responsible for dwarven deaths from the use or misuse of this post.
Quote
I don't need friends!! I've got knives!!!

Alem

  • Bay Watcher
    • View Profile
Re: Minor Mod Dump!
« Reply #12 on: June 11, 2011, 03:35:38 pm »

@Nikov

I actually did not know that. Its a fascinating thing to learn, and amusing how a thread on modding can teach one about random biological elements heh.

@ Interus

From what I tried out, the Halberd is mostly pretty solid as is although you'll have to adjust its size restrictions. The pike seemed a bit sub par, but I was not entirely surprised as by default the dwarves can't use it anyway.

here are the tweaks I put on the halberd and it seems to be a touch more useful than the 1h weapons, but without the shield you're gonna be hurting when the archer ambush shows
Spoiler (click to show/hide)
Logged

Nikov

  • Bay Watcher
  • Riverend's Flame-beater of Earth-Wounders
    • View Profile
Re: Minor Mod Dump!
« Reply #13 on: June 11, 2011, 09:30:19 pm »

I think you have to allow the dwarves to use the pike skill. At least, I think so.

I could have sworn I've had adventuredwarves using halberds and pikes... anyway, it was mostly intended as a fun weapon for adventure mode called attacks with its half-dozen very different pointy bits.
Logged
I should probably have my head checked, because I find myself in complete agreement with Nikov.

Alem

  • Bay Watcher
    • View Profile
Re: Minor Mod Dump!
« Reply #14 on: June 11, 2011, 10:30:25 pm »

Unmodded dwarves will learn all the weapon relevant skills I have found, including daggers, lashes, and pikes (although using pikes requires a bit of modding). If you include a pike skill weapon as part of their permitted weapon lists it will work fine. It even automatically adds Pikeman to a purchasable skill at embark. That one took me a minute to figure out why my embark skill screen was a touch wider than normal heh.
Logged
Pages: [1] 2