Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Fire Breathing Adventurer?  (Read 1533 times)

imperatorrex

  • Escaped Lunatic
    • View Profile
Fire Breathing Adventurer?
« on: February 19, 2017, 02:40:02 pm »

Hello everyone of Bay12 Forums. I have been playing adventure mode for a while, and there are things I wish were possible. Through modding you can do virtually anything, but what about having an interaction that allows an adventurer to breath fire like a dragon?

Side Question- Is it possible to play as a griffin, forgotten beast, dragon, or other exotic creatures?

Thanks to anyone who helps answer these questions.
Logged

Nahere

  • Bay Watcher
    • View Profile
Re: Fire Breathing Adventurer?
« Reply #1 on: February 19, 2017, 03:15:41 pm »

Fire breathing is easy, although making it so only the player is capable, and not everyone else of their species, is a little more difficult. As for playing as other creatures, [OUTSIDER_CONTROLLABLE] is want you want. Just slap it in any creature and it'll work, although you might need to generate a new world.
Logged

StagnantSoul

  • Bay Watcher
  • "Player has withdrawn from society!"
    • View Profile
Re: Fire Breathing Adventurer?
« Reply #2 on: February 19, 2017, 03:44:26 pm »

Griffin, you'd have to make the creature yourself, since it's fanciful only in vanilla.

Forgotten beast, no. Species with so many hundreds of castes that make it seem forgotten beastlike? Oui.

Dragon, easy.

Exotic creatures? Just as easy.
Logged
Quote from: Cptn Kaladin Anrizlokum
I threw night creature blood into a night creature's heart and she pulled it out and bled to death.
Quote from: Eric Blank
Places to jibber madly at each other, got it
Quote from: NJW2000
If any of them are made of fire, throw stuff, run, and think non-flammable thoughts.

Max™

  • Bay Watcher
  • [CULL:SQUARE]
    • View Profile
Re: Fire Breathing Adventurer?
« Reply #3 on: February 19, 2017, 09:00:24 pm »

Tip: before adding the interaction, gate it with a "let us keep npcs from spamming this" interaction.

[CDI:USAGE_HINT:ATTACK]
[CDI:TARGET:SELF_ONLY]

Have that interaction apply a syndrome which lets you breathe fire or whatever, but uh, make sure you put [FIREIMMUNE_SUPER] on at least the caste you're adventuring with, it can't be added with a syndrome and you will get caught in your own breath regularly.

Code: [Select]
In interaction_standard.txt at the bottom add this:

[INTERACTION:CONTROL_RAGE]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_CANNOT_TARGET_IF_ALREADY_AFFECTED]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Enrage]
[CDI:INTERACTION:ENRAGE]
[CDI:USAGE_HINT:ATTACK]
[CDI:TARGET:A:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:A:15]
[CDI:VERB:enrage others:enrages others:NA]
[CDI:WAIT_PERIOD:5]
[CE_CAN_DO_INTERACTION:START:0]
[CDI:ADV_NAME:Breathe fire]
[CDI:MATERIAL_EMISSION]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:MOUTH]
[CDI:FLOW:DRAGONFIRE]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:15]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:50]


[INTERACTION:ENRAGE]
[I_SOURCE:CREATURE_ACTION]
[I_TARGET:A:CREATURE]
[IT_LOCATION:CONTEXT_CREATURE]
[IT_CANNOT_TARGET_IF_ALREADY_AFFECTED]
[IT_MANUAL_INPUT:rage targets]
[I_EFFECT:ADD_SYNDROME]
[IE_TARGET:A]
[IE_IMMEDIATE]
[SYNDROME]
[SYN_NAME:being enraged]
[CE_FLASH_TILE:TILE:19:3:0:0:FREQUENCY:2000:250:START:0:END:480]
[CE_FEEL_EMOTION:EMOTION:HATRED:SEV:1000:PROB:100:START:0:END:480]
[CE_FEEL_EMOTION:EMOTION:RAGE:SEV:1000:PROB:100:START:0:END:480]
[CE_FEEL_EMOTION:EMOTION:ANGER:SEV:1000:PROB:100:START:0:END:480]
[CE_REMOVE_TAG:CAN_LEARN:START:0:END:480]

Under the creatures you want to be able to do butcher/consume sapients, add this after the spit interaction:
[CAN_DO_INTERACTION:CONTROL_RAGE]
[CDI:ADV_NAME:Control Rage]
[CDI:USAGE_HINT:ATTACK]
[CDI:TARGET:A:SELF_ONLY]
[CDI:TARGET_RANGE:A:1]
[CDI:WAIT_PERIOD:30]

If you want fort mode units to do it, remove the brackets around the: CDI:USAGE_HINT:ATTACK line.

I just happened to have part of this handy, it's my "can use and eat sapient materials" interaction with the dragonfire tossed in, and the gating interaction to keep npcs from spamming it.
Logged

AceSV

  • Bay Watcher
  • [SUPER_VILLAIN]
    • View Profile
Re: Fire Breathing Adventurer?
« Reply #4 on: February 20, 2017, 01:11:02 pm »

Also check The Spellbook for many more such things.  I think it's probably not up to date, but I'm not sure the interactions system has changed much since they wrote it. 

One way to handle, only your adventurer has fire breath, is to make it an interaction, like necromancy.  You need to read a slab or whatever to access firebreath first, and then once you've earned it, you can breath fire all you want, and no one else can. 
Logged
Quote
could God in fact send a kea to steal Excalibur and thereby usurp the throne of the Britons? 
Furry Fortress 3 The third saga unfurls.  Now with Ninja Frogs and Dogfish Pirates.

malistaticy

  • Bay Watcher
  • WAH
    • View Profile
Re: Fire Breathing Adventurer?
« Reply #5 on: February 21, 2017, 03:37:51 pm »

I just happened to have part of this handy, it's my "can use and eat sapient materials" interaction with the dragonfire tossed in, and the gating interaction to keep npcs from spamming it.
im interested in that interaction, how does it work?
Logged
"Honestly, I have no idea how that got there"

Max™

  • Bay Watcher
  • [CULL:SQUARE]
    • View Profile
Re: Fire Breathing Adventurer?
« Reply #6 on: February 21, 2017, 04:36:04 pm »

Just kinda tardifies things and removing [CAN_LEARN] is apparently all that is needed to make it ok to eat them.
Logged