Changeset 8919 for code/branches/environment3/data
- Timestamp:
- Nov 2, 2011, 3:43:42 PM (13 years ago)
- Location:
- code/branches/environment3/data/levels
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/environment3/data/levels/asteroidField.oxw
r8917 r8919 37 37 <?lua 38 38 dofile("includes/asteroidField.lua") 39 asteroidField(0, 0, 0, 150, 50, 12000, 250)39 asteroidField(0, 0, 0, 150, 50, 12000, 250) 40 40 ?> 41 41 -
code/branches/environment3/data/levels/includes/asteroidField.lua
r8917 r8919 1 1 --[[ asteroid field generator 2 --[[ 3 --[[ generates asteroid field 4 --[[ posX, posY, posZ - position in space 5 --[[ minSize, maxSize - size boundaries of each asteroid 6 --[[ radius - size of the cube around position in space 7 -- [[ count - number of asteroids2 generates asteroid field 3 posX, posY, posZ - position in space 4 minSize, maxSize - size boundaries of each asteroid 5 radius - size of the cube around position in space 6 count - number of asteroids 7 --]] 8 8 function asteroidField(posX, posY, posZ, minSize, maxSize, radius, count) 9 9 for i = 1, count, 1
Note: See TracChangeset
for help on using the changeset viewer.