Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Can anyone help me mod this?  (Read 545 times)

Spartan 117

  • Bay Watcher
  • Never think twice. Or at all.
    • View Profile
Can anyone help me mod this?
« on: October 16, 2009, 11:36:34 pm »

Can anyone tell me how to mod cat adventurers into the game, but have skills and the ability to use weapons and armor?

Any help would be nice.
Logged
Well, you know how if you take your thumb and forefinger and hold them up to your eye, you can make it look like you're squishing someone's head? It's like that, only for real.
"Sometimes being a dwarf has it's advantages, KNEE-CAPPING TIME!"

Eagle0600

  • Bay Watcher
  • Highly Confused
    • View Profile
Re: Can anyone help me mod this?
« Reply #1 on: October 16, 2009, 11:58:14 pm »

Certain tags need to be added to the creature entry. [Intelligent] is one, I think. You also need to add an entity (civilisation) for the race.
Logged
GENERATION 21:The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Can anyone help me mod this?
« Reply #2 on: October 17, 2009, 01:32:05 am »

Add [INTELLIGENT], [EQUIPS] to cats; change body type from QUADRUPED to HUMANOID.

Also add
Code: [Select]
[ENTITY:CATS]
[CREATURE:CAT]
[ADVENTURE_TIER:4]
to entity_default.txt.

Also copy every weapon/armor you want to get from dwarves under that.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Spartan 117

  • Bay Watcher
  • Never think twice. Or at all.
    • View Profile
Re: Can anyone help me mod this?
« Reply #3 on: October 17, 2009, 03:03:20 am »

Thanks, I'm going to go try it out now.

EDIT: Okay, I genned a new world, selected "Adventurer" mode, but no choice to play as a cat.
« Last Edit: October 17, 2009, 03:10:56 am by Spartan 117 »
Logged
Well, you know how if you take your thumb and forefinger and hold them up to your eye, you can make it look like you're squishing someone's head? It's like that, only for real.
"Sometimes being a dwarf has it's advantages, KNEE-CAPPING TIME!"

Ziusudra

  • Bay Watcher
    • View Profile
Re: Can anyone help me mod this?
« Reply #4 on: October 17, 2009, 03:14:00 am »

You need to add [INDIV_CONTROLLABLE] and [ADVENTURE_TIER:4] to the entity entry.
Logged
Ironblood didn't use an axe because he needed it. He used it to be kind. And right now he wasn't being kind.

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Can anyone help me mod this?
« Reply #5 on: October 17, 2009, 03:16:15 am »

Read the thread, I already told it.
Also, there's no need in INDIV_CONTROLLABLE.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Spartan 117

  • Bay Watcher
  • Never think twice. Or at all.
    • View Profile
Re: Can anyone help me mod this?
« Reply #6 on: October 17, 2009, 03:29:31 am »

This is my cat creature entry:

[CREATURE:CAT]
   [NAME:cat:cats:cat]
   [TILE:'c'][COLOR:0:0:1]
   [VERMINHUNTER]
   [PETVALUE:20]
   [CARNIVORE][NATURAL][PET]
   [LARGE_ROAMING]
   [COMMON_DOMESTIC][BENIGN]
   [PREFSTRING:aloofness]
             [INTELLIGENT]
             [EQUIPS]
   [BODY:HUMANOID:TAIL:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:THROAT:NECK:SPINE:BRAIN:MOUTH]
   [BODYGLOSS:PAW]
   [SIZE:3]
   [MAXAGE:10:20]
   [ATTACK:MAIN:BYTYPE:MOUTH:bite:bites:1:6:GORE][ATTACKFLAG_CANLATCH]
   [CHILD:1][CHILDNAME:kitten:kittens]
   [FAT:1]
   [DIURNAL]
   [STANDARD_FLESH]
   [HOMEOTHERM:10070]
   [LAYERING:100]
   [SWIMS_INNATE][SWIM_SPEED:2500]
   [MUNDANE]

And the entity entry:

[ENTITY:CATS]   

             [CREATURE:CAT]
             [ADVENTURE_TIER:4]
   [trANSLATION:DWARF]
   [DIGGER:ITEM_WEAPON_PICK]
   [WEAPON:ITEM_WEAPON_AXE_BATTLE]
   [WEAPON:ITEM_WEAPON_HAMMER_WAR]
   [WEAPON:ITEM_WEAPON_SWORD_SHORT]
   [WEAPON:ITEM_WEAPON_SPEAR]
   [WEAPON:ITEM_WEAPON_MACE]
   [WEAPON:ITEM_WEAPON_CROSSBOW]
      [AMMO:ITEM_AMMO_BOLTS]
[ARMOR:ITEM_ARMOR_PLATEMAIL:COMMON]
   [ARMOR:ITEM_ARMOR_CHAINMAIL:COMMON]
   [ARMOR:ITEM_ARMOR_LEATHER:COMMON]
   [ARMOR:ITEM_ARMOR_COAT:COMMON]
   [ARMOR:ITEM_ARMOR_SHIRT:COMMON]
   [ARMOR:ITEM_ARMOR_CLOAK:COMMON]
   [ARMOR:ITEM_ARMOR_TUNIC:COMMON]
   [ARMOR:ITEM_ARMOR_TOGA:UNCOMMON]
   [ARMOR:ITEM_ARMOR_VEST:COMMON]
   [ARMOR:ITEM_ARMOR_DRESS:COMMON]
   [ARMOR:ITEM_ARMOR_ROBE:COMMON]
   [HELM:ITEM_HELM_HELM:COMMON]
   [HELM:ITEM_HELM_CAP:COMMON]
   [HELM:ITEM_HELM_HOOD:COMMON]
   [GLOVES:ITEM_GLOVES_GAUNTLETS:COMMON]
   [GLOVES:ITEM_GLOVES_GLOVES:COMMON]
   [GLOVES:ITEM_GLOVES_MITTENS:COMMON]
   [SHOES:ITEM_SHOES_SHOES:COMMON]
   [SHOES:ITEM_SHOES_BOOTS:COMMON]
   [SHOES:ITEM_SHOES_BOOTS_LOW:COMMON]
   [SHOES:ITEM_SHOES_SOCKS:COMMON]
   [PANTS:ITEM_PANTS_PANTS:COMMON]
   [PANTS:ITEM_PANTS_GREAVES:COMMON]
   [PANTS:ITEM_PANTS_LEGGINGS:COMMON]
   [SHIELD:ITEM_SHIELD_SHIELD]
   [SHIELD:ITEM_SHIELD_BUCKLER]
   [SIEGEAMMO:ITEM_SIEGEAMMO_BALLISTA]
   [trAPCOMP:ITEM_TRAPCOMP_GIANTAXEBLADE]
   [trAPCOMP:ITEM_TRAPCOMP_ENORMOUSCORKSCREW]
   [trAPCOMP:ITEM_TRAPCOMP_SPIKEDBALL]
   [trAPCOMP:ITEM_TRAPCOMP_LARGESERRATEDDISC]
   [trAPCOMP:ITEM_TRAPCOMP_MENACINGSPIKE]
   [TOY:ITEM_TOY_PUZZLEBOX]
   [TOY:ITEM_TOY_BOAT]
   [TOY:ITEM_TOY_HAMMER]
   [TOY:ITEM_TOY_AXE]
   [TOY:ITEM_TOY_MINIFORGE]
   [INSTRUMENT:ITEM_INSTRUMENT_FLUTE]
   [INSTRUMENT:ITEM_INSTRUMENT_TRUMPET]
   [INSTRUMENT:ITEM_INSTRUMENT_HARP]
   [INSTRUMENT:ITEM_INSTRUMENT_DRUM]
   [INSTRUMENT:ITEM_INSTRUMENT_PICCOLO]
   [CLOTHING]
   [SUBTERRANEAN_CLOTHING]
   [CURRENCY_BY_YEAR]
   [CURRENCY:COPPER:1]
   [CURRENCY:SILVER:5]
   [CURRENCY:GOLD:15]

Any mistakes in this are from the copy/paste. I checked over the files and they're fine in the entity_default file and the creature_domestic file.
« Last Edit: October 17, 2009, 03:32:57 am by Spartan 117 »
Logged
Well, you know how if you take your thumb and forefinger and hold them up to your eye, you can make it look like you're squishing someone's head? It's like that, only for real.
"Sometimes being a dwarf has it's advantages, KNEE-CAPPING TIME!"

Bricks

  • Bay Watcher
  • Because you never need one brick.
    • View Profile
Re: Can anyone help me mod this?
« Reply #7 on: October 17, 2009, 10:26:05 am »

Also, there's no need in INDIV_CONTROLLABLE.

Isn't it necessary to "Play now!"?  That's certainly not a large enough entity description to actually have them settle in his worlds.
Logged
EMPATHY - being able to feel other peoples' stuff.

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Can anyone help me mod this?
« Reply #8 on: October 17, 2009, 10:33:38 am »

Yeah, it's the point. Also I forgot to tell about copying biomes and making their homes to be caves, to avoid rapid extinction.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Spartan 117

  • Bay Watcher
  • Never think twice. Or at all.
    • View Profile
Re: Can anyone help me mod this?
« Reply #9 on: October 18, 2009, 12:41:21 pm »

I did it!

I just copied the "dwarf" section over completely, and edited it slightly to make them dwarvish cats.
Logged
Well, you know how if you take your thumb and forefinger and hold them up to your eye, you can make it look like you're squishing someone's head? It's like that, only for real.
"Sometimes being a dwarf has it's advantages, KNEE-CAPPING TIME!"