Skip to content

[Mod] Buildmode in 1.0.5

fortunez edited this page Aug 13, 2011 · 2 revisions

Buildmode allows infinite tile range placement and is extremely easy.

Add this in your ModClass.cs

case "build": if (!(parameter == "on")) { Player.tileRangeY = 5; Player.tileRangeX = 4; } Player.tileRangeY = 0x1869f; Player.tileRangeX = 0x1869f;

It works well with debugmode and allows you to destory and place blocks anywhere on the map.

NEW ## , different way that dosent require ModClass.cs

Locate public static int tileRangeY in player, its near the top. change it to public static int tileRangeY = 9999; and public static int tileRangeX = 9999; they should be right next to each other.
-Fortunez

Clone this wiki locally