Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 17, 2014, 3:43:07 PM (10 years ago)
Author:
fvultier
Message:

Es wird nun angezeigt, wie lange ein item noch aktiv ist.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pickupsFS14/data/levels/emptyLevel.oxw

    r9415 r10184  
    2424  <?lua include("includes/notifications.oxi") ?>
    2525
     26        <NotificationQueueCEGUI
     27    name="narrative"
     28    targets="simpleNotification"
     29    size=3
     30    displayTime=3.9
     31    position="0.2, 0, 0.1, 0"
     32    fontSize="23"
     33    fontColor="0.3, 1, 0.2, 0.8"
     34    alignment="HorzCentred"
     35    displaySize="0.6, 0, 0, 0"
     36    />
    2637  <Scene
    2738    ambientlight = "0.8, 0.8, 0.8"
     
    3142    <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"/>
    3243    <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort />
     44
     45        <Pawn health=30 position="0,0,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box radarname = "Box 4" >
     46        <events>
     47          <visibility>
     48            <EventListener event="flying4" />
     49          </visibility>
     50        </events>
     51        <attached>
     52            <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" />
     53        </attached>
     54        <collisionShapes>
     55            <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
     56        </collisionShapes>
     57        <controller>
     58            <WaypointController team=1>
     59            </WaypointController>
     60        </controller>
     61    </Pawn>
     62
     63
     64
     65<SimpleNotification message="Right click on the next target." broadcast="true">
     66        <events>
     67            <trigger>
     68                <EventListener event="box" />
     69            </trigger>
     70        </events>
     71    </SimpleNotification>
    3372   
    3473  </Scene>
Note: See TracChangeset for help on using the changeset viewer.