Wall Tutorial
Comments6this wiki
Redirected from Wall Tutorail
Hello! Poro here! I made this tutorial, because there was not a tutorial for it, even though many modders already made walls.
Making a wall is not much different from making a tile.
This tutorial is based off of Obsidian54's Ice Wall.
To start: You will need a wall .ini, a sprite, a item .ini and a sprite of the wall. In this tutorial, the wall is called "Demonite Wall".
Contents |
Making the Wall's .ini
Edit
First, make a folder in your modpack called 'Wall'.
Then, set this in the .ini file:
[Stats] id=-1 ;Same as the type=-1 for items. house=true ;So it can be used for housing. dropName=Demonite Wall ;The item that is dropped by the wall. blend=-1 ;Set to the ID that the wall combines with when laid side to side. Needs to be -1 for a custom tile to combine itself.
Making the Wall's Picture
Edit
I'm not so good at spriting, so I used the default sprite of the Grey Brick Wall (You can always use it as a template)

Added by PoroCYon(Be sure to leave the blank places blank, or you'll get a messed up sprite)
Making the wall's Item
Edit
Put this in the item's .ini:
[in the item folder]
[Stats] width=12 height=12 ;size of your item (hitbox) type=-1 ;for a custom wall useStyle=1 ;general wall-creating items usestyle useAnimation=15 useTime=15 ;Item is used every 1/4 second maxStack=250 ;I think you know this createWallName=Demonite Brick Wall ;same consumable=True ;so the item leaves your hands autoReuse=True ;like all other wall-creating items useTurn=True ;nothing special, you may turn it to False if you want ;(lets you turn to the wall-create place if True) scale=1.0 ;size of your item (picture) [Recipe] Amount=4 needWater=False Items=1 Demonite Brick Tiles=Work Bench ;insert what you want
Note: Don't forget the item sprite!

Final Word
Edit
I hope this tutorial is satisfactory. You can always take a look at the wall attributes page here:
Add your own sprites, I'm not good at spriting at all, and have a nice day!