Changeset 10667
- Timestamp:
- Oct 19, 2015, 3:47:08 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/campaignHS15/data/levels/Campaign1.oxw
r10666 r10667 196 196 <WaypointController accuracy=10> 197 197 <waypoints> 198 <Model mesh="cube.mesh" scale=8 position="-2500,0,900" /> 199 <Model mesh="cube.mesh" scale=8 position="-2500,0,-900" /> 200 <Model mesh="cube.mesh" scale=8 position="-2500,0,-1700" /> 198 <Model mesh="sphere.mesh" scale=100 position="-2500,0,1650" /> 199 <?lua 200 max = 5 201 for i = 1, max, 1 202 do 203 x = math.cos(math.pi/8*(i+1))*3490 204 y = -math.sin(math.pi/8*(i+1))*3490 205 ?> 206 <Model mesh="sphere.mesh" scale=100 position="<?lua print(y) ?>+490,0,<?lua print(x) ?>" /> 207 <?lua end ?> 208 <Model mesh="sphere.mesh" scale=100 position="-2500,0,-1650" /> 201 209 </waypoints> 202 210 </WaypointController>
Note: See TracChangeset
for help on using the changeset viewer.