Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation2012/data/levels/notifications.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/notifications.oxwmergedeligible
    /code/branches/environment3/data/levels/notifications.oxwmergedeligible
    /code/branches/formation/data/levels/notifications.oxwmergedeligible
    /code/branches/gamecontent/data/levels/notifications.oxwmergedeligible
    /code/branches/hud/data/levels/notifications.oxwmergedeligible
    /code/branches/masterserverfix/data/levels/notifications.oxwmergedeligible
    /code/branches/menue/data/levels/notifications.oxwmergedeligible
    /code/branches/newlevel2012/data/levels/notifications.oxwmergedeligible
    /code/branches/output/data/levels/notifications.oxwmergedeligible
    /code/branches/pickup2012/data/levels/notifications.oxwmergedeligible
    /code/branches/presentation/data/levels/notifications.oxwmergedeligible
    /code/branches/presentation2011/data/levels/notifications.oxwmergedeligible
    /code/branches/shipSelection/data/levels/notifications.oxwmergedeligible
    /code/branches/sound2012/data/levels/notifications.oxwmergedeligible
    /code/branches/spacegate/data/levels/notifications.oxwmergedeligible
    /code/branches/spaceraceTwo/data/levels/notifications.oxwmergedeligible
    /code/branches/surfaceRace/data/levels/notifications.oxwmergedeligible
    /code/branches/usability/data/levels/notifications.oxwmergedeligible
    /code/trunk/data/levels/notifications.oxwmergedeligible
    /code/branches/ai/data/levels/notifications.oxw6592-7033
    /code/branches/ai2/data/levels/notifications.oxw8721-8880
    /code/branches/bigships/data/levels/notifications.oxw8137-8588
    /code/branches/buildsystem/data/levels/notifications.oxw1874-2276,​2278-2400
    /code/branches/buildsystem2/data/levels/notifications.oxw2506-2658
    /code/branches/buildsystem3/data/levels/notifications.oxw2662-2708
    /code/branches/ceguilua/data/levels/notifications.oxw1802-1808
    /code/branches/chat/data/levels/notifications.oxw6527-6797
    /code/branches/chat2/data/levels/notifications.oxw6836-6910
    /code/branches/console/data/levels/notifications.oxw5941-6104
    /code/branches/consolecommands2/data/levels/notifications.oxw6451-7178
    /code/branches/consolecommands3/data/levels/notifications.oxw7178-7283
    /code/branches/core3/data/levels/notifications.oxw1572-1739
    /code/branches/core4/data/levels/notifications.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/notifications.oxw5768-5928,​6009
    /code/branches/data_cleanup/data/levels/notifications.oxw7537-7686
    /code/branches/doc/data/levels/notifications.oxw7290-7400
    /code/branches/dockingsystem/data/levels/notifications.oxw8101-8192
    /code/branches/dynamicmatch/data/levels/notifications.oxw6584-7030
    /code/branches/fps/data/levels/notifications.oxw6591-7072
    /code/branches/gameimmersion/data/levels/notifications.oxw8102-8577
    /code/branches/gamestate/data/levels/notifications.oxw6430-6572,​6621-6661
    /code/branches/gamestates2/data/levels/notifications.oxw6594-6745
    /code/branches/gametypes/data/levels/notifications.oxw2826-3031
    /code/branches/gcc43/data/levels/notifications.oxw1580
    /code/branches/gui/data/levels/notifications.oxw1635-1723,​2795-2894
    /code/branches/hudelements/data/levels/notifications.oxw6584-6941
    /code/branches/hudimprovements/data/levels/notifications.oxw7920-8672
    /code/branches/ingamemenu/data/levels/notifications.oxw6000-6023
    /code/branches/input/data/levels/notifications.oxw1629-1636
    /code/branches/ipv6/data/levels/notifications.oxw7293-7458
    /code/branches/kicklib/data/levels/notifications.oxw7940-8096,​8098-8277
    /code/branches/kicklib2/data/levels/notifications.oxw8282-8350
    /code/branches/lastmanstanding/data/levels/notifications.oxw7479-7644
    /code/branches/lastmanstanding3/data/levels/notifications.oxw7903-8175
    /code/branches/libraries/data/levels/notifications.oxw5612-5692
    /code/branches/libraries2/data/levels/notifications.oxw5703-5737
    /code/branches/lod/data/levels/notifications.oxw6586-6911
    /code/branches/lodfinal/data/levels/notifications.oxw2372-2411
    /code/branches/mac_osx/data/levels/notifications.oxw7789-8128,​8135
    /code/branches/map/data/levels/notifications.oxw2801-3086,​3089
    /code/branches/masterserver/data/levels/notifications.oxw7502-7738
    /code/branches/menu/data/levels/notifications.oxw5941-6146,​6148,​7536-7687
    /code/branches/miniprojects/data/levels/notifications.oxw2754-2824
    /code/branches/netp2/data/levels/notifications.oxw2835-2988
    /code/branches/netp3/data/levels/notifications.oxw2988-3082
    /code/branches/netp6/data/levels/notifications.oxw3214-3302
    /code/branches/network/data/levels/notifications.oxw2356
    /code/branches/network2/data/levels/notifications.oxw6434-6465
    /code/branches/network3/data/levels/notifications.oxw7196-7344
    /code/branches/network4/data/levels/notifications.oxw7497-7755
    /code/branches/network5/data/levels/notifications.oxw7757-7781
    /code/branches/network6/data/levels/notifications.oxw7823-8315
    /code/branches/network64/data/levels/notifications.oxw2210-2355
    /code/branches/notifications/data/levels/notifications.oxw7314-7401
    /code/branches/objecthierarchy/data/levels/notifications.oxw1911-2085,​2100,​2110-2169
    /code/branches/objecthierarchy2/data/levels/notifications.oxw2171-2479
    /code/branches/ois_update/data/levels/notifications.oxw7506-7788
    /code/branches/overlay/data/levels/notifications.oxw2117-2385
    /code/branches/particles/data/levels/notifications.oxw2829-3085
    /code/branches/particles2/data/levels/notifications.oxw6050-6106,​6109
    /code/branches/pch/data/levels/notifications.oxw3113-3194
    /code/branches/physics/data/levels/notifications.oxw1912-2055,​2107-2439
    /code/branches/physics_merge/data/levels/notifications.oxw2436-2457
    /code/branches/pickup/data/levels/notifications.oxw8145-8555
    /code/branches/pickup2/data/levels/notifications.oxw5942-6405
    /code/branches/pickup3/data/levels/notifications.oxw6418-6523
    /code/branches/pickup4/data/levels/notifications.oxw6594-6710
    /code/branches/pickups/data/levels/notifications.oxw1926-2086,​2127,​2827-2915
    /code/branches/pickups2/data/levels/notifications.oxw2107-2497,​2915-3071
    /code/branches/png2/data/levels/notifications.oxw7262-7263
    /code/branches/portals/data/levels/notifications.oxw8087-8455
    /code/branches/portals2/data/levels/notifications.oxw8460-8602
    /code/branches/ppspickups1/data/levels/notifications.oxw6552-6708
    /code/branches/ppspickups2/data/levels/notifications.oxw6527-6532,​6554-6709
    /code/branches/ppspickups3/data/levels/notifications.oxw6757-6997
    /code/branches/ppspickups4/data/levels/notifications.oxw7003-7089
    /code/branches/presentation2/data/levels/notifications.oxw6106-6416,​7787-7800
    /code/branches/presentation3/data/levels/notifications.oxw6913-7162
    /code/branches/questsystem/data/levels/notifications.oxw1894-2088
    /code/branches/questsystem2/data/levels/notifications.oxw2107-2259
    /code/branches/questsystem5/data/levels/notifications.oxw2776-2905
    /code/branches/releasetodo/data/levels/notifications.oxw7614-7647
    /code/branches/resource/data/levels/notifications.oxw3327-3366
    /code/branches/resource2/data/levels/notifications.oxw3372-5694
    /code/branches/rocket/data/levels/notifications.oxw6523-6950
    /code/branches/rocket2/data/levels/notifications.oxw6953-6970
    /code/branches/script_trigger/data/levels/notifications.oxw1295-1953,​1955
    /code/branches/skybox2/data/levels/notifications.oxw6559-6989
    /code/branches/sound/data/levels/notifications.oxw2829-3010
    /code/branches/sound3/data/levels/notifications.oxw5941-6102
    /code/branches/spaceboundaries/data/levels/notifications.oxw8085-8457
    /code/branches/spaceboundaries2/data/levels/notifications.oxw8460-8613
    /code/branches/spacerace/data/levels/notifications.oxw8182-8630
    /code/branches/steering/data/levels/notifications.oxw5949-6091,​8140-8595
    /code/branches/tetris/data/levels/notifications.oxw8100-8563
    /code/branches/tutoriallevel/data/levels/notifications.oxw7827-8370
    /code/branches/tutoriallevel2/data/levels/notifications.oxw8370-8452
    /code/branches/tutoriallevel3/data/levels/notifications.oxw8453-8636
    /code/branches/unity_build/data/levels/notifications.oxw8440-8716
    /code/branches/weapon/data/levels/notifications.oxw1925-2094
    /code/branches/weapon2/data/levels/notifications.oxw2107-2488
    /code/branches/weapons/data/levels/notifications.oxw2897-3051,​8143-8591
    /code/branches/weaponsystem/data/levels/notifications.oxw2742-2890
File size: 1.7 KB
Line 
1<LevelInfo
2 name = "Notifications showcase"
3 description = "Level to test and showcase notifications."
4 tags = "test, showcase"
5 screenshot = "notificationsshowcase.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
15<Level>
16    <templates>
17        <Template link=lodtemplate_default />
18    </templates>
19    <?lua include("includes/notifications.oxi") ?>
20
21    <Scene
22        ambientlight = "0.5, 0.5, 0.5"
23        skybox       = "Orxonox/skypanoramagen1"
24    >
25
26    <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" />
27
28    <CommandNotification preMessage="Open the PickupInventory by pressing '" postMessage="'." command="OrxonoxOverlay toggleVisibility PickupInventory">
29        <events>
30            <trigger>
31                <DistanceTrigger name=trigger position="0,0,-100" distance=10 target="Pawn" />
32            </trigger>
33        </events>
34    </CommandNotification>
35    <Billboard position="0,0,-100" colour="1.0,1.0,0" material="Examples/Flare" />
36
37    <SimpleNotification message="Awesome!!!">
38        <events>
39            <trigger>
40                <DistanceTrigger name=trigger position="0,0,100" distance=10 target="Pawn" />
41            </trigger>
42        </events>
43    </SimpleNotification>
44    <Billboard position="0,0,100" colour="1.0,0,1.0" material="Examples/Flare" />
45
46    <?lua
47      for i = 1, 10, 1 do
48    ?>
49        <SpawnPoint position="<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
50    <?lua end ?>
51
52  </Scene>
53</Level>
Note: See TracBrowser for help on using the repository browser.