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.

Location:
code/branches/pickupsFS14/data
Files:
3 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>
  • code/branches/pickupsFS14/data/levels/jump.oxw

    r10112 r10184  
    243243            <Model position="0,0,-1000" mesh="JumpPlatform06.mesh" scale="1" />
    244244            <Model position="0,0,-1000" mesh="JumpProjectile.mesh" scale="1" />
    245             <Model position="0,0,-1000" mesh="JumpFigure.mesh" scale="1" />
    246245            <Model position="0,0,-1000" mesh="JumpEnemy1.mesh" scale="1" />
    247246            <Model position="0,0,-1000" mesh="JumpEnemy2.mesh" scale="1" />
     
    250249            <Model position="0,0,-1000" mesh="JumpSpring.mesh" scale="1" />
    251250            <Model position="0,0,-1000" mesh="JumpRocket.mesh" scale="1" />
     251            <Model position="0,0,-1000" mesh="JumpPropeller.mesh" scale="1" />
     252            <Model position="0,0,-1000" mesh="JumpBoots.mesh" scale="1" />
     253            <Model position="0,0,-1000" mesh="JumpShield.mesh" scale="1" />
    252254          </attached>
    253255        </JumpCenterpoint>
  • code/branches/pickupsFS14/data/overlays/jumpHUD.oxo

    r10074 r10184  
    11<Template name="JumpHUD">
    22  <OverlayGroup name="JumpHUD" scale = "1, 1">
     3
    34    <JumpScore
    45     position  = "0.5, 0.05"
     
    910     align     = "center"
    1011     showScore = true
     12     showFuel = false
    1113     showMessages = false
    1214    />
     15
     16    <JumpScore
     17     position  = "0.1, 0.05"
     18     pickpoint = "0.0, 0.0"
     19     font      = "ShareTechMono"
     20     textsize  = 0.05
     21     colour    = "1.0, 0.5, 0.0, 1.0"
     22     align     = "left"
     23     showScore = false
     24     showFuel = true
     25     showMessages = false
     26    />
    1327
    1428    <JumpScore
     
    2135     gameOverText = "GAME OVER"
    2236     showScore = false
     37     showFuel = false
    2338     showMessages = true
    24     />   
     39    />       
     40
     41  <HUDBar
     42     name          = "SpeedBar1"
     43     background    = "Orxonox/BarBackground"
     44     size          = "0.35, 0.05"
     45     position      = "0.0 , 1.0 "
     46     pickpoint     = "0, 1"
     47     correctaspect = false
     48
     49     initialvalue = 50
     50
     51     >
     52      <BarColour position = 0.0 colour = "0.7,0.5,0.2" />
     53      <BarColour position = 0.5 colour = "0.2,0.7,0.2" />
     54      <BarColour position = 1.0 colour = "0.7,0.2,0.2" />
     55    </HUDBar>
    2556
    2657  </OverlayGroup>
Note: See TracChangeset for help on using the changeset viewer.