Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10684


Ignore:
Timestamp:
Oct 24, 2015, 6:37:29 PM (9 years ago)
Author:
paulsc
Message:

Started work on narrative notifications

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/campaignHS15/data/levels/Campaign1.oxw

    r10683 r10684  
    2727
    2828    <?lua include("includes/notifications.oxi") ?>
     29    <NotificationQueueCEGUI
     30      name="narrative"
     31      targets="simpleNotification"
     32      size=3
     33      displayTime=3.9
     34      position="0.15, 0, 0.1, 0"
     35      fontSize="23"
     36      fontColor="0.3, 1, 0.2, 0.8"
     37      alignment="HorzCentred"
     38      displaySize="0.7, 0, 0, 0"
     39      />
    2940
    3041    <Scene
     
    173184        </events>
    174185    </EventMultiTrigger>
     186
     187    <!--NOTIFICATIONS -->
     188
     189    <SimpleNotification broadcast="true" message="Welcome, Commander. Please report at Station A">
     190        <events>
     191            <trigger>
     192                <EventListener event="spawntrigger" />
     193            </trigger>
     194        </events>
     195    </SimpleNotification>
     196
     197    <SimpleNotification broadcast="true" message="An enemy wave is approaching the shuttle!">
     198        <events>
     199            <trigger>
     200                <EventListener event="wave1" />
     201                <EventListener event="wave2" />
     202                <EventListener event="wave3" />
     203            </trigger>
     204        </events>
     205    </SimpleNotification>
     206
     207    <SimpleNotification broadcast="true" message="yippie kai yay motherf*cker!">
     208        <events>
     209            <trigger>
     210                <EventListener event="attackers1" />
     211                <EventListener event="attackers2" />
     212                <EventListener event="attackers3" />
     213            </trigger>
     214        </events>
     215    </SimpleNotification>
    175216
    176217    <!--STRUCTURE -->
Note: See TracChangeset for help on using the changeset viewer.