Elemental Modding: Goodie Huts

Published on Saturday, August 7, 2010 By Brad Wardell In Elemental Dev Journals

So you’ve decided to get sucked into the world of Elemental…

So let’s make some “notable locations”.

Step #1: The Tile Editor

First, you make your “goodie hut” in the tile editor.

I’m making an “ancient battlefield”.

image

Step #2: Define the GoodieHut and its “treasure”

  <GoodieHutType InternalName="Notable_AncientBattlefield">
    <Name>Ancient Battlefield</Name>
    <Name>Lost Battleground</Name>
    <Name>Forgotten battlefield</Name>
    <Description>This was the site of some long lost battle.</Description>
    <Rarity>100</Rarity>
    <Destructable>1</Destructable>
    <PreferredTerrain>Land</PreferredTerrain>
    <SpawnRating>0</SpawnRating>
    <Medallions InternalName="">
      <All>EnchantedSword1.png</All>
    </Medallions>
    <TileDesign>N_AncientBattlefield_01</TileDesign>
    <DrawnIcon>Gfx/TacticalIcons/Artifact_Bones1_ClothIcon.dds</DrawnIcon>
    <IconSize>50</IconSize>
    <Treasure>
      <Title>Found a midnight stone</Title>
      <Desc>While walking through the debris of the ancient scene of carnage you find a midnight stone.</Desc>
      <Liklihood>100</Liklihood>
      <GameModifier InternalName="Dagger">
        <ModType>GiveItem</ModType>
        <Attribute>MidnightStone</Attribute>
      </GameModifier>
    </Treasure>   
    <OnSelectSFX>Click_Bones_01</OnSelectSFX>
  </GoodieHutType>

 

Explanation:

image

Step 3: There is no step 3.

That’s really it. You just toss this into say the quests directory and voila. It’ll show up.