FANDOM


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

Making the Wall's .iniEdit

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 PictureEdit

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)

Wall 5

Grey Brick Wall

(Be sure to leave the blank places blank, or you'll get a messed up sprite)

Making the wall's ItemEdit

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!

Item 577

Demonite Brick Wall Item (this pic is the demonite brick)

Final WordEdit

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!

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.