Advertisement
X39

Untitled

X39
May 29th, 2014
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.63 KB | None | 0 0
  1. /*
  2. * See
  3. * http://x39software.unitedtacticalforces.de/wiki/index.php?title=XMS2_serverConfig
  4. * to find out how to setup this!
  5. * Available functions:
  6. * RGBA(SCALAR,SCALAR,SCALAR,SCALAR) - Creates a color code from the input - Supports range for SCALAR 1,2,3,4 from 0 - 255
  7. * RGB(SCALAR,SCALAR,SCALAR) - Creates a color code from the input - Supports range for SCALAR 1,2,3,4 from 0 - 255
  8. * RGBAf(SCALAR,SCALAR,SCALAR,SCALAR) - Creates a color code from the input - Supports range for SCALAR 1,2,3 from 0 - 1
  9. * RGBf(SCALAR,SCALAR,SCALAR) - Creates a color code from the input - Supports range for SCALAR 1,2,3 from 0 - 1
  10. */
  11. class Variables
  12. {
  13.  
  14. };
  15. class TriageCard
  16. {
  17. class States
  18. {
  19. //class triageCardExample:triageBase
  20. //{
  21. // scope = 2; //Visibility of the triageCard entry (0 = hidden, 1 = hidden, 2 = public)
  22. // name = "SomeExampleName"; //Displayed name of the triageCard entry
  23. // description = "DUDE NEARLY DEAD"; //Description of the case (currently unused)
  24. // color[] = RGBA(255,0,255,163); //Displayed color of the triageCard entry
  25. // rating = 100; //Displayed numeric rating of the triageCard
  26. //};
  27. class NA:triageBase
  28. {
  29. name = "No status";
  30. description = "No status";
  31. color[] = RGBA(0,0,0,0);
  32. rating = -1;
  33. };
  34. class green_minimal:triageBase
  35. {
  36. name = "Minimal";
  37. description = "Minor injuries";
  38. color[] = RGBA(0,128,0,255);
  39. rating = 1;
  40. };
  41. class yellow_delayed:triageBase
  42. {
  43. name = "Delayed";
  44. description = "Non-life threating injuries";
  45. color[] = RGBA(255,255,0,255);
  46. rating = 3;
  47. };
  48. class red_immediate:triageBase
  49. {
  50. name = "Immediate";
  51. description = "Life threating injuries";
  52. color[] = RGBA(255,0,0,255);
  53. rating = 7;
  54. };
  55. class black_expectant:triageBase
  56. {
  57. name = "Expectant";
  58. description = "Pain medication only until death";
  59. color[] = RGBA(0,0,0,255);
  60. rating = 10;
  61. };
  62. };
  63. class PreDefinedMessages
  64. {
  65. //class messageExample:messageBase
  66. //{
  67. // scope = 2; //Visibility of the triageCard entry (0 = hidden, 1 = hidden, 2 = public)
  68. // name = "NA"; //Name to be displayed in selection
  69. // text = "%1 has internal injuries"; //Text to be displayed in status report
  70. // //Available Whitecards:
  71. // // %1 --> Will be replaced with units name
  72. // color[] = RGBA(255,0,0,255); //Color of the message (in selection and status report)
  73. //};
  74. class msg1:messageBase
  75. {
  76. scope = 2;
  77. name = "SomePredefinedMessage";
  78. text = "You can change this in the server config";
  79. color[] = RGBA(0,0,0,255);
  80. };
  81. };
  82. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement