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"/> |
---|
34 | <SpawnPoint team=0 position="-1000,-1000,-1000" lookat="1,1,-1" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
35 | <!--> |
---|
36 | |
---|
37 | <?lua |
---|
38 | for i = 0, 5, 1 do |
---|
39 | ?> |
---|
40 | |
---|
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> |
---|
53 | <SpaceShip position="<?lua print(1600+i*200) ?>,<?lua print(3000-i*500) ?>, -1500 ?>" lookat="0,0,0"> |
---|
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 ?> |
---|
63 | </!--> |
---|
64 | |
---|
65 | <StaticEntity position = "-1000, -1000, -1000"> |
---|
66 | |
---|
67 | <controller> |
---|
68 | <FleetController accuracy=10 team=1 > |
---|
69 | </FleetController> |
---|
70 | </controller> |
---|
71 | </StaticEntity> |
---|
72 | |
---|
73 | <SpaceShip position="1000, 1000, -1300 ?>" lookat="0,0,0"> |
---|
74 | <templates> |
---|
75 | <Template link=spaceshipassff /> |
---|
76 | </templates> |
---|
77 | <controller> |
---|
78 | <DivisionController team=1> |
---|
79 | </DivisionController> |
---|
80 | </controller> |
---|
81 | </SpaceShip> |
---|
82 | <SpaceShip position="1000, 1500, -1300 ?>" lookat="0,0,0"> |
---|
83 | <templates> |
---|
84 | <Template link=spaceshipassff /> |
---|
85 | </templates> |
---|
86 | <controller> |
---|
87 | <WingmanController team=1> |
---|
88 | </WingmanController> |
---|
89 | </controller> |
---|
90 | </SpaceShip> |
---|
91 | <SpaceShip position="1000, 1500, -1700 ?>" lookat="0,0,0"> |
---|
92 | <templates> |
---|
93 | <Template link=spaceshipassff /> |
---|
94 | </templates> |
---|
95 | <controller> |
---|
96 | <WingmanController team=1> |
---|
97 | </WingmanController> |
---|
98 | </controller> |
---|
99 | </SpaceShip> |
---|
100 | <SpaceShip position="1000, 1000, -1900 ?>" lookat="0,0,0"> |
---|
101 | <templates> |
---|
102 | <Template link=spaceshipassff /> |
---|
103 | </templates> |
---|
104 | <controller> |
---|
105 | <SectionController team=1> |
---|
106 | </SectionController> |
---|
107 | </controller> |
---|
108 | </SpaceShip> |
---|
109 | |
---|
110 | |
---|
111 | <!--> |
---|
112 | <?lua |
---|
113 | for i = 0, 5, 1 do |
---|
114 | ?> |
---|
115 | <SpaceShip position="<?lua print(1600+i*200) ?>,3000, 6000 ?>" lookat="0,0,0"> |
---|
116 | <templates> |
---|
117 | <Template link=spaceshipassff /> |
---|
118 | </templates> |
---|
119 | <controller> |
---|
120 | <AIController accuracy=10 team=2> |
---|
121 | </AIController> |
---|
122 | </controller> |
---|
123 | </SpaceShip> |
---|
124 | <?lua end ?> |
---|
125 | </!--> |
---|
126 | |
---|
127 | </Scene> |
---|
128 | </Level> |
---|
129 | |
---|