Bay 12 Games Forum

Please login or register.

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

Author Topic: Reaction editing (cheating/new type of Mod)  (Read 1592 times)

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Reaction editing (cheating/new type of Mod)
« on: November 27, 2009, 10:31:46 am »

Is there anyway to edit the reaction raw code so you can create "Live Creatures" such as a dog or cat, or even a dragon?

this doesn't work but if it does please point me in the right direction
[REACTION:FREE_CREATURE]
[NAME:make creature]
[SMELTER]
[PRODUCT:100:5:CREATURE:DOG:DOG:DOG]

[PRODUCT:100:5:ITEM_TOKEN:ITEM_SUBTYPE:MATGLOSS:MATGLOSS_SUBTYPE]
                             

is this even possible, if you can tell me and explain how this works and to do it even if not for making creature maybe items (I have dwarf wiki-ed I just don't get it) thank you
« Last Edit: November 27, 2009, 10:34:04 am by Hugo_The_Dwarf »
Logged

3

  • Bay Watcher
    • View Profile
Re: Reaction editing (cheating/new type of Mod)
« Reply #1 on: November 27, 2009, 10:35:43 am »

The syntax is a bit wrong, but you're nearly there.

Code: [Select]
[PRODUCT:100:1:PET:NO_SUBTYPE:DOG:DOG]
And... it doesn't work. The animals are created as vermin for some reason, but seem to have most of their normal properties - they're just size 1 and can't be controlled in any way, they teleport about the place, etc.

PET creates a tame creature; there is a reaction for non-tame creatures but I can't remember what it is. CREATURE might be correct after all.
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Reaction editing (cheating/new type of Mod)
« Reply #2 on: November 27, 2009, 11:39:45 am »

It works but I understand why it makes the Dog a small animal. One I believe when you put in PET it treats the creature as a vermin type (most vermin have the PET token) thanks for the point in the right direction
Logged

3

  • Bay Watcher
    • View Profile
Re: Reaction editing (cheating/new type of Mod)
« Reply #3 on: November 27, 2009, 11:47:42 am »

The PET token in the creature raws only handles whether or not the creature can be tamed; it has nothing to do with vermin specifically.
Logged

Urist Imiknorris

  • Bay Watcher
  • In the flesh, on the phone and in your account...
    • View Profile
Re: Reaction editing (cheating/new type of Mod)
« Reply #4 on: November 27, 2009, 05:05:34 pm »

Maybe it has something to do with the NO_SUBTYPE.
Logged
Quote from: LordSlowpoke
I don't know how it works. It does.
Quote from: Jim Groovester
YOU CANT NOT HAVE SUSPECTS IN A GAME OF MAFIA

ITS THE WHOLE POINT OF THE GAME
Quote from: Cheeetar
If Tiruin redirected the lynch, then this means that, and... the Illuminati! Of course!

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Reaction editing (cheating/new type of Mod)
« Reply #5 on: November 27, 2009, 05:27:37 pm »

Hmm.. could be, im still trying to work out the bugs, hopefully by creating a great handful of reactions of making the same creature I'll be able to see which one. If you have any more ideas it's be great (thanks "3" for the pet token clarify, but it still works with PET active... just makes it really small) I'll be back quoted the killing machine
Logged

Lancensis

  • Bay Watcher
    • View Profile
Re: Reaction editing (cheating/new type of Mod)
« Reply #6 on: November 28, 2009, 10:55:46 am »

Maybe a stickied thread about smelting creatures would come in handy. A new thread pops up every couple of weeks, and I for one, still don't understand it. I guess a wiki guide might work too
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Reaction editing (cheating/new type of Mod)
« Reply #7 on: November 30, 2009, 08:00:41 am »

I spent the whole weekend fooling around with it so far this reaction code makes a really funny effect

[REACTION:FREE_CREATURE]
[NAME:make creature]
[SMELTER]
[PRODUCT:100:1:PET:NO_SUBTYPE:CREATURE:DOG]

dog is not really needed but if you use this the smelter makes a cloud of boiling leather that freezes everything it touches to death, but thats not what I wanted
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Reaction editing (cheating/new type of Mod)
« Reply #8 on: November 30, 2009, 09:39:10 am »

If anyone has any ideas on how to make a full sized 'living" creature help. thanks
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Reaction editing (cheating/new type of Mod)
« Reply #9 on: November 30, 2009, 10:28:46 am »

You can smelt vermin only.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

sunshaker

  • Bay Watcher
    • View Profile
Re: Reaction editing (cheating/new type of Mod)
« Reply #10 on: February 02, 2010, 09:47:16 pm »

Yup Necro Threading, but only a few months old. Anyways as I was answering someone's question about smelting animals an idea occured to me about why they are always size one and vermin, perhaps our understanding of the product line in the reaction is faulty. I got thinking that maybe creatures are like ammo, bones, meat and maybe plants (I've not made any so I don't know for sure) and that the # in the product line ([PRODUCT:100:#:PET:etc:etc:etc]) is a stack size for animals and not a quantity. So maybe the # needs to be the size of the animal in question (Dog is 5, Cow is 9, etc).

Thus [PRODUCT:100:1:PET:NO_SUBTYPE:DOG:DOG] makes 1 size 1 dog
and [PRODUCT:100:5:PET:NO_SUBTYPE:DOG:DOG] makes 1 size 5 dog
and [PRODUCT:100:10:PET:NO_SUBTYPE:DOG:DOG] makes 1 size 10 dog

I'll experiment with it later (got other things I'm working on at the moment).
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Reaction editing (cheating/new type of Mod)
« Reply #11 on: February 02, 2010, 10:00:52 pm »

sounds promising, I`ll try it, I doubt it will work (but dammit I will) when I use the reaction [REACTION:MAKE_CAVE_SPIDERS]
[NAME:make 10 cave spiders]
[SMELTER]
[PRODUCT:100:10:VERMIN:NO_SUBTYPE:SPIDER_CAVE:NO_MATGLOSS]

it makes ten cave spiders... good thing cuz a size ten cave spider might be a problem.. then again this is the VERMIN type not pet and like wise going to test
Logged

sunshaker

  • Bay Watcher
    • View Profile
Re: Reaction editing (cheating/new type of Mod)
« Reply #12 on: February 02, 2010, 10:08:39 pm »

It might also be the VERMIN token in there, try it with dogs and PET.
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Reaction editing (cheating/new type of Mod)
« Reply #13 on: February 02, 2010, 10:12:31 pm »

Code: [Select]
[REACTION:MAKE_DOG]
[NAME:make size 5 dog?]
[SMELTER]
[PRODUCT:100:5:PET:NO_SUBTYPE:DOG:NO_MATGLOSS]
so far just makes 5 tame dogs... unless it requires the extra DOG as a matgloss, just didn`t want the evil boiling leather of doom that freeze drys everyone it touches
Logged

Untelligent

  • Bay Watcher
  • I eat flesh!
    • View Profile
Re: Reaction editing (cheating/new type of Mod)
« Reply #14 on: February 02, 2010, 10:14:52 pm »

The reason vermin can be smelted at all is because vermin are technically items (in the same way that wagons are technically both creatures and buildings).

PET is the item type for tame vermin; VERMIN is the item type for wild vermin. It is not currently possible to smelt large animals, though it is among the most commonly requested reaction-related features yet to be implemented.
Logged
The World Without Knifebear — A much safer world indeed.
regardless, the slime shooter will be completed, come hell or high water, which are both entirely plausible setbacks at this point.
Pages: [1] 2