Changeset 7163 for code/trunk/data/levels/waypoints.oxw
- Timestamp:
- Aug 11, 2010, 8:55:13 AM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/data/levels/waypoints.oxw
r5781 r7163 5 5 include("templates/spaceship_H2.oxt") 6 6 include("templates/spaceship_pirate.oxt") 7 include("templates/lodinformation.oxt") 7 8 ?> 8 9 … … 11 12 description = "Testing waypoings for AI controlled spaceships." 12 13 > 14 <templates> 15 <Template link=lodtemplate_default /> 16 </templates> 17 13 18 <Scene 14 19 ambientlight = "0.5, 0.5, 0.5" … … 85 90 </SpaceShip> 86 91 87 <?lua 88 for i = 1, 5, 1 89 do ?> 90 <SpaceShip position="1500,<?lua print(-2000 + 50*i) ?>,200" lookat="0,0,0" name=polonaise<?lua print(i+1) ?> > 91 <templates> 92 <Template link=spaceshipassff /> 93 </templates> 94 <controller> 95 <WaypointPatrolController alertnessradius=1000 team=12> 96 <waypoints> 97 <Attacher target=polonaise<?lua print(i) ?> deletewithparent=false /> 98 </waypoints> 99 </WaypointPatrolController> 100 </controller> 101 </SpaceShip> 102 <?lua 103 end 104 ?> 105 92 <?lua 93 for i = 1, 5, 1 do 94 ?> 95 <SpaceShip position="1500,<?lua print(-2000 + 50*i) ?>,200" lookat="0,0,0" name=polonaise<?lua print(i+1) ?> > 96 <templates> 97 <Template link=spaceshipassff /> 98 </templates> 99 <controller> 100 <WaypointPatrolController alertnessradius=1000 team=12> 101 <waypoints> 102 <Attacher target=polonaise<?lua print(i) ?> deletewithparent=false /> 103 </waypoints> 104 </WaypointPatrolController> 105 </controller> 106 </SpaceShip> 107 <?lua end ?> 106 108 107 109 <SpaceShip position="-1500,-2000,200" lookat="0,0,0" name=attack1> … … 118 120 </SpaceShip> 119 121 120 <?lua 121 for i = 1, 5, 1 122 do ?> 123 <SpaceShip position="-1500,<?lua print(-2000 + 50*i) ?>,200" lookat="0,0,0" name=attack<?lua print(i+1) ?> > 124 <templates> 125 <Template link=spaceshipassff /> 126 </templates> 127 <controller> 128 <WaypointPatrolController alertnessradius=1000 team=13> 129 <waypoints> 130 <Attacher target=attack<?lua print(i) ?> deletewithparent=false /> 131 </waypoints> 132 </WaypointPatrolController> 133 </controller> 134 </SpaceShip> 135 <?lua 136 end 137 ?> 122 <?lua 123 for i = 1, 5, 1 do 124 ?> 125 <SpaceShip position="-1500,<?lua print(-2000 + 50*i) ?>,200" lookat="0,0,0" name=attack<?lua print(i+1) ?> > 126 <templates> 127 <Template link=spaceshipassff /> 128 </templates> 129 <controller> 130 <WaypointPatrolController alertnessradius=1000 team=13> 131 <waypoints> 132 <Attacher target=attack<?lua print(i) ?> deletewithparent=false /> 133 </waypoints> 134 </WaypointPatrolController> 135 </controller> 136 </SpaceShip> 137 <?lua end ?> 138 138 139 139 <!-- 140 <?lua 141 for i = 1, 50, 1 142 do ?> 143 <SpaceShip position="<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>" lookat="0,0,0" > 144 <templates> 145 <Template link=spaceshipassff /> 146 </templates> 147 <controller> 148 <AIController /> 149 </controller> 150 </SpaceShip> 151 <?lua 152 end 153 ?> 140 <?lua 141 for i = 1, 50, 1 do 142 ?> 143 <SpaceShip position="<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>" lookat="0,0,0" > 144 <templates> 145 <Template link=spaceshipassff /> 146 </templates> 147 <controller> 148 <AIController /> 149 </controller> 150 </SpaceShip> 151 <?lua end ?> 154 152 --> 155 153
Note: See TracChangeset
for help on using the changeset viewer.