- Timestamp:
- Dec 7, 2015, 5:04:44 PM (9 years ago)
- Location:
- code/branches/planetLevelHS15/data/levels
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/planetLevelHS15/data/levels/luaTest.oxw
r10905 r10951 23 23 <?lua 24 24 function randomHouses(x,y,cellSize) 25 returnString = " <SpawnPoint team=0 position=\"" .. x*cellSize/2 .. "," .. y*cellSize/2 .. ",500\" lookat=\"0,0,0\" spawnclass=SpaceShip pawndesign=spaceshipescort direction=\"0,1,0\" />"25 returnString = "" 26 26 for currentX = 1, x, 1 do 27 27 for currentY = 1, y, 1 do … … 56 56 57 57 58 58 <?lua print(randomHouses(5,5,600)) ?> 59 59 <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=0 friction=0.01 yaw=90 roll=90 > 60 60 <attached> … … 63 63 <Light type="point" position="0,0,0" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/> 64 64 </attached> 65 </StaticEntity> </Scene> 65 </StaticEntity> 66 </Scene> 66 67 </Level> 67 68
Note: See TracChangeset
for help on using the changeset viewer.