I does some tries with it. My Building hasn't appeared when it was bigger than the estate size I configured in the construction.
Here my working code. I've built a house on 1x1 ground.
JavaScript
...
return townbuildingutil.make_building(
"asset/construction_1850.mdl",
"building/era_a/res_no_1x1_1.mdl",
{ { -7.00, 0.25 }, { 7.00, 0.25 }, { 7.00, 14.50 }, { -7.00, 14.50 } },
transf.transl(vec3.new(.0, 0, .0)),
"RESIDENTIAL", "A", 1,
{ 1, 1 }, -- <- Estate size (in 10m I think)
{
{ grp = "random_small_tree", transf = { 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -2, 1, 0, 1 } },
}
)
...
Alles anzeigen