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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/data/levels/Quest_PirateAttack.oxw

    r7403 r7404  
    3434        skybox       = "Orxonox/skypanoramagen1"
    3535    >
    36           <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" />
    37    
    38    
     36
     37        <Script code="showGUI NotificationLayer false true" />
     38
     39        <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" />
     40
     41
    3942          <GlobalQuest id="dbd02b4c-ab7c-46fd-bdaf-fd4c19ac1551">
    4043        <QuestDescription title="Fight for freedom"
Note: See TracChangeset for help on using the changeset viewer.