Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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