Bay 12 Games Forum

Please login or register.

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

Author Topic: Chosen By Gods interaction  (Read 3408 times)

WillowLuman

  • Bay Watcher
  • They/Them Life is weird
    • View Profile
Re: Chosen By Gods interaction
« Reply #15 on: February 17, 2012, 12:56:56 am »

I think in your original post the [IT_LOCATION:CONTEXT_ITEM] should be [IT_LOCATION:CONTEXT_CREATURE].

Oh yeah, forgot to update the script.
Logged
Dwarf Souls: Prepare to Mine
Keep Me Safe - A Girl and Her Computer (Illustrated Game)
Darkest Garden - Illustrated game. - What mysteries lie in the abandoned dark?

Alluvian_Est-Endrati

  • Bay Watcher
  • [ENGRAVERY:MISGUIDED]
    • View Profile
Re: Chosen By Gods interaction
« Reply #16 on: February 17, 2012, 01:15:42 am »

One solution does come to mind, but it would require more modding work in the creation of a custom creature. How it would work is thus: The custom creature would be one that bursts into flames and dies under normal circumstances. What would be done then is to utilize a syndrome to change the intended target into that creature:

Code: [Select]
[INTERACTION:BURN_EVIL]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
IT_REQUIRES:OPPOSED_TO_LIFE
[IT_MANUAL_INPUT:target]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[CE_BODY_TRANSFORMATION:START:0]
[CE:CREATURE:FIRE_VICTIM_CREATURE:DEFAULT]

Here is such a creature:

Code: [Select]
[CREATURE:FIRE_VICTIM_CREATURE]
[DESCRIPTION:!!I AM ON FIRE!!]
[NAME:fire victim:fire victim:fire victim]
[CASTE_NAME:fire victim:fire victim:fire victim]
[CREATURE_TILE:'!'][COLOR:RED]
[BODY:HUMANOID_SIMPLE]
[MATERIAL:KINDLING]
[STATE_COLOR:ALL:RED]
[STATE_NAME_ADJ:ALL_SOLID:kindling]
[IGNITE_POINT:10000]
[HEATDAM_POINT:10000]
[MAT_FIXED_TEMP:10000]
[TISSUE:KINDLING]
[TISSUE_NAME:kindling:NP]
[TISSUE_MATERIAL:LOCAL_CREATURE_MAT:KINDLING]
[TISSUE_MAT_STATE:SOLID]
[RELATIVE_THICKNESS:1]
[TISSUE_SHAPE:LAYER]
[TISSUE_LAYER:BY_CATEGORY:ALL:KINDLING]
[BODY_SIZE:0:0:70000]
[ITEMCORPSE:BAR:NO_SUBTYPE:ASH:NO_MATGLOSS]

In arena mode the victim will burst into flames (and run around on fire & smoking) and will be very easy to kill in the very few tests I have run so far.
Logged
"I’m going to keep bloody gambling! Bloody, bloody gambling and drinking! Where’s my bloody drink? Anyone want to gamble for it?”

Send in the Clowns: &.&

WillowLuman

  • Bay Watcher
  • They/Them Life is weird
    • View Profile
Re: Chosen By Gods interaction
« Reply #17 on: February 17, 2012, 01:18:01 am »

Will doing this without any body parts defined cause them to keep their original shape, just made out of burning flesh?
Logged
Dwarf Souls: Prepare to Mine
Keep Me Safe - A Girl and Her Computer (Illustrated Game)
Darkest Garden - Illustrated game. - What mysteries lie in the abandoned dark?

Jay

  • Bay Watcher
  • ☼Not Dead Yet☼
    • View Profile
Re: Chosen By Gods interaction
« Reply #18 on: February 17, 2012, 02:21:25 am »

Will doing this without any body parts defined cause them to keep their original shape, just made out of burning flesh?
No.  You're defining a totally separate creature.  Just like werewolves.
Logged
Mishimanriz: Histories of Pegasi and Dictionaries

monk12

  • Bay Watcher
  • Sorry, I AM a coyote
    • View Profile
Re: Chosen By Gods interaction
« Reply #19 on: February 17, 2012, 12:59:37 pm »

Although it seems like you should be able to turn their flesh into a substance that spontaneously combusts...

WillowLuman

  • Bay Watcher
  • They/Them Life is weird
    • View Profile
Re: Chosen By Gods interaction
« Reply #20 on: February 17, 2012, 01:17:51 pm »

Maybe it will turn them into a burning creature, with no shape (like cave blobs), called "burning slag" that has it's vital tissues set to a mat that instantly evaporates

EDIT: anyone know why pressing "u" in creature creation wont let me cycle through syndromes?
« Last Edit: February 17, 2012, 01:34:10 pm by HugoLuman »
Logged
Dwarf Souls: Prepare to Mine
Keep Me Safe - A Girl and Her Computer (Illustrated Game)
Darkest Garden - Illustrated game. - What mysteries lie in the abandoned dark?

Gizogin

  • Bay Watcher
  • [EVIL][RAWMANCER]
    • View Profile
Re: Chosen By Gods interaction
« Reply #21 on: February 17, 2012, 01:26:53 pm »

One solution does come to mind, but it would require more modding work in the creation of a custom creature. How it would work is thus: The custom creature would be one that bursts into flames and dies under normal circumstances. What would be done then is to utilize a syndrome to change the intended target into that creature:

Code: [Select]
[INTERACTION:BURN_EVIL]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
IT_REQUIRES:OPPOSED_TO_LIFE
[IT_MANUAL_INPUT:target]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[CE_BODY_TRANSFORMATION:START:0]
[CE:CREATURE:FIRE_VICTIM_CREATURE:DEFAULT]

Here is such a creature:

Code: [Select]
[CREATURE:FIRE_VICTIM_CREATURE]
[DESCRIPTION:!!I AM ON FIRE!!]
[NAME:fire victim:fire victim:fire victim]
[CASTE_NAME:fire victim:fire victim:fire victim]
[CREATURE_TILE:'!'][COLOR:RED]
[BODY:HUMANOID_SIMPLE]
[MATERIAL:KINDLING]
[STATE_COLOR:ALL:RED]
[STATE_NAME_ADJ:ALL_SOLID:kindling]
[IGNITE_POINT:10000]
[HEATDAM_POINT:10000]
[MAT_FIXED_TEMP:10000]
[TISSUE:KINDLING]
[TISSUE_NAME:kindling:NP]
[TISSUE_MATERIAL:LOCAL_CREATURE_MAT:KINDLING]
[TISSUE_MAT_STATE:SOLID]
[RELATIVE_THICKNESS:1]
[TISSUE_SHAPE:LAYER]
[TISSUE_LAYER:BY_CATEGORY:ALL:KINDLING]
[BODY_SIZE:0:0:70000]
[ITEMCORPSE:BAR:NO_SUBTYPE:ASH:NO_MATGLOSS]

In arena mode the victim will burst into flames (and run around on fire & smoking) and will be very easy to kill in the very few tests I have run so far.

I notice you don't have any brackets around IT_REQUIRES:OPPOSED_TO_LIFE.  Is this just for testing purposes?
Logged
Quote from: franti
"Let's expose our military to zombie-dust so they can't feel pain. They don't NEED skin."
Quote from: Ipwnurmom221
One FB post. Many dick jokes. Pokemon. !!VOLCANO!!. Dwarven mood thingee. Derailment itself. Girlinhat's hat. Cuba. Karl Marx. This is why i love Bay12 forums.
The rest of my sig.
Fear the fluffballs

WillowLuman

  • Bay Watcher
  • They/Them Life is weird
    • View Profile
Re: Chosen By Gods interaction
« Reply #22 on: February 17, 2012, 01:44:30 pm »

Apparently OPPOSED_TO_LIFE is invalid for targeting, but I am unable to test interactions in arena.
Here's my updated code:
Code: [Select]
interaction_chosen

[INTERACTION:CHOSEN_ONE]

[I_SOURCE:DEITY]
[IS_USAGE_HINT:MAJOR_CURSE]--Dunno what to change to, hoping to avoid 'profaning temple'
[IS_HIST_STRING_1: chosen ]
[IS_HIST_STRING_2: to seek out and destroy the powers of evil]

[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_REQUIRES:CAN_LEARN]
[IT_REQUIRES:CAN_SPEAK]
[IT_FORBIDDEN:NOT_LIVING]
[IT_FORBIDDEN:OPPOSED_TO_LIFE]
[IT_CANNOT_HAVE_SYNDROME_CLASS:WERECURSE]
[IT_CANNOT_HAVE_SYNDROME_CLASS:VAMPCURSE]
[IT_CANNOT_HAVE_SYNDROME_CLASS:DISTURBANCE_CURSE]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[IE_ARENA_NAME:Chosen One]
[SYNDROME]
[CE_DISPLAY_TILE:TILE:12:5:0:1:START:0]
[CE_DISPLAY_NAME:NAME:chosen one:chosen ones:heroic:START:0]
[CE_ADD_TAG:NO_SLEEP:NOFEAR:NOEXERT]--A hero is fearless and tireless!
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Burn evil]
[CDI:INTERACTION:BURN EVIL]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:10]
[CDI:VERB:shine holy light:shines holy light:NA]
[CDI:TARGET_VERB:is set aflame:are set aflame]
[CDI:WAIT_PERIOD:10]

[INTERACTION:BURN_EVIL]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
IT_REQUIRES:OPPOSED_TO_LIFE
[IT_MANUAL_INPUT:target]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[CE_BODY_TRANSFORMATION:START:0]
[CE:CREATURE:FIRE_VICTIM_CREATURE:DEFAULT]
and
Code: [Select]
creature_reaction_custom

[OBJECT:CREATURE]

[CREATURE:FIRE_VICTIM_CREATURE]
[DESCRIPTION:The remains of a smitten evildoer]
[NAME:dying slag:dying slag:dying slag]
[CASTE_NAME:dying slag:dying slag:dying slag]
[CREATURE_TILE:'!'][COLOR:RED]
[BODY:BASIC_1PARTBODY_THOUGHT]
[MATERIAL:KINDLING]
[STATE_COLOR:ALL:RED]
[STATE_NAME_ADJ:ALL_SOLID:kindling]
[IGNITE_POINT:10000]
[BOILING_POINT:10000]
[HEATDAM_POINT:10000]
[MAT_FIXED_TEMP:10000]
[STATE_NAME:GAS:exploding gore]--Added after testing, to avoid "caught in burst of !"
[STATE_ADJ:GAS:exploding gore]
[TISSUE:KINDLING]
[TISSUE_NAME:kindling:NP]
[TISSUE_MATERIAL:LOCAL_CREATURE_MAT:KINDLING]
[TISSUE_MAT_STATE:SOLID]
[RELATIVE_THICKNESS:1]
[TISSUE_SHAPE:LAYER]
[TISSUE_LAYER:BY_CATEGORY:ALL:KINDLING]
[BODY_SIZE:0:0:70000]
[ITEMCORPSE:BAR:NO_SUBTYPE:ASH:NO_MATGLOSS]

EDIT: Spawning the victim creature on it's own has the following results:
-It bursts into flame immediately
-It explodes shortly after
« Last Edit: February 17, 2012, 01:58:39 pm by HugoLuman »
Logged
Dwarf Souls: Prepare to Mine
Keep Me Safe - A Girl and Her Computer (Illustrated Game)
Darkest Garden - Illustrated game. - What mysteries lie in the abandoned dark?
Pages: 1 [2]