[Orxonox-commit 6008] r10667 - code/branches/campaignHS15/data/levels
bhatiab at orxonox.net
bhatiab at orxonox.net
Mon Oct 19 15:47:09 CEST 2015
Author: bhatiab
Date: 2015-10-19 15:47:08 +0200 (Mon, 19 Oct 2015)
New Revision: 10667
Modified:
code/branches/campaignHS15/data/levels/Campaign1.oxw
Log:
Added Waypoints for Transporter - Coordinates for A, B and the Waypoints need to be fixed though.
Modified: code/branches/campaignHS15/data/levels/Campaign1.oxw
===================================================================
--- code/branches/campaignHS15/data/levels/Campaign1.oxw 2015-10-19 13:26:21 UTC (rev 10666)
+++ code/branches/campaignHS15/data/levels/Campaign1.oxw 2015-10-19 13:47:08 UTC (rev 10667)
@@ -195,9 +195,17 @@
<controller>
<WaypointController accuracy=10>
<waypoints>
- <Model mesh="cube.mesh" scale=8 position="-2500,0,900" />
- <Model mesh="cube.mesh" scale=8 position="-2500,0,-900" />
- <Model mesh="cube.mesh" scale=8 position="-2500,0,-1700" />
+ <Model mesh="sphere.mesh" scale=100 position="-2500,0,1650" />
+ <?lua
+ max = 5
+ for i = 1, max, 1
+ do
+ x = math.cos(math.pi/8*(i+1))*3490
+ y = -math.sin(math.pi/8*(i+1))*3490
+ ?>
+ <Model mesh="sphere.mesh" scale=100 position="<?lua print(y) ?>+490,0,<?lua print(x) ?>" />
+ <?lua end ?>
+ <Model mesh="sphere.mesh" scale=100 position="-2500,0,-1650" />
</waypoints>
</WaypointController>
</controller>
More information about the Orxonox-commit
mailing list