Updated almost all stuff
This commit is contained in:
39
lua-scripts/data.lua
Normal file
39
lua-scripts/data.lua
Normal file
@@ -0,0 +1,39 @@
|
||||
function foo()
|
||||
tree()
|
||||
.node("p1", Quaternion(), Vector3(0, 0, -200))
|
||||
.entity("b1", "residental-house1.glb")
|
||||
.endnode()
|
||||
.node("p2", Quaternion(), Vector3(0, 0, -150))
|
||||
.entity("residental-house1.glb")
|
||||
.endnode()
|
||||
.node("p3", Quaternion(), Vector3(0, 0, -100))
|
||||
.entity("residental-house1.glb")
|
||||
.endnode()
|
||||
.node("p4", Quaternion(), Vector3(0, 0, -50))
|
||||
.entity("residental-house1.glb")
|
||||
.endnode()
|
||||
.node("p5", Quaternion(), Vector3(0, 0, 50))
|
||||
.entity("residental-house1.glb")
|
||||
.endnode()
|
||||
.node("p6", Quaternion(), Vector3(0, 0, 100))
|
||||
.entity("residental-house1.glb")
|
||||
.endnode()
|
||||
.node("p7", Quaternion(), Vector3(0, 0, 150))
|
||||
.entity("residental-house2.glb")
|
||||
.endnode()
|
||||
.node("p8", Quaternion(), Vector3(0, 0, 200))
|
||||
.entity("residental-house3.glb")
|
||||
.endnode()
|
||||
for x = -1000, 1000, 50 do
|
||||
for z = -1000, 1000, 50 do
|
||||
if not ((x >-100 and x < 100) and (z > -100 and z < 100)) then
|
||||
tree()
|
||||
.node("p00" .. tostring(x * 1000 + z), Quaternion(), Vector3(x, 0, z))
|
||||
.entity("residental-house2.glb")
|
||||
.endnode()
|
||||
end
|
||||
end
|
||||
end
|
||||
v = Vector3(0, 1, 2)
|
||||
end
|
||||
foo()
|
||||
Reference in New Issue
Block a user