Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Modding in a three headed dog  (Read 1166 times)

Poil

  • Bay Watcher
    • View Profile
Modding in a three headed dog
« on: February 10, 2007, 01:10:00 pm »

So I'm trying to change dogs into three headed demon dogs, cerberus.

code:
[CREATURE  :DOG]
[NAME:cerberus:cerberus:cerberus]
[TILE:'C'][COLOR:0:0:1]
[PETVALUE:30][NATURAL]
[BUTCHERABLE_NONSTANDARD]
[COMMON_DOMESTIC][TRAINABLE][PET]
[BONECARN]
[FIREIMMUNE][LIKES_FIGHTING]
[BLOODTYPE:0]
[NOFEAR]
[PREFSTRING:loyalty:three heads]
[BODY:QUADRUPED:3HEADNECKS:TAIL:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:THROAT:NECK:SPINE:BRAIN:MOUTH]
[BODYGLOSS:PAW]
[SIZE:9]
[MAXAGE:10:20]
[ATTACK:MAIN:BYTYPE:MOUTH:bite:bites:1:6:BURN][ATTACKFLAG_CANLATCH]
[CHILD:1][CHILDNAME:cerberus puppy: cerberus puppies]
[FAT:1]
[DIURNAL]
[STANDARD_FLESH]
[HOMEOTHERM:10070]
[LAYERING:100]

Everything seems to work except that only one head shows up on the damage screen and in adventury mode there's only one head to grab and get bitten by. Could someone please help me and tell what I need to do in order to get three heads?

Also, there should be a modding forum.

[ February 10, 2007: Message edited by: Poil ]

[ February 10, 2007: Message edited by: Poil ]

Logged
[DEMONLORD]

Lord Blue

  • Bay Watcher
    • View Profile
Re: Modding in a three headed dog
« Reply #1 on: February 10, 2007, 01:44:00 pm »

Yes, there should be a modding forum.

Post the new body type 3HEADNECKS, that's probably where you screwed up.

Logged
he Dwarf Fortress Blog is now up and running, albeit ugly and empty. Do your part, and email stories, worlds, and mod files to dasuberalt@yahoo.com

I''ll put it up on the blog, and give you credit.

http://dwarffortressblog.blogspot.com/

Poil

  • Bay Watcher
    • View Profile
Re: Modding in a three headed dog
« Reply #2 on: February 10, 2007, 01:54:00 pm »

EDIT

Thanks, your post made me realise I had forgotten to even add a 3HEADNECKS in defeault_body.txt.  :)

code:

[BODY:3HEADNECKS]
[BP:NK1:first neck][CON:UB]
[BP:NK2:second neck][CON:UB]
[BP:NK3:third neck][CON:UB]
[BP:HD1:first head][CON:NK1][HEAD]
[BP:HD2:second head][CON:NK2][HEAD]
[BP:HD3:third head][CON:NK3][HEAD]

It works, sort of. It has three heads (first head, second head, etc) but it also has a regular head. So it has four heads, I think.

[ February 10, 2007: Message edited by: Poil ]

Logged
[DEMONLORD]

Poil

  • Bay Watcher
    • View Profile
Re: Modding in a three headed dog
« Reply #3 on: February 10, 2007, 02:33:00 pm »

I think I've found the problem. This should fix the extra head, right?

code:
[CREATURE   :DOG]
[NAME:cerberus:cerberus:cerberus]
[TILE:'C'][COLOR:0:0:1]
[PETVALUE:30][NATURAL]
[BUTCHERABLE_NONSTANDARD]
[COMMON_DOMESTIC][TRAINABLE][PET]
[BONECARN]
[FIREIMMUNE][LIKES_FIGHTING]
[BLOODTYPE:0]
[NOFEAR]
[PREFSTRING:loyalty:three heads]
[BODY:QUADRUPED_HEADLESS:3HEADNECKS:TAIL:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:THROAT:NECK:SPINE:BRAIN:MOUTH]
[BODYGLOSS:PAW]
[SIZE:9]
[MAXAGE:10:20]
[ATTACK:MAIN:BYTYPE:MOUTH:bite:bites:1:6:BURN][ATTACKFLAG_CANLATCH]
[CHILD:1][CHILDNAME:cerberus puppy: cerberus puppies]
[FAT:1]
[DIURNAL]
[STANDARD_FLESH]
[HOMEOTHERM:10070]
[LAYERING:100]

code:
[BODY:QUADRUPED_HEADLESS]
[BP:UB:upper body][UPPERBODY]
[BP:LB:lower body][CON:UB][LOWERBODY]
[BP:RA:right front leg][CON:UB][LIMB]

[BP:LA:left front leg][CON:UB][LIMB]

[BP:RH:right front foot][CON:RA][STANCE]

[BP:LH:left front foot][CON:LA][STANCE]

[BP:RL:right rear leg][CON:LB][LIMB]

[BP:LL:left rear leg][CON:LB][LIMB]

[BP:RF:right rear foot][CON:RL][STANCE]

[BP:LF:left rear foot][CON:LL][STANCE]


[ February 10, 2007: Message edited by: Poil ]

Logged
[DEMONLORD]

Lord Blue

  • Bay Watcher
    • View Profile
Re: Modding in a three headed dog
« Reply #4 on: February 10, 2007, 02:54:00 pm »

It should, now can you fix your first post so the page doesn't stretch.
Logged
he Dwarf Fortress Blog is now up and running, albeit ugly and empty. Do your part, and email stories, worlds, and mod files to dasuberalt@yahoo.com

I''ll put it up on the blog, and give you credit.

http://dwarffortressblog.blogspot.com/

Poil

  • Bay Watcher
    • View Profile
Re: Modding in a three headed dog
« Reply #5 on: February 10, 2007, 03:07:00 pm »

Great. But it seems to just bite with one head or does it bite with all three at the same time?

I've removed the excess white space from the first post, is that enough?

Logged
[DEMONLORD]

JT

  • Bay Watcher
  • Explosively Canadian
    • View Profile
    • http://www.jtgibson.ca/df/
Re: Modding in a three headed dog
« Reply #6 on: February 11, 2007, 01:48:00 am »

All beings in Dwarf Fortress can only make one attack at a time.

It might eventually be nice if multi-brained beings could make multiple attacks at a time, one per brain.  Development of skill could also allow multiple simultaneous attacks in the right circumstances, though the whole "jump up in the air and kick two people at the same time" thing is largely just Woo's fanciful showplaying. =)

Logged
"The very existence of flamethrowers proves that some time, somewhere, someone said to themselves, 'You know, I want to set those people over there on fire, but I'm just not close enough to get the job done.'" --George Carlin

Poil

  • Bay Watcher
    • View Profile
Re: Modding in a three headed dog
« Reply #7 on: February 18, 2007, 07:53:00 pm »

Rather than making a new topic.

I want to add another kind of dog, hell hounds,   which should be just like the newly modded cerebus with a couple differences but I can't figure out how to do it. I've already modded cats so I can't use them as a base.

I tried to simply add a second dog type but it didn't work so I tried to mod cows but it didn't work either and they were too expensive anyway. I just want a second type of dog which should be purshasable at the beginning. Is this possible?

Logged
[DEMONLORD]

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Modding in a three headed dog
« Reply #8 on: February 20, 2007, 07:38:00 pm »

Right now they need to be common domestic animals.  Copy-pasting the dog into a new creature and changing the token from DOG to HELLHOUND or something should do it.
Logged
The Toad, a Natural Resource:  Preserve yours today!

Poil

  • Bay Watcher
    • View Profile
Re: Modding in a three headed dog
« Reply #9 on: February 20, 2007, 08:21:00 pm »

Ok, thank you.

EDIT

Great it worked. How do I increase the cost of them at the  prepare screen? 16 points for this is a little cheap.

[CREATURE:HELLHOUND]
[NAME:hell hound:hell hounds:hell hound]
[TILE:'h'][COLOR:0:0:1]
[PETVALUE:30][NATURAL]
[BUTCHERABLE_NONSTANDARD]
[COMMON_DOMESTIC][PET]
[FIREIMMUNE_SUPER][LIKES_FIGHTING]
[BLOODTYPE:0]
[NOFEAR]
[PREFSTRING:demonic ferocity]   [BODY:QUADRUPED_HEADLESS:3HEADNECKS:TAIL:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:THROAT:NECK:SPINE:BRAIN:MOUTH]
[BODYGLOSS:PAW]
[SIZE:15]
[MAXAGE:20:30]   [ATTACK:MAIN:BYTYPE:MOUTH:bite:bites:1:6:BURN][ATTACKFLAG_CANLATCH]
[CHILD:8][CHILDNAME:hell hound puppy: hell hound puppies]
[FAT:1]
[DIURNAL]
[STANDARD_FLESH]
[HOMEOTHERM:10070]
[LAYERING:100]

[ February 21, 2007: Message edited by: Poil ]

Logged
[DEMONLORD]

Xombie

  • Bay Watcher
    • View Profile
Re: Modding in a three headed dog
« Reply #10 on: February 26, 2007, 09:53:00 am »

If two-handed human dont attack 2 times why would 3-headed dog attack 3 times?
Other than that what will gonna hapen if you choke 3-headed stuff? Its like other heads and body still can breathe. Howewer brain dies in 20 minutes from oxygen starvation so if you choke it for long enough you can kill its brains one by one. =)
Logged
Pages: [1]