Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9938 for code/branches


Ignore:
Timestamp:
Dec 20, 2013, 11:08:13 AM (11 years ago)
Author:
jo
Message:

Heavy Cruiser in presentation Level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentationHS13/data/levels/presentationHS13.oxw

    r9937 r9938  
    2222  include("templates/spaceshipCollateralDamage.oxt")
    2323  include("templates/FPS.oxt")
     24  include("templates/HeavyCruiser.oxt")
    2425?>
    2526
     
    4546
    4647    <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0,1.0,1.0,0.5" specular="1.0, 0.9, 0.9, 1.0"/>
    47     <SpawnPoint team=0 position="3200,0,0" lookat="2800,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort />
     48    <SpawnPoint team=0 position="4320,1610,-741" lookat="2800,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort />
    4849
    4950
     
    7576    <Dock position="2830,20,50" roll=0 yaw=0 >
    7677        <animations>
    77             <MoveToDockingTarget target="destroyer" />
     78            <MoveToDockingTarget target="fistperson" />
     79        </animations>
     80        <effects>
     81            <DockToShip target="fistperson" />
     82        </effects>
     83        <events>
     84            <execute>
     85                <EventListener event="dockMe" />
     86            </execute>
     87
     88            <undocking>
     89                <EventListener event="undockMe" />
     90            </undocking>
     91       
     92        </events>
     93        <attached>
     94        <!-- Trigger for docking with billboard -->
     95            <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.2,0.4,0.8" scale=1 />
     96            <DistanceTrigger position="0,0,0" distance="200" target="Pawn"
     97                beaconMode="exclude" targetname="bcnDestroyer" name="dockMe"
     98            />
     99        <!-- Trigger for undocking with billboard -->
     100            <Billboard position="-2800,-20055,-700" material="Flares/ringflare2" colour="0.2,0.4,0.8" scale=1 />
     101            <DistanceTrigger position="-2800,-20055,-700" distance="150" target="Pawn"
     102                beaconMode="identify" targetname="bcnDestroyer" name="undockMe"
     103            />
     104        </attached>
     105
     106    </Dock>
     107   
     108<!-- FPS Player as destination of the dock -->
     109    <FpsPlayer template = "fps" radarname = "First Person Player" position = "172,-20000,-676" >
     110      <attached>
     111        <DistanceTriggerBeacon name="bcnDestroyer" />
     112        <DockingTarget name="fistperson" />
     113      </attached>
     114    </FpsPlayer>
     115
     116
     117
     118
     119<!-- Docking  II -->
     120    <Dock position="-840,-20055,1.8" roll=0 yaw=0 >
     121        <animations>
     122            <MoveToDockingTarget target="spaceShip" />
    78123        </animations>
    79124        <effects>
     
    89134            </undocking>
    90135       
    91             <activity>
    92                 <EventListener event=notGameEnd />
    93             </activity>
    94136        </events>
    95137        <attached>
    96138        <!-- Trigger for docking with billboard -->
    97             <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.2,0.4,0.8" scale=1 />
     139            <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.3,0.4,0.5" scale=1 />
    98140            <DistanceTrigger position="0,0,0" distance="200" target="Pawn"
    99                 beaconMode="exclude" targetname="bcnDestroyer" name="dockMe"
     141                beaconMode="exclude" targetname="bcnSpaceShip" name="dockMe"
    100142            />
    101143        <!-- Trigger for undocking with billboard -->
    102             <Billboard position="-2800,-20055,-700" material="Flares/ringflare2" colour="0.2,0.4,0.8" scale=10 />
    103             <DistanceTrigger position="-2800,-20055,-700" distance="150" target="Pawn"
    104                 beaconMode="identify" targetname="bcnDestroyer" name="undockMe"
     144            <Billboard position="4140,20055,-295" material="Flares/ringflare2" colour="0.3,0.4,0.5" scale=1 />
     145            <DistanceTrigger position="4140,20055,-295" distance="300" target="Pawn"
     146                beaconMode="identify" targetname="bcnSpaceShip" name="undockMe"
    105147            />
    106148        </attached>
     
    108150    </Dock>
    109151
    110 <!-- FPS Player as destination of the dock -->
    111     <FpsPlayer template = "fps" radarname = "First Person Player" position = "0,-20000,0" >
     152    <SpaceShip
     153        template            = "HeavyCruiser"
     154        team                = "0"
     155        position            = "3600,-20,-120"
     156        orientation         = "1,0,0,0"
     157        health              = "400"
     158        initialhealth       = "400"
     159        maxhealth           = "500"
     160        shieldhealth        = "80"
     161        initialshieldhealth = "80"
     162        maxshieldhealth     = "120"
     163        shieldabsorption    = "0.8"
     164        reloadrate          = "1"
     165        reloadwaittime      = "1"
     166        name                = "Tanis1"
     167        radarname           = "Tanis Cruiser" >
    112168      <attached>
    113169        <DockingTarget name="spaceShip" />
    114         <DistanceTriggerBeacon name="bcnDestroyer" />
    115         <DockingTarget name="destroyer" />
    116       </attached>
    117     </FpsPlayer>
    118 
    119 
    120 <!-- Cube as test SpaceStation
     170        <DistanceTriggerBeacon name="bcnSpaceShip" />
     171      </attached>
     172    </SpaceShip>
     173
     174
     175
     176
     177<!-- SpaceStation
    121178
    122179The station can either be hidden outside of the skybox, within the hull of the space station if it is big enough or within a planet.
Note: See TracChangeset for help on using the changeset viewer.