Changeset 4553
- Timestamp:
- Jan 27, 2007, 12:11:07 AM (18 years ago)
- Location:
- data/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
data/trunk/levels/sp_cutscene_intro.oxw
r4551 r4553 14 14 <WorldEntities> 15 15 16 16 17 <SkyBox> 17 18 <name>Sky</name> 18 19 <Materialset>textures/sky/simple_space</Materialset> 19 <Size>500 </Size>20 <Size>5000</Size> 20 21 </SkyBox> 21 22 … … 23 24 <Planet> 24 25 <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> 28 29 </Planet> 29 30 … … 31 32 <Planet> 32 33 <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> 36 37 <abs-dir>3.1412, 0,1,0</abs-dir> 37 38 </Planet> … … 42 43 <abs-coor>0,0,0</abs-coor> 43 44 </Building> 44 45 46 47 45 48 46 </WorldEntities> … … 80 78 <CameraMan> 81 79 <name> cameraManager </name> 80 82 81 <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> 85 90 </Camera> 86 91 … … 93 98 <Light> 94 99 <diffuse-color>1,1,1</diffuse-color> 95 <abs-coor>0, 0,0</abs-coor>100 <abs-coor>0, 0, -2000</abs-coor> 96 101 </Light> 97 102 </Lights> -
data/trunk/scripts/cutscene/cutscene.lua
r4551 r4553 13 13 -- THE tick function 14 14 15 function tick(timestep) 15 function tick(timestep) 16 16 time = time + timestep 17 17 18 if time > 2 and not cameraSwitched then 19 --cameraManager:setCam("Testcam") 20 cameraManager:changeCurrTarget( "Planet", "Earth") 21 cameraSwitched = true 22 end 18 cameraManager:setCam("CameraOne") 19 cameraManager:changeCurrTarget( "Planet", "Moon") 20 return true 23 21 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 28 25 29 return false 26 --if time > 4 then 27 ---cameraManager:togglFade() 28 --return true 29 --end 30 31 --return false 30 32 end
Note: See TracChangeset
for help on using the changeset viewer.