[10655] | 1 | <LevelInfo |
---|
[10805] | 2 | name = "New AI testing level" |
---|
| 3 | description = "A level with two opposing new AI teams" |
---|
[10655] | 4 | tags = "test" |
---|
| 5 | screenshot = "emptylevel.png" |
---|
| 6 | /> |
---|
| 7 | |
---|
| 8 | <?lua |
---|
| 9 | include("stats.oxo") |
---|
| 10 | include("HUDTemplates3.oxo") |
---|
| 11 | include("templates/lodInformation.oxt") |
---|
| 12 | ?> |
---|
| 13 | |
---|
| 14 | <?lua |
---|
| 15 | include("templates/spaceshipAssff.oxt") |
---|
| 16 | include("templates/spaceshipPirate.oxt") |
---|
| 17 | include("templates/spaceshipEscort.oxt") |
---|
| 18 | include("templates/spaceshipRing.oxt") |
---|
| 19 | include("templates/spaceshipSwallow.oxt") |
---|
[10888] | 20 | include("templates/pickupRepresentationTemplates.oxt") |
---|
[10655] | 21 | ?> |
---|
| 22 | |
---|
[10888] | 23 | |
---|
[10655] | 24 | <Level> |
---|
| 25 | <templates> |
---|
| 26 | <Template link=lodtemplate_default /> |
---|
| 27 | </templates> |
---|
| 28 | <?lua include("includes/notifications.oxi") ?> |
---|
| 29 | |
---|
| 30 | <Scene |
---|
| 31 | ambientlight = "0.8, 0.8, 0.8" |
---|
| 32 | skybox = "Orxonox/Starbox" |
---|
| 33 | > |
---|
[10888] | 34 | <?lua |
---|
| 35 | include("includes/pickups.oxi") |
---|
| 36 | ?> |
---|
[10655] | 37 | <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/> |
---|
[10912] | 38 | <TeamSpawnPoint team=0 position="2000, 2000, 2000" lookat="1,1,-1" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
[10915] | 39 | |
---|
[10838] | 40 | |
---|
[10888] | 41 | <!-- |
---|
| 42 | <PickupSpawner pickup=largedamageboostpickup position="0,0,0" triggerDistance="20" respawnTime="30" maxSpawnedItems="10" /> |
---|
| 43 | <PickupSpawner pickup=crazyhealthpickup position="0,0,0" triggerDistance="50" respawnTime="30" maxSpawnedItems="10" /> |
---|
| 44 | <PickupSpawner pickup=hugeshieldpickup position="4000,4500, 4500" triggerDistance="10" respawnTime="5" maxSpawnedItems="10" /> |
---|
| 45 | <PickupSpawner pickup=smalljumppickup position="6500,6500, 6000" triggerDistance="20" respawnTime="10" maxSpawnedItems="99" /> |
---|
| 46 | <PickupSpawner pickup=largedamageboostpickup position="9500,9500, 9500" triggerDistance="20" respawnTime="30" maxSpawnedItems="10" /> |
---|
| 47 | <PickupSpawner pickup=largedamageboostpickup position="13000,13000,13000" triggerDistance="10" respawnTime="30" maxSpawnedItems="10" /> |
---|
| 48 | --> |
---|
[10859] | 49 | <!-- HERE STARTS DEMO FOR THE "WAYPOINTS" --> |
---|
[10883] | 50 | <!-- |
---|
[10888] | 51 | <SpaceShip position="-1500, -1500, -1500" lookat="0,0,0" team=0 name="ss1"> |
---|
| 52 | <templates> |
---|
| 53 | <Template link=spaceshipassff /> |
---|
| 54 | </templates> |
---|
| 55 | <controller> |
---|
[10912] | 56 | <DivisionController team=1 formationMode="finger4"> |
---|
[10888] | 57 | <actionpoints> |
---|
| 58 | <Model mesh="cube.mesh" scale=8 position=" 0,2000,-600" /> |
---|
| 59 | <Model mesh="cube.mesh" scale=8 position=" 0,2000,-1000" /> |
---|
| 60 | <Model mesh="cube.mesh" scale=8 position="400,2000,-1000" /> |
---|
| 61 | <Model mesh="cube.mesh" scale=8 position="400,2000,-600" /> |
---|
| 62 | </actionpoints> |
---|
| 63 | </DivisionController> |
---|
| 64 | </controller> |
---|
| 65 | </SpaceShip> |
---|
| 66 | --> |
---|
| 67 | <!-- those two are same --> |
---|
| 68 | |
---|
| 69 | <!-- |
---|
[10859] | 70 | <Model mesh="cube.mesh" scale=8 position=" 0,2000,-600" /> |
---|
[10888] | 71 | <Model mesh="cube.mesh" scale=8 position=" 0,2000,-1000" /> |
---|
| 72 | <Model mesh="cube.mesh" scale=8 position="400,2000,-1000" /> |
---|
| 73 | <Model mesh="cube.mesh" scale=8 position="400,2000,-600" /> |
---|
[10855] | 74 | <SpaceShip position="-1500, 1500, -1000" lookat="0,0,0" team=0 name="ss1"> |
---|
| 75 | <templates> |
---|
| 76 | <Template link=spaceshipassff /> |
---|
| 77 | </templates> |
---|
| 78 | <controller> |
---|
| 79 | <DivisionController team=0 formationMode="finger4"> |
---|
| 80 | <actionpoints> |
---|
[10859] | 81 | <Actionpoint position=" 0,2000,-600" action="FLY" loopStart=true/> |
---|
[10888] | 82 | <Actionpoint position=" 0,2000,-1000" action="FLY" /> |
---|
| 83 | <Actionpoint position="400,2000,-1000" action="FLY" /> |
---|
| 84 | <Actionpoint position="400,2000,-600" action="FLY" loopEnd=true /> |
---|
[10855] | 85 | </actionpoints> |
---|
| 86 | </DivisionController> |
---|
| 87 | </controller> |
---|
[10888] | 88 | </SpaceShip> --> |
---|
| 89 | |
---|
[10859] | 90 | <!-- HERE ENDS DEMO FOR THE "WAYPOINTS" --> |
---|
| 91 | |
---|
[10861] | 92 | <!-- HERE STARTS DEMO FOR THE ACTIONPOINTS. |
---|
| 93 | P.S. Never set protectMe in the first actionpoint: if human didn't spawn, that actionpoint will be skipped --> |
---|
[10915] | 94 | <!-- |
---|
[10859] | 95 | <Model mesh="cube.mesh" scale=8 position="0,0,0" /> |
---|
| 96 | |
---|
[10851] | 97 | <SpaceShip position="-2000, 1500, -1000" lookat="0,0,0" team=0 name="ss2"> |
---|
[10847] | 98 | <templates> |
---|
| 99 | <Template link=spaceshipassff /> |
---|
| 100 | </templates> |
---|
| 101 | <controller> |
---|
[10854] | 102 | <DivisionController team=0 formationMode="finger4"> |
---|
[10847] | 103 | <actionpoints> |
---|
[10861] | 104 | <Actionpoint position="0,0,0" action="FLY" /> |
---|
[10898] | 105 | <Actionpoint position="-1000,750,-500" action="ATTACK" attack="attack" /> |
---|
[10861] | 106 | <Actionpoint position="-1000,750,-500" action="PROTECt" protectMe=true /> |
---|
[10898] | 107 | <Actionpoint position="-1000,750,-500" action="PROTECt" protect="protect" /> |
---|
[10861] | 108 | <Actionpoint position="-1000,750,-500" action="FIGHTALL" /> |
---|
| 109 | </actionpoints> |
---|
[10847] | 110 | </DivisionController> |
---|
| 111 | </controller> |
---|
| 112 | </SpaceShip> |
---|
[10854] | 113 | <SpaceShip position="-2000, 1900, -1000" lookat="0,0,0" team=0> |
---|
[10851] | 114 | <templates> |
---|
| 115 | <Template link=spaceshipassff /> |
---|
| 116 | </templates> |
---|
| 117 | <controller> |
---|
| 118 | <SectionController team=0> |
---|
| 119 | </SectionController> |
---|
| 120 | </controller> |
---|
| 121 | </SpaceShip> |
---|
[10859] | 122 | <SpaceShip position="-2000, 2100, -1000" lookat="0,0,0" team=0> |
---|
| 123 | <templates> |
---|
| 124 | <Template link=spaceshipassff /> |
---|
| 125 | </templates> |
---|
| 126 | <controller> |
---|
| 127 | <WingmanController team=0> |
---|
| 128 | </WingmanController> |
---|
| 129 | </controller> |
---|
| 130 | </SpaceShip> |
---|
| 131 | <SpaceShip position="-2000, 2400, -1000" lookat="0,0,0" team=0> |
---|
| 132 | <templates> |
---|
| 133 | <Template link=spaceshipassff /> |
---|
| 134 | </templates> |
---|
| 135 | <controller> |
---|
| 136 | <WingmanController team=0> |
---|
| 137 | </WingmanController> |
---|
| 138 | </controller> |
---|
| 139 | </SpaceShip> |
---|
[10849] | 140 | <SpaceShip position="0, 0, 0" lookat="0,0,0" team=2 name="ss4"> |
---|
| 141 | <templates> |
---|
| 142 | <Template link=spaceshipassff /> |
---|
| 143 | </templates> |
---|
| 144 | </SpaceShip> |
---|
[10898] | 145 | <SpaceShip position="3000, 1000, 2000" lookat="0,0,0" team=2 name="attack"> |
---|
[10849] | 146 | <templates> |
---|
| 147 | <Template link=spaceshipassff /> |
---|
| 148 | </templates> |
---|
| 149 | </SpaceShip> |
---|
[10898] | 150 | <SpaceShip position="-500, -300, -300" lookat="0,0,0" team=0 name="protect"> |
---|
[10849] | 151 | <templates> |
---|
| 152 | <Template link=spaceshipassff /> |
---|
| 153 | </templates> |
---|
| 154 | </SpaceShip> |
---|
[10898] | 155 | --> |
---|
| 156 | |
---|
[10859] | 157 | <!-- HERE ENDS DEMO FOR THE ACTIONPOINTS --> |
---|
| 158 | <!-- HERE STARTS DEMO FOR FIGHTING --> |
---|
[10888] | 159 | |
---|
[10909] | 160 | |
---|
[10903] | 161 | <SpaceShip position="-4000, 1500, -1000" lookat="0,0,0" team=0 name="d1sd1"> |
---|
[10759] | 162 | <templates> |
---|
| 163 | <Template link=spaceshipassff /> |
---|
| 164 | </templates> |
---|
| 165 | <controller> |
---|
[10870] | 166 | <DivisionController team=0 formationMode="WALL"> |
---|
[10885] | 167 | |
---|
[10859] | 168 | </DivisionController> |
---|
| 169 | </controller> |
---|
| 170 | </SpaceShip> |
---|
[10903] | 171 | <SpaceShip position="-4000, 1900, -1000" lookat="0,0,0" team=0 name="d1ss1"> |
---|
[10859] | 172 | <templates> |
---|
| 173 | <Template link=spaceshipassff /> |
---|
| 174 | </templates> |
---|
| 175 | <controller> |
---|
| 176 | <SectionController team=0> |
---|
| 177 | </SectionController> |
---|
| 178 | </controller> |
---|
| 179 | </SpaceShip> |
---|
[10903] | 180 | <SpaceShip position="-4000, 2100, -1000" lookat="0,0,0" team=0 name="d1sw1"> |
---|
[10859] | 181 | <templates> |
---|
| 182 | <Template link=spaceshipassff /> |
---|
| 183 | </templates> |
---|
| 184 | <controller> |
---|
[10840] | 185 | <WingmanController team=0> |
---|
[10759] | 186 | </WingmanController> |
---|
| 187 | </controller> |
---|
| 188 | </SpaceShip> |
---|
[10903] | 189 | <SpaceShip position="-4000, 2400, -1000" lookat="0,0,0" team=0 name="d1sw2"> |
---|
[10759] | 190 | <templates> |
---|
| 191 | <Template link=spaceshipassff /> |
---|
| 192 | </templates> |
---|
| 193 | <controller> |
---|
[10840] | 194 | <WingmanController team=0> |
---|
[10759] | 195 | </WingmanController> |
---|
| 196 | </controller> |
---|
| 197 | </SpaceShip> |
---|
[10906] | 198 | <SpaceShip position="-5000, 1500, -1000" lookat="0,0,0" team=0 name="d1s1d1"> |
---|
| 199 | <templates> |
---|
| 200 | <Template link=spaceshipassff /> |
---|
| 201 | </templates> |
---|
| 202 | <controller> |
---|
| 203 | <DivisionController team=0 formationMode="WALL"> |
---|
[10859] | 204 | |
---|
[10906] | 205 | </DivisionController> |
---|
| 206 | </controller> |
---|
| 207 | </SpaceShip> |
---|
| 208 | <SpaceShip position="-5000, 1900, -1000" lookat="0,0,0" team=0 name="d1s1s1"> |
---|
| 209 | <templates> |
---|
| 210 | <Template link=spaceshipassff /> |
---|
| 211 | </templates> |
---|
| 212 | <controller> |
---|
| 213 | <SectionController team=0> |
---|
| 214 | </SectionController> |
---|
| 215 | </controller> |
---|
| 216 | </SpaceShip> |
---|
| 217 | <SpaceShip position="-5000, 2100, -1000" lookat="0,0,0" team=0 name="d1s1w1"> |
---|
| 218 | <templates> |
---|
| 219 | <Template link=spaceshipassff /> |
---|
| 220 | </templates> |
---|
| 221 | <controller> |
---|
| 222 | <WingmanController team=0> |
---|
| 223 | </WingmanController> |
---|
| 224 | </controller> |
---|
| 225 | </SpaceShip> |
---|
| 226 | <SpaceShip position="-5000, 2400, -1000" lookat="0,0,0" team=0 name="d1s1w2"> |
---|
| 227 | <templates> |
---|
| 228 | <Template link=spaceshipassff /> |
---|
| 229 | </templates> |
---|
| 230 | <controller> |
---|
| 231 | <WingmanController team=0> |
---|
| 232 | </WingmanController> |
---|
| 233 | </controller> |
---|
| 234 | </SpaceShip> |
---|
| 235 | |
---|
[10903] | 236 | <SpaceShip position="2000, -1500, 1000" lookat="0,0,0" team=1 name="d2sd1"> |
---|
[10759] | 237 | <templates> |
---|
| 238 | <Template link=spaceshipassff /> |
---|
| 239 | </templates> |
---|
| 240 | <controller> |
---|
[10859] | 241 | <DivisionController team=1 formationMode="WALL"> |
---|
[10885] | 242 | |
---|
[10859] | 243 | </DivisionController> |
---|
[10759] | 244 | </controller> |
---|
[10805] | 245 | </SpaceShip> |
---|
[10903] | 246 | <SpaceShip position="2000, -1900, 1000" lookat="0,0,0" team=1 name="d2ss1"> |
---|
[10838] | 247 | <templates> |
---|
| 248 | <Template link=spaceshipassff /> |
---|
| 249 | </templates> |
---|
| 250 | <controller> |
---|
[10859] | 251 | <SectionController team=1> |
---|
[10838] | 252 | </SectionController> |
---|
| 253 | </controller> |
---|
[10859] | 254 | </SpaceShip> |
---|
[10903] | 255 | <SpaceShip position="2000, -2100, 1000" lookat="0,0,0" team=1 name="d2sw1"> |
---|
[10709] | 256 | <templates> |
---|
| 257 | <Template link=spaceshipassff /> |
---|
| 258 | </templates> |
---|
| 259 | <controller> |
---|
[10859] | 260 | <WingmanController team=1> |
---|
| 261 | </WingmanController> |
---|
[10717] | 262 | </controller> |
---|
| 263 | </SpaceShip> |
---|
[10903] | 264 | <SpaceShip position="2000, -2400, 1000" lookat="0,0,0" team=1 name="d2sw2"> |
---|
[10717] | 265 | <templates> |
---|
| 266 | <Template link=spaceshipassff /> |
---|
| 267 | </templates> |
---|
| 268 | <controller> |
---|
[10859] | 269 | <WingmanController team=1> |
---|
[10709] | 270 | </WingmanController> |
---|
| 271 | </controller> |
---|
[10859] | 272 | </SpaceShip> |
---|
[10906] | 273 | <SpaceShip position="1000, -1500, 1000" lookat="0,0,0" team=1 name="d2s1d1"> |
---|
| 274 | <templates> |
---|
| 275 | <Template link=spaceshipassff /> |
---|
| 276 | </templates> |
---|
| 277 | <controller> |
---|
| 278 | <DivisionController team=1 formationMode="WALL"> |
---|
| 279 | |
---|
| 280 | </DivisionController> |
---|
| 281 | </controller> |
---|
| 282 | </SpaceShip> |
---|
| 283 | <SpaceShip position="1000, -1900, 1000" lookat="0,0,0" team=1 name="d2s1s1"> |
---|
| 284 | <templates> |
---|
| 285 | <Template link=spaceshipassff /> |
---|
| 286 | </templates> |
---|
| 287 | <controller> |
---|
| 288 | <SectionController team=1> |
---|
| 289 | </SectionController> |
---|
| 290 | </controller> |
---|
| 291 | </SpaceShip> |
---|
| 292 | <SpaceShip position="1000, -2100, 1000" lookat="0,0,0" team=1 name="d2s1w1"> |
---|
| 293 | <templates> |
---|
| 294 | <Template link=spaceshipassff /> |
---|
| 295 | </templates> |
---|
| 296 | <controller> |
---|
| 297 | <WingmanController team=1> |
---|
| 298 | </WingmanController> |
---|
| 299 | </controller> |
---|
[10909] | 300 | </SpaceShip> |
---|
[10906] | 301 | <SpaceShip position="1000, -2400, 1000" lookat="0,0,0" team=1 name="d2s1w2"> |
---|
| 302 | <templates> |
---|
| 303 | <Template link=spaceshipassff /> |
---|
| 304 | </templates> |
---|
| 305 | <controller> |
---|
| 306 | <WingmanController team=1> |
---|
| 307 | </WingmanController> |
---|
| 308 | </controller> |
---|
| 309 | </SpaceShip> |
---|
[10885] | 310 | |
---|
[10859] | 311 | <!-- HERE ENDS DEMO FOR FIGHTING --> |
---|
| 312 | <!-- HERE STARTS DEMO FOR FORMATIONS --> |
---|
[10885] | 313 | <!-- |
---|
[10859] | 314 | <Model mesh="cube.mesh" scale=8 position=" 0,2000, 0" /> |
---|
| 315 | <Model mesh="cube.mesh" scale=8 position=" 0,2000,-2000" /> |
---|
| 316 | <Model mesh="cube.mesh" scale=8 position="2000,2000,-2000" /> |
---|
| 317 | <Model mesh="cube.mesh" scale=8 position="2000,2000, 0" /> |
---|
| 318 | |
---|
| 319 | <SpaceShip position="-1500, 1500, -1000" lookat="0,0,0" team=0 name="ss1"> |
---|
| 320 | <templates> |
---|
| 321 | <Template link=spaceshipassff /> |
---|
| 322 | </templates> |
---|
| 323 | <controller> |
---|
[10880] | 324 | <DivisionController team=0 formationMode="diamond" spread=100> |
---|
[10859] | 325 | <actionpoints> |
---|
| 326 | <Actionpoint position=" 0,2000, 0" action="FLY" loopStart=true/> |
---|
| 327 | <Actionpoint position=" 0,2000,-2000" action="FLY" /> |
---|
| 328 | <Actionpoint position="2000,2000,-2000" action="FLY" /> |
---|
| 329 | <Actionpoint position="2000,2000, 0" action="FLY" loopEnd=true /> |
---|
| 330 | </actionpoints> |
---|
| 331 | </DivisionController> |
---|
| 332 | </controller> |
---|
[10709] | 333 | </SpaceShip> |
---|
[10859] | 334 | |
---|
| 335 | <SpaceShip position="-2000, 1900, -1000" lookat="0,0,0" team=0> |
---|
[10725] | 336 | <templates> |
---|
| 337 | <Template link=spaceshipassff /> |
---|
| 338 | </templates> |
---|
| 339 | <controller> |
---|
[10859] | 340 | <SectionController team=0> |
---|
| 341 | </SectionController> |
---|
| 342 | </controller> |
---|
| 343 | </SpaceShip> |
---|
| 344 | <SpaceShip position="-2000, 2100, -1000" lookat="0,0,0" team=0> |
---|
| 345 | <templates> |
---|
| 346 | <Template link=spaceshipassff /> |
---|
| 347 | </templates> |
---|
| 348 | <controller> |
---|
| 349 | <WingmanController team=0> |
---|
[10725] | 350 | </WingmanController> |
---|
| 351 | </controller> |
---|
| 352 | </SpaceShip> |
---|
[10859] | 353 | <SpaceShip position="-2000, 2400, -1000" lookat="0,0,0" team=0> |
---|
[10717] | 354 | <templates> |
---|
| 355 | <Template link=spaceshipassff /> |
---|
| 356 | </templates> |
---|
| 357 | <controller> |
---|
[10859] | 358 | <WingmanController team=0> |
---|
| 359 | </WingmanController> |
---|
[10717] | 360 | </controller> |
---|
[10859] | 361 | </SpaceShip> |
---|
[10885] | 362 | --> |
---|
[10859] | 363 | <!-- HERE ENDS DEMO FOR FORMATIONS --> |
---|
[10886] | 364 | <!-- 1 division is roughly equal to 6 AIControllers--!> |
---|
| 365 | <!-- |
---|
| 366 | <SpaceShip position="2000, -1500, 1000" lookat="0,0,0" team=1 > |
---|
[10877] | 367 | <templates> |
---|
| 368 | <Template link=spaceshipassff /> |
---|
| 369 | </templates> |
---|
| 370 | <controller> |
---|
[10886] | 371 | <DivisionController team=1 formationMode="WALL"> |
---|
| 372 | |
---|
[10877] | 373 | </DivisionController> |
---|
| 374 | </controller> |
---|
| 375 | </SpaceShip> |
---|
[10886] | 376 | <SpaceShip position="2000, -1900, 1000" lookat="0,0,0" team=1> |
---|
| 377 | <templates> |
---|
| 378 | <Template link=spaceshipassff /> |
---|
| 379 | </templates> |
---|
| 380 | <controller> |
---|
| 381 | <SectionController team=1> |
---|
| 382 | </SectionController> |
---|
| 383 | </controller> |
---|
| 384 | </SpaceShip> |
---|
| 385 | <SpaceShip position="2000, -2100, 1000" lookat="0,0,0" team=1> |
---|
| 386 | <templates> |
---|
| 387 | <Template link=spaceshipassff /> |
---|
| 388 | </templates> |
---|
| 389 | <controller> |
---|
| 390 | <WingmanController team=1> |
---|
| 391 | </WingmanController> |
---|
| 392 | </controller> |
---|
| 393 | </SpaceShip> |
---|
| 394 | <SpaceShip position="2000, -2400, 1000" lookat="0,0,0" team=1> |
---|
| 395 | <templates> |
---|
| 396 | <Template link=spaceshipassff /> |
---|
| 397 | </templates> |
---|
| 398 | <controller> |
---|
| 399 | <WingmanController team=1> |
---|
| 400 | </WingmanController> |
---|
| 401 | </controller> |
---|
| 402 | </SpaceShip> |
---|
[10885] | 403 | |
---|
[10886] | 404 | <?lua |
---|
| 405 | for i = 0, 5, 1 do |
---|
| 406 | ?> |
---|
| 407 | <SpaceShip position="<?lua print(7000) ?>,<?lua print(i*500) ?>,<?lua print(0) ?>" team=2> |
---|
| 408 | <templates> |
---|
| 409 | <Template link=spaceshipassff /> |
---|
| 410 | </templates> |
---|
| 411 | <controller> |
---|
| 412 | <AIController team=2 /> |
---|
| 413 | </controller> |
---|
| 414 | </SpaceShip> |
---|
| 415 | <?lua end ?> --> |
---|
| 416 | |
---|
| 417 | |
---|
[10655] | 418 | </Scene> |
---|
| 419 | </Level> |
---|
| 420 | |
---|