Advertisement
Guest User

Untitled

a guest
Oct 26th, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.06 KB | None | 0 0
  1.  
  2. -- Player hulls
  3. BHOP.Hulls = {
  4. Standing = Vector(16, 16, 62),
  5. Ducking = Vector(16, 16, 45),
  6. StandingView = Vector(0, 0, 64),
  7. DuckingView = Vector(0, 0, 47)
  8. }
  9.  
  10. -- 0 = data folder
  11. -- 1 = mySQL database
  12. BHOP.StorageMode = 0
  13.  
  14. -- Time aloud on blocks before you fall through them.
  15. -- Only works on maps that use func_door platforms,
  16. -- otherwise the time is decided by what the map creator made it.
  17. BHOP.BlockTime = 0.1
  18.  
  19. BHOP.StartingColor = Color(0,255,0)
  20.  
  21. BHOP.EndingColor = Color(255,0,0)
  22.  
  23. -- You MySQL database information if you are using MySQL for your
  24. -- data storage.
  25. BHOP.MySQLDatabase = {
  26. hostname = "hostname",
  27. username = "username",
  28. password = "password",
  29. database = "database",
  30. port = 0
  31. }
  32.  
  33. -- You can justify what usergroups and players can add the
  34. -- starting and ending zones to the map.
  35. BHOP.CanPlaceStartingAndEnding = function( ply )
  36. if ply:IsAdmin() then
  37. return true
  38. end
  39. end
  40.  
  41. -- The table of ranks.
  42. -- Fist value is the name of the rank
  43. -- ply:GetBhopRankName()
  44. -- Second value is the icon for the rank
  45. -- ply:GetBhopRankIcon()
  46. -- The third argument is the color of the rank
  47. -- ply:GetBhopRankColor()
  48. BHOP.Ranks = {
  49. { "Rookie", "icon16/car.png", Color(255,0,0) },
  50. { "Casual", "icon16/car.png", Color(255,0,0) },
  51. { "Decent", "icon16/car.png", Color(255,0,0) },
  52. { "Average", "icon16/car.png", Color(255,0,0) },
  53. { "Good", "icon16/car.png", Color(255,0,0) },
  54. { "Crazy", "icon16/car.png", Color(255,0,0) },
  55. { "Hardcore", "icon16/car.png", Color(255,0,0) },
  56. { "Insane", "icon16/car.png", Color(255,0,0) },
  57. { "Epic", "icon16/car.png", Color(255,0,0) },
  58. { "Supreme", "icon16/car.png", Color(255,0,0) }
  59. }
  60.  
  61. -- Equation used to figure out the needed XP to rank up from each rank
  62. -- rankNum represents the number of the rank.
  63. -- Don't edit this if you don't really know what you're doing.
  64. BHOP.RankExpEquation = function( rankNum )
  65. return math.ceil( 3 * math.pow( rankNum, 4.3 ) )
  66. end
  67.  
  68. -- Constants like @Player, @Time, and @Mode will be replaced with what they represent.
  69. -- @Player = Name of the player that completed the map.
  70. -- @Time = The time the player took to complete the map.
  71. -- @Mode = The mode he was on when he completed the map.
  72. -- @Jumps = The amount of jumps that were taken.
  73. -- @Color[r,g,b] = A start of a new color to display.
  74. BHOP.CompleteMapMessage = "@Color[129,207,224] @Player @Color[255,255,255] has completed the map in @Color[129,207,224] @Time @Color[255,255,255] with @Color[129,207,224] @Jumps @Color[255,255,255] on @Color[129,207,224] @Mode @Color[255,255,255] mode."
  75.  
  76. -- 0 = XP and Money ever time you complete the map.
  77. -- XP and Money everywhere.
  78. -- 1 = XP and Money given only once per completion during the duration of the map.
  79. -- You'll get more XP and Money for completing the next time the map is on.
  80. -- 2 = XP and Money given once and never again for completing the map.
  81. -- So rank is more based on skill rather than time played
  82. BHOP.CompletionMode = 2
  83.  
  84. -- Constants like @XP, @Map, and @Mode will be replaced with what they represent.
  85. -- @XP = Amount of XP gained from completing the map.
  86. -- @Map = The map that was completed.
  87. -- @Mode = The mode he was on when he completed the map.
  88. -- @Color[r,g,b] = A start of a new color to display.
  89. BHOP.GainXPMessage = "@Color[255,255,255] You gained @Color[129,207,224] @XP @Color[255,255,255] from completing @Color[129,207,224] @Map @Color[255,255,255] on @Color[129,207,224] @Mode @Color[255,255,255] mode."
  90.  
  91. -- Set this to true if you want to have the gamemode give players pointshop by _Undefined credits on map complete
  92. BHOP.GivePointshopCredit = false
  93.  
  94. -- Constants like @Money, @Map, and @Mode will be replaced with what they represent.
  95. -- @Money = Amount of money for pointshop gained from completing the map.
  96. -- @Map = The map that was completed.
  97. -- @Mode = The mode he was on when he completed the map.
  98. -- @Color[r,g,b] = A start of a new color to display.
  99. BHOP.GivePointshopCreditMessage = "@Color[255,255,255] You have been given @Color[129,207,224] $@Money @Color[255,255,255] from completing @Color[129,207,224] @Map @Color[255,255,255] on @Color[129,207,224] @Mode @Color[255,255,255] mode."
  100.  
  101. -- Constants like @Player, @Place, and @Mode will be replaced with what they represent.
  102. -- @Player = Name of the player that completed the map.
  103. -- @Place = The place the player got in the leader board.
  104. -- @Mode = The mode he was on when he completed the map.
  105. -- @Color[r,g,b] = A start of a new color to display.
  106. BHOP.LeaderboardTimeMessage = "@Color[129,207,224] @Player @Color[255,255,255] placed @Color[129,207,224] @Place @Color[255,255,255] on the leaderboard for @Color[129,207,224] @Mode @Color[255,255,255] mode."
  107.  
  108. -- The key that is used to open the leader boards.
  109. BHOP.OpenLeaderboardKey = KEY_F2
  110.  
  111. -- The key that is used to open the main menu.
  112. BHOP.OpneMainMenuKey = KEY_F1
  113.  
  114. -- Set this to false if yuo are using a custom mapvote addon.
  115. BHOP.EnableRTV = true
  116.  
  117. -- Commands that will be used to start a vote
  118. BHOP.RTVCommands = {
  119. "!rtv",
  120. "/rtv",
  121. "rtv",
  122. ".rtv"
  123. }
  124.  
  125. -- Commands that are used to toggle the drawing of other players.
  126. BHOP.HidePlayersCommands = {
  127. "!hide",
  128. "/hide",
  129. ".hide"
  130. }
  131.  
  132. -- 1 = true
  133. -- 0 = false
  134. -- These will set the defaults to the convars. If the player wants to, he can change them in game
  135. -- by going into console and changing the value for himself.
  136. BHOP.ConvarDefaults = {
  137. -- Should the player have the circular scoreboard enabled?
  138. -- Setting this to 0 can improve performance on lower end PCs
  139. ["bhop_draw_circle_sb"] = 1,
  140.  
  141. -- Should the player have voice visualizers on by default?
  142. -- Setting this to 0 can improve performance on lower end PCs
  143. ["bhop_draw_visualizer"] = 1,
  144.  
  145. -- Hides all other players on the server.
  146. -- Can also be toggle by players with the above commands in BHOP.HidePlayersCommands
  147. ["bhop_hide_players"] = 0
  148. }
  149.  
  150. -- Use this if you are using custom css weapons for your server
  151. -- Add all the weapons you want to use to the list so they do not get overridden by the default bhop glock
  152. BHOP.WeaponExceptions = {
  153. --"weapon_namehere",
  154. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement