Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
2.9 KiB

  1. //-------------------------------------------------------------
  2. // File: cs_achievement_constants.h
  3. // Desc: Declare contants used by achievements (mostly) in one location for simpler tweaking
  4. // Author: Peter Freese <[email protected]>
  5. // Date: 2009/03/11
  6. // Copyright: � 2009 Hidden Path Entertainment
  7. //-------------------------------------------------------------
  8. #ifndef CS_ACHIEVEMENT_CONSTANTS_H
  9. #define CS_ACHIEVEMENT_CONSTANTS_H
  10. #ifdef _WIN32
  11. #pragma once
  12. #endif
  13. namespace AchievementConsts
  14. {
  15. const int DefaultMinOpponentsForAchievement = 5;
  16. const int KillingSpree_Kills = 4;
  17. const float KillingSpree_WindowTime = 15.0f;
  18. const float KillingSpreeEnder_TimeWindow = 5.0f;
  19. const int KillEnemyTeam_MinKills = 5;
  20. const int LastPlayerAlive_MinPlayersOnTeam = 5;
  21. const int KillsWithMultipleGuns_MinWeapons = 5;
  22. const float BombDefuseCloseCall_MaxTimeRemaining = 1.0f;
  23. const int KillLowDamage_MaxHealthLeft = 5;
  24. const int StillAlive_MaxHealthLeft = 10;
  25. const int DamageNoKill_MaxHealthLeftOnKill = 5;
  26. const float BombDefuseNeededKit_MaxTime = 5.0f;
  27. const float FastBombPlant_Time = 25.0f;
  28. const int KillEnemiesWhileBlind_Kills = 1;
  29. const int KillEnemiesWhileBlindHard_Kills = 2;
  30. const int SurviveGrenade_MinDamage = 80;
  31. const int KillWhenAtLowHealth_MaxHealth = 1;
  32. const int KillWhenAtMediumHealth_MaxHealth = 25;
  33. const int GrenadeMultiKill_MinKills = 3;
  34. const int BombMultiKill_MinKills = 5;
  35. const float FastRoundWin_Time = 30.0f;
  36. const int UnstoppableForce_Kills = 4;
  37. const int ImmovableObject_Kills = 4;
  38. //const int BreakPropsInRound_Props = 15;
  39. const int HeadshotsInRound_Kills = 5;
  40. const int BreakWindowsInOfficeRound_Windows = 14;
  41. const float FastHostageRescue_Time = 90.0f;
  42. const int SurviveManyAttacks_NumberDamagingPlayers = 5;
  43. const float KillInAir_MinimumHeight = 100.0f; //100-120 is probably best. Also used for killing while in the air
  44. const float KillBombPickup_MaxTime = 3.0f;
  45. const int WinRoundsWithoutBuying_Rounds = 10;
  46. const int ConcurrentDominations_MinDominations = 3;
  47. const int ExtendedDomination_AdditionalKills = 4;
  48. const int SameUniform_MinPlayers = 5;
  49. const int FriendsSameUniform_MinPlayers = 4;
  50. const float KillEnemyNearBomb_MaxDistance = 480.0f;
  51. const float KillEnemyNearHostage_MaxDistance = 250.0f;
  52. const int GrenadeDamage_MinDamage = 200;
  53. //const int Num_Required_Medals = 166; // earn this many medals, get the 12th xbla achievement (number of total medals displaying to user in game minus 1)
  54. const int Num_Medalist_Required_Medals = 100; // earn this many medals, get the 12th xbla achievement (number of total medals displaying to user in game minus 1)
  55. }
  56. #endif // CS_ACHIEVEMENT_CONSTANTS_H