Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 11, 2010, 2:42:47 PM (14 years ago)
Author:
dafrick
Message:

Adding new level notifications.oxw, to "showcase", or at this stage rather "test" Notifications.
Restoring tutorial.oxw to its old state, before it was hijacked by me for testing.

Extending Script class. Now also normal orxonox code can be executed with it, the execution of code can be triggered with Triggers (obviously) and cod can also executed on load.
I needed this to load the NotificationLayer in levels where it is needed.
Also inserted a Script that loads the NotificationQueue to display Notifications in all levels it was needed.

Location:
code/trunk/data/levels/old
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/data/levels/old/princessaeryn.oxw

    r7403 r7404  
    1717        skybox       = "Orxonox/skypanoramagen1"
    1818    >
     19
     20        <Script code="showGUI NotificationLayer false true" />
     21
    1922      <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" />
    2023
  • code/trunk/data/levels/old/questsystem.oxw

    r7403 r7404  
    1313    skybox       = "Orxonox/Starbox"
    1414    >
     15
     16        <Script code="showGUI NotificationLayer false true" />
    1517
    1618        <GlobalQuest id="b80c2c60-e62c-4637-80f8-5aa18dc93b34">
Note: See TracChangeset for help on using the changeset viewer.