Bay 12 Games Forum

Please login or register.

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

Author Topic: How do I mod in interactions?  (Read 4643 times)

Powder Miner

  • Bay Watcher
  • this avatar is years irrelevant again oh god oh f-
    • View Profile
Re: How do I mod in interactions?
« Reply #15 on: February 17, 2012, 12:31:10 am »

The rocks must be skimming through the ground or something, because they're being laced with the blood of tiles on the ground before hitting their target. ...hmm, weird..

I also added iron bits, which are strong enough to bump other toads back a few tiles.
Logged

Balistic604

  • Bay Watcher
    • View Profile
Re: How do I mod in interactions?
« Reply #16 on: February 17, 2012, 12:49:00 am »

I got my toads to shoot 15 rocks out at once, dragonbreath range. It can be devastating, shredding people when it flies, problem being it doesn't hit prone things. However it shreds them and sometimes just one-shots them. Masses of toads firing is awesome to see, just loose rocks everywhere and practical walls of stone flying everywhere.
That is AWESOME! Mind posting the raws so we can do it too?
Logged
Dwarf Fortress: The only place you'll find complaints about NOT dying.

Trapezohedron

  • Bay Watcher
  • No longer exists here.
    • View Profile
Re: How do I mod in interactions?
« Reply #17 on: February 17, 2012, 01:08:40 am »

I got my toads to shoot 15 rocks out at once, dragonbreath range. It can be devastating, shredding people when it flies, problem being it doesn't hit prone things. However it shreds them and sometimes just one-shots them. Masses of toads firing is awesome to see, just loose rocks everywhere and practical walls of stone flying everywhere.

I also modded my dragons while experimenting to shoot 3 dragonbreaths per interaction activation. Quite fun breathing everywhere and staying in the center of it all.
Logged
Thank you for all the fish. It was a good run.

Jay

  • Bay Watcher
  • ☼Not Dead Yet☼
    • View Profile
Re: How do I mod in interactions?
« Reply #18 on: February 17, 2012, 02:28:44 am »

I got my toads to shoot 15 rocks out at once, dragonbreath range. It can be devastating, shredding people when it flies, problem being it doesn't hit prone things. However it shreds them and sometimes just one-shots them. Masses of toads firing is awesome to see, just loose rocks everywhere and practical walls of stone flying everywhere.
That is AWESOME! Mind posting the raws so we can do it too?
My guess would be a modified MATERIAL_EMISSION with the existing I_EFFECT duplicated to taste.
I could be wrong though :B

EDIT: Even just allowing you to target multiple at once is enough.  You can target the same thing multiple times.
« Last Edit: February 17, 2012, 02:49:41 am by Jay »
Logged
Mishimanriz: Histories of Pegasi and Dictionaries

Powder Miner

  • Bay Watcher
  • this avatar is years irrelevant again oh god oh f-
    • View Profile
Re: How do I mod in interactions?
« Reply #19 on: February 17, 2012, 10:04:19 am »

It's really easy; just take any material emission interaction, range=15 or 30 targets=15 remove flow and make it [CDI:MATERIAL:INORGANIC:STONE:LIQUID_GLOB].
Logged

Trapezohedron

  • Bay Watcher
  • No longer exists here.
    • View Profile
Re: How do I mod in interactions?
« Reply #20 on: February 17, 2012, 10:39:02 am »

      [CE_CAN_DO_INTERACTION:START:0]
            [CDI:ADV_NAME:Cast incinerate]
            [CDI:USAGE_HINT:ATTACK]
            [CDI:INTERACTION:MATERIAL_EMISSION]
            [CDI:BP_REQUIRED:BY_CATEGORY:HAND]
            [CDI:FLOW:DRAGONFIRE]
            [CDI:TARGET:C:LINE_OF_SIGHT]
            [CDI:TARGET_RANGE:C:15]
            [CDI:VERB:gesture:gestures:NA]
            [CDI:MAX_TARGET_NUMBER:C:3]
            [CDI:WAIT_PERIOD:400]


What I use. Just ensure that all the blue ones are the same letter, and the green number will shoot out x number of times.
Note that it repeats [CDI:VERB] for each time you cast it.
Logged
Thank you for all the fish. It was a good run.

GreatWyrmGold

  • Bay Watcher
  • Sane, by the local standards.
    • View Profile
Re: How do I mod in interactions?
« Reply #21 on: February 17, 2012, 12:31:12 pm »

I got my toads to shoot 15 rocks out at once, dragonbreath range. It can be devastating, shredding people when it flies, problem being it doesn't hit prone things. However it shreds them and sometimes just one-shots them. Masses of toads firing is awesome to see, just loose rocks everywhere and practical walls of stone flying everywhere.
That is AWESOME! Mind posting the raws so we can do it too?

Agreed.
Logged
Sig
Are you a GM with players who haven't posted? TheDelinquent Players Help will have Bay12 give you an action!
[GreatWyrmGold] gets a little crown. May it forever be his mark of Cain; let no one argue pointless subjects with him lest they receive the same.

Gizogin

  • Bay Watcher
  • [EVIL][RAWMANCER]
    • View Profile
Re: How do I mod in interactions?
« Reply #22 on: February 17, 2012, 12:41:36 pm »

Here's my Ice Barrage spell, along with the necessary material:

Spoiler (click to show/hide)
Spoiler (click to show/hide)

It's completely devastating against anything with bones and/or internal organs.
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

Shinziril

  • Bay Watcher
  • !!SCIENCE!!
    • View Profile
Re: How do I mod in interactions?
« Reply #23 on: February 17, 2012, 07:07:54 pm »

I wanted to add a "Regenerate" interaction so that my adventurer could heal that irritating nerve damage, but when I try to use it it's listed as "Unknown reaction" and doesn't do anything.

Text added to creature_standard.txt (under the MALE cast for humans):
Spoiler (click to show/hide)

Text added to new text file in the Objects folder, interaction_X:
Spoiler (click to show/hide)

Ideally this would polymorph me for a very short period of time, triggering the healing of all injuries on transformation, but it's not working.  Does adding new interactions require generating a new world, or am I doing something wrong?

EDIT: Tested in Arena Mode, it works.  Does that mean it requires generating a new world, then?

It also dumps all your equipment on the ground.  Helpful.
« Last Edit: February 17, 2012, 07:12:45 pm by Shinziril »
Logged
Quote from: lolghurt
Quote from: Urist McTaverish
why is Dwarven science always on fire?
Because normal science is boring
Pages: 1 [2]