Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 20, 2010, 7:45:01 PM (15 years ago)
Author:
ebeier
Message:

SpeedPickup Class is now "working" (able to spawn/be picked up), but speed-manipulation of pawn still missing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ppspickups1/data/levels/pickup_ppstest1.oxw

    r6574 r6575  
    22  include("stats.oxo")
    33  include("hudtemplates3.oxo")
     4?>
    45
     6<?lua
    57  include("templates/spaceship_assff.oxt")
    68  include("templates/spaceship_pirate.oxt")
    7   -- include("templates/pickup_representation_templates_speed.oxt")
     9  include("templates/pickup_representation_templates_speed.oxt")
    810?>
    911
    1012<Level
    11  name         = "SpeedPickupTest"
    12  description  = "Test for the new Speed Pickup"
     13 name         = "Sample"
     14 description  = "Just a few tests"
    1315>
    1416  <Scene
     
    2022  include("includes/pickups_speed.oxi")
    2123?>
    22 <!--
    23     <PickupSpawner position="-100,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
     24
     25    <PickupSpawner position="-25,0,-100" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
    2426        <pickup>
    25             <SpeedPickup template="speedboostpickup" />
     27            <SpeedPickup template=smallspeedpickup />
    2628        </pickup>
    2729    </PickupSpawner>
    28 -->
     30
     31
    2932    <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" />
    3033    <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
    3134  </Scene>
    3235</Level>
    33 <?lua
    34   include("stats.oxo")
    35   include("hudtemplates3.oxo")
    36 
    37   include("templates/spaceship_assff.oxt")
    38   include("templates/spaceship_pirate.oxt")
    39   -- include("templates/pickup_representation_templates_speed.oxt")
    40 ?>
    41 
    42 <Level
    43  name         = "SpeedPickupTest"
    44  description  = "Test for the new Speed Pickup"
    45 >
    46   <Scene
    47     ambientlight = "0.8, 0.8, 0.8"
    48     skybox       = "Orxonox/Starbox"
    49   >
    50 
    51 <?lua
    52   include("includes/pickups_speed.oxi")
    53 ?>
    54 <!--
    55     <PickupSpawner position="-100,0,-100" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
    56         <pickup>
    57             <SpeedPickup template="speedboostpickup" />
    58         </pickup>
    59     </PickupSpawner>
    60 -->
    61     <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" />
    62     <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
    63   </Scene>
    64 </Level>
Note: See TracChangeset for help on using the changeset viewer.