Advertisement
Mateos

Omni-Bot example script file (for N++ parsing)

Dec 15th, 2018
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. /*
  2. * TODO:
  3. * - Something something.
  4. */
  5.  
  6. global Map =
  7. {
  8. Navigation =
  9. {
  10. jump =
  11. {
  12. navigate = function( _this )
  13. {
  14. },
  15. },
  16. },
  17.  
  18. Roles =
  19. {
  20. AXIS = // Team
  21. {
  22. AllBots = true, // Each bot is considered for a role
  23.  
  24. DEFENDER =
  25. {
  26. voice = "Defending the Bridge!", // Signals voice chat to randomly announce
  27. spawnpt = 2, // Users of this role will choose spawnpt 2
  28. numbots = 4, // Maximum of 4 bots
  29. //crucialClass = CLASS.FIELDOPS, // First bot
  30. },
  31.  
  32. DEFENDER1 =
  33. {
  34. voice = "Defending the Main Entrance!", // Signals voice chat to randomly announce
  35. spawnpt = 2, // Users of this role will choose spawnpt 2
  36. numbots = 4, // Maximum of 4 bots
  37. //crucialClass = CLASS.ENGINEER, // First bot
  38. },
  39. },
  40. },
  41.  
  42. Axis_Bridge_Suicide =
  43. {
  44. Name = "Axis_Bridge_Suicide",
  45. TriggerOnClass = CLASS.ANYPLAYER,
  46. OnEnter = function( ent )
  47. {
  48. },
  49. },
  50.  
  51. Test0 =
  52. {
  53. },
  54.  
  55. Test = function()
  56. {
  57. },
  58.  
  59. Test2 = function( trigger )
  60. {
  61. },
  62.  
  63. Test_3 = function( trigger )
  64. {
  65. },
  66. };
  67.  
  68. global OnMapLoad = function()
  69. {
  70. };
  71.  
  72. global OnBotJoin = function( bot )
  73. {
  74. };
  75.  
  76. global InitializeRoutes = function()
  77. {
  78. MapRoutes =
  79. {
  80. BUILD_Command_Post =
  81. {
  82. },
  83. },
  84. };
  85.  
  86. global NonFunctionClassLevelTest =
  87. {
  88. };
  89.  
  90. //global CommentedOutClassLevelTest =
  91. //{
  92. //};
  93.  
  94. /*
  95. global CommentedOutClassLevelTest2 =
  96. {
  97. };
  98. */
  99.  
  100. global NonFunctionClassLevelTestWithFunction =
  101. {
  102. Test = function()
  103. {
  104. },
  105. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement