Changeset 6987 for code/branches/dynamicmatch/src/orxonox
- Timestamp:
- May 27, 2010, 8:46:00 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/dynamicmatch/src/orxonox/gametypes/Dynamicmatch.cc
r6959 r6987 126 126 { 127 127 this->gtinfo_->sendStaticMessage("Either hide or shoot a chaser.",it2->first->getClientID()); 128 this->gtinfo_->sendFadingMessage("You're now a victim.",it2->first->getClientID()); 128 129 } 129 130 } … … 140 141 { 141 142 this->gtinfo_->sendStaticMessage("Take the chasers down.",it3->first->getClientID()); 143 this->gtinfo_->sendFadingMessage("You're now a killer.",it3->first->getClientID()); 142 144 } 143 145 } … … 168 170 { 169 171 this->gtinfo_->sendStaticMessage("Take the chasers down.",it3->first->getClientID()); 172 this->gtinfo_->sendFadingMessage("You're now a killer.",it3->first->getClientID()); 170 173 } 171 174 } … … 186 189 if (numberOf[killer]>0) 187 190 this->gtinfo_->sendStaticMessage("Shoot at the victim as often as possible. Defend yourself against the killers.",it3->first->getClientID()); 191 188 192 else 189 193 this->gtinfo_->sendStaticMessage("Shoot at the victim as often as possible.",it3->first->getClientID()); 194 this->gtinfo_->sendFadingMessage("You're now a chaser.",it3->first->getClientID()); 190 195 } 191 196 } … … 229 234 else 230 235 this->gtinfo_->sendStaticMessage("Shoot at the victim as often as possible.",it->first->getClientID()); 236 this->gtinfo_->sendFadingMessage("You're now a chaser.",it->first->getClientID()); 231 237 } 232 238 std::map<PlayerInfo*, Player>::iterator it2 = this->players_.find(victim->getPlayer()); … … 234 240 { 235 241 this->gtinfo_->sendStaticMessage("Either hide or shoot a chaser.",it2->first->getClientID()); 242 this->gtinfo_->sendFadingMessage("You're now a victim.",it2->first->getClientID()); 236 243 } 237 244 } … … 261 268 { 262 269 this->gtinfo_->sendStaticMessage("Either hide or shoot a chaser.",it->first->getClientID()); 270 this->gtinfo_->sendFadingMessage("You're now a victim.",it->first->getClientID()); 263 271 } 264 272 std::map<PlayerInfo*, Player>::iterator it2 = this->players_.find(victim->getPlayer()); … … 266 274 { 267 275 this->gtinfo_->sendStaticMessage("Take the chasers down.",it2->first->getClientID()); 276 this->gtinfo_->sendFadingMessage("You're now a killer.",it2->first->getClientID()); 268 277 } 269 278 } … … 457 466 else 458 467 this->gtinfo_->sendStaticMessage("Shoot at the victim as often as possible.",it->first->getClientID()); 468 //this->gtinfo_->sendFadingMessage("You're now a chaser.",it->first->getClientID()); 459 469 } 460 470 else if (it->second==piggy) 471 { 461 472 this->gtinfo_->sendStaticMessage("Either hide or shoot a chaser.",it->first->getClientID()); 473 //this->gtinfo_->sendFadingMessage("You're now a victim.",it->first->getClientID()); 474 } 462 475 else if (it->second==killer) 476 { 463 477 this->gtinfo_->sendStaticMessage("Take the chasers down.",it->first->getClientID()); 478 //this->gtinfo_->sendFadingMessage("You're now a killer.",it->first->getClientID()); 479 } 464 480 } 465 481 … … 499 515 else 500 516 this->gtinfo_->sendStaticMessage("Shoot at the victim as often as possible.",it->first->getClientID()); 517 //this->gtinfo_->sendFadingMessage("You're now a chaser.",it->first->getClientID()); 501 518 } 502 519 else if (it->second==piggy) 520 { 503 521 this->gtinfo_->sendStaticMessage("Either hide or shoot a chaser.",it->first->getClientID()); 522 //this->gtinfo_->sendFadingMessage("You're now a victim.",it->first->getClientID()); 523 } 504 524 else if (it->second==killer) 525 { 505 526 this->gtinfo_->sendStaticMessage("Take the chasers down.",it->first->getClientID()); 527 //this->gtinfo_->sendFadingMessage("You're now a killer.",it->first->getClientID()); 528 } 506 529 } 507 530 … … 542 565 else 543 566 this->gtinfo_->sendStaticMessage("Shoot at the victim as often as possible.",it->first->getClientID()); 567 //this->gtinfo_->sendFadingMessage("You're now a chaser.",it->first->getClientID()); 544 568 } 545 569 else if (it->second==piggy) 570 { 546 571 this->gtinfo_->sendStaticMessage("Either hide or shoot a chaser.",it->first->getClientID()); 572 //this->gtinfo_->sendFadingMessage("You're now a victim.",it->first->getClientID()); 573 } 547 574 else if (it->second==killer) 575 { 548 576 this->gtinfo_->sendStaticMessage("Take the chasers down.",it->first->getClientID()); 577 //this->gtinfo_->sendFadingMessage("You're now a killer.",it->first->getClientID()); 578 } 549 579 } 550 580
Note: See TracChangeset
for help on using the changeset viewer.