Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 26, 2011, 4:18:12 PM (14 years ago)
Author:
smerkli
Message:

presentation level now has docking thingy added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/data/levels/presentationFS11.oxw

    r8596 r8601  
    1313<?lua
    1414  include("templates/spaceshipAssff.oxt")
     15  include("templates/spaceshipAssff2.oxt")
    1516  include("templates/spaceshipPirate.oxt")
    1617?>
     
    4041    <SpawnPoint team=0 position="0,0,0" lookat="-2,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
    4142
    42 
    43     <!-- PICKUPS -->
     43<!-- PICKUPS -->
    4444    <PickupSpawner position="-50,50,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
    4545      <pickup>
     
    6767    <PortalEndPoint position="-30300,0,0" id="2" distance="40" target="MobileEntity" design="PortalDefault"/>
    6868
    69     <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="0,0,0"/>
     69    <SpaceBoundaries warnDistance="1" maxDistance="450" showDistance="300" healthDecrease="0.1" position="0,0,0"/>
    7070    <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="-30000,0,0"/>
    7171
     
    7474
    7575    <!-- MODELS, DEBRIS, ETC -->
     76
     77    <!-- hydrogen farmer -->
     78    <SpaceShip position="0,1750,0" roll=90 mass=10000 >
     79      <attached>
     80        <!-- Docking -->
     81        <DistanceTriggerBeacon name="bcnDestroyer" />
     82        <DockingTarget name="destroyer" />
     83
     84        <Dock orientation="0.5, 0.5, 0.5, 0.5" position="-1500,0,0" >
     85            <animations>
     86                <MoveToDockingTarget target="destroyer" position="-1300,0,0" />
     87            </animations>
     88            <effects>
     89                <DockToShip target="spaceShip" />
     90            </effects>
     91            <events>
     92                <execute>
     93                    <EventListener event="dockMe" />
     94                </execute>
     95            </events>
     96            <attached>
     97                <DistanceTrigger position="0,0,-200" distance="30" target="Pawn"
     98                    beaconMode="exclude" targetname="bcnDestroyer" name="dockMe"
     99                />
     100                <Billboard position="0,0,-200" material="Examples/Flare" colour="1.0, 0, 0" />
     101            </attached>
     102        </Dock>
     103
     104        <Model mesh="HydroHarvester.mesh" mass=10 position="0,0,0" scale=100 />
     105        <!-- <Model mesh="cube.mesh" mass=10 position="-1120,0,0" scale3D="230,200,490"  /> -->
     106        <!-- <Model mesh="cube.mesh" mass=10 position="580,0,-960" scale3D="230,200,490" yaw=-120 /> -->
     107        <!-- <Model mesh="cube.mesh" mass=10 position="580,0,960" scale3D="230,200,490" yaw=-240 /> -->
     108        <!-- <Model mesh="cube.mesh" mass=10 position="0,0,0" scale3D="600,200,100" /> -->
     109      </attached>
     110      <collisionShapes>
     111        <BoxCollisionShape  position="-1120,0,0" halfExtents="230,200,490" />
     112        <BoxCollisionShape  position="580,0,-960" halfExtents="230,200,490" yaw=-120 />
     113        <BoxCollisionShape  position="580,0,960" halfExtents="230,200,490" yaw=-240 />
     114      </collisionShapes>
     115    </SpaceShip>
     116
     117    <SpaceShip template="spaceshipassff2" position="0,3500,0" >
     118      <attached>
     119        <DockingTarget name="spaceShip" />
     120      </attached>
     121
     122    </SpaceShip>
     123
    76124
    77125    <!-- This is a model of Earth: mass=EarthMass/1000 and radius=EarthRadius[km]*10 -->
Note: See TracChangeset for help on using the changeset viewer.