Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/turretFS14/data/levels/turretTest.oxw @ 10052

Last change on this file since 10052 was 10049, checked in by muemart, 11 years ago

Delete the old turret templates and make new ones. Adjust the weapon positions for the turret. Add a proxy controller for teams and targets. Add comments

  • Property svn:eol-style set to native
File size: 1.5 KB
Line 
1<!-- -->
2
3<LevelInfo
4 name = "turret Test"
5 description = "A level with a turret in it."
6 tags = "test"
7 screenshot = "emptylevel.png"
8/>
9
10<?lua
11  include("stats.oxo")
12  include("HUDTemplates3.oxo")
13  include("templates/lodInformation.oxt")
14?>
15
16<?lua
17  include("templates/spaceshipAssff.oxt")
18  include("templates/spaceshipTransporter.oxt")
19  include("templates/standardTurret.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    <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"/>
33    <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
34
35<SpaceShip>
36  <attached>
37    <Turret position="10,2,0" pitch="90" yaw="0" roll="0" scale3D="0.2,0.2,0.2">
38      <templates>
39        <Template link=standardturret />
40      </templates>
41    </Turret>   
42    <Turret position="-10,2,0" pitch="90" yaw="0" roll="0" scale3D="0.2,0.2,0.2">
43      <templates>
44        <Template link=standardturret />
45      </templates>
46    </Turret>   
47    <Turret position="0,2,0" pitch="90" yaw="0" roll="0" scale3D="0.2,0.2,0.2">
48      <templates>
49        <Template link=standardturret />
50      </templates>
51    </Turret>   
52  </attached>
53  <templates>
54    <Template link=spaceshipassff />
55  </templates>
56<!--   <controller>
57    <AIController />
58  </controller> -->
59</SpaceShip>
60
61
62   
63  </Scene>
64</Level>
65
Note: See TracBrowser for help on using the repository browser.