Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Interaction help  (Read 830 times)

blake77

  • Bay Watcher
    • View Profile
Interaction help
« on: April 07, 2012, 10:15:12 pm »

I need some help with interaction. I created three interactions, but when I control the creatures that has them in the arena, I can't target anything with them. Here are the interactions:

The first one is called EXORCISM. It is intended to remove negative aspects of vampirism.
Spoiler (click to show/hide)

Questions. How do I make it target only vampires, werebeasts and undead? Can interaction targeting be made so that it only targets vampires OR werebeats OR undead.  Is there a tag [IT_MUST_HAVE_SYNDROME_CLASS] or something like it.


The second interaction, REST_IN_PEACE is supposed to prevent corpses and remains from being raised.
Spoiler (click to show/hide)


Would this work,if not how do I modify it.


The third interaction called UNMAKE is a material emission that also inflicts a syndrome. I suppose that it would have been easier to use the standard material emission with a material that inflicts syndromes, but would this work:
Spoiler (click to show/hide)
 

Note, that at the same time it is also supposed to remove the advantages that supernatural creatures have.

And here is part of the raws fro the creature files that are supposed to invoke these interactions.

The first one calls upon EXORCISM.
Spoiler (click to show/hide)

Is this the correct way to invoke it so that it targets only friendly units?


Next is the one that is supposed to prevent remains/corpses from being raised
Spoiler (click to show/hide)

I suspect that the usage hint here is incorrect.


Here is the third one using the UNMAKE interaction.
Spoiler (click to show/hide)


Here is also the inorganic material CRYO
Spoiler (click to show/hide)
Logged

Lycaeon

  • Bay Watcher
    • View Profile
Re: Interaction help
« Reply #1 on: April 07, 2012, 10:45:22 pm »

A general catch-all tag that forces the interaction to target non-living creatures is [IT_REQUIRES:NOT_LIVING]. You don't need to include the general poison tag if you have enough of other tags to limit the number of targets available.

For the rest in peace tag, I'm pretty sure it won't work because corpses are items and are immune to syndromes. Other interactions first resurrect or animate them before adding syndromes.

For the unmaking reaction, I would suggest giving the material itself the syndrome (make it [SYN_CONTACT] or [SYN_INHALED]) rather than placing it in the interaction itself, otherwise you may as well skip the material interaction entirely and just use a syndrome adding interaction.

Usage hints other than attack or flee are pretty unreliable, so I would advise otherwise tame tag requirements such as [IT_REQUIRES:NO_PHYS_ATT_GAIN] that you can paste (As [NO_PHYS_ATT_GAIN]) into the target creatures in question without really affecting them. This would also be an option for vampires and werewolves, as they gain this tag when they first get turned.
Logged
“I want to calm the storm, but the war is in your eyes.
How can I shield you from the horror and the lies?
When all that once held meaning is shattered, ruined, bleeding
And the whispers in the darkness tell me we won’t survive?”