FORUM ARCHIVED

Custom Spell template index.

Discussion in 'Modding' started by Ruigi, Mar 3, 2012.

  1. Ruigi

    Ruigi Will Mod for Digglebucks

    The following spell templates are used with my clockwork knights mod, I am posting them here to insure that there are no conflicts with other mods. If your mod has custom templates, please post them in this thread so that other modders know about them.
    SPELL TEMPLATE NUMBERS USED: 14, 23, 27, 28, 29, 105, 106
    Code:
      <template width="5" height="5" name="14" affectsPlayer="1">
        <row text=".@@@."/>
        <row text="@@@@@"/>
        <row text="@@#@@"/>
        <row text="@@@@@"/>
        <row text=".@@@."/>
      </template>
    <template width="1" height="2" name="29" affectsPlayer="0">
        <row text="#"/>
        <row text="@"/>
      </template>
    <template width="1" height="3" name="28" affectsPlayer="0">
        <row text="#"/>
        <row text="."/>
        <row text="@"/>
      </template>
    <template width="1" height="4" name="27" affectsPlayer="0">
        <row text="#"/>
        <row text="."/>
        <row text="."/>
        <row text="@"/>
      </template>
        <template width="9" height="9" name="23" affectsPlayer="0">
    <row text="...@@@..."/>
    <row text="..@...@.."/>
    <row text=".@.....@."/>
    <row text="@.......@"/>
    <row text="@...#...@"/>
    <row text="@.......@"/>
    <row text=".@.....@."/>
    <row text="..@...@.."/>
    <row text="...@@@..."/>
      </template>
     
      <template width="7" height="7" name="105" affectsPlayer="1">
    <row text="..@@@.."/>
    <row text=".@@@@@."/>
    <row text="@@@@@@@"/>
    <row text="@@@#@@@"/>
    <row text="@@@@@@@"/>
    <row text=".@@@@@."/>
    <row text="..@@@.."/>
      </template>
     
      <template width="11" height="11" name="106" affectsPlayer="1">
    <row text="..@@@@@@@.."/>
    <row text=".@@@@@@@@@."/>
    <row text="@@@@@@@@@@@"/>
    <row text="@@@@@@@@@@@"/>
    <row text="@@@@@@@@@@@"/>
    <row text="@@@@@#@@@@@"/>
    <row text="@@@@@@@@@@@"/>
    <row text="@@@@@@@@@@@"/>
    <row text="@@@@@@@@@@@"/>
    <row text=".@@@@@@@@@."/>
    <row text="..@@@@@@@.."/>
      </template>
     
    Essence likes this.
  2. Essence

    Essence Will Mod for Digglebucks

    Just out of curiousity, why duplicate so many of the core templates? I think the only new template in there is 23...
     
  3. Ruigi

    Ruigi Will Mod for Digglebucks

    they arent duplicates, there are subtle differences.
     
  4. Wait, don't they use names now? I thought I had heard that...
     
  5. Ruigi

    Ruigi Will Mod for Digglebucks

    who said that?
     
  6. Somebody gave me a quote from Nicholas himself in an old thread of mine, lemme see if I can find it...
     
  7. Essence

    Essence Will Mod for Digglebucks

    That's skills. Templates, IIRC, are still ID#s.


    From the manTemplateDB, id's 30, 31, and 32 are identical to your 27, 28. and 29.

    The others, I see, are all affectsPlayer=1. Gotcha. :)
     
  8. Oh yeah, the quote said that it would be skills. However, in my bug report for the AOE crash, he said that templates would be getting names too...
     
  9. Ruigi

    Ruigi Will Mod for Digglebucks

    27,28, and 29 are supposed to work in the opposite direction, it's hard to notice the difference because i've swapped the position of the player location and the spell effect location. (player is # effect is @)
     
  10. Essence

    Essence Will Mod for Digglebucks

    Ahhh...clever. :) So it goes off behind you, like a lethal rocket fart?
     
  11. Ruigi

    Ruigi Will Mod for Digglebucks

    I haven't had a chance to test it yet, but that's what it should do-- in theory.
     
    Essence likes this.
  12. Null

    Null Will Mod for Digglebucks

    You can name them and in fact I've successfully used a named one. Just put a name instead of the number everywhere.
     
  13. Ruigi

    Ruigi Will Mod for Digglebucks

    well then, that should fix things.