- Timestamp:
- Jan 30, 2007, 8:39:21 PM (18 years ago)
- Location:
- data/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
data/trunk/levels/sp_level_spacestation1.oxw
r4667 r4671 54 54 <md2texture>models/creatures/doom_male/male_albat.pcx</md2texture> 55 55 <abs-coor>1177.693, -12, 203.514</abs-coor> 56 <abs-dir>3.14, 0, 1, 0</abs-dir> 57 </GenericNPC> 58 59 60 <GenericNPC> 61 <name>panicGuy</name> 62 <model>models/creatures/doom_male/male.md2, 10</model> 63 <md2texture>models/creatures/doom_male/male_blues.pcx</md2texture> 64 <abs-coor>397.930054, 21.617195, 357.360992 </abs-coor> 56 65 <abs-dir>3.14, 0, 1, 0</abs-dir> 57 66 </GenericNPC> … … 522 531 <quest-name>First Quest</quest-name> 523 532 <quest-description> 524 Hello Player.W \nelcome to the world of Orxonox! First of all: go to the Gloriabar and talk the to your contact person!533 Hello Player.Welcome to the world of Orxonox! First of all: Go to the Gloriabar and talk the to your contact person! 525 534 </quest-description> 526 535 <quest-picture>/textures/orx_REMOVE_ME.png</quest-picture> 527 536 <quest-difficulty>D\ifficulty: Easy P </quest-difficulty> 528 537 <quest-persons>\nlayers needed: 1</quest-persons> 529 <reward-picture>/textures/ goldsack.png</reward-picture>538 <reward-picture>/textures/orx_REMOVE_ME.png</reward-picture> 530 539 <reward-description>A\n bag full of gold!!!</reward-description> 531 540 </QuestGUI> … … 536 545 <quest-name>Second_Quest</quest-name> 537 546 <quest-description> 538 Congratulations! You've just found the m\naybe most important place on this Space-station!Go,get yourself a drink...547 Congratulations! You've just found the maybe most important place on this Spacestation! \n Go get yourself a drink... 539 548 </quest-description> 540 549 <quest-picture>/textures/orx_REMOVE_ME.png</quest-picture> … … 543 552 <reward-picture>/textures/martini.png</reward-picture> 544 553 <reward-description>A\n tasty Drink</reward-description> 554 </QuestGUI> 555 556 <QuestGUI> 557 <name>Third_Quest</name> 558 <quest-name>Third_Quest</quest-name> 559 <quest-description> 560 Aaaahh! We're being attacked! Quick get to the hangar and reinforce our troops! Move out! 561 </quest-description> 562 <quest-picture>/textures/orx_REMOVE_ME.png</quest-picture> 563 <quest-difficulty>Difficulty: Medium </quest-difficulty> 564 <quest-persons>Persons needed: 1</quest-persons> 565 <reward-picture>/textures/martini.png</reward-picture> 566 <reward-description>Reward: Die in honour for your world!</reward-description> 545 567 </QuestGUI> 546 568 -
data/trunk/levels/sp_level_spacestation1B.oxw
r4658 r4671 537 537 </BspEntity> 538 538 539 <QuestGUI> 540 <name>First_Quest</name> 541 <quest-name>First Quest</quest-name> 542 <quest-description> 543 Welcome to the hangar! Now go to the shop and get a ship! ASAP! 544 </quest-description> 545 <quest-picture>/textures/orx_REMOVE_ME.png</quest-picture> 546 <quest-difficulty>Difficulty: Easy \n</quest-difficulty> 547 <quest-persons>Players needed: 1</quest-persons> 548 <reward-picture>/textures/goldsack.png</reward-picture> 549 <reward-description>A bag full of gold!!!</reward-description> 550 </QuestGUI> 551 552 <QuestGUI> 553 <name>Second_Quest</name> 554 <quest-name>Second Quest</quest-name> 555 <quest-description> 556 Hey you are going on a very important misson! You will need more than this rusty can! 557 </quest-description> 558 <quest-picture>/textures/orx_REMOVE_ME.png</quest-picture> 559 <quest-difficulty>Difficulty: Easy \n</quest-difficulty> 560 <quest-persons>Players needed: 1</quest-persons> 561 <reward-picture>/textures/goldsack.png</reward-picture> 562 <reward-description>You ain't winning a reward with this piece of ... </reward-description> 563 </QuestGUI> 564 565 566 <QuestGUI> 567 <name>Third_Quest</name> 568 <quest-name>Third Quest</quest-name> 569 <quest-description> 570 There you are. This ship will bring you a lot of pleasure! Sould I wrap it up ? 571 </quest-description> 572 <quest-picture>/textures/orx_REMOVE_ME.png</quest-picture> 573 <quest-difficulty>Difficulty: Easy \n</quest-difficulty> 574 <quest-persons>Players needed: 1</quest-persons> 575 <reward-picture>/textures/goldsack.png</reward-picture> 576 <reward-description> Here we go! </reward-description> 577 </QuestGUI> 578 539 579 </WorldEntities> 540 580 … … 552 592 </Scripts> 553 593 </ScriptManager> 594 595 596 554 597 555 598 <Music>sounds/ambient/hangar02.ogg</Music> -
data/trunk/scripts/cutscene/cutscene.lua
r4659 r4671 194 194 cameraManager:setCam("CameraOne") 195 195 cameraManager:jumpCurrCam(125,0,-245) 196 cameraManager:atachCurrCameraToWorldEntity("NPC", "transporterOne")197 --cameraManager:changeCurrTarget("Building", "zhara")196 --cameraManager:atachCurrCameraToWorldEntity("NPC", "transporterOne") 197 cameraManager:changeCurrTarget("Building", "zhara") 198 198 cameraSwitched = true 199 199 end -
data/trunk/scripts/spacestation/spaceship_hangar.lua
r4653 r4671 1 1 -- Create the trigger 2 --trigger = ScriptTrigger()3 --trigger:setName("maintrigger")4 --trigger:setScript("spaceship_hangar.lua")5 --trigger:setFunction("tick")6 --trigger:setActiveOnCreation(true)2 trigger = ScriptTrigger() 3 trigger:setName("maintrigger") 4 trigger:setScript("spaceship_hangar.lua") 5 trigger:setFunction("tick") 6 trigger:setActiveOnCreation(true) 7 7 8 9 -- Cameraswitchzero10 8 triggerZero = ScriptTrigger() 11 9 triggerZero:setScript("spaceship_hangar.lua") 12 triggerZero:setFunction("s witchToVertical")13 triggerZero:setAbsCoor( 5214.267090, 21.617924, -4482.451660)10 triggerZero:setFunction("startQuestThree") 11 triggerZero:setAbsCoor(3211.242188, 62.026615, -4471.773926) 14 12 triggerZero:setTarget("Player") 15 triggerZero:setRadius( 50)13 triggerZero:setRadius(140) 16 14 --triggerZero:setDebugDraw(true) 17 15 18 thisscript:addObjectAsName("GameWorld", "Space Station 1B", "gameWorld")19 16 20 17 21 function switchToVertical(timestep) 18 triggerOne = ScriptTrigger() 19 triggerOne:setScript("spaceship_hangar.lua") 20 triggerOne:setFunction("startQuestTwo") 21 triggerOne:setAbsCoor(3454.067383, 58.026615, -4117.536133) 22 triggerOne:setTarget("Player") 23 triggerOne:setRadius(140) 24 25 26 thisscript:addObjectAsName("GameWorld", "Space Station 1B", "gameWorld") 27 thisscript:addObject("QuestGUI", "First_Quest") 28 thisscript:addObject("QuestGUI", "Second_Quest") 29 thisscript:addObject("QuestGUI", "Third_Quest") 30 31 firstQuestShowed = false 32 33 function switchToVertical() 22 34 if gameWorld:setNextStoryName( "Mission 1" ) then 23 35 gameWorld:stop() 24 36 end 37 38 end 39 40 function startQuestTwo(timestep) 41 Second_Quest:startGUI() 25 42 return true 26 43 end 27 44 45 function startQuestThree(timestep) 46 Third_Quest:startGUI() 47 return true 48 end 49 50 51 52 function tick(timestep) 53 54 if not firstQuestShowed then 55 First_Quest:startGUI() 56 firstQuestShowed = true 57 end 58 59 if Third_Quest:isActive() then 60 switchToVertical() 61 end 62 63 return false 64 end -
data/trunk/scripts/spacestation/spaceship_tower.lua
r4659 r4671 14 14 --triggerOne:setDebugDraw(true) 15 15 16 triggerTwo = ScriptTrigger() 17 triggerTwo:setScript("spaceship_tower.lua") 18 triggerTwo:setFunction("startThirdQuest") 19 triggerTwo:setTarget("Player") 20 triggerTwo:setTriggerParent("panicGuy") 21 triggerTwo:setRadius(70) 22 --triggerTwo:setDebugDraw(true) 16 23 17 24 -- Get objects from orxonox … … 19 26 thisscript:addObject("GenericNPC", "pedestrianOne") 20 27 thisscript:addObject("GenericNPC", "hangarguyOne") 28 thisscript:addObject("GenericNPC", "panicGuy") 21 29 thisscript:addObject("QuestGUI", "First_Quest") 22 30 thisscript:addObject("QuestGUI", "Second_Quest") 31 thisscript:addObject("QuestGUI", "Third_Quest") 23 32 24 33 … … 27 36 -- Globals 28 37 questOneStarted = false 29 38 barReached = false 39 runProg = true 30 40 31 41 -- pedestrian … … 166 176 167 177 178 -- pedestrian 179 panic = { } 180 --{ 181 function panic:tick(timestep) 182 183 if runProg and Player:getAbsCoorX() < 700 then 184 panicGuy:setVisibility(true) 185 panicGuy:runTo( 532.556641, 21.618149, 121.871323 ) 186 panicGuy:runTo( 544.452026, 21.618143, 50.025143 ) 187 188 runProg = false 189 end 190 191 end 192 193 --} 194 195 196 168 197 function startSecondQuest(timestep) 169 170 198 if First_Quest:isActive() then 171 199 Second_Quest:startGUI() 172 end173 174 200 return true 201 end 202 203 return false 204 end 205 206 207 function startThirdQuest(timestep) 208 209 if barReached then 210 Third_Quest:startGUI() 211 return true 212 end 213 214 return false 175 215 end 176 216 … … 182 222 183 223 if not questOneStarted then 224 panicGuy:setVisibility(false) 184 225 First_Quest:startGUI() 185 226 questOneStarted = true 186 227 end 187 228 229 if Player:getAbsCoorX() > 800 then 230 barReached = true 231 end 232 233 if barReached then 234 panic:tick(timestep) 235 end 188 236 189 237 pedestrian:tick(timestep) 190 238 hangarguy:tick(timestep) 191 239 240 192 241 return false 193 242 end
Note: See TracChangeset
for help on using the changeset viewer.