Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 29, 2012, 12:52:05 PM (13 years ago)
Author:
mentzerf
Message:
  • Fixed some formatting, some comments and some logs. Done for today.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/newlevel2012/data/levels/towerDefense.oxw

    r9138 r9139  
    2727
    2828<!-- Specify the position of the camera -->
    29 <Template name=playfieldcameras defaults=0>
     29<Template name=centerpointmarkcamera defaults=0>
    3030  <Pawn>
    3131    <camerapositions>
     
    3535</Template>
    3636
    37 <!-- Loads the playfield mesh -->
    38 <Template name=playfield>
    39   <Pawn camerapositiontemplate=playfieldcameras>
     37<!-- Loads a mesh to mark the center-->
     38<Template name=centerpointmark>
     39  <Pawn camerapositiontemplate=centerpointmarkcamera>
    4040    <attached>
    4141      <Model position="0,0,0" mesh="cylinder.mesh" scale3D="1,1,1" /> <!-- the camera is attached to this -->
     
    5858    <Template link=lodtemplate_default />
    5959  </templates>
     60 
    6061  <?lua include("includes/notifications.oxi") ?>
    61 
    6262
    6363  <Scene
     
    6565    skybox       = "Orxonox/Starbox"
    6666  >
    67 
    68     <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"/>
    69    
     67 
     68        <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"/>
    7069   
    7170        <!-- Spawns the camera, attached to a crate -->
    72         <SpawnPoint team=0 position="0,0,0" spawnclass=Pawn pawndesign=playfield />
    73 
     71        <SpawnPoint team=0 position="0,0,0" spawnclass=Pawn pawndesign=centerpointmark />
    7472       
    7573        <!--SpawnPoint team=1 position="0,0,10" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff  /-->
    7674        <!--SpawnPoint team=0 position="0,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /-->
    7775       
    78        
    79          <!--SpaceShip position="-10,0,20" lookat="0,0,0">
     76        <!--SpaceShip position="-10,0,20" lookat="0,0,0">
    8077      <templates>
    8178        <Template link=spaceshipassff />
     
    109106                        <Model position="-0.5,-0.5,0" mesh="Playfield_ME.mesh" scale=0.8 />
    110107                       
     108                        <!-- This was used to mark the playfield, let's let it be here for now -->
    111109                        <!--Model position="-8,8,0" mesh="crate.mesh" scale3D="0.3,0.3,0.3" /-->
    112110                        <!--Model position="-8,-8,0" mesh="crate.mesh" scale3D="0.3,0.3,0.3" /-->
    113111                        <!--Model position="8,-8,0" mesh="crate.mesh" scale3D="0.3,0.3,0.3" /-->
    114112                        <!--Model position="8,8,0" mesh="crate.mesh" scale3D="0.3,0.3,0.3" /-->
    115                        
    116                         <!--Model position="0,0,50" direction="0,0,0"  mesh="rocket.mesh"  scale3D="0.3,0.3,0.3" /-->
    117113                       
    118114        </attached>
Note: See TracChangeset for help on using the changeset viewer.