Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Transformation Mod  (Read 1640 times)

GradeA

  • Escaped Lunatic
    • View Profile
Transformation Mod
« on: November 30, 2012, 03:46:23 pm »

So, shamelessly ripping off the Golem Mod, I've tried to create a way of recycling my spare cats into something more awesome. Notably Wolverines. However, all it does is turn one of my dwarves into a toad.

[INORGANIC:OGRIFICATION] (I was originally going to try to make Ogres)
[USE_MATERIAL_TEMPLATE:STONE_TEMPLATE][DISPLAY_COLOR:0:0:0][TILE:'#']
[BOILING_POINT:9000]
[MAT_FIXED_TEMP:9001]
       [STATE_NAME:ALL_SOLID:ogre gas]
       [STATE_ADJ:ALL_SOLID:ogre gas]
       [STATE_NAME:LIQUID:ogre gas]
       [STATE_ADJ:LIQUID:ogre gas]
       [STATE_NAME:GAS:ogre gas]
       [STATE_ADJ:GAS:ogre gas]
       [PREFIX:NONE]
       [SYNDROME]
           [SYN_NAME:giant cave spider bite]
           [SYN_AFFECTED_CREATURE:CAT]
           [SYN_INHALED]
      [CE_BODY_TRANSFORMATION:START:0]
      [CE:CREATURE:GORILLA:DEFAULT]

Anyone know what I'm missing?
Logged

random_odd_guy

  • Bay Watcher
    • View Profile
Re: Transformation Mod
« Reply #1 on: November 30, 2012, 06:17:10 pm »

Switch DEFAULT with MALE or FEMALE, default is for casteless creatures. (came across the same error myself earlier)
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Transformation Mod
« Reply #2 on: November 30, 2012, 07:20:26 pm »

SYN_AFFECTED_CREATURE requires a caste. You want two lines, one that has :MALE after CAT and one that has :FEMALE.

GradeA

  • Escaped Lunatic
    • View Profile
Re: Transformation Mod
« Reply #3 on: December 01, 2012, 09:49:23 pm »

My Gorilla-ifying code.

[INORGANIC:OGRIFICATION]
[USE_MATERIAL_TEMPLATE:STONE_TEMPLATE][DISPLAY_COLOR:0:0:0][TILE:'#']
[BOILING_POINT:9000]
[MAT_FIXED_TEMP:9001]
       [STATE_NAME:ALL_SOLID:ogre gas]
       [STATE_ADJ:ALL_SOLID:ogre gas]
       [STATE_NAME:LIQUID:ogre gas]
       [STATE_ADJ:LIQUID:ogre gas]
       [STATE_NAME:GAS:ogre gas]
       [STATE_ADJ:GAS:ogre gas]
       [PREFIX:NONE]
       [SYNDROME]
           [SYN_NAME:giant cave spider bite]
           [SYN_AFFECTED_CREATURE:CAT:MALE]
           [SYN_INHALED]
         [CE_BODY_TRANSFORMATION:START:0]
         [CE:CREATURE:GORILLA:MALE]
      [SYNDROME]
           [SYN_NAME:giant cave spider bites]
         [SYN_AFFECTED_CREATURE:CAT:FEMALE]
           [SYN_INHALED]
         [CE_BODY_TRANSFORMATION:START:0]
         [CE:CREATURE:GORILLA:FEMALE]

It works. It maintains gender. It works on both "Cats" and "Kittens", and one toggling of Pet Availability enables them to receive War Training. So part one of my "transform things into other things" mod is good to go.

Is it possible to have non-dwarven citizens? I was hoping to make a very cosmopolitan fort.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Transformation Mod
« Reply #4 on: December 01, 2012, 10:00:31 pm »

It is with DFHack.

PanH

  • Bay Watcher
    • View Profile
Re: Transformation Mod
« Reply #5 on: December 02, 2012, 01:34:53 am »

Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Transformation Mod
« Reply #6 on: December 02, 2012, 01:35:46 am »

Yeah, but that would take an insane amount of time.

PanH

  • Bay Watcher
    • View Profile
Re: Transformation Mod
« Reply #7 on: December 02, 2012, 01:45:10 am »

Depends on how much castes you want to add. Technically, it's just copy/paste, with some Caste tags (caste name, caste tile).
Logged

GradeA

  • Escaped Lunatic
    • View Profile
Re: Transformation Mod
« Reply #8 on: December 02, 2012, 04:09:49 am »

I don't suppose you'll mention how DF hack allows this.

I was more intending to gas dwarves and turn them into Ogres, but those are "beasts" not "citizens". I want something that still functions as a dwarf, while having different names/stats/ect.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Transformation Mod
« Reply #9 on: December 02, 2012, 02:21:49 pm »

I don't suppose you'll mention how DF hack allows this.

I was more intending to gas dwarves and turn them into Ogres, but those are "beasts" not "citizens". I want something that still functions as a dwarf, while having different names/stats/ect.

Dfusion, friendship. You'll have to manually edit races.txt to get it to work.