Changeset 7675 for code/trunk/data/levels
- Timestamp:
- Nov 26, 2010, 12:06:43 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/data/levels/The Time Machine.oxw
r7674 r7675 173 173 174 174 <!--Creating Spaceships_____________________________________________________________________________________________________________________________________________________________________--> 175 176 <?lua for i=0,5,1 do 177 y=math.random(-500,500) 178 z=math.random(-1000,1000) 179 y2=math.random(-500,500) 180 z2=math.random(-1000,1000) 181 health=230 182 addh=100 183 ?> 184 185 <EventTrigger name="BotDied" > 186 <events> 187 <trigger> 188 <SpaceShip position="-4000,<?lua print(y) ?>,<?lua print(z) ?>" lookat="1000,<?lua print(y) ?>,<?lua print(z) ?>" health=<?lua print(health) ?> maxhealth=<?lua print(health) ?> initialhealth=<?lua print(health) ?> > 189 <templates> 190 <Template link=spaceshipassff /> 191 </templates> 192 <controller> 193 <WaypointPatrolController alertnessradius=1000 team=0 active=1 > 194 <waypoints> 195 <Model mesh="cube.mesh" scale=0 position="1000,<?lua print(math.random(-1000,1000)) ?>,<?lua print(math.random(-1000,1000)) ?>" /> 196 </waypoints> 197 <events> 198 <activity> 199 <Trigger mode=or> 200 <EventTrigger invert=true> 201 <events> 202 <trigger> 203 <EventListener event=EnterTimeMachine /> 204 </trigger> 205 </events> 206 </EventTrigger> 207 <EventTrigger> 208 <events> 209 <trigger> 210 <EventListener event=trigger2 /> 211 </trigger> 212 </events> 213 </EventTrigger> 214 </Trigger> 215 </activity> 216 </events> 217 </WaypointPatrolController> 218 </controller> 219 </SpaceShip> 220 </trigger> 221 </events> 222 </EventTrigger> 223 224 <EventTrigger name="BotDied" > 225 <events> 226 <trigger> 227 <SpaceShip position="4000,<?lua print(y2) ?>,<?lua print(z2) ?>" lookat="-1000,<?lua print(y2) ?>, <?lua print(z2) ?>" health=<?lua print(health+addh) ?> maxhealth=<?lua print(health+addh) ?> initialhealth=<?lua print(health+addh) ?> > 228 <templates> 229 <Template link=spaceshippirate /> 230 </templates> 231 <controller> 232 <WaypointPatrolController alertnessradius=1000 team=1 active=1 > 233 <waypoints> 234 <Model mesh="cube.mesh" scale=0 position="-1000,<?lua print(math.random(-1000,1000)) ?>, <?lua print(math.random(-1000,1000)) ?>" /> 235 </waypoints> 236 <events> 237 <activity> 238 <Trigger mode=or> 239 <EventTrigger invert=true> 240 <events> 241 <trigger> 242 <EventListener event=EnterTimeMachine /> 243 </trigger> 244 </events> 245 </EventTrigger> 246 <EventTrigger> 247 <events> 248 <trigger> 249 <EventListener event=trigger2 /> 250 </trigger> 251 </events> 252 </EventTrigger> 253 </Trigger> 254 </activity> 255 </events> 256 </WaypointPatrolController> 257 </controller> 258 </SpaceShip> 259 </trigger> 260 </events> 261 </EventTrigger> 262 <?lua end ?> 175 263 176 264 <!--Creating Spaceships_____END_____________________________________________________________________________________________________________________________________________________________-->
Note: See TracChangeset
for help on using the changeset viewer.