Frogboy Frogboy

Elemental Modding: Goodie Huts

Elemental Modding: Goodie Huts

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.

116,589 views 62 replies
Reply #51 Top

Holding down the middle mouse (typically pressing down on the scroll wheel if you have one) and moving the mouse rotates it. If it doesn't, make sure in your mouse config app the scroll wheel is set to Mouse 3 or Middle, however they label it.

Reply #52 Top

Ah, that's what I didn't think of--stupid Logitech thinking I wanted my wheel-click to be Document Flip. Muchas gracias, Annatar.

Reply #54 Top

So how do i do this? Just copy & paste this into my existing normal tile xml?
Behind </DataChecksum> but before...... <TileDesign InternalName="Baleur Ancient Temple"> ??
(the images in the first topic aint showing up anymore :) )

  <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>

Reply #55 Top

Yeah a bit more explanation would be helpful.  I am able to create the tiles just fine.  To make them appear in any game I play, do I need to insert this section of code and customize it for each new tile I create?  Will inserting this code make it so that the tile has a chance to appear as a goodie hut in each game I play, or do I have to manually create a map and insert it by hand?

 

Thanks for any help.

Reply #56 Top

And how do i make them into other stuff than goodie huts, such as normal props that can randomly appear anywhere (like grass or junk)??

Reply #57 Top

I wanted to add here that a given tile in the tile editor can be 2x2 or 1x1. That probably works for goody huts as well as creatures.It should also be noticed that we can extrude from the box to about 6x6 if need be.

Reply #58 Top

All I want to know is, where the heck are the tiles you create saved at?

 

I am making a bunch of new goodie huts for all five levels and I can't find the tiles after they are saved.  Are they seperate files or are they just mashed into some blob file somewhere?

 

Reply #59 Top

Quoting hannahb, reply 60
All I want to know is, where the heck are the tiles you create saved at?

 

I am making a bunch of new goodie huts for all five levels and I can't find the tiles after they are saved.  Are they seperate files or are they just mashed into some blob file somewhere?

 
End of hannahb's quote

 

Check the Elemental folder in C:\Users\UserName\Documents\MyGames\Elemental should be there under tiles.

 

It was refreshing how easy it was to pickup on the Tile Designer.

 

Reply #60 Top

Quoting hannahb, reply 60
All I want to know is, where the heck are the tiles you create saved at?

 

I am making a bunch of new goodie huts for all five levels and I can't find the tiles after they are saved.  Are they seperate files or are they just mashed into some blob file somewhere?

 
End of hannahb's quote

OMG, windows and it's crazy file system!

 

finally found em ..

c:/users/username/documents/mygames/elemental/tiles

 

thanks for your help.