Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation2012/data/levels/testSwallow.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/testSwallow.oxwmergedeligible
    /code/branches/environment3/data/levels/testSwallow.oxwmergedeligible
    /code/branches/formation/data/levels/testSwallow.oxwmergedeligible
    /code/branches/gamecontent/data/levels/testSwallow.oxwmergedeligible
    /code/branches/hud/data/levels/testSwallow.oxwmergedeligible
    /code/branches/masterserverfix/data/levels/testSwallow.oxwmergedeligible
    /code/branches/menue/data/levels/testSwallow.oxwmergedeligible
    /code/branches/newlevel2012/data/levels/testSwallow.oxwmergedeligible
    /code/branches/output/data/levels/testSwallow.oxwmergedeligible
    /code/branches/pickup2012/data/levels/testSwallow.oxwmergedeligible
    /code/branches/presentation/data/levels/testSwallow.oxwmergedeligible
    /code/branches/presentation2011/data/levels/testSwallow.oxwmergedeligible
    /code/branches/shipSelection/data/levels/testSwallow.oxwmergedeligible
    /code/branches/sound2012/data/levels/testSwallow.oxwmergedeligible
    /code/branches/spacegate/data/levels/testSwallow.oxwmergedeligible
    /code/branches/spaceraceTwo/data/levels/testSwallow.oxwmergedeligible
    /code/branches/surfaceRace/data/levels/testSwallow.oxwmergedeligible
    /code/branches/usability/data/levels/testSwallow.oxwmergedeligible
    /code/trunk/data/levels/testSwallow.oxwmergedeligible
    /code/branches/ai/data/levels/testSwallow.oxw6592-7033
    /code/branches/ai2/data/levels/testSwallow.oxw8721-8880
    /code/branches/bigships/data/levels/testSwallow.oxw8137-8588
    /code/branches/buildsystem/data/levels/testSwallow.oxw1874-2276,​2278-2400
    /code/branches/buildsystem2/data/levels/testSwallow.oxw2506-2658
    /code/branches/buildsystem3/data/levels/testSwallow.oxw2662-2708
    /code/branches/ceguilua/data/levels/testSwallow.oxw1802-1808
    /code/branches/chat/data/levels/testSwallow.oxw6527-6797
    /code/branches/chat2/data/levels/testSwallow.oxw6836-6910
    /code/branches/console/data/levels/testSwallow.oxw5941-6104
    /code/branches/consolecommands2/data/levels/testSwallow.oxw6451-7178
    /code/branches/consolecommands3/data/levels/testSwallow.oxw7178-7283
    /code/branches/core3/data/levels/testSwallow.oxw1572-1739
    /code/branches/core4/data/levels/testSwallow.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/testSwallow.oxw5768-5928,​6009
    /code/branches/data_cleanup/data/levels/testSwallow.oxw7537-7686
    /code/branches/doc/data/levels/testSwallow.oxw7290-7400
    /code/branches/dockingsystem/data/levels/testSwallow.oxw8101-8192
    /code/branches/dynamicmatch/data/levels/testSwallow.oxw6584-7030
    /code/branches/fps/data/levels/testSwallow.oxw6591-7072
    /code/branches/gameimmersion/data/levels/testSwallow.oxw8102-8577
    /code/branches/gamestate/data/levels/testSwallow.oxw6430-6572,​6621-6661
    /code/branches/gamestates2/data/levels/testSwallow.oxw6594-6745
    /code/branches/gametypes/data/levels/testSwallow.oxw2826-3031
    /code/branches/gcc43/data/levels/testSwallow.oxw1580
    /code/branches/gui/data/levels/testSwallow.oxw1635-1723,​2795-2894
    /code/branches/hudelements/data/levels/testSwallow.oxw6584-6941
    /code/branches/hudimprovements/data/levels/testSwallow.oxw7920-8672
    /code/branches/ingamemenu/data/levels/testSwallow.oxw6000-6023
    /code/branches/input/data/levels/testSwallow.oxw1629-1636
    /code/branches/ipv6/data/levels/testSwallow.oxw7293-7458
    /code/branches/kicklib/data/levels/testSwallow.oxw7940-8096,​8098-8277
    /code/branches/kicklib2/data/levels/testSwallow.oxw8282-8350
    /code/branches/lastmanstanding/data/levels/testSwallow.oxw7479-7644
    /code/branches/lastmanstanding3/data/levels/testSwallow.oxw7903-8175
    /code/branches/libraries/data/levels/testSwallow.oxw5612-5692
    /code/branches/libraries2/data/levels/testSwallow.oxw5703-5737
    /code/branches/lod/data/levels/testSwallow.oxw6586-6911
    /code/branches/lodfinal/data/levels/testSwallow.oxw2372-2411
    /code/branches/mac_osx/data/levels/testSwallow.oxw7789-8128,​8135
    /code/branches/map/data/levels/testSwallow.oxw2801-3086,​3089
    /code/branches/masterserver/data/levels/testSwallow.oxw7502-7738
    /code/branches/menu/data/levels/testSwallow.oxw5941-6146,​6148,​7536-7687
    /code/branches/miniprojects/data/levels/testSwallow.oxw2754-2824
    /code/branches/netp2/data/levels/testSwallow.oxw2835-2988
    /code/branches/netp3/data/levels/testSwallow.oxw2988-3082
    /code/branches/netp6/data/levels/testSwallow.oxw3214-3302
    /code/branches/network/data/levels/testSwallow.oxw2356
    /code/branches/network2/data/levels/testSwallow.oxw6434-6465
    /code/branches/network3/data/levels/testSwallow.oxw7196-7344
    /code/branches/network4/data/levels/testSwallow.oxw7497-7755
    /code/branches/network5/data/levels/testSwallow.oxw7757-7781
    /code/branches/network6/data/levels/testSwallow.oxw7823-8315
    /code/branches/network64/data/levels/testSwallow.oxw2210-2355
    /code/branches/notifications/data/levels/testSwallow.oxw7314-7401
    /code/branches/objecthierarchy/data/levels/testSwallow.oxw1911-2085,​2100,​2110-2169
    /code/branches/objecthierarchy2/data/levels/testSwallow.oxw2171-2479
    /code/branches/ois_update/data/levels/testSwallow.oxw7506-7788
    /code/branches/overlay/data/levels/testSwallow.oxw2117-2385
    /code/branches/particles/data/levels/testSwallow.oxw2829-3085
    /code/branches/particles2/data/levels/testSwallow.oxw6050-6106,​6109
    /code/branches/pch/data/levels/testSwallow.oxw3113-3194
    /code/branches/physics/data/levels/testSwallow.oxw1912-2055,​2107-2439
    /code/branches/physics_merge/data/levels/testSwallow.oxw2436-2457
    /code/branches/pickup/data/levels/testSwallow.oxw8145-8555
    /code/branches/pickup2/data/levels/testSwallow.oxw5942-6405
    /code/branches/pickup3/data/levels/testSwallow.oxw6418-6523
    /code/branches/pickup4/data/levels/testSwallow.oxw6594-6710
    /code/branches/pickups/data/levels/testSwallow.oxw1926-2086,​2127,​2827-2915
    /code/branches/pickups2/data/levels/testSwallow.oxw2107-2497,​2915-3071
    /code/branches/png2/data/levels/testSwallow.oxw7262-7263
    /code/branches/portals/data/levels/testSwallow.oxw8087-8455
    /code/branches/portals2/data/levels/testSwallow.oxw8460-8602
    /code/branches/ppspickups1/data/levels/testSwallow.oxw6552-6708
    /code/branches/ppspickups2/data/levels/testSwallow.oxw6527-6532,​6554-6709
    /code/branches/ppspickups3/data/levels/testSwallow.oxw6757-6997
    /code/branches/ppspickups4/data/levels/testSwallow.oxw7003-7089
    /code/branches/presentation2/data/levels/testSwallow.oxw6106-6416,​7787-7800
    /code/branches/presentation3/data/levels/testSwallow.oxw6913-7162
    /code/branches/questsystem/data/levels/testSwallow.oxw1894-2088
    /code/branches/questsystem2/data/levels/testSwallow.oxw2107-2259
    /code/branches/questsystem5/data/levels/testSwallow.oxw2776-2905
    /code/branches/releasetodo/data/levels/testSwallow.oxw7614-7647
    /code/branches/resource/data/levels/testSwallow.oxw3327-3366
    /code/branches/resource2/data/levels/testSwallow.oxw3372-5694
    /code/branches/rocket/data/levels/testSwallow.oxw6523-6950
    /code/branches/rocket2/data/levels/testSwallow.oxw6953-6970
    /code/branches/script_trigger/data/levels/testSwallow.oxw1295-1953,​1955
    /code/branches/skybox2/data/levels/testSwallow.oxw6559-6989
    /code/branches/sound/data/levels/testSwallow.oxw2829-3010
    /code/branches/sound3/data/levels/testSwallow.oxw5941-6102
    /code/branches/spaceboundaries/data/levels/testSwallow.oxw8085-8457
    /code/branches/spaceboundaries2/data/levels/testSwallow.oxw8460-8613
    /code/branches/spacerace/data/levels/testSwallow.oxw8182-8630
    /code/branches/steering/data/levels/testSwallow.oxw5949-6091,​8140-8595
    /code/branches/tetris/data/levels/testSwallow.oxw8100-8563
    /code/branches/tutoriallevel/data/levels/testSwallow.oxw7827-8370
    /code/branches/tutoriallevel2/data/levels/testSwallow.oxw8370-8452
    /code/branches/tutoriallevel3/data/levels/testSwallow.oxw8453-8636
    /code/branches/unity_build/data/levels/testSwallow.oxw8440-8716
    /code/branches/weapon/data/levels/testSwallow.oxw1925-2094
    /code/branches/weapon2/data/levels/testSwallow.oxw2107-2488
    /code/branches/weapons/data/levels/testSwallow.oxw2897-3051,​8143-8591
    /code/branches/weaponsystem/data/levels/testSwallow.oxw2742-2890
File size: 2.0 KB
RevLine 
[7648]1<LevelInfo
2 name = "Swallow Testlevel"
3 description = "Level to test the swallow spaceship."
4 tags = "test"
[9016]5 screenshot = "swallowtestlevel.png"
[7648]6/>
7
[6929]8<?lua
[7679]9  include("HUDTemplates3.oxo")
[6929]10  include("stats.oxo")
[7679]11  include("templates/spaceshipSwallow.oxt")
12  include("templates/spaceshipPirate.oxt")
13  include("templates/lodInformation.oxt")
[6929]14?>
15
[9016]16<Level>
[6929]17
[7655]18  <templates>
19    <Template link=lodtemplate_default />
20  </templates>
[8706]21  <?lua include("includes/notifications.oxi") ?>
[7655]22
[6929]23  <Scene
24   ambientlight = "0.5, 0.5, 0.5"
25   skybox       = "Orxonox/skypanoramagen1"
26  >
27    <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" />
28
29<SpawnPoint position="<?lua print(math.sin(1.5) *40000) ?>,<?lua print(math.cos(1.5) *40000) ?>,<?lua print(500) ?>" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipswallow />
30
31
32<?lua
33max = 20
34for i = 1, max, 1
35do
36    x = math.sin(i/max*6)*40000
37    y = math.cos(i/max*6)*40000
38    z = i*100
39    ?>
40<?lua
41for k = 1, 25, 1
42do
43j = math.random()
44?>
45
[8079]46    <MovableEntity position="<?lua print(x + math.random() * 10000-2500) ?>,<?lua print(y + math.random() * 5000-2500) ?>,<?lua print(z + math.random() * 1000-500) ?>" <?lua if i == 5 then ?> collisionType=dynamic linearDamping=0.8 angularDamping=0 mass="<?lua print(j * 50) ?>" <?lua end ?> scale="<?lua print(j * 5) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
[6929]47      <attached>
[8079]48        <Model position="0,0,0" scale="<?lua print(j * 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />
[6929]49      </attached>
50      <?lua if i == 5 then ?><collisionShapes>
51        <SphereCollisionShape radius="<?lua print(j * 70) ?>" />
52      </collisionShapes> <?lua end ?>
53    </MovableEntity>
54<?lua
55end
56?>
57<?lua end ?>
58    <Planet position="0,0,0" scale=10000 pitch=-90 mesh="iceplanet.mesh" atmosphere="atmosphere1" rotationaxis="1,1,0" rotationrate="1" atmospheresize=224.0f imagesize=1024.0f />
59
60  </Scene>
61</Level>
Note: See TracBrowser for help on using the repository browser.