| [7648] | 1 | <LevelInfo | 
|---|
 | 2 |  name = "Notifications showcase" | 
|---|
 | 3 |  description = "Level to test and showcase notifications." | 
|---|
 | 4 |  tags = "test, showcase" | 
|---|
| [9016] | 5 |  screenshot = "notificationsshowcase.png" | 
|---|
| [7648] | 6 | /> | 
|---|
 | 7 |  | 
|---|
| [7404] | 8 | <?lua | 
|---|
| [7679] | 9 |   include("HUDTemplates3.oxo") | 
|---|
| [7404] | 10 |   include("stats.oxo") | 
|---|
| [7679] | 11 |   include("templates/spaceshipAssff.oxt") | 
|---|
 | 12 |   include("templates/lodInformation.oxt") | 
|---|
| [7404] | 13 | ?> | 
|---|
 | 14 |  | 
|---|
| [9016] | 15 | <Level> | 
|---|
| [7404] | 16 |     <templates> | 
|---|
 | 17 |         <Template link=lodtemplate_default /> | 
|---|
 | 18 |     </templates> | 
|---|
| [8706] | 19 |     <?lua include("includes/notifications.oxi") ?> | 
|---|
| [7404] | 20 |  | 
|---|
| [11052] | 21 |     <NotificationQueueCEGUI | 
|---|
 | 22 |       name="narrative" | 
|---|
 | 23 |       targets="simpleNotification,commandNotification" | 
|---|
 | 24 |       size=3 | 
|---|
 | 25 |       displayTime=3.9 | 
|---|
 | 26 |       position="0.2, 0, 0.1, 0" | 
|---|
 | 27 |       fontSize="23" | 
|---|
 | 28 |       fontColor="0.3, 1, 0.2, 0.8" | 
|---|
 | 29 |       alignment="HorzCentred" | 
|---|
 | 30 |       displaySize="0.6, 0, 0, 0" | 
|---|
 | 31 |       /> | 
|---|
 | 32 |  | 
|---|
| [7404] | 33 |     <Scene | 
|---|
 | 34 |         ambientlight = "0.5, 0.5, 0.5" | 
|---|
| [9348] | 35 |         skybox       = "Orxonox/skyBoxBasic" | 
|---|
| [7404] | 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" /> | 
|---|
| [11052] | 39 |     <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> | 
|---|
| [7404] | 40 |  | 
|---|
| [11052] | 41 |     <CommandNotification preMessage="Open the PickupInventory by pressing '" postMessage="'." command="OrxonoxOverlay show PickupInventory"> | 
|---|
| [7404] | 42 |         <events> | 
|---|
 | 43 |             <trigger> | 
|---|
 | 44 |                 <DistanceTrigger name=trigger position="0,0,-100" distance=10 target="Pawn" /> | 
|---|
 | 45 |             </trigger> | 
|---|
 | 46 |         </events> | 
|---|
 | 47 |     </CommandNotification> | 
|---|
 | 48 |     <Billboard position="0,0,-100" colour="1.0,1.0,0" material="Examples/Flare" /> | 
|---|
 | 49 |  | 
|---|
 | 50 |     <SimpleNotification message="Awesome!!!"> | 
|---|
 | 51 |         <events> | 
|---|
 | 52 |             <trigger> | 
|---|
 | 53 |                 <DistanceTrigger name=trigger position="0,0,100" distance=10 target="Pawn" /> | 
|---|
 | 54 |             </trigger> | 
|---|
 | 55 |         </events> | 
|---|
 | 56 |     </SimpleNotification> | 
|---|
 | 57 |     <Billboard position="0,0,100" colour="1.0,0,1.0" material="Examples/Flare" /> | 
|---|
 | 58 |  | 
|---|
 | 59 |   </Scene> | 
|---|
 | 60 | </Level> | 
|---|