[10655] | 1 | <LevelInfo |
---|
| 2 | name = "AI testing level" |
---|
| 3 | description = "A level with two opposing AI teams" |
---|
| 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") |
---|
| 20 | ?> |
---|
| 21 | |
---|
| 22 | <Level> |
---|
| 23 | <templates> |
---|
| 24 | <Template link=lodtemplate_default /> |
---|
| 25 | </templates> |
---|
| 26 | <?lua include("includes/notifications.oxi") ?> |
---|
| 27 | |
---|
| 28 | <Scene |
---|
| 29 | ambientlight = "0.8, 0.8, 0.8" |
---|
| 30 | skybox = "Orxonox/Starbox" |
---|
| 31 | > |
---|
| 32 | |
---|
| 33 | <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"/> |
---|
[10722] | 34 | <SpawnPoint team=0 position="1000,1000,-1000" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
[10709] | 35 | <!--> |
---|
| 36 | |
---|
[10655] | 37 | <?lua |
---|
| 38 | for i = 0, 5, 1 do |
---|
| 39 | ?> |
---|
[10709] | 40 | |
---|
[10679] | 41 | <StaticEntity position="0,-10000,0" direction="0,-1,0" > |
---|
| 42 | <controller> |
---|
| 43 | <FleetController team=1> |
---|
| 44 | </FleetController> |
---|
| 45 | </controller> |
---|
| 46 | </StaticEntity> |
---|
| 47 | <StaticEntity position="0,10000,0" direction="0,-1,0" > |
---|
| 48 | <controller> |
---|
| 49 | <FleetController team=2> |
---|
| 50 | </FleetController> |
---|
| 51 | </controller> |
---|
| 52 | </StaticEntity> |
---|
[10673] | 53 | <SpaceShip position="<?lua print(1600+i*200) ?>,<?lua print(3000-i*500) ?>, -1500 ?>" lookat="0,0,0"> |
---|
[10655] | 54 | <templates> |
---|
| 55 | <Template link=spaceshipassff /> |
---|
| 56 | </templates> |
---|
| 57 | <controller> |
---|
| 58 | <AIController accuracy=10 team=1> |
---|
| 59 | </AIController> |
---|
| 60 | </controller> |
---|
| 61 | </SpaceShip> |
---|
| 62 | <?lua end ?> |
---|
[10709] | 63 | </!--> |
---|
| 64 | |
---|
[10719] | 65 | <StaticEntity position = "-1000, -1000, -1000"> |
---|
| 66 | |
---|
[10709] | 67 | <controller> |
---|
| 68 | <FleetController accuracy=10 team=1 > |
---|
| 69 | </FleetController> |
---|
| 70 | </controller> |
---|
[10719] | 71 | </StaticEntity> |
---|
[10709] | 72 | |
---|
[10722] | 73 | |
---|
| 74 | <SpaceShip position="1000, 1000, -1300 ?>" lookat="0,0,0"> |
---|
[10709] | 75 | <templates> |
---|
| 76 | <Template link=spaceshipassff /> |
---|
| 77 | </templates> |
---|
| 78 | <controller> |
---|
[10722] | 79 | <SectionController team=1> |
---|
| 80 | </SectionController> |
---|
[10717] | 81 | </controller> |
---|
| 82 | </SpaceShip> |
---|
[10722] | 83 | <SpaceShip position="1000, 1000, -1600 ?>" lookat="0,0,0"> |
---|
[10717] | 84 | <templates> |
---|
| 85 | <Template link=spaceshipassff /> |
---|
| 86 | </templates> |
---|
| 87 | <controller> |
---|
[10709] | 88 | <WingmanController team=1> |
---|
| 89 | </WingmanController> |
---|
| 90 | </controller> |
---|
| 91 | </SpaceShip> |
---|
[10722] | 92 | <SpaceShip position="1000, 1000, -1900 ?>" lookat="0,0,0"> |
---|
[10717] | 93 | <templates> |
---|
| 94 | <Template link=spaceshipassff /> |
---|
| 95 | </templates> |
---|
| 96 | <controller> |
---|
[10719] | 97 | <SectionController team=1> |
---|
| 98 | </SectionController> |
---|
[10717] | 99 | </controller> |
---|
| 100 | </SpaceShip> |
---|
[10722] | 101 | |
---|
| 102 | |
---|
[10709] | 103 | <!--> |
---|
[10655] | 104 | <?lua |
---|
| 105 | for i = 0, 5, 1 do |
---|
| 106 | ?> |
---|
| 107 | <SpaceShip position="<?lua print(1600+i*200) ?>,3000, 6000 ?>" lookat="0,0,0"> |
---|
| 108 | <templates> |
---|
| 109 | <Template link=spaceshipassff /> |
---|
| 110 | </templates> |
---|
| 111 | <controller> |
---|
| 112 | <AIController accuracy=10 team=2> |
---|
| 113 | </AIController> |
---|
| 114 | </controller> |
---|
| 115 | </SpaceShip> |
---|
| 116 | <?lua end ?> |
---|
[10709] | 117 | </!--> |
---|
[10655] | 118 | |
---|
| 119 | </Scene> |
---|
| 120 | </Level> |
---|
| 121 | |
---|