Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation2012/data/levels/underAttack.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/underAttack.oxwmergedeligible
    /code/branches/environment3/data/levels/underAttack.oxwmergedeligible
    /code/branches/formation/data/levels/underAttack.oxwmergedeligible
    /code/branches/gamecontent/data/levels/underAttack.oxwmergedeligible
    /code/branches/hud/data/levels/underAttack.oxwmergedeligible
    /code/branches/masterserverfix/data/levels/underAttack.oxwmergedeligible
    /code/branches/menue/data/levels/underAttack.oxwmergedeligible
    /code/branches/newlevel2012/data/levels/underAttack.oxwmergedeligible
    /code/branches/output/data/levels/underAttack.oxwmergedeligible
    /code/branches/pickup2012/data/levels/underAttack.oxwmergedeligible
    /code/branches/presentation/data/levels/underAttack.oxwmergedeligible
    /code/branches/presentation2011/data/levels/underAttack.oxwmergedeligible
    /code/branches/shipSelection/data/levels/underAttack.oxwmergedeligible
    /code/branches/sound2012/data/levels/underAttack.oxwmergedeligible
    /code/branches/spacegate/data/levels/underAttack.oxwmergedeligible
    /code/branches/spaceraceTwo/data/levels/underAttack.oxwmergedeligible
    /code/branches/surfaceRace/data/levels/underAttack.oxwmergedeligible
    /code/branches/usability/data/levels/underAttack.oxwmergedeligible
    /code/trunk/data/levels/underAttack.oxwmergedeligible
    /code/branches/ai/data/levels/underAttack.oxw6592-7033
    /code/branches/ai2/data/levels/underAttack.oxw8721-8880
    /code/branches/bigships/data/levels/underAttack.oxw8137-8588
    /code/branches/buildsystem/data/levels/underAttack.oxw1874-2276,​2278-2400
    /code/branches/buildsystem2/data/levels/underAttack.oxw2506-2658
    /code/branches/buildsystem3/data/levels/underAttack.oxw2662-2708
    /code/branches/ceguilua/data/levels/underAttack.oxw1802-1808
    /code/branches/chat/data/levels/underAttack.oxw6527-6797
    /code/branches/chat2/data/levels/underAttack.oxw6836-6910
    /code/branches/console/data/levels/underAttack.oxw5941-6104
    /code/branches/consolecommands2/data/levels/underAttack.oxw6451-7178
    /code/branches/consolecommands3/data/levels/underAttack.oxw7178-7283
    /code/branches/core3/data/levels/underAttack.oxw1572-1739
    /code/branches/core4/data/levels/underAttack.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/underAttack.oxw5768-5928,​6009
    /code/branches/data_cleanup/data/levels/underAttack.oxw7537-7686
    /code/branches/doc/data/levels/underAttack.oxw7290-7400
    /code/branches/dockingsystem/data/levels/underAttack.oxw8101-8192
    /code/branches/dynamicmatch/data/levels/underAttack.oxw6584-7030
    /code/branches/fps/data/levels/underAttack.oxw6591-7072
    /code/branches/gameimmersion/data/levels/underAttack.oxw8102-8577
    /code/branches/gamestate/data/levels/underAttack.oxw6430-6572,​6621-6661
    /code/branches/gamestates2/data/levels/underAttack.oxw6594-6745
    /code/branches/gametypes/data/levels/underAttack.oxw2826-3031
    /code/branches/gcc43/data/levels/underAttack.oxw1580
    /code/branches/gui/data/levels/underAttack.oxw1635-1723,​2795-2894
    /code/branches/hudelements/data/levels/underAttack.oxw6584-6941
    /code/branches/hudimprovements/data/levels/underAttack.oxw7920-8672
    /code/branches/ingamemenu/data/levels/underAttack.oxw6000-6023
    /code/branches/input/data/levels/underAttack.oxw1629-1636
    /code/branches/ipv6/data/levels/underAttack.oxw7293-7458
    /code/branches/kicklib/data/levels/underAttack.oxw7940-8096,​8098-8277
    /code/branches/kicklib2/data/levels/underAttack.oxw8282-8350
    /code/branches/lastmanstanding/data/levels/underAttack.oxw7479-7644
    /code/branches/lastmanstanding3/data/levels/underAttack.oxw7903-8175
    /code/branches/libraries/data/levels/underAttack.oxw5612-5692
    /code/branches/libraries2/data/levels/underAttack.oxw5703-5737
    /code/branches/lod/data/levels/underAttack.oxw6586-6911
    /code/branches/lodfinal/data/levels/underAttack.oxw2372-2411
    /code/branches/mac_osx/data/levels/underAttack.oxw7789-8128,​8135
    /code/branches/map/data/levels/underAttack.oxw2801-3086,​3089
    /code/branches/masterserver/data/levels/underAttack.oxw7502-7738
    /code/branches/menu/data/levels/underAttack.oxw5941-6146,​6148,​7536-7687
    /code/branches/miniprojects/data/levels/underAttack.oxw2754-2824
    /code/branches/netp2/data/levels/underAttack.oxw2835-2988
    /code/branches/netp3/data/levels/underAttack.oxw2988-3082
    /code/branches/netp6/data/levels/underAttack.oxw3214-3302
    /code/branches/network/data/levels/underAttack.oxw2356
    /code/branches/network2/data/levels/underAttack.oxw6434-6465
    /code/branches/network3/data/levels/underAttack.oxw7196-7344
    /code/branches/network4/data/levels/underAttack.oxw7497-7755
    /code/branches/network5/data/levels/underAttack.oxw7757-7781
    /code/branches/network6/data/levels/underAttack.oxw7823-8315
    /code/branches/network64/data/levels/underAttack.oxw2210-2355
    /code/branches/notifications/data/levels/underAttack.oxw7314-7401
    /code/branches/objecthierarchy/data/levels/underAttack.oxw1911-2085,​2100,​2110-2169
    /code/branches/objecthierarchy2/data/levels/underAttack.oxw2171-2479
    /code/branches/ois_update/data/levels/underAttack.oxw7506-7788
    /code/branches/overlay/data/levels/underAttack.oxw2117-2385
    /code/branches/particles/data/levels/underAttack.oxw2829-3085
    /code/branches/particles2/data/levels/underAttack.oxw6050-6106,​6109
    /code/branches/pch/data/levels/underAttack.oxw3113-3194
    /code/branches/physics/data/levels/underAttack.oxw1912-2055,​2107-2439
    /code/branches/physics_merge/data/levels/underAttack.oxw2436-2457
    /code/branches/pickup/data/levels/underAttack.oxw8145-8555
    /code/branches/pickup2/data/levels/underAttack.oxw5942-6405
    /code/branches/pickup3/data/levels/underAttack.oxw6418-6523
    /code/branches/pickup4/data/levels/underAttack.oxw6594-6710
    /code/branches/pickups/data/levels/underAttack.oxw1926-2086,​2127,​2827-2915
    /code/branches/pickups2/data/levels/underAttack.oxw2107-2497,​2915-3071
    /code/branches/png2/data/levels/underAttack.oxw7262-7263
    /code/branches/portals/data/levels/underAttack.oxw8087-8455
    /code/branches/portals2/data/levels/underAttack.oxw8460-8602
    /code/branches/ppspickups1/data/levels/underAttack.oxw6552-6708
    /code/branches/ppspickups2/data/levels/underAttack.oxw6527-6532,​6554-6709
    /code/branches/ppspickups3/data/levels/underAttack.oxw6757-6997
    /code/branches/ppspickups4/data/levels/underAttack.oxw7003-7089
    /code/branches/presentation2/data/levels/underAttack.oxw6106-6416,​7787-7800
    /code/branches/presentation3/data/levels/underAttack.oxw6913-7162
    /code/branches/questsystem/data/levels/underAttack.oxw1894-2088
    /code/branches/questsystem2/data/levels/underAttack.oxw2107-2259
    /code/branches/questsystem5/data/levels/underAttack.oxw2776-2905
    /code/branches/releasetodo/data/levels/underAttack.oxw7614-7647
    /code/branches/resource/data/levels/underAttack.oxw3327-3366
    /code/branches/resource2/data/levels/underAttack.oxw3372-5694
    /code/branches/rocket/data/levels/underAttack.oxw6523-6950
    /code/branches/rocket2/data/levels/underAttack.oxw6953-6970
    /code/branches/script_trigger/data/levels/underAttack.oxw1295-1953,​1955
    /code/branches/skybox2/data/levels/underAttack.oxw6559-6989
    /code/branches/sound/data/levels/underAttack.oxw2829-3010
    /code/branches/sound3/data/levels/underAttack.oxw5941-6102
    /code/branches/spaceboundaries/data/levels/underAttack.oxw8085-8457
    /code/branches/spaceboundaries2/data/levels/underAttack.oxw8460-8613
    /code/branches/spacerace/data/levels/underAttack.oxw8182-8630
    /code/branches/steering/data/levels/underAttack.oxw5949-6091,​8140-8595
    /code/branches/tetris/data/levels/underAttack.oxw8100-8563
    /code/branches/tutoriallevel/data/levels/underAttack.oxw7827-8370
    /code/branches/tutoriallevel2/data/levels/underAttack.oxw8370-8452
    /code/branches/tutoriallevel3/data/levels/underAttack.oxw8453-8636
    /code/branches/unity_build/data/levels/underAttack.oxw8440-8716
    /code/branches/weapon/data/levels/underAttack.oxw1925-2094
    /code/branches/weapon2/data/levels/underAttack.oxw2107-2488
    /code/branches/weapons/data/levels/underAttack.oxw2897-3051,​8143-8591
    /code/branches/weaponsystem/data/levels/underAttack.oxw2742-2890
File size: 6.1 KB
Line 
1<LevelInfo
2 name = "Under Attack"
3 description = "Fight the transporter."
4 tags = "gametype"
5 screenshot = "underattack.png"
6/>
7
8<?lua
9  include("HUDTemplates3.oxo")
10  include("stats.oxo")
11  include("templates/spaceshipAssff.oxt")
12  include("templates/lodInformation.oxt")
13?>
14<!--OUTDATED: include("underAttackHUD.oxo") -->
15
16<Level
17 gametype = "UnderAttack"
18>
19  <templates>
20    <Template link=lodtemplate_default />
21  </templates>
22  <?lua include("includes/notifications.oxi") ?>
23
24  <Scene
25   ambientlight = "0.5, 0.5, 0.5"
26   skybox       = "Orxonox/skypanoramagen1"
27  >
28    <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" />
29
30    <?lua for i = 1, 30, 1 do ?>
31      <MovableEntity
32          position="<?lua print(math.random() * 10000 - 5000) ?>, <?lua print(math.random() * 10000 - 5000) ?>, <?lua print(math.random() * 10000 - 5000) ?>"
33          velocity="<?lua print(math.random() * 500 - 250) ?>, <?lua print(math.random() * 500 - 250) ?>, <?lua print(math.random() * 500 - 250) ?>"
34      >
35        <attached>
36          <Model
37              <?lua x = math.random() * 150 + 30 ?>
38              scale="<?lua print(x) ?>"
39              mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh"
40              position="0,0,0"
41          />
42        </attached>
43          <collisionShapes>
44            <SphereCollisionShape radius="<?lua print(x) ?>" position="0,0,0" />
45          </collisionShapes>
46      </MovableEntity>
47    <?lua end ?>
48
49    <Destroyer
50      position          = "100,150,0"
51      collisionType     = dynamic
52      mass              = 100000
53      velocity          = "-35,0,0"
54      angularDamping    = 0.9999999
55      health            = 10000
56      maxhealth         = 10000
57      initialhealth     = 10000
58      RVName            = "Transporter"
59    >
60
61      <attached>
62        <TeamSpawnPoint team=1 position="150,0,7" direction="-1,0,0" roll=90 yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff />
63        <TeamSpawnPoint team=1 position="0,0,7" lookat="-1,0,0" roll="90"  yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff />
64        <TeamSpawnPoint team=1 position="-50,0,7" lookat="-1,0,0" roll="90" yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff />
65        <TeamSpawnPoint team=1 position="100,0,7" lookat="-1,0,0" roll="90" yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff />
66        <TeamSpawnPoint team=1 position="50,0,7" lookat="-1,0,0" roll="90" yaw=0 spawnclass=SpaceShip pawndesign=spaceshipassff />
67        <?lua for i = 1, 100, 1 do ?>
68          <TeamSpawnPoint
69            team=0
70            position="<?lua print((math.random() * 500 + 500) * (math.floor(math.random() + 0.5) * 2 - 1)) ?>,<?lua print((math.random() * 500 + 500) * (math.floor(math.random() + 0.5) * 2 - 1)) ?>,<?lua print((math.random() * 500 + 500) * (math.floor(math.random() + 0.5) * 2 - 1)) ?>"
71            lookat="0,0,0"
72            spawnclass=SpaceShip
73            pawndesign=spaceshipassff
74          />
75
76          <!--more spawnpoints for team1-->
77          <!--
78          <TeamSpawnPoint
79            team=1 position="<?lua print((math.random() * 500 + 500)) ?>,<?lua print((math.random() * 500 + 500) ) ?>,<?lua print((math.random() * 500 + 500)) ?>"
80            lookat="0,0,0"
81            spawnclass=SpaceShip
82            pawndesign=spaceshipassff
83          />-->
84        <?lua end ?>
85
86        <Model mesh="Carrier.mesh" scale="5" />
87        <Backlight
88          mainstate=activity
89          active=false
90          scale=0.4
91          name=bltest
92          position=" 7.6, 0, 6"
93          colour="0.2, 0.65, 1.0, 1.0"
94          width=15
95          length=1500
96          lifetime=2
97          elements=50
98          trailmaterial="Trail/backlighttrail"
99          turnontime=1
100          turnofftime=1
101          material="Flares/ThrusterFlare1"
102        />
103        <?lua for i=0,8,1 do ?>
104          <BlinkingBillboard
105            position="<?lua print(200-270/8*i)?> ,15,2"
106            material="Examples/Flare"
107            colour="1.0, 0.5, 0.3"
108            phase="<?lua print(-360/8*i)?>"
109            amplitude=0.1
110            frequency=0.5
111            quadratic=1
112          />
113
114          <BlinkingBillboard
115            position="<?lua print(200-270/8*i)?>,-15,2"
116            material="Examples/Flare"
117            colour="1.0, 0.5, 0.3"
118            phase="<?lua print(-360/8*i)?>"
119            amplitude=0.1
120            frequency=0.5
121            quadratic=1
122          />
123        <?lua end ?>
124
125        <Backlight
126          scale=1
127          position=" 169, 75, -15"
128          colour="1, 0.85, 0.5, 0.5"
129          width=40
130          length=1000
131          lifetime=5
132          elements=15
133          trailmaterial="Trail/backlighttrail"
134          material="Examples/Flare"
135        />
136        <Backlight
137          scale=1
138          position=" 169, -75, -15"
139          colour="1, 0.85, 0.5, 0.5"
140          width=40
141          length=1000
142          lifetime=5
143          elements=15
144          trailmaterial="Trail/backlighttrail"
145          material="Examples/Flare" />
146      </attached>
147      <collisionShapes>
148        <BoxCollisionShape position="70,0,-25"      halfExtents="150, 50, 25" />
149        <BoxCollisionShape position="95,75,-16"     halfExtents="70, 10, 12" />
150        <BoxCollisionShape position="95,-75,-16"    halfExtents="70, 10, 12" />
151        <BoxCollisionShape position="77,47,30"      halfExtents="110, 2, 30" />
152        <BoxCollisionShape position="77,-47,30"     halfExtents="110, 2, 30" />
153        <BoxCollisionShape position="77,0,50"       halfExtents="110, 45, 6" />
154        <BoxCollisionShape position="167,0,70"      halfExtents="17, 20, 20" />
155      </collisionShapes>
156    </Destroyer>
157
158    <GlobalShader compositor="Bloom" visible=false>
159      <events>
160        <visibility>
161          <DistanceTrigger position="0,0,0" distance=30 target="Spectator" switch=true />
162        </visibility>
163      </events>
164    </GlobalShader>
165
166    <Model position="0,0,0" scale=8 mesh="ast1.mesh" />
167    <StaticEntity position="0,0,0" collisionType=static>
168      <collisionShapes>
169        <SphereCollisionShape radius="20" />
170      </collisionShapes>
171    </StaticEntity>
172   
173  </Scene>
174</Level>
Note: See TracBrowser for help on using the repository browser.