Advertisement
nio_kasgami

configuration unlimited hud

Jun 8th, 2015
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 2.17 KB | None | 0 0
  1. module Nio
  2.   module Unlimited
  3.    
  4.     def self.unlimited_setting
  5.      when 1 #Bar/Number ID
  6.        
  7.   #1 denotes bars, 0 denotes numbers    
  8.     @mode = '1'
  9.   #ID of variable to use
  10.     @variableID = 'varID'
  11.   #Maximum amount of bar, can be changed with script call.
  12.     @maximumvalue = "1200"
  13.  
  14.         #1 denotes scrolling, 0 denotes normal, only works if @mode is 1.
  15.         @bartype = '1'
  16.     #change X Position
  17.         @barx = '300'
  18.     #change Y Position
  19.         @bary = '200'
  20.     #change Z Position
  21.     @barz == '1'
  22.  #Scrolling bar settings, works if bartype is 1<
  23.  
  24.     #The speed in which the bar is scrolling, 60/1 rotation per second.
  25.         @speed = '60'
  26.     #1 is left, 2 is down, 3 is right, 4 is up.
  27.         @direction = '1'
  28.         @image = 'bar1.png'
  29.     #normal bars settings,
  30.         @color = 'a number'
  31.         @width = 'a number'
  32.         @height = 'a number'
  33.     #number settings, works if @mode is 0
  34.         @font = 'X'
  35.         @Size = 'X'
  36.         @bold = true
  37.         @italics = true
  38.         @shadow = true
  39.         @color = 'X'
  40.     #determines the x position of number
  41.         @numberx ='x'
  42.     #determines the y position of number
  43.         @numbery ='y'
  44. ###############################################################################
  45. when 2 #Bar/Number ID
  46.     @mode = '1' #1 denotes bars, 0 denotes numbers
  47.     @variableID = 'varID' #ID of variable to use
  48.     @maximumvalue = "1200" #Maximum amount of bar, can be changed with script call.
  49.        
  50.         @bartype = '1' #1 denotes scrolling, 0 denotes normal, only works if @mode is 1.
  51.         @barx = '300' #change X Position
  52.         @bary = '200' #change Y Position
  53.         @barz == '1' #change Z Position
  54.     #Scrolling bar settings, works if bartype is 1
  55.         @speed = '60' #The speed in which the bar is scrolling, 60/1 rotation per second.
  56.         @direction = '1' #1 is left, 2 is down, 3 is right, 4 is up.
  57.         @image = 'bar1.png'
  58.     #normal bars settings,
  59.         @color = 'a number'
  60.         @width = 'a number'
  61.         @height = 'a number'
  62.     #number settings, works if @mode is 0
  63.         @font = 'X'
  64.         @Size = 'X'
  65.         @bold = true
  66.         @italics = true
  67.         @shadow = true
  68.         @color = 'X'
  69.         @numberx ='x' #determines the x position of number
  70.         @numbery ='y' #determines the y position of number
  71. when 3
  72.     #the user can keep adding to add more bars
  73. end
  74. end
  75.  
  76.   end
  77. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement