[9939] | 1 | <!-- --> |
---|
| 2 | |
---|
[9469] | 3 | <LevelInfo |
---|
| 4 | name = "turret Test" |
---|
[9489] | 5 | description = "A level with a turret in it." |
---|
[9469] | 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/spaceshipPirate.oxt") |
---|
[10004] | 19 | include("templates/spaceshipTurretTest.oxt") |
---|
[9469] | 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 | > |
---|
[9489] | 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 /> |
---|
[9469] | 34 | |
---|
| 35 | |
---|
[10042] | 36 | <!-- <SpaceShip position="-100,0,0" yaw=0 pitch=0> |
---|
[9489] | 37 | <attached> |
---|
| 38 | <Model position="0,0,0" mesh="turretSocketFront.mesh" scale3D="10,10,10" /> |
---|
| 39 | <Model position="0,0,0" mesh="turretSocketIn.mesh" scale3D="10,10,10" /> |
---|
| 40 | <Model position="0,0,0" mesh="turretSocketTop.mesh" scale3D="10,10,10" /> |
---|
| 41 | <Model position="0,0,0" mesh="turretSocketLeft.mesh" scale3D="10,10,10" /> |
---|
| 42 | <Model position="0,0,0" mesh="turretSocketRight.mesh" scale3D="10,10,10" /> |
---|
[10008] | 43 | |
---|
[10039] | 44 | <Turret position="0,10,0" pitch="90" yaw="0" roll="0" maxPitch=90 maxYaw=90 attackRadius=2000> |
---|
[10008] | 45 | <templates> |
---|
| 46 | <Template link=spaceshipturrettest /> |
---|
| 47 | </templates> |
---|
| 48 | <controller> |
---|
| 49 | <TurretController team=10 /> |
---|
| 50 | </controller> |
---|
[10039] | 51 | </Turret> |
---|
[10008] | 52 | |
---|
[10031] | 53 | <Model mesh="sphere.mesh" position="20,0,0" scale=1/> |
---|
[10008] | 54 | |
---|
[10031] | 55 | <Model mesh="sphere.mesh" position="0,25,0" scale=1/> |
---|
[10008] | 56 | |
---|
[10031] | 57 | <Model mesh="sphere.mesh" position="0,0,30" scale=1/> |
---|
[10008] | 58 | |
---|
[9489] | 59 | </attached> |
---|
[10042] | 60 | </SpaceShip> --> |
---|
[10044] | 61 | |
---|
| 62 | |
---|
[10042] | 63 | <StaticEntity position="100,0,0"> |
---|
| 64 | <attached> |
---|
| 65 | <Model mesh="sphere.mesh" position="20,0,0" scale=1/> |
---|
[9469] | 66 | |
---|
[10042] | 67 | <Model mesh="sphere.mesh" position="0,25,0" scale=1.5/> |
---|
| 68 | |
---|
| 69 | <Model mesh="sphere.mesh" position="0,0,30" scale=2/> |
---|
| 70 | </attached> |
---|
[10044] | 71 | |
---|
[10042] | 72 | </StaticEntity> |
---|
| 73 | <SpaceShip position="100,0,0" yaw=0 pitch=90> |
---|
[10039] | 74 | <attached> |
---|
| 75 | <Model position="0,0,0" mesh="turretSocketFront.mesh" scale3D="10,10,10" /> |
---|
| 76 | <Model position="0,0,0" mesh="turretSocketIn.mesh" scale3D="10,10,10" /> |
---|
| 77 | <Model position="0,0,0" mesh="turretSocketTop.mesh" scale3D="10,10,10" /> |
---|
| 78 | <Model position="0,0,0" mesh="turretSocketLeft.mesh" scale3D="10,10,10" /> |
---|
| 79 | <Model position="0,0,0" mesh="turretSocketRight.mesh" scale3D="10,10,10" /> |
---|
[9469] | 80 | |
---|
[10039] | 81 | <Turret position="0,10,0" pitch="90" yaw="0" roll="0" maxPitch=90 maxYaw=90 attackRadius=2000> |
---|
| 82 | <templates> |
---|
| 83 | <Template link=spaceshipturrettest /> |
---|
| 84 | </templates> |
---|
| 85 | <controller> |
---|
[10042] | 86 | <TurretController team=10 /> |
---|
[10039] | 87 | </controller> |
---|
| 88 | </Turret> |
---|
[9489] | 89 | |
---|
[9525] | 90 | |
---|
[10039] | 91 | |
---|
| 92 | </attached> |
---|
| 93 | </SpaceShip> |
---|
| 94 | |
---|
| 95 | |
---|
[9469] | 96 | |
---|
| 97 | </Scene> |
---|
| 98 | </Level> |
---|
| 99 | |
---|