Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 23, 2011, 4:12:27 PM (14 years ago)
Author:
sven
Message:

Spaceships attach now to the dock, fixed DockingController.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/dockingsystem2/data/levels/docking.oxw

    r8493 r8544  
    3535
    3636
    37     <Dock>
    38         <animations>
    39             <MoveToDockingTarget target="destroyer" position="10,150,40" />
    40         </animations>
    41         <effects>
    42             <DockToShip target="spaceShip" />
    43         </effects>
    44         <events>
    45             <execute>
    46                 <EventListener event="dockMe" />
    47             </execute>
    48         </events>
    49         <attached>
    50             <DistanceTrigger position="0,0,0" distance="30" target="Pawn" beaconMode="exclude" targetname="bcnSpaceShip" name="dockMe" />
    51             <Billboard material="Examples/Flare" colour="1.0, 0, 0" />
    52         </attached>
    53     </Dock>
    54 
    55 
    56 
    5737      <SpaceShip
    58    position               = "-150,-50,-100"
     38   position               = "280, 150, 115"
     39   orientation            = "0.5, 0.5, 0.5, 0.5"
    5940   hudtemplate            = "spaceshiphud"
    6041   camerapositiontemplate = "spaceshipassffcameras"
     
    11798        <DistanceTriggerBeacon name="bcnDestroyer" />
    11899        <DockingTarget name="destroyer" />
     100
     101
     102        <Dock orientation="0.5, 0.5, 0.5, 0.5">
     103            <animations>
     104                <MoveToDockingTarget target="destroyer" position="10,150,40" />
     105            </animations>
     106            <effects>
     107                <DockToShip target="spaceShip" />
     108            </effects>
     109            <events>
     110                <execute>
     111                    <EventListener event="dockMe" />
     112                </execute>
     113            </events>
     114            <attached>
     115                <DistanceTrigger position="0,0,0" distance="30" target="Pawn" beaconMode="exclude" targetname="bcnDestroyer" name="dockMe" />
     116                <Billboard material="Examples/Flare" colour="1.0, 0, 0" />
     117            </attached>
     118        </Dock>
    119119
    120120
Note: See TracChangeset for help on using the changeset viewer.