Changeset 4593
- Timestamp:
- Jan 28, 2007, 8:46:41 PM (18 years ago)
- Location:
- data/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
data/trunk/levels/sp_cutscene_intro.oxw
r4587 r4593 23 23 <name>shutleOne</name> 24 24 <model>models/spaceships/human_spaceship_fighter.obj,0.2</model> 25 <abs-coor>200, 0, 175</abs-coor> 26 <abs-dir> 3.14,0,1,0 </abs-dir> 27 <Weapons> 28 <AcidLauncher> 29 <slot>0, 0</slot> 30 <energy>100</energy> 31 </AcidLauncher> 32 <AcidLuncher> 33 <slot>0, 1</slot> 34 <energy>100</energy> 35 </AcidLuncher> 36 </Weapons> 25 <Track> 26 <mode>1</mode> 27 <speed>10</speed> 28 <addPoint>625, 0, -25</addPoint> 29 <addPoint>-1000,0,-25</addPoint> 30 </Track> 37 31 </NPC> 38 32 … … 41 35 <model>models/spaceships/human_spaceship_bomber.obj,1.2</model> 42 36 <abs-dir> 0,0,1,0 </abs-dir> 43 <drawTrack>1</drawTrack> 44 <Track> 45 <mode>1</mode> 46 <speed>0.3</speed> 47 <addPoint>-1110,10,-170</addPoint> 37 <Track> 38 <mode>1</mode> 39 <speed>13</speed> 40 <addPoint>-410,10,-170</addPoint> 48 41 <addPoint>1000,10,-170</addPoint> 49 42 </Track> … … 54 47 <model>models/spaceships/human_spaceship_fighter.obj,0.5</model> 55 48 <abs-dir> 0,0,1,0 </abs-dir> 56 <drawTrack>1</drawTrack> 57 <Track> 58 <mode>1</mode> 59 <speed>0.3</speed> 60 <addPoint>-1060,10,-170</addPoint> 49 <Track> 50 <mode>1</mode> 51 <speed>13</speed> 52 <addPoint>-360,10,-170</addPoint> 61 53 <addPoint>1000,10,-170</addPoint> 62 54 </Track> … … 67 59 <model>models/spaceships/human_spaceship_bomber.obj,1,2</model> 68 60 <abs-dir> 0,0,1,0 </abs-dir> 69 <drawTrack>1</drawTrack> 70 <Track> 71 <mode>1</mode> 72 <speed>0.3</speed> 73 <addPoint>-1190,-5,-160</addPoint> 61 <Track> 62 <mode>1</mode> 63 <speed>13</speed> 64 <addPoint>-490,-5,-160</addPoint> 74 65 <addPoint>1000,-5,-160</addPoint> 75 66 </Track> … … 80 71 <model>models/spaceships/human_spaceship_fighter.obj,0.5</model> 81 72 <abs-dir> 0,0,1,0 </abs-dir> 82 <drawTrack>1</drawTrack> 83 <Track> 84 <mode>1</mode> 85 <speed>0.3</speed> 86 <addPoint>-1090,-5,-160</addPoint> 73 <Track> 74 <mode>1</mode> 75 <speed>13</speed> 76 <addPoint>-390,-5,-160</addPoint> 87 77 <addPoint>1000,-5,-160</addPoint> 88 78 </Track> … … 91 81 <NPC> 92 82 <name>pirateOne</name> 93 <model>models/spaceships/pirates_spaceship_fighter.obj,0.5</model> 94 <abs-dir> 0,0,1,0 </abs-dir> 95 <drawTrack>1</drawTrack> 96 <Track> 97 <mode>1</mode> 98 <speed>0.2</speed> 99 <addPoint>10,-5,-2650</addPoint> 83 <model>models/spaceships/pirates_spaceship_fighter.obj,0.1</model> 84 <abs-dir> 0,0,1,0 </abs-dir> 85 <Track> 86 <mode>1</mode> 87 <speed>12.8</speed> 88 <addPoint>10,-5,-1500</addPoint> 100 89 <addPoint>10,-5,100</addPoint> 101 90 <addPoint>10,0,150</addPoint> … … 107 96 108 97 98 <NPC> 99 <name>pirateTwo</name> 100 <model>models/spaceships/pirates_spaceship_ragnar.obj,0.3</model> 101 <abs-dir> 0,0,1,0 </abs-dir> 102 <Track> 103 <mode>0</mode> 104 <speed>11.8</speed> 105 <addPoint>80,0,-120</addPoint> 106 <addPoint>75,0,-200</addPoint> 107 <addPoint>70,2,-250</addPoint> 108 <addPoint>65,5,-300</addPoint> 109 110 </Track> 111 </NPC> 112 113 <NPC> 114 <name>fighterThree</name> 115 <model>models/spaceships/human_spaceship_fighter.obj,0.3</model> 116 <abs-dir> 0,0,1,0 </abs-dir> 117 <Track> 118 <mode>0</mode> 119 <speed>11.2</speed> 120 <addPoint>80,3,-100</addPoint> 121 <addPoint>75,3,-200</addPoint> 122 <addPoint>70,5,-250</addPoint> 123 <addPoint>65,8,-300</addPoint> 124 </Track> 125 <Weapons> 126 <AcidLauncher> 127 <slot>0, 0</slot> 128 </AcidLauncher> 129 <AcidLuncher> 130 <slot>0, 1</slot> 131 </AcidLuncher> 132 </Weapons> 133 134 </NPC> 135 136 137 <NPC> 138 <name>bomberThree</name> 139 <model>models/spaceships/human_spaceship_bomber.obj,1.2</model> 140 <abs-dir> 0,0,1,0 </abs-dir> 141 <Track> 142 <mode>1</mode> 143 <speed>6.4</speed> 144 <addPoint>-10,0,200</addPoint> 145 <addPoint>-10,0,150</addPoint> 146 <addPoint>-10,-5,100</addPoint> 147 <addPoint>-10,-5,-2650</addPoint> 148 </Track> 149 150 </NPC> 151 109 152 <Planet> 110 153 <name>Earth</name> 111 <size> 250</size>112 <abs-coor>-75, 0, 400</abs-coor>154 <size>175</size> 155 <abs-coor>-75, 0, 300</abs-coor> 113 156 <texture>textures/planets/mars.png</texture> 114 157 <cloud-texture>textures/planets/halo.png</cloud-texture> … … 126 169 <name>zhara</name> 127 170 <model>models/space_stations/ZHARA_Space_Station.obj, 2</model> 128 <abs-coor>-150,0, 150</abs-coor>171 <abs-coor>-150,0,-50</abs-coor> 129 172 <abs-dir>3.1412, 0,1,0</abs-dir> 130 173 </Building> … … 167 210 <Camera> 168 211 <name> CameraOne </name> 169 <drawTrack>1</drawTrack>170 212 <Track> 171 213 <mode>1</mode> 172 <speed> 0.1</speed>214 <speed>4.6</speed> 173 215 <addPoint>125,0,-245</addPoint> 174 216 <addPoint>125,0,-250</addPoint> -
data/trunk/scripts/cutscene/cutscene.lua
r4587 r4593 30 30 triggerTwo:setScript("cutscene.lua") 31 31 triggerTwo:setFunction("switchCamToSpaceship") 32 triggerTwo:setAbsCoor(0, 0 , 150)32 triggerTwo:setAbsCoor(0, 0 , -25) 33 33 triggerTwo:setTarget("CameraOne") 34 34 triggerTwo:setRadius(5) … … 39 39 triggerThree:setScript("cutscene.lua") 40 40 triggerThree:setFunction("switchCamToStation") 41 triggerThree:setAbsCoor(-125, 0 , 175)41 triggerThree:setAbsCoor(-125, 0 , -25) 42 42 triggerThree:setTarget("CameraOne") 43 43 triggerThree:setRadius(5) … … 47 47 -- Get objects from orxonox 48 48 thisscript:addObject("CameraMan", "cameraManager") 49 thisscript:addObject("NPC", "shutleOne")50 49 thisscript:addObjectAsName("GameWorld", "Cut Scene", "gameWorld") 51 50 … … 57 56 bInit = 0 58 57 bInit2 = 0 59 60 61 -- shutleOne62 shutle = { }63 --{64 65 function shutle:tick(timestep)66 67 if cameraManager:getCurrCameraCoorZ() > 0 then68 coorX = shutleOne:getAbsCoorX()69 coorY = shutleOne:getAbsCoorY()70 coorZ = shutleOne:getAbsCoorZ()71 shutleOne:setAbsCoor(coorX-6*timestep,coorY,coorZ)72 end73 end74 75 --}76 58 77 59 … … 107 89 time = time + timestep 108 90 109 shutle:tick(timestep)110 91 111 92 if bInit == 0 then
Note: See TracChangeset
for help on using the changeset viewer.