Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation2012/data/levels/presentationFS10.oxw @ 9241

Last change on this file since 9241 was 9241, checked in by decapitb, 12 years ago

tower defense update

  • Property svn:eol-style set to native
  • Property svn:mergeinfo set to (toggle deleted branches)
    /code/branches/dockingsystem2/data/levels/presentationFS10.oxwmergedeligible
    /code/branches/environment3/data/levels/presentationFS10.oxwmergedeligible
    /code/branches/formation/data/levels/presentationFS10.oxwmergedeligible
    /code/branches/gamecontent/data/levels/presentationFS10.oxwmergedeligible
    /code/branches/hud/data/levels/presentationFS10.oxwmergedeligible
    /code/branches/masterserverfix/data/levels/presentationFS10.oxwmergedeligible
    /code/branches/menue/data/levels/presentationFS10.oxwmergedeligible
    /code/branches/newlevel2012/data/levels/presentationFS10.oxwmergedeligible
    /code/branches/output/data/levels/presentationFS10.oxwmergedeligible
    /code/branches/pickup2012/data/levels/presentationFS10.oxwmergedeligible
    /code/branches/presentation/data/levels/presentationFS10.oxwmergedeligible
    /code/branches/presentation2011/data/levels/presentationFS10.oxwmergedeligible
    /code/branches/shipSelection/data/levels/presentationFS10.oxwmergedeligible
    /code/branches/sound2012/data/levels/presentationFS10.oxwmergedeligible
    /code/branches/spacegate/data/levels/presentationFS10.oxwmergedeligible
    /code/branches/spaceraceTwo/data/levels/presentationFS10.oxwmergedeligible
    /code/branches/surfaceRace/data/levels/presentationFS10.oxwmergedeligible
    /code/branches/usability/data/levels/presentationFS10.oxwmergedeligible
    /code/trunk/data/levels/presentationFS10.oxwmergedeligible
    /code/branches/ai/data/levels/presentationFS10.oxw6592-7033
    /code/branches/ai2/data/levels/presentationFS10.oxw8721-8880
    /code/branches/bigships/data/levels/presentationFS10.oxw8137-8588
    /code/branches/buildsystem/data/levels/presentationFS10.oxw1874-2276,​2278-2400
    /code/branches/buildsystem2/data/levels/presentationFS10.oxw2506-2658
    /code/branches/buildsystem3/data/levels/presentationFS10.oxw2662-2708
    /code/branches/ceguilua/data/levels/presentationFS10.oxw1802-1808
    /code/branches/chat/data/levels/presentationFS10.oxw6527-6797
    /code/branches/chat2/data/levels/presentationFS10.oxw6836-6910
    /code/branches/console/data/levels/presentationFS10.oxw5941-6104
    /code/branches/consolecommands2/data/levels/presentationFS10.oxw6451-7178
    /code/branches/consolecommands3/data/levels/presentationFS10.oxw7178-7283
    /code/branches/core3/data/levels/presentationFS10.oxw1572-1739
    /code/branches/core4/data/levels/presentationFS10.oxw3221-3224,​3227,​3234-3238,​3242,​3244-3250,​3252-3254,​3256,​3259-3261,​3264-3265,​3268-3275,​3277-3278,​3280,​3284-3285,​3287,​3289-3294,​3305,​3309-3310
    /code/branches/core5/data/levels/presentationFS10.oxw5768-5928,​6009
    /code/branches/data_cleanup/data/levels/presentationFS10.oxw7537-7686
    /code/branches/doc/data/levels/presentationFS10.oxw7290-7400
    /code/branches/dockingsystem/data/levels/presentationFS10.oxw8101-8192
    /code/branches/dynamicmatch/data/levels/presentationFS10.oxw6584-7030
    /code/branches/fps/data/levels/presentationFS10.oxw6591-7072
    /code/branches/gameimmersion/data/levels/presentationFS10.oxw8102-8577
    /code/branches/gamestate/data/levels/presentationFS10.oxw6430-6572,​6621-6661
    /code/branches/gamestates2/data/levels/presentationFS10.oxw6594-6745
    /code/branches/gametypes/data/levels/presentationFS10.oxw2826-3031
    /code/branches/gcc43/data/levels/presentationFS10.oxw1580
    /code/branches/gui/data/levels/presentationFS10.oxw1635-1723,​2795-2894
    /code/branches/hudelements/data/levels/presentationFS10.oxw6584-6941
    /code/branches/hudimprovements/data/levels/presentationFS10.oxw7920-8672
    /code/branches/ingamemenu/data/levels/presentationFS10.oxw6000-6023
    /code/branches/input/data/levels/presentationFS10.oxw1629-1636
    /code/branches/ipv6/data/levels/presentationFS10.oxw7293-7458
    /code/branches/kicklib/data/levels/presentationFS10.oxw7940-8096,​8098-8277
    /code/branches/kicklib2/data/levels/presentationFS10.oxw8282-8350
    /code/branches/lastmanstanding/data/levels/presentationFS10.oxw7479-7644
    /code/branches/lastmanstanding3/data/levels/presentationFS10.oxw7903-8175
    /code/branches/libraries/data/levels/presentationFS10.oxw5612-5692
    /code/branches/libraries2/data/levels/presentationFS10.oxw5703-5737
    /code/branches/lod/data/levels/presentationFS10.oxw6586-6911
    /code/branches/lodfinal/data/levels/presentationFS10.oxw2372-2411
    /code/branches/mac_osx/data/levels/presentationFS10.oxw7789-8128,​8135
    /code/branches/map/data/levels/presentationFS10.oxw2801-3086,​3089
    /code/branches/masterserver/data/levels/presentationFS10.oxw7502-7738
    /code/branches/menu/data/levels/presentationFS10.oxw5941-6146,​6148,​7536-7687
    /code/branches/miniprojects/data/levels/presentationFS10.oxw2754-2824
    /code/branches/netp2/data/levels/presentationFS10.oxw2835-2988
    /code/branches/netp3/data/levels/presentationFS10.oxw2988-3082
    /code/branches/netp6/data/levels/presentationFS10.oxw3214-3302
    /code/branches/network/data/levels/presentationFS10.oxw2356
    /code/branches/network2/data/levels/presentationFS10.oxw6434-6465
    /code/branches/network3/data/levels/presentationFS10.oxw7196-7344
    /code/branches/network4/data/levels/presentationFS10.oxw7497-7755
    /code/branches/network5/data/levels/presentationFS10.oxw7757-7781
    /code/branches/network6/data/levels/presentationFS10.oxw7823-8315
    /code/branches/network64/data/levels/presentationFS10.oxw2210-2355
    /code/branches/notifications/data/levels/presentationFS10.oxw7314-7401
    /code/branches/objecthierarchy/data/levels/presentationFS10.oxw1911-2085,​2100,​2110-2169
    /code/branches/objecthierarchy2/data/levels/presentationFS10.oxw2171-2479
    /code/branches/ois_update/data/levels/presentationFS10.oxw7506-7788
    /code/branches/overlay/data/levels/presentationFS10.oxw2117-2385
    /code/branches/particles/data/levels/presentationFS10.oxw2829-3085
    /code/branches/particles2/data/levels/presentationFS10.oxw6050-6106,​6109
    /code/branches/pch/data/levels/presentationFS10.oxw3113-3194
    /code/branches/physics/data/levels/presentationFS10.oxw1912-2055,​2107-2439
    /code/branches/physics_merge/data/levels/presentationFS10.oxw2436-2457
    /code/branches/pickup/data/levels/presentationFS10.oxw8145-8555
    /code/branches/pickup2/data/levels/presentationFS10.oxw5942-6405
    /code/branches/pickup3/data/levels/presentationFS10.oxw6418-6523
    /code/branches/pickup4/data/levels/presentationFS10.oxw6594-6710
    /code/branches/pickups/data/levels/presentationFS10.oxw1926-2086,​2127,​2827-2915
    /code/branches/pickups2/data/levels/presentationFS10.oxw2107-2497,​2915-3071
    /code/branches/png2/data/levels/presentationFS10.oxw7262-7263
    /code/branches/portals/data/levels/presentationFS10.oxw8087-8455
    /code/branches/portals2/data/levels/presentationFS10.oxw8460-8602
    /code/branches/ppspickups1/data/levels/presentationFS10.oxw6552-6708
    /code/branches/ppspickups2/data/levels/presentationFS10.oxw6527-6532,​6554-6709
    /code/branches/ppspickups3/data/levels/presentationFS10.oxw6757-6997
    /code/branches/ppspickups4/data/levels/presentationFS10.oxw7003-7089
    /code/branches/presentation2/data/levels/presentationFS10.oxw6106-6416,​7787-7800
    /code/branches/presentation3/data/levels/presentationFS10.oxw6913-7162
    /code/branches/questsystem/data/levels/presentationFS10.oxw1894-2088
    /code/branches/questsystem2/data/levels/presentationFS10.oxw2107-2259
    /code/branches/questsystem5/data/levels/presentationFS10.oxw2776-2905
    /code/branches/releasetodo/data/levels/presentationFS10.oxw7614-7647
    /code/branches/resource/data/levels/presentationFS10.oxw3327-3366
    /code/branches/resource2/data/levels/presentationFS10.oxw3372-5694
    /code/branches/rocket/data/levels/presentationFS10.oxw6523-6950
    /code/branches/rocket2/data/levels/presentationFS10.oxw6953-6970
    /code/branches/script_trigger/data/levels/presentationFS10.oxw1295-1953,​1955
    /code/branches/skybox2/data/levels/presentationFS10.oxw6559-6989
    /code/branches/sound/data/levels/presentationFS10.oxw2829-3010
    /code/branches/sound3/data/levels/presentationFS10.oxw5941-6102
    /code/branches/spaceboundaries/data/levels/presentationFS10.oxw8085-8457
    /code/branches/spaceboundaries2/data/levels/presentationFS10.oxw8460-8613
    /code/branches/spacerace/data/levels/presentationFS10.oxw8182-8630
    /code/branches/steering/data/levels/presentationFS10.oxw5949-6091,​8140-8595
    /code/branches/tetris/data/levels/presentationFS10.oxw8100-8563
    /code/branches/tutoriallevel/data/levels/presentationFS10.oxw7827-8370
    /code/branches/tutoriallevel2/data/levels/presentationFS10.oxw8370-8452
    /code/branches/tutoriallevel3/data/levels/presentationFS10.oxw8453-8636
    /code/branches/unity_build/data/levels/presentationFS10.oxw8440-8716
    /code/branches/weapon/data/levels/presentationFS10.oxw1925-2094
    /code/branches/weapon2/data/levels/presentationFS10.oxw2107-2488
    /code/branches/weapons/data/levels/presentationFS10.oxw2897-3051,​8143-8591
    /code/branches/weaponsystem/data/levels/presentationFS10.oxw2742-2890
File size: 5.1 KB
RevLine 
[7648]1<LevelInfo
2 name = "Presentation XI"
3 description = "1st Presentation level for Orxonox Convention XI"
4 tags = "presentation"
[9016]5 screenshot = "presentationxi.png"
[7648]6/>
7
[7027]8<?lua
9  include("stats.oxo")
[7679]10  include("HUDTemplates3.oxo")
[7027]11?>
12
13<?lua
[7679]14  include("templates/lodInformation.oxt")
15  include("templates/spaceshipAssff.oxt")
16  include("templates/spaceshipPirate.oxt")
17  include("templates/spaceshipSwallow.oxt")
18  include("templates/pickupRepresentationTemplates.oxt")
[7027]19?>
20
21<Level
[9016]22 gametype = "TeamDeathmatch"
[7027]23>
[7046]24  <templates>
25    <Template link=lodtemplate_default />
26  </templates>
[8706]27  <?lua include("includes/notifications.oxi") ?>
[7046]28
[7027]29  <Scene
30    ambientlight = "0.8, 0.8, 0.8"
31    skybox       = "Orxonox/Starbox"
32  >
33
34    <?lua
35      include("includes/pickups.oxi")
36    ?>
37
38    <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" />
[7101]39    <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipswallow />
[7027]40
[7032]41    <Billboard position="12.5, -30, -500" material="Banners/Pickups" scale="0.5"/>
[7102]42    <Billboard position="500, -30, -500" material="Banners/Drone" scale="0.5"/>
43    <EventDispatcher>
44      <targets>
45        <EventTarget target=pirate />
46      </targets>
47      <events>
48        <activity>
49          <DistanceTrigger position="500, -50, -500" distance=20 target="SpaceShip" stayactive=true />
50        </activity>
51      </events>
52    </EventDispatcher>
53
54    <Billboard position="1000, -30, -500" material="Banners/Formation" scale="0.5"/>
55    <Billboard position="1000, -50, -500" material="Examples/Flare" scale="0.5"/>
56    <EventDispatcher>
57      <targets>
58        <EventTarget target=formation />
59      </targets>
60      <events>
61        <activity>
62          <DistanceTrigger position="1000, -50, -500" distance=20 target="SpaceShip" stayactive=true />
63        </activity>
64      </events>
65    </EventDispatcher>
66
67    <SpaceShip position="500,0,-1500">
68        <templates>
69          <Template link=spaceshippirate />
70        </templates>
71        <controller>
72          <AIController team=1 active=false name=pirate formationFlight=false passive=false />
73        </controller>
[7099]74    </SpaceShip>
[7032]75
[7102]76
77    <?lua
78      for i = 1, 10, 1 do
79        ?>
80      <SpaceShip position="<?lua print(5000 + math.random() * 4000 - 2000) ?>,<?lua print(0 + math.random() * 2000 - 1000) ?>,<?lua print(math.random() * 2000 - 1000) ?>">
81        <templates>
82          <Template link=spaceshippirate />
83        </templates>
84        <controller>
85          <AIController formationFlight=true passive=true team=0 name=formation active=false />
86        </controller>
87      </SpaceShip>
88    <?lua end ?>
89
90
91    <?lua
92      for i = 1, 10, 1 do
93        ?>
94      <SpaceShip position="<?lua print(5000 + math.random() * 4000 - 2000) ?>,<?lua print(0 + math.random() * 2000 - 1000) ?>,<?lua print(math.random() * 2000 - 1000) ?>">
95        <templates>
96          <Template link=spaceshipassff />
97        </templates>
98        <controller>
99          <AIController formationFlight=true passive=true team=1 name=formation active=false/>
100        </controller>
101      </SpaceShip>
102    <?lua end ?>
103
[7099]104    <PickupSpawner position="500,-50,-500" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
[7042]105      <pickup>
106        <DronePickup template=dronepickup />
107      </pickup>
108    </PickupSpawner>
109
[7027]110    <!-- Shield pickups -->
111
112    <PickupSpawner position="-25,-50,-500" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
113      <pickup>
114        <ShieldPickup template=hugeshieldpickup />
115      </pickup>
116    </PickupSpawner>
117
118    <!-- Health pickups -->
119
[7096]120    <PickupSpawner position="0,-75,-500" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
[7027]121      <pickup>
122        <HealthPickup template=hugehealthpickup />
123      </pickup>
124    </PickupSpawner>
125
126    <!-- Speed pickups -->
127
[7096]128    <PickupSpawner position="25,-50,-500" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
[7027]129      <pickup>
130        <SpeedPickup template=hugespeedpickup />
131      </pickup>
132    </PickupSpawner>
133
[7096]134    <PickupSpawner position="50,-50,-500" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
[7027]135      <pickup>
136        <SpeedPickup template=smalljumppickup />
137      </pickup>
138    </PickupSpawner>
139
140    <!-- Invisible pickups -->
141
[7096]142    <PickupSpawner position="0,-50,-500" triggerDistance="10" respawnTime="5" maxSpawnedItems="10">
[7027]143      <pickup>
144        <InvisiblePickup template=hugeinvisiblepickup />
145      </pickup>
146    </PickupSpawner>
147
148    <!-- PickupRepresentation for the pickup below, since it is not a standard pickup provided by pickups.oxi -->
149    <PickupRepresentation
150      pickupName = "Medium Health Pack"
151      pickupDescription = "Once used adds a medium amout of health to the ship."
152      spawnerTemplate = "mediumhealthpickupRepresentation"
153      inventoryRepresentation = "MediumHealth"
154    >
155      <pickup>
156        <HealthPickup health=50 activationType="onUse" durationType="once" />
157      </pickup>
158    </PickupRepresentation>
159
[7096]160    <PickupSpawner position="25,-75,-500" respawnTime="60" triggerDistance="20" maxSpawnedItems="5">
[7027]161      <pickup>
162        <HealthPickup health=50 activationType=onUse durationType=once />
163      </pickup>
164    </PickupSpawner>
165
166  </Scene>
167</Level>
Note: See TracBrowser for help on using the repository browser.