Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 29, 2012, 10:06:09 AM (13 years ago)
Author:
mentzerf
Message:

Fixed oxw file:

  • Camera is now focus on 0,0,0 and locked on a crate.mesh, not on the playfield.mesh. This allows us to insert the playfield.mesh after the player has pressed the mouse button. Later the crate can me made invisible

+ Playfield.mesh is inserted as StaticEntity

  • Commented out the waypoints for now
  • TowerDefense is not using SpawnPoint any more, as it is not needed
File:
1 edited

Legend:

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

    r9129 r9133  
    3030  <Pawn>
    3131    <camerapositions>
    32       <CameraPosition position="200,0,350" absolute=true />
     32      <CameraPosition position="0,0,20" absolute=true />
    3333    </camerapositions>
    3434  </Pawn>
     
    4141  <Pawn camerapositiontemplate=playfieldcameras>
    4242    <attached>
    43       <Model position="0,0,0" orientation="1,1,1,1" mesh="Playfield_ME.mesh" scale3D="10,10,10" /> <!-- crate.mesh -->
     43      <Model position="0,0,0" orientation="1,1,1,1" mesh="crate.mesh" scale3D="1,1,1" /> <!-- the camera is attached to this -->
    4444    </attached>
    4545  </Pawn>
     
    6565    <!--SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /-->
    6666   
    67     <SpawnPoint team=0 position="200,0,0" lookat="0,0,0" spawnclass=Pawn pawndesign=playfield />
     67        <!-- Spawns the camera, attached to a crate -->
     68    <SpawnPoint team=0 position="0,0,0" lookat="0,0,0" spawnclass=Pawn pawndesign=playfield />
    6869   
    6970        <!--SpawnPoint team=1 position="0,0,30" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff  /-->
     
    7172       
    7273       
    73          <SpaceShip position="-10,0,20" lookat="0,0,0">
     74         <!--SpaceShip position="-10,0,20" lookat="0,0,0">
    7475      <templates>
    7576        <Template link=spaceshipassff />
     
    8586        </WaypointController>
    8687      </controller>
    87     </SpaceShip>
     88    </SpaceShip-->
    8889   
    8990
    90     <!--StaticEntity position="0,0,0" direction="0,0,0" collistionType=static mass=100000>
     91    <StaticEntity position="0,0,0" direction="1,0,0" collistionType=static mass=100000>
    9192        <attached>
    92             <Model position="0,0,0" mesh="Playfield_ME.mesh" scale3D="10,10,10" />
     93            <Model position="0,0,0" orientation="1,1,1,1" mesh="Playfield_ME.mesh" scale3D="1,1,1" />
    9394        </attached>
    94     </StaticEntity-->
     95    </StaticEntity>
    9596
    9697  </Scene>
Note: See TracChangeset for help on using the changeset viewer.