Changeset 11347
- Timestamp:
- Dec 19, 2016, 8:15:56 AM (8 years ago)
- Location:
- code/branches/Presentation_HS16
- Files:
-
- 8 edited
- 6 copied
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Presentation_HS16
- Property svn:mergeinfo changed
/code/branches/Dialog_HS16 (added) merged: 11231,11247,11261,11270,11292,11317,11331
- Property svn:mergeinfo changed
-
code/branches/Presentation_HS16/data/levels/missionOne.oxw
r11052 r11347 31 31 <NotificationQueueCEGUI 32 32 name="narrative" 33 targets="simpleNotification "33 targets="simpleNotification,dialogue" 34 34 size=3 35 35 displayTime=3.9 36 36 position="0.2, 0, 0.1, 0" 37 fontSize=" 23"37 fontSize="19" 38 38 fontColor="0.3, 1, 0.2, 0.8" 39 39 alignment="HorzCentred" 40 40 displaySize="0.6, 0, 0, 0" 41 41 /> 42 42 43 <Scene 43 44 ambientlight = "0.8, 0.8, 0.8" … … 370 371 371 372 <DistanceTrigger name="spawndelaytrigger0" position="800,700,600" target="Pawn" distance=10 stayActive="true" delay=2/> 372 < SimpleNotification message="Press (F3) to see your mission briefing.">373 <Dialogue speaker="Speaker" message=" Press (F3) to see your mission briefing." portrait="Orxonox/DialogueHUD_Person"> 373 374 <events> 374 375 <trigger> … … 376 377 </trigger> 377 378 </events> 378 </ SimpleNotification>379 </Dialogue> 379 380 380 381 <!-- Blinking Billboard should be replaced with WAYPOINT --> … … 409 410 410 411 <DistanceTrigger name="flying1" position="800,700,600" target="Pawn" distance=10 stayActive="true" delay=6/> 411 < SimpleNotification message="Let's fly to the blinking light.">412 <Dialogue speaker="Speaker" message="Let's fly to the blinking light." portrait="Orxonox/DialogueHUD_Person"> 412 413 <events> 413 414 <trigger> … … 415 416 </trigger> 416 417 </events> 417 </ SimpleNotification>418 </Dialogue> 418 419 419 420 <DistanceTrigger name="flying2" position="800,700,600" target="Pawn" distance=10 stayActive="true" delay=10/> 420 < SimpleNotification message="Use (W) to accelerate and the mouse to steer.">421 <Dialogue speaker="Speaker" message="Use (W) to accelerate and the mouse to steer." portrait="Orxonox/DialogueHUD_Person"> 421 422 <events> 422 423 <trigger> … … 424 425 </trigger> 425 426 </events> 426 </ SimpleNotification>427 </Dialogue> 427 428 428 429 <!-- QUEST-Trigger && Message Trigger: navigationend is activated after flying4 was triggered --> … … 432 433 433 434 434 < SimpleNotification message="Three arrows just appeared.">435 <Dialogue speaker="Speaker2" message="Three arrows just appeared." portrait="Orxonox/DialogueHUD_Person2"> 435 436 <events> 436 437 <trigger> … … 438 439 </trigger> 439 440 </events> 440 </ SimpleNotification>441 </Dialogue> 441 442 442 443 <DistanceTrigger name="flying5" position="-900,640,600" target="Pawn" distance=60 stayActive="true" delay=5/> 443 < SimpleNotification message="Follow those arrows.">444 <Dialogue speaker="Speaker2" message="Follow those arrows." portrait="Orxonox/DialogueHUD_Person2"> 444 445 <events> 445 446 <trigger> … … 447 448 </trigger> 448 449 </events> 449 </ SimpleNotification>450 </Dialogue> 450 451 451 452 <!-------------------------------------- PART ONE : Destroy boxes ---------------------------------------> … … 485 486 486 487 <!-- @Text: How to shoot--> 487 < SimpleNotification message="Destroy the four boxes." broadcast="true">488 <Dialogue speaker="Speaker" message="Destroy the four boxes." portrait="Orxonox/DialogueHUD_Person" broadcast="true"> 488 489 <events> 489 490 <trigger> … … 491 492 </trigger> 492 493 </events> 493 </ SimpleNotification>494 495 <SimpleNotification message=" 1. Aim the ared cycle." broadcast="true">494 </Dialogue> 495 496 <SimpleNotification message=" 1. Aim at the red cycle." broadcast="true"> 496 497 <events> 497 498 <trigger> -
code/branches/Presentation_HS16/data/overlays/HUDTemplates3.oxo
r11277 r11347 184 184 weaponModeHUDSize = "0.09, 0.03" 185 185 /> 186 187 <HUDDialogue 188 name = "Dialogue" 189 position = "0.5, 0.85" 190 pickpoint = "0.5, 0.5" 191 font = "VeraMono" 192 size = "0.2, 0.2" 193 textsize = 0.1 194 colour = "1.0, 1.0, 0.0, 0.8" 195 align = "center" 196 /> 197 186 198 187 199 <HUDPickupSystem -
code/branches/Presentation_HS16/src/modules/notifications/CMakeLists.txt
r8706 r11347 17 17 NotificationsPrecompiledHeaders.h 18 18 LINK_LIBRARIES 19 overlays 19 20 orxonox 20 21 SOURCE_FILES ${NOTIFICATIONS_SRC_FILES} -
code/branches/Presentation_HS16/src/modules/notifications/NotificationDispatcher.h
r11099 r11347 126 126 virtual const std::string& createNotificationMessage(void) 127 127 { return BLANKSTRING; } 128 128 129 129 130 }; -
code/branches/Presentation_HS16/src/modules/notifications/NotificationManager.h
r11071 r11347 77 77 inline const std::string & getMessage(void) const 78 78 { return this->message_; } 79 80 79 /** 81 80 @brief Get the sender of the Notification. … … 94 93 private: 95 94 std::string message_; //!< The Notification message. 96 std::string sender_; //!< The sender of the notification.95 std::string sender_;//!< The sender of the notifications. 97 96 NotificationMessageType type_; //!< The type of the notification. 98 97 -
code/branches/Presentation_HS16/src/modules/notifications/dispatchers/CMakeLists.txt
r7285 r11347 2 2 CommandNotification.cc 3 3 SimpleNotification.cc 4 Dialogue.cc 4 5 ) -
code/branches/Presentation_HS16/src/modules/overlays/hud/CMakeLists.txt
r11277 r11347 27 27 LastTeamStandingInfos.cc 28 28 CountDown.cc 29 HUDDialogue.cc 29 30 )
Note: See TracChangeset
for help on using the changeset viewer.