Changeset 12090 for code/branches/OrxoKart_HS18/data/levels
- Timestamp:
- Nov 7, 2018, 11:52:40 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/OrxoKart_HS18/data/levels/OrxoKart1.oxw
r12089 r12090 13 13 14 14 <?lua 15 --include("templates/spaceshipPirate.oxt")16 15 include("templates/OrxoKartKart.oxt") 17 16 include("overlays/OrxoKartHUD.oxo") … … 19 18 20 19 <?lua 21 MAZE_NUM_CELLS = 1022 MAZE_CELL_SIZE = 10023 MAZE_CELL_HEIGHT = 3024 MAZE_SIZE = MAZE_NUM_CELLS*MAZE_CELL_SIZE25 20 --number of tiles 26 21 N = 11 … … 48 43 <StaticEntity position="0,0,0" collisionType="static"> 49 44 <attached> 50 <!-- Walls and flags (physics and design)--> 51 <!-- 52 <HoverOrigin 53 --> 45 <!-- Floor Physique and Design --> 54 46 <OrxoKartOrigin 55 56 47 numCells="<?lua print(N)?>" 57 48 cellSize="<?lua print(S)?>" 58 cellHeight="<?lua print(MAZE_CELL_HEIGHT)?>"59 49 /> 60 50 </attached> 61 51 62 <!-- floor design -->63 <!--64 <Model65 position="<?lua print((N-1)*S/2)?>,0,<?lua print((N-1)*S/2)?>"66 67 scale3D="<?lua print(S)?>,8,<?lua print(S)?>"68 mesh="teststrecke.mesh"69 />70 -->71 72 </attached>73 52 <collisionShapes> 74 <!-- roof physics --> 75 <!-- 76 <BoxCollisionShape 77 position="<?lua print(MAZE_SIZE/2)?>,<?lua print(MAZE_CELL_HEIGHT+1)?>,<?lua print(MAZE_SIZE/2)?>" 78 halfExtents="<?lua print(MAZE_SIZE/2)?>,1,<?lua print(MAZE_SIZE/2)?>" 79 /> 80 --> 81 <!-- floor physics --> 82 83 84 85 86 87 88 89 90 <!-- 91 <BoxCollisionShape 92 position="<?lua print((N-1)*S/2)?>,-1,<?lua print((N-1)*S/2)?>" 93 halfExtents="<?lua print(S*N/2)?>,1,<?lua print(S*N/2)?>" 94 /> 95 96 --> 53 <!-- in case of additional collisionShapes besides the floor --> 97 54 </collisionShapes> 98 55 99 56 </StaticEntity> 100 101 57 <Light 102 58 type=directional
Note: See TracChangeset
for help on using the changeset viewer.