Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4555 for data/trunk


Ignore:
Timestamp:
Jan 27, 2007, 1:39:46 PM (18 years ago)
Author:
snellen
Message:

added track to camera

Location:
data/trunk
Files:
3 edited

Legend:

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

    r4553 r4555  
    8181     <Camera>
    8282      <name> CameraOne </name>
    83       <abs-coor>0,0,0</abs-coor>
     83      <abs-coor>500,0,0</abs-coor>
    8484      <Track>
    8585        <mode>0</mode>
    86         <speed>0.5</speed>
     86        <speed>1</speed>
    8787        <addPoint>500,0,0</addPoint>
    8888        <addPoint>400,0,200</addPoint>
  • data/trunk/levels/sp_level_spacestation1.oxw

    r4544 r4555  
    2727       <model>models/creatures/doom_male/male.md2, 10</model>
    2828       <md2texture>models/creatures/doom_male/male_albat.pcx</md2texture>
    29        <abs-coor>516.458313, -352, -80.734474</abs-coor>
     29       <abs-coor>516.458313, -345, -80.734474</abs-coor>
    3030       <abs-dir>0, 0, 1, 0</abs-dir>
    3131    </GenericNPC>
     
    3535       <model>models/creatures/doom_male/male.md2, 10</model>
    3636       <md2texture>models/creatures/doom_male/male_albat.pcx</md2texture>
    37        <abs-coor>516.458313, -352, -80.734474</abs-coor>
     37       <abs-coor>4.520885, 35, -715.864136</abs-coor>
    3838       <abs-dir>0, 0, 1, 0</abs-dir>
    3939    </GenericNPC>
  • data/trunk/scripts/cutscene/cutscene.lua

    r4553 r4555  
    1616time = time + timestep
    1717
     18cameraManager:changeTarget( "CameraOne", "Planet", "Moon")
    1819cameraManager:setCam("CameraOne")
    19 cameraManager:changeCurrTarget( "Planet", "Moon")
     20cameraSwitched = true
     21
     22
     23if time > 4 then
     24--cameraManager:togglFade()
    2025return true
     26end
    2127
    22 --if time > 2 and not cameraSwitched then
    23 --cameraSwitched = true
    24 --end
    25 
    26 --if time > 4 then
    27 ---cameraManager:togglFade()
    28 --return true
    29 --end
    30 
    31 --return false
     28return false
    3229end
Note: See TracChangeset for help on using the changeset viewer.