[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") |
---|
| 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"/> |
---|
[10849] | 34 | <TeamSpawnPoint team=0 position="-1000,-1000,-1000" lookat="1,1,-1" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
[10838] | 35 | |
---|
[10859] | 36 | <!-- HERE STARTS DEMO FOR THE "WAYPOINTS" --> |
---|
[10872] | 37 | <!-- |
---|
[10859] | 38 | <Model mesh="cube.mesh" scale=8 position=" 0,2000,-600" /> |
---|
[10871] | 39 | <Model mesh="cube.mesh" scale=8 position=" 0,2000,-800" /> |
---|
| 40 | <Model mesh="cube.mesh" scale=8 position="200,2000,-800" /> |
---|
| 41 | <Model mesh="cube.mesh" scale=8 position="200,2000,-600" /> |
---|
[10859] | 42 | <Model mesh="cube.mesh" scale=8 position="0,0,0" /> |
---|
[10709] | 43 | |
---|
[10855] | 44 | <SpaceShip position="-1500, 1500, -1000" lookat="0,0,0" team=0 name="ss1"> |
---|
| 45 | <templates> |
---|
| 46 | <Template link=spaceshipassff /> |
---|
| 47 | </templates> |
---|
| 48 | <controller> |
---|
| 49 | <DivisionController team=0 formationMode="finger4"> |
---|
| 50 | <actionpoints> |
---|
[10859] | 51 | <Actionpoint position=" 0,2000,-600" action="FLY" loopStart=true/> |
---|
[10871] | 52 | <Actionpoint position=" 0,2000,-800" action="FLY" /> |
---|
| 53 | <Actionpoint position="200,2000,-800" action="FLY" /> |
---|
| 54 | <Actionpoint position="200,2000,-600" action="FLY" loopEnd=true /> |
---|
[10855] | 55 | </actionpoints> |
---|
| 56 | </DivisionController> |
---|
| 57 | </controller> |
---|
[10859] | 58 | </SpaceShip> |
---|
| 59 | --> |
---|
| 60 | <!-- HERE ENDS DEMO FOR THE "WAYPOINTS" --> |
---|
| 61 | |
---|
[10861] | 62 | <!-- HERE STARTS DEMO FOR THE ACTIONPOINTS. |
---|
| 63 | P.S. Never set protectMe in the first actionpoint: if human didn't spawn, that actionpoint will be skipped --> |
---|
[10875] | 64 | |
---|
[10859] | 65 | <Model mesh="cube.mesh" scale=8 position="0,0,0" /> |
---|
| 66 | |
---|
[10851] | 67 | <SpaceShip position="-2000, 1500, -1000" lookat="0,0,0" team=0 name="ss2"> |
---|
[10847] | 68 | <templates> |
---|
| 69 | <Template link=spaceshipassff /> |
---|
| 70 | </templates> |
---|
| 71 | <controller> |
---|
[10854] | 72 | <DivisionController team=0 formationMode="finger4"> |
---|
[10847] | 73 | <actionpoints> |
---|
[10861] | 74 | <Actionpoint position="0,0,0" action="FLY" /> |
---|
[10859] | 75 | <Actionpoint position="-1000,750,-500" action="ATTACK" attack="ss3" /> |
---|
[10861] | 76 | <Actionpoint position="-1000,750,-500" action="PROTECt" protectMe=true /> |
---|
| 77 | <Actionpoint position="-1000,750,-500" action="PROTECt" protect="fuck" /> |
---|
| 78 | <Actionpoint position="-1000,750,-500" action="FIGHTALL" /> |
---|
| 79 | </actionpoints> |
---|
[10847] | 80 | </DivisionController> |
---|
| 81 | </controller> |
---|
| 82 | </SpaceShip> |
---|
[10854] | 83 | <SpaceShip position="-2000, 1900, -1000" lookat="0,0,0" team=0> |
---|
[10851] | 84 | <templates> |
---|
| 85 | <Template link=spaceshipassff /> |
---|
| 86 | </templates> |
---|
| 87 | <controller> |
---|
| 88 | <SectionController team=0> |
---|
| 89 | </SectionController> |
---|
| 90 | </controller> |
---|
| 91 | </SpaceShip> |
---|
[10859] | 92 | <SpaceShip position="-2000, 2100, -1000" lookat="0,0,0" team=0> |
---|
| 93 | <templates> |
---|
| 94 | <Template link=spaceshipassff /> |
---|
| 95 | </templates> |
---|
| 96 | <controller> |
---|
| 97 | <WingmanController team=0> |
---|
| 98 | </WingmanController> |
---|
| 99 | </controller> |
---|
| 100 | </SpaceShip> |
---|
| 101 | <SpaceShip position="-2000, 2400, -1000" lookat="0,0,0" team=0> |
---|
| 102 | <templates> |
---|
| 103 | <Template link=spaceshipassff /> |
---|
| 104 | </templates> |
---|
| 105 | <controller> |
---|
| 106 | <WingmanController team=0> |
---|
| 107 | </WingmanController> |
---|
| 108 | </controller> |
---|
| 109 | </SpaceShip> |
---|
[10849] | 110 | <SpaceShip position="0, 0, 0" lookat="0,0,0" team=2 name="ss4"> |
---|
| 111 | <templates> |
---|
| 112 | <Template link=spaceshipassff /> |
---|
| 113 | </templates> |
---|
| 114 | </SpaceShip> |
---|
[10859] | 115 | <SpaceShip position="3000, 1000, 2000" lookat="0,0,0" team=2 name="ss3"> |
---|
[10849] | 116 | <templates> |
---|
| 117 | <Template link=spaceshipassff /> |
---|
| 118 | </templates> |
---|
| 119 | </SpaceShip> |
---|
[10851] | 120 | <SpaceShip position="-500, -300, -300" lookat="0,0,0" team=0 name="fuck"> |
---|
[10849] | 121 | <templates> |
---|
| 122 | <Template link=spaceshipassff /> |
---|
| 123 | </templates> |
---|
| 124 | </SpaceShip> |
---|
[10871] | 125 | |
---|
[10875] | 126 | |
---|
[10859] | 127 | <!-- HERE ENDS DEMO FOR THE ACTIONPOINTS --> |
---|
| 128 | <!-- HERE STARTS DEMO FOR FIGHTING --> |
---|
[10870] | 129 | <!-- |
---|
[10859] | 130 | <SpaceShip position="-2000, 1500, -1000" lookat="0,0,0" team=0 name="ss2"> |
---|
[10759] | 131 | <templates> |
---|
| 132 | <Template link=spaceshipassff /> |
---|
| 133 | </templates> |
---|
| 134 | <controller> |
---|
[10870] | 135 | <DivisionController team=0 formationMode="WALL"> |
---|
[10859] | 136 | <actionpoints> |
---|
| 137 | <Actionpoint position="0,0,0" action="ATTACK" attack="ss3" /> |
---|
| 138 | </actionpoints> |
---|
| 139 | </DivisionController> |
---|
| 140 | </controller> |
---|
| 141 | </SpaceShip> |
---|
| 142 | <SpaceShip position="-2000, 1900, -1000" lookat="0,0,0" team=0> |
---|
| 143 | <templates> |
---|
| 144 | <Template link=spaceshipassff /> |
---|
| 145 | </templates> |
---|
| 146 | <controller> |
---|
| 147 | <SectionController team=0> |
---|
| 148 | </SectionController> |
---|
| 149 | </controller> |
---|
| 150 | </SpaceShip> |
---|
| 151 | <SpaceShip position="-2000, 2100, -1000" lookat="0,0,0" team=0> |
---|
| 152 | <templates> |
---|
| 153 | <Template link=spaceshipassff /> |
---|
| 154 | </templates> |
---|
| 155 | <controller> |
---|
[10840] | 156 | <WingmanController team=0> |
---|
[10759] | 157 | </WingmanController> |
---|
| 158 | </controller> |
---|
| 159 | </SpaceShip> |
---|
[10859] | 160 | <SpaceShip position="-2000, 2400, -1000" lookat="0,0,0" team=0> |
---|
[10759] | 161 | <templates> |
---|
| 162 | <Template link=spaceshipassff /> |
---|
| 163 | </templates> |
---|
| 164 | <controller> |
---|
[10840] | 165 | <WingmanController team=0> |
---|
[10759] | 166 | </WingmanController> |
---|
| 167 | </controller> |
---|
| 168 | </SpaceShip> |
---|
[10859] | 169 | |
---|
| 170 | <SpaceShip position="2000, -1500, 1000" lookat="0,0,0" team=1 name="ss3"> |
---|
[10759] | 171 | <templates> |
---|
| 172 | <Template link=spaceshipassff /> |
---|
| 173 | </templates> |
---|
| 174 | <controller> |
---|
[10859] | 175 | <DivisionController team=1 formationMode="WALL"> |
---|
| 176 | <actionpoints> |
---|
| 177 | <Actionpoint position="0,0,0" action="ATTACk" attack="ss2" /> |
---|
| 178 | </actionpoints> |
---|
| 179 | </DivisionController> |
---|
[10759] | 180 | </controller> |
---|
[10805] | 181 | </SpaceShip> |
---|
[10859] | 182 | <SpaceShip position="2000, -1900, 1000" lookat="0,0,0" team=1> |
---|
[10838] | 183 | <templates> |
---|
| 184 | <Template link=spaceshipassff /> |
---|
| 185 | </templates> |
---|
| 186 | <controller> |
---|
[10859] | 187 | <SectionController team=1> |
---|
[10838] | 188 | </SectionController> |
---|
| 189 | </controller> |
---|
[10859] | 190 | </SpaceShip> |
---|
| 191 | <SpaceShip position="2000, -2100, 1000" lookat="0,0,0" team=1> |
---|
[10709] | 192 | <templates> |
---|
| 193 | <Template link=spaceshipassff /> |
---|
| 194 | </templates> |
---|
| 195 | <controller> |
---|
[10859] | 196 | <WingmanController team=1> |
---|
| 197 | </WingmanController> |
---|
[10717] | 198 | </controller> |
---|
| 199 | </SpaceShip> |
---|
[10859] | 200 | <SpaceShip position="2000, -2400, 1000" lookat="0,0,0" team=1> |
---|
[10717] | 201 | <templates> |
---|
| 202 | <Template link=spaceshipassff /> |
---|
| 203 | </templates> |
---|
| 204 | <controller> |
---|
[10859] | 205 | <WingmanController team=1> |
---|
[10709] | 206 | </WingmanController> |
---|
| 207 | </controller> |
---|
[10859] | 208 | </SpaceShip> |
---|
| 209 | --> |
---|
| 210 | <!-- HERE ENDS DEMO FOR FIGHTING --> |
---|
| 211 | <!-- HERE STARTS DEMO FOR FORMATIONS --> |
---|
[10875] | 212 | <!-- |
---|
[10859] | 213 | <Model mesh="cube.mesh" scale=8 position=" 0,2000, 0" /> |
---|
| 214 | <Model mesh="cube.mesh" scale=8 position=" 0,2000,-2000" /> |
---|
| 215 | <Model mesh="cube.mesh" scale=8 position="2000,2000,-2000" /> |
---|
| 216 | <Model mesh="cube.mesh" scale=8 position="2000,2000, 0" /> |
---|
| 217 | |
---|
| 218 | <SpaceShip position="-1500, 1500, -1000" lookat="0,0,0" team=0 name="ss1"> |
---|
| 219 | <templates> |
---|
| 220 | <Template link=spaceshipassff /> |
---|
| 221 | </templates> |
---|
| 222 | <controller> |
---|
[10870] | 223 | <DivisionController team=0 formationMode="DIAMOND" spread=100> |
---|
[10859] | 224 | <actionpoints> |
---|
| 225 | <Actionpoint position=" 0,2000, 0" action="FLY" loopStart=true/> |
---|
| 226 | <Actionpoint position=" 0,2000,-2000" action="FLY" /> |
---|
| 227 | <Actionpoint position="2000,2000,-2000" action="FLY" /> |
---|
| 228 | <Actionpoint position="2000,2000, 0" action="FLY" loopEnd=true /> |
---|
| 229 | </actionpoints> |
---|
| 230 | </DivisionController> |
---|
| 231 | </controller> |
---|
[10709] | 232 | </SpaceShip> |
---|
[10859] | 233 | |
---|
| 234 | <SpaceShip position="-2000, 1900, -1000" lookat="0,0,0" team=0> |
---|
[10725] | 235 | <templates> |
---|
| 236 | <Template link=spaceshipassff /> |
---|
| 237 | </templates> |
---|
| 238 | <controller> |
---|
[10859] | 239 | <SectionController team=0> |
---|
| 240 | </SectionController> |
---|
| 241 | </controller> |
---|
| 242 | </SpaceShip> |
---|
| 243 | <SpaceShip position="-2000, 2100, -1000" lookat="0,0,0" team=0> |
---|
| 244 | <templates> |
---|
| 245 | <Template link=spaceshipassff /> |
---|
| 246 | </templates> |
---|
| 247 | <controller> |
---|
| 248 | <WingmanController team=0> |
---|
[10725] | 249 | </WingmanController> |
---|
| 250 | </controller> |
---|
| 251 | </SpaceShip> |
---|
[10859] | 252 | <SpaceShip position="-2000, 2400, -1000" lookat="0,0,0" team=0> |
---|
[10717] | 253 | <templates> |
---|
| 254 | <Template link=spaceshipassff /> |
---|
| 255 | </templates> |
---|
| 256 | <controller> |
---|
[10859] | 257 | <WingmanController team=0> |
---|
| 258 | </WingmanController> |
---|
[10717] | 259 | </controller> |
---|
[10859] | 260 | </SpaceShip> |
---|
[10875] | 261 | --> |
---|
[10859] | 262 | <!-- HERE ENDS DEMO FOR FORMATIONS --> |
---|
[10877] | 263 | <!-- |
---|
| 264 | <SpaceShip position="2000, 2000, 2000" lookat="0,0,0" team=1 name="ss2"> |
---|
| 265 | <templates> |
---|
| 266 | <Template link=spaceshipassff /> |
---|
| 267 | </templates> |
---|
| 268 | <controller> |
---|
| 269 | <DivisionController team=1 formationMode="finger4"> |
---|
| 270 | |
---|
| 271 | </DivisionController> |
---|
| 272 | </controller> |
---|
| 273 | </SpaceShip> |
---|
[10722] | 274 | |
---|
[10877] | 275 | --> |
---|
[10655] | 276 | </Scene> |
---|
| 277 | </Level> |
---|
| 278 | |
---|