Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4553


Ignore:
Timestamp:
Jan 27, 2007, 12:11:07 AM (17 years ago)
Author:
snellen
Message:

last checkin

Location:
data/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • data/trunk/levels/sp_cutscene_intro.oxw

    r4551 r4553  
    1414  <WorldEntities>
    1515
     16
    1617        <SkyBox>
    1718          <name>Sky</name>
    1819          <Materialset>textures/sky/simple_space</Materialset>
    19           <Size>500</Size>
     20          <Size>5000</Size>
    2021        </SkyBox>
    2122
     
    2324        <Planet>
    2425          <name>Earth</name>
    25           <size>30</size>
    26           <abs-coor>0,-100, 0</abs-coor>
    27           <texture>textures/planets/pluto.png</texture>
     26          <size>140</size>
     27          <abs-coor>0, 0, -200</abs-coor>
     28          <texture>textures/planets/mars.png</texture>
    2829        </Planet>
    2930
     
    3132        <Planet>
    3233         <name>Moon</name>
    33          <texture>textures/planets/mars.png</texture>
    34          <size>70</size>
    35          <abs-coor>100, 60, 100</abs-coor>
     34         <texture>textures/planets/pluto.png</texture>
     35         <size>40</size>
     36         <abs-coor> 250, 0 , 0</abs-coor>
    3637         <abs-dir>3.1412, 0,1,0</abs-dir>
    3738        </Planet>
     
    4243          <abs-coor>0,0,0</abs-coor>
    4344        </Building>
    44 
    45 
    46 
    4745
    4846  </WorldEntities>
     
    8078   <CameraMan>
    8179    <name> cameraManager </name>
     80
    8281     <Camera>
    83      <name> Testcam </name>
    84      <abs-coor>0,0,0</abs-coor>
     82      <name> CameraOne </name>
     83      <abs-coor>0,0,0</abs-coor>
     84      <Track>
     85        <mode>0</mode>
     86        <speed>0.5</speed>
     87        <addPoint>500,0,0</addPoint>
     88        <addPoint>400,0,200</addPoint>
     89      </Track>
    8590     </Camera>
    8691
     
    9398      <Light>
    9499       <diffuse-color>1,1,1</diffuse-color>
    95        <abs-coor>0,0,0</abs-coor>
     100       <abs-coor>0, 0, -2000</abs-coor>
    96101      </Light>
    97102    </Lights>
  • data/trunk/scripts/cutscene/cutscene.lua

    r4551 r4553  
    1313-- THE tick function
    1414
    15 function tick(timestep) 
     15function tick(timestep)
    1616time = time + timestep
    1717
    18 if time > 2 and not cameraSwitched then
    19 --cameraManager:setCam("Testcam")
    20 cameraManager:changeCurrTarget( "Planet", "Earth")
    21 cameraSwitched = true
    22 end
     18cameraManager:setCam("CameraOne")
     19cameraManager:changeCurrTarget( "Planet", "Moon")
     20return true
    2321
    24 if time > 4 then
    25 cameraManager:togglFade()
    26 return true
    27 end
     22--if time > 2 and not cameraSwitched then
     23--cameraSwitched = true
     24--end
    2825
    29 return false
     26--if time > 4 then
     27---cameraManager:togglFade()
     28--return true
     29--end
     30
     31--return false
    3032end
Note: See TracChangeset for help on using the changeset viewer.