Changeset 11539
- Timestamp:
- Nov 6, 2017, 4:01:33 PM (7 years ago)
- Location:
- code/branches/Waypoints_HS17
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Waypoints_HS17/data/levels/emptyLevel.oxw
r11523 r11539 41 41 /> 42 42 43 <Scene44 ambientlight = "0.8, 0.8, 0.8"45 43 <Scene 44 ambientlight = "0.5, 0.5, 0.5" 45 skybox = "Orxonox/Starbox" 46 46 > 47 47 48 <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/>49 <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort />50 48 51 <ModularSpaceShip velocity= "20,0,0" position="0,0,200" lookat= "0,0,0" health="1000" maxhealth="1000" initialhealth="1000"> 52 <templates> 53 <Template link=endurance /> 54 </templates> 55 </ModularSpaceShip> 56 <AutonomousDroneController> 57 </AutonomousDroneController> 49 <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" /> 58 50 59 <SpaceShip position="0,2000,200" lookat="0,0,0">60 <templates>61 <Template link=spaceshipassff />62 </templates>63 <controller>64 <WaypointController alertnessradius=1000 team=10>65 <waypoints>66 <Model mesh="cube.mesh" scale=8 position=" 0,2000,-200" />67 <Model mesh="cube.mesh" scale=8 position=" 0,2000,-700" />68 <Model mesh="cube.mesh" scale=8 position="500,2000,-700" />69 <Model mesh="cube.mesh" scale=8 position="500,2000,-200" />70 </waypoints>71 </WaypointController>72 </controller>73 </SpaceShip>74 51 75 <DistanceTrigger name="flying1" position="0,0,0" distance=100 stayActive="true" delay=6/> 76 <SimpleNotification message="Let's fly to the blinking light."> 77 <events> 78 <trigger> 79 <EventListener event="flying1" /> 80 </trigger> 81 </events> 82 </SimpleNotification> 52 53 <SpawnPoint position="50,0,0" lookat="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> 54 55 56 57 58 <Arrow position = "0,50,5"> 59 <attached> 60 <Model scale="10" mesh="arrow.mesh"/> 61 </attached> 62 <controllers> 63 <ArrowController> 64 </ArrowController> 65 </controllers> 66 </Arrow> 67 83 68 84 69 -
code/branches/Waypoints_HS17/src/modules/questsystem/Quest.cc
r11071 r11539 80 80 XMLPortObject(Quest, QuestEffect, "fail-effects", addFailEffect, getFailEffect, xmlelement, mode); 81 81 XMLPortObject(Quest, QuestEffect, "complete-effects", addCompleteEffect, getCompleteEffect, xmlelement, mode); 82 XMLPortObject(Quest, Worldentity, "arrowtarget", addArrowTarget, getArrowTarget, xmlelement, mode); 82 83 83 84 QuestManager::getInstance().registerQuest(this); // Registers the Quest with the QuestManager. 84 85 } 86 87 88 bool Quest::addArrowTarget(Quest* quest){ 89 90 assert(quest); 91 92 93 } 94 95 85 96 86 97 /** -
code/branches/Waypoints_HS17/src/orxonox/controllers/CMakeLists.txt
r11523 r11539 20 20 MasterController.cc 21 21 AutonomousDroneController.cc 22 ArrowController.cc 22 23 ) -
code/branches/Waypoints_HS17/src/orxonox/worldentities/CMakeLists.txt
r11523 r11539 14 14 Actionpoint.cc 15 15 AutonomousDrone.cc 16 Arrow.cc 16 17 ) 17 18
Note: See TracChangeset
for help on using the changeset viewer.