Post tutorial RSS Modding tutorials - Advanced modding on block index's

As when you learned basic modding tutorials, with textures, now we can get the job on real modding: edditing block indexes.

Posted by on - Advanced Starting a mod

If you got bored waiting till update update comes out, you can leak out blocks! The engine is self full functional, so modding is possible. We will start from simple notepad.
Go to the /mods/block indexes/default.txt. Now open it, and you can see an grouped bunch of blocks. There is nothing really to learn, but just to show basics, so youll understand how it works.
-its place on inventory- Name -blocks mode (1- physical, 0- default)- -blocks coordinates on terrain.png file-
Now that you understand how the block indexes are grouped, we can start making a texture for block. (skin modding tutorial) When you drew it up somewhere, open up your so called "my blocks.txt"
Add a line in example something like that:
-1- Troll face -0--coords-coords-coords-
Use other indexes as example, but remember, when you add something at start: -1- you have to know that this is blocks location on terrain grid .png. If youll add it wrong, other block may be pushed out of inventory, or the whole new block will not appear. In example, i would add a block in a position -19-, but remember, there is another block with same number. So add +1 from that new block to end. In example
default indexs:
-1- example
-2- example
-3-example
We add block at center:
-1- example
-2- troll face
-2- example
-3- example
Correction:
-1- example
-2- troll face
-3- example
-4- example
If you think this is too hard for you, try figuring out how to add by yourself, also, if its called not "default" then you need to go to menu in-game, mods button, and there is three lines. Replace as you done in skins tutorial.
Enyoy modding! Report any bugs or glitches!

Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.