FORUM ARCHIVED

Need help making an ability

Discussion in 'Modding' started by Cupnoodle0, Sep 2, 2012.

  1. Cupnoodle0

    Cupnoodle0 Member

    I'm trying to make a spell that summons a wall of flame in every tile around the player, but I don't entirely know how to do it. Would anyone mind giving me a hand?
    Below is a kind of visual template as to what I'm trying to do. Any advice/assistance/hand-holding is greatly appreciated!

    FFF
    FPF
    FFF

    F=Fire, P=Player [preferably not on fire]
     
  2. Daynab

    Daynab Community Moderator Staff Member

    Look at the staff crane ability and see how it's coded, I believe it has that exact template.

    (sorry can't help much more, I'm not a modder)
     
  3. Kazeto

    Kazeto Member

    Walls of flame like Gog's Tactical Pyres?

    That's simple, really.

    Make it trigger an empty spell that affects an area around the player using the "20" template that is anchored ('anchored="1"'). Make this spell trigger a flame effect you want, which is likely to be something you'll copy-paste from "Gog's Tactical Pyre" and change to your liking.

    VoilĂ , you have what you want.
     
  4. codebracker

    codebracker Member

    That's pretty easy, I'll make a full spell-script for you, just two questions:
    1. Do you mean a wall of flame like gogs tactical pyre or something else (existing effect/spell, or I can make you a custom one)?
    2. What should I name the spell?
    PS: if you want anything else just post here.
     
  5. codebracker

    codebracker Member

    For tactical pire version:
    Code:
    <spell name="Insert name here" type="template" templateID="20" anchored="1" icon="[I]insert picture for spell here.png"  wand="1">
        <requirements mp="insert mana cost here" />
        <effect type="trigger" spell="Gog's Tactical Pyre" amount="0" />
        <description text="A wall of flame surounds you."/>
    </spell>