[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") |
---|
[10622] | 22 | include("templates/towerdefensetower.oxt") |
---|
[10258] | 23 | include("templates/enemytowerdefense.oxt") |
---|
| 24 | include("templates/standardTurret.oxt") |
---|
[9112] | 25 | ?> |
---|
| 26 | |
---|
[10622] | 27 | |
---|
| 28 | <Template name=selectercameras defaults=0> |
---|
| 29 | <TowerDefenseSelecter> |
---|
[9103] | 30 | <camerapositions> |
---|
[10622] | 31 | <CameraPosition position="0,0,1400" lookat="0,0,0" absolute=true /> |
---|
[9103] | 32 | </camerapositions> |
---|
[10622] | 33 | </TowerDefenseSelecter> |
---|
[9103] | 34 | </Template> |
---|
[9096] | 35 | |
---|
[10622] | 36 | <Template name=selectertemplate> |
---|
| 37 | <TowerDefenseSelecter team=0 camerapositiontemplate=selectercameras> |
---|
[9103] | 38 | <attached> |
---|
[10622] | 39 | <Model pitch=90 position="0,0,-30" mesh="TD_Selection.mesh" scale=30 /> |
---|
[9103] | 40 | </attached> |
---|
[10622] | 41 | </TowerDefenseSelecter> |
---|
[9103] | 42 | </Template> |
---|
[9096] | 43 | |
---|
[9138] | 44 | |
---|
[9096] | 45 | |
---|
[9175] | 46 | |
---|
[10624] | 47 | <Level |
---|
| 48 | plugins = "towerdefense" |
---|
| 49 | gametype = "TowerDefense" |
---|
| 50 | > |
---|
[9096] | 51 | <templates> |
---|
| 52 | <Template link=lodtemplate_default /> |
---|
| 53 | </templates> |
---|
[9272] | 54 | |
---|
[9096] | 55 | <?lua include("includes/notifications.oxi") ?> |
---|
| 56 | |
---|
| 57 | <Scene |
---|
| 58 | ambientlight = "0.8, 0.8, 0.8" |
---|
| 59 | skybox = "Orxonox/Starbox" |
---|
| 60 | > |
---|
[9272] | 61 | |
---|
| 62 | <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"/> |
---|
| 63 | |
---|
| 64 | <!-- Spawns the camera, attached to a crate --> |
---|
[10622] | 65 | <SpawnPoint team=0 position="0,0,0"/> |
---|
[9272] | 66 | |
---|
| 67 | <!-- PlayField --> |
---|
| 68 | <TowerDefenseCenterpoint |
---|
| 69 | name=towerdefensecenter |
---|
[10622] | 70 | |
---|
| 71 | selecterTemplate=selectertemplate |
---|
| 72 | |
---|
[9272] | 73 | width=16 |
---|
| 74 | height=16 |
---|
| 75 | tileScale=100 |
---|
| 76 | position="0,0,0" |
---|
| 77 | direction="0,0,0" |
---|
| 78 | collisionType=dynamic |
---|
[10258] | 79 | mass=100000 |
---|
[10622] | 80 | > |
---|
| 81 | <attached> |
---|
| 82 | <Model position="-50,-50,0" mesh="Playfield_ME.mesh" scale=80 /> |
---|
| 83 | <Model position="500,700,100" mesh="sphere.mesh" scale=80 /> |
---|
| 84 | </attached> |
---|
| 85 | <camerapositions> |
---|
| 86 | <CameraPosition position="0,0,1500" lookat="0,0,0" absolute=true/> |
---|
| 87 | </camerapositions> |
---|
| 88 | </TowerDefenseCenterpoint> |
---|
[9272] | 89 | |
---|
[9096] | 90 | </Scene> |
---|
| 91 | </Level> |
---|
| 92 | |
---|