[9112] | 1 | <!-- TODO: Update the level's image--> |
---|
[9141] | 2 | |
---|
| 3 | <!-- See TowerDefenseReadme.txt for Information on this file --> |
---|
| 4 | |
---|
[9096] | 5 | <LevelInfo |
---|
| 6 | name = "Tower Defense" |
---|
[9112] | 7 | description = "Defend your Spacestation from incoming waves." |
---|
[9346] | 8 | tags = "minigame" |
---|
[9096] | 9 | screenshot = "emptylevel.png" |
---|
| 10 | /> |
---|
| 11 | |
---|
| 12 | <?lua |
---|
| 13 | include("stats.oxo") |
---|
| 14 | include("HUDTemplates3.oxo") |
---|
[9173] | 15 | include("towerdefenseHUD.oxo") |
---|
[9096] | 16 | include("templates/lodInformation.oxt") |
---|
| 17 | ?> |
---|
| 18 | |
---|
[9112] | 19 | <?lua |
---|
| 20 | include("templates/spaceshipAssff.oxt") |
---|
| 21 | include("templates/spaceshipPirate.oxt") |
---|
[10325] | 22 | include("templates/towerdefensetower.oxt") |
---|
[10258] | 23 | include("templates/enemytowerdefense.oxt") |
---|
| 24 | include("templates/standardTurret.oxt") |
---|
[9112] | 25 | ?> |
---|
| 26 | |
---|
[10406] | 27 | |
---|
| 28 | <Template name=selectercameras defaults=0> |
---|
| 29 | <TowerDefenseSelecter> |
---|
[9103] | 30 | <camerapositions> |
---|
[10406] | 31 | <CameraPosition position="0,0,1400" lookat="0,0,0" absolute=true /> |
---|
[9103] | 32 | </camerapositions> |
---|
[10406] | 33 | </TowerDefenseSelecter> |
---|
[9103] | 34 | </Template> |
---|
[9096] | 35 | |
---|
[10406] | 36 | <Template name=selectertemplate> |
---|
| 37 | <TowerDefenseSelecter team=0 camerapositiontemplate=selectercameras> |
---|
[9103] | 38 | <attached> |
---|
[10406] | 39 | <Model position="0,0,0" mesh="cube.mesh" scale=45 /> |
---|
[9103] | 40 | </attached> |
---|
[10406] | 41 | </TowerDefenseSelecter> |
---|
[9103] | 42 | </Template> |
---|
[9096] | 43 | |
---|
[9138] | 44 | |
---|
[10406] | 45 | |
---|
| 46 | |
---|
[9103] | 47 | <Level gametype = "TowerDefense"> |
---|
[9096] | 48 | <templates> |
---|
| 49 | <Template link=lodtemplate_default /> |
---|
| 50 | </templates> |
---|
[9272] | 51 | |
---|
[9096] | 52 | <?lua include("includes/notifications.oxi") ?> |
---|
| 53 | |
---|
| 54 | <Scene |
---|
| 55 | ambientlight = "0.8, 0.8, 0.8" |
---|
| 56 | skybox = "Orxonox/Starbox" |
---|
| 57 | > |
---|
[9272] | 58 | |
---|
| 59 | <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"/> |
---|
| 60 | |
---|
| 61 | <!-- Spawns the camera, attached to a crate --> |
---|
[10406] | 62 | <SpawnPoint team=0 position="0,0,0"/> |
---|
[9272] | 63 | |
---|
| 64 | <!-- PlayField --> |
---|
| 65 | <TowerDefenseCenterpoint |
---|
| 66 | name=towerdefensecenter |
---|
[10406] | 67 | |
---|
| 68 | selecterTemplate=selectertemplate |
---|
| 69 | |
---|
[9272] | 70 | width=16 |
---|
| 71 | height=16 |
---|
| 72 | tileScale=100 |
---|
| 73 | position="0,0,0" |
---|
| 74 | direction="0,0,0" |
---|
| 75 | collisionType=dynamic |
---|
[10258] | 76 | mass=100000 |
---|
[10406] | 77 | > |
---|
| 78 | <attached> |
---|
| 79 | <Model position="-50,-50,0" mesh="Playfield_ME.mesh" scale=80 /> |
---|
| 80 | <Model position="500,700,100" mesh="sphere.mesh" scale=80 /> |
---|
| 81 | </attached> |
---|
| 82 | <camerapositions> |
---|
| 83 | <CameraPosition position="0,0,1500" lookat="0,0,0" absolute=true/> |
---|
| 84 | </camerapositions> |
---|
| 85 | </TowerDefenseCenterpoint> |
---|
[9272] | 86 | |
---|
[9096] | 87 | </Scene> |
---|
| 88 | </Level> |
---|
| 89 | |
---|