Advertisement
Guest User

Untitled

a guest
Apr 21st, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.68 KB | None | 0 0
  1. --[[
  2. Developer: ted.lua (http://steamcommunity.com/id/tedlua/)
  3. Script: Delicate UI - The Complete UI Overhall.
  4. --]]
  5.  
  6. Delicate_UI = Delicate_UI or {}
  7. Delicate_UI.HUD = {}
  8. Delicate_UI.Scoreboard = {}
  9. Delicate_UI.F4 = {}
  10.  
  11. -----------------------
  12. --> Global Settings <--
  13. -----------------------
  14.  
  15. Delicate_UI.Staff = { -- Here you can make Staff groups specific colors.
  16. [ 'superadmin' ] = { name = 'Super Administrator', color = Color( 255, 255, 255 ) },
  17. [ 'Community Manager' ] = { name = 'CommunityManager', color = Color( 255, 255, 255 ) }
  18. }
  19.  
  20. --If you wish to translate the script yourself, go into delicate_ui_language.lua
  21. Delicate_UI.Server_Name = 'EclipseRoleplay'
  22. Delicate_UI.F4.Header = 'Roleplay Options'
  23. Delicate_UI.F4.Footer = 'EclipseRoleplay'
  24.  
  25. --[[
  26. If you're using the no_blur_theme, you'll see blur unless you turn it off each element.
  27. For instance: Delicate_UI.HUD.Enable_Blur = false
  28.  
  29. Want to re-skin the UI? delicate_ui_themes.lua.
  30. I am not going to help you if you break something inside of there. Edit it if you know what you're doing.
  31. --]]
  32.  
  33. --------------------
  34. --> HUD Settings <--
  35. --------------------
  36. Delicate_UI.HUD.Enabled = false -- Is the HUD Enabled?
  37. Delicate_UI.HUD.Enable_Blur = true -- Enable Blur interfaces?
  38. Delicate_UI.HUD.Enable_Food_Bar = false -- [!!Only set to true if you use DarkRP Hunger Mod!!].
  39.  
  40. Delicate_UI.HUD.Enable_Laws = true -- Do you want people to be able to see the Laws (F2 to toggle if enabled)?
  41. Delicate_UI.HUD.Enable_Agenda = true -- Do you want people to be able to see the Agenda?
  42. Delicate_UI.HUD.Enable_Ammo = true -- Do you want people to be able to see their ammo count?
  43. Delicate_UI.HUD.Enable_Overhead = true -- [Coming next update.]
  44. Delicate_UI.HUD.Theme = 'blur_theme' -- blur_theme or no_blur_theme
  45.  
  46. -- DO NOT REMOVE ANY OF THESE VALUES, ONLY EDIT THEM.
  47. Delicate_UI.HUD.Pos_Manager = { -- Use this to change the y position of the Agenda and Law interface.
  48. [ 'law_pos_y' ] = -10,
  49. [ 'agenda_pos_y' ] = -10
  50. }
  51. -----------------------------------------------------
  52.  
  53. ---------------------------
  54. --> Scoreboard Settings <--
  55. ---------------------------
  56. Delicate_UI.Scoreboard.Enabled = true -- Is the Scoreboard Enabled?
  57. Delicate_UI.Scoreboard.Enable_Blur = false -- Enable Blur?
  58. Delicate_UI.Scoreboard.Theme = 'blur_theme'
  59.  
  60. Delicate_UI.Scoreboard.Enable_Spy_Mode = false -- Do you want specific ranks to not appear on the scoreboard? If so enable this.
  61. Delicate_UI.Scoreboard.Spy_Mode_Groups = { [ 'superadmin' ] = true } -- If Spy Mode is enabled, which ranks are invisible?
  62.  
  63. Delicate_UI.Inherit_Job_Color = true -- Set the player row's color to that of their job?
  64.  
  65. -- Buttons are drawn in order. If you wish to move them around, simply change the order in the table.
  66. -- If we want confirmation, you must pass 'title'. Pick one or both: time, reason. #name represents the player's name.
  67. Delicate_UI.Scoreboard.Buttons = {
  68. { buttonName = 'Copy SteamID', func = function( ply ) SetClipboardText( ply:SteamID() ) ply:ChatPrint( string.format( "You have copied %s's (%s) Steam ID.", ply:Nick(), ply:SteamID() ) ) end },
  69. { buttonName = 'Bring Player', cmd = 'ulx bring' },
  70. { buttonName = 'Freeze Player', cmd = 'ulx freeze' },
  71. { buttonName = 'Slay Player', cmd = 'ulx slay' },
  72. { buttonName = 'Kick Player', cmd = 'ulx kick', title = 'Kick Player #name?', reason = true },
  73. { buttonName = 'Ban Player', cmd = 'ulx ban', title = 'Ban Player #name?', reason = true, time = true },
  74. { buttonName = 'Jail Player', cmd = 'ulx jail', title = 'Jail Player #name?', reason = false, time = true },
  75. { buttonName = 'Open Profile', func = function( ply ) ply:ShowProfile() end }
  76. }
  77.  
  78. Delicate_UI.F4.Enabled_Store_Components = { -- Here you can change which "categories" are shown in the Shop tab. Don't want a section? Set it to false.
  79. [ 'ammo_section' ] = false,
  80. [ 'entities_section' ] = true,
  81. [ 'shipments_section' ] = false,
  82. [ 'singles_section' ] = true,
  83. [ 'food_section' ] = false,
  84. [ 'vehicles_section' ] = false,
  85. }
  86. ------------------------
  87. --> F4 Menu Settings <--
  88. ------------------------
  89.  
  90. Delicate_UI.F4.Enabled = true
  91. Delicate_UI.F4.Enable_Blur = true -- Enable Blur?
  92. Delicate_UI.F4.Theme = 'blur_theme'
  93.  
  94. Delicate_UI.F4.Hide_Unusable_Content = false -- Hide anything that players do not have the permission to use? When someone will not pass a custom check.
  95.  
  96. Delicate_UI.F4.EnabledButtons = { -- DO NOT CHANGE 'TAB' AT ALL
  97. { name = 'Jobs', tab_color = Color( 195, 118, 224, 50 ), tab = 'jobs_tab' },
  98. { name = 'Shop', tab_color = Color( 118, 224, 155, 50 ), tab = 'shop_tab' },
  99. { name = 'Website', tab_color = Color( 118, 224, 155, 50 ), tab = 'website_tab', link = 'http://www.eclipseroleplay.co' },
  100. { name = 'Forum', tab_color = Color( 224, 118, 118, 50 ), tab = 'updates_tab', link = 'http://www.eclipseroleplay.co/forum' },
  101. { name = 'Donate', tab_color = Color( 224, 215, 118, 50 ), tab = 'donate_tab', link = 'http://www.eclipseroleplay.co/donate' },
  102. { name = 'Steam Group', tab_color = Color( 224, 215, 118, 50 ), tab = 'steam_tab', link = 'http://steamcommunity.com/groups/Eclipseroleplayco' }
  103. }
  104.  
  105. -- MAKE SURE THAT THIS IS SET TO AN ACTUAL TAB NAME --
  106. Delicate_UI.F4.DefaultTab = 'jobs_tab' -- The name of the tab you want to open by default.
  107. ------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement