Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: New pet for you  (Read 892 times)

Marsume

  • Bay Watcher
    • View Profile
New pet for you
« on: February 02, 2007, 12:50:00 pm »

Here is an interesting new pet for you guys to try. Very dwarven it's called a spyder. Just go to file dwarffort\raw\objects\creature_domestic then paste this at the end.

[CREATURE:SPYDER]
   [NAME:Spyder:Spyders:Spyder:]
   [TILE:'X'][COLOR:7:0:0]
   [PETVALUE:30][NATURAL]
   [BUTCHERABLE_NONSTANDARD]
   [COMMON_DOMESTIC][TRAINABLE][PET]
   [BONECARN][WEBBER][NOPAIN][NOFEAR][THICKWEB][NOSTUN][WEBIMMUNE]
       [BLOODTYPE:W]
   [PREFSTRING:low hisses.]
   [BODY:QUADRUPED:BACK:6EYES:CARAPIECE:ANTENNEA:2LUNGS:HEART:GUTS:ORGANS:HEAD:NECK:SPINE:BRAIN:MOUTH]
   [BODYGLOSS:PAW]
   [SIZE:5]
   [MAXAGE:10:20]
   [ATTACK:MAIN:BYTYPE:MOUTH:bite:bites:1:4:GORE][ATTACKFLAG_CANLATCH]
   [CHILD:2][CHILDNAME:spawn:spawn]
   [FAT:1]
   [DIURNAL]

Upside: you get to see ratmen caught in web vomited out by your spyders.
Downside: Until cleared your dwarves will be slowed for a few seconds as they step in web vomit. (not to badly)
Upside of downside: These webbs can be gathered to make clothing and other objects.

These spyders can also be trained for hunting and war purposes. Fairly more dwarven than your average cat. Cats are for elves. Large web spewing trained subteranian spyders are for dwarves. Enjoy.

Logged

Gauteamus

  • Bay Watcher
  • Ignitur!
    • View Profile
Re: New pet for you
« Reply #1 on: February 02, 2007, 05:16:00 pm »

Nice, I hope to try this in a fortress some time!
Nitpick: shouldn't it be [OCTOPED] and [8eyes] or something similar?
Logged

Marsume

  • Bay Watcher
    • View Profile
Re: New pet for you
« Reply #2 on: February 02, 2007, 05:34:00 pm »

Yea, open to any suggestions. I cloned it from a dog. So far they've been doing well. A little overzealous in going at frogmen though.
Logged

Eiba

  • Bay Watcher
    • View Profile
Re: New pet for you
« Reply #3 on: February 03, 2007, 08:30:00 am »

I don't know much about the code, but I do know that arachnids don't have antenna...

I'd suggest coppying more from the giant cave spider.
For example the body:
[BODY:SPIDER:2EYES:HEART:GUTS:BRAIN:MOUTH]

Additionally it might be neat to give the thing venom...


I might actually try to make a version of this for my next fortress...

Logged

Mud

  • Bay Watcher
    • View Profile
Re: New pet for you
« Reply #4 on: February 03, 2007, 08:57:00 am »

Some of those body parts don't exist as game files, you'll have to write them yourself in the "body_default.txt" file. For example, "6EYES" does not exist, you'd have to add it. That being said, I've previously made a 6-eyed bodypart. I haven't specifically tested it, though it should work:

code:
[BODY:6EYES]
[BP:1REYE:first right eye][CONTYPE:HEAD][SIGHT][EMBEDDED][SMALL]

[BP:2REYE:second right eye][CONTYPE:HEAD][SIGHT][EMBEDDED][SMALL]

[BP:3REYE:third right eye][CONTYPE:HEAD][SIGHT][EMBEDDED][SMALL]

[BP:1LEYE:first left eye][CONTYPE:HEAD][SIGHT][EMBEDDED][SMALL]

[BP:2LEYE:second left eye][CONTYPE:HEAD][SIGHT][EMBEDDED][SMALL]

[BP:3LEYE:third left eye][CONTYPE:HEAD][SIGHT][EMBEDDED][SMALL]

EDIT: on second thought, here's a set of more spider-like eyes:


code:
[BODY:6EYES_SPIDER]
[BP:1BEYE:large right eye][CONTYPE:HEAD][SIGHT][EMBEDDED]

[BP:1REYE:first small right eye][CONTYPE:HEAD][SIGHT][EMBEDDED][SMALL]

[BP:2REYE:second small right eye][CONTYPE:HEAD][SIGHT][EMBEDDED][SMALL]

[BP:2BEYE:large left eye][CONTYPE:HEAD][SIGHT][EMBEDDED]

[BP:1LEYE:first small left eye][CONTYPE:HEAD][SIGHT][EMBEDDED][SMALL]

[BP:2LEYE:second small left eye][CONTYPE:HEAD][SIGHT][EMBEDDED][SMALL]

[ February 03, 2007: Message edited by: Mud ]

Logged

Marsume

  • Bay Watcher
    • View Profile
Re: New pet for you
« Reply #5 on: February 03, 2007, 01:16:00 pm »

Very true, arachnids don't have antenna... But these are spyders. I took great pains adding the y you know.
Logged

roguester

  • Bay Watcher
    • View Profile
Re: New pet for you
« Reply #6 on: February 04, 2007, 03:31:00 pm »

Are all [PET] animals able to use the [TRAINABLE] tag? I ask because on a recent map I had set up a couple of elephant traps that were keeping me well supplied with meat, bone and leather. Somewhere along the line a few of them broke through and ended up on a row of cage traps. At a loss of what to do with them, I carted them deep into the mines and set them up on the edge of the chasm. As I was setting up the disappearing bridge device, I happened to notice that I could tame them from the kennel. However I couldn't get my trainers to train them as war elephants.

If you could add the [TRAINABLE] tag to elephants, where would you define the war elephant stats or is it simply a function of their untrained stats?

Logged

Mookie Love

  • Bay Watcher
    • View Profile
Re: New pet for you
« Reply #7 on: February 16, 2007, 01:25:00 pm »

Would one want to use the [CHITIN] tag? I haven't modded very much, so if there's any reason why one shouldn't use it, I'd be happy to learn.
Logged
Pages: [1]