Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 22, 2013, 11:41:23 PM (11 years ago)
Author:
jo
Message:

Basic Docking to FPS player works. Throws some nasty error messages on the console.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/spacestationentry/data/levels/dockingToASpaceStation.oxw

    r9714 r9715  
    2121  include("templates/spaceshipTurret.oxt")
    2222  include("templates/spaceshipCollateralDamage.oxt")
     23  include("templates/FPS.oxt")
    2324?>
    2425
     
    2930    <Template link=lodtemplate_default />
    3031  </templates>
    31   <?lua include("includes/notifications.oxi") ?>
    32 
    33   <NotificationQueueCEGUI
    34     name="narrative"
    35     targets="simpleNotification"
    36     size=1
    37     displayTime=30
    38     position="0.2, 0, 0.1, 0"
    39     fontSize="24"
    40     fontColor="0.3, 1, 0.2, 0.8"
    41     alignment="HorzCentred"
    42     displaySize="0.6, 0, 0, 0"
    43     />
    4432
    4533  <Scene
    4634    ambientlight = "0.8, 0.8, 0.8"
    47     skybox       = "Orxonox/skyBoxMoreNebula"
    48   > <!-- Orxonox/Starbox -->
     35    skybox       = "Orxonox/Starbox"
     36  >
    4937    <?lua
    5038      include("includes/pickups.oxi")
     
    114102
    115103    </Dock>
    116     <SpaceShip
     104   
     105    <!--SpaceShip
    117106        template            = "spaceshipcollateraldamage"
    118107        team                = "0"
     
    123112        name                = "collateralDamage"
    124113        radarname           = "Collateral Damage" >
    125         <!--
    126         pitch               = "90"
    127         yaw                 = "0"-->
    128114      <attached>
    129115        <DockingTarget name="spaceShip" />
     
    131117        <DockingTarget name="destroyer" />
    132118      </attached>
    133     </SpaceShip>
     119    </SpaceShip-->
     120   
     121<FpsPlayer template = "fps" radarname = "First Person Player" >
     122      <attached>
     123        <DockingTarget name="spaceShip" />
     124        <DistanceTriggerBeacon name="bcnDestroyer" />
     125        <DockingTarget name="destroyer" />
     126      </attached>
     127</FpsPlayer>
    134128
    135129    <!-- triple large belt around the planet  -->
Note: See TracChangeset for help on using the changeset viewer.