Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---------------------------------------------------------------
- ------------------------- The NameTag -------------------------
- ---------------------------------------------------------------
- EOTI_NameTag.Motif = 'Space.lua' -- Selected Motif from /hud/ folder
- EOTI_NameTag.EditorRefresh = true -- Refreshes the LUA file every second, only use for customizing the HUD on your server
- -- The Targeting HUD
- EOTI_NameTag.Enable = true -- toggle on/off
- EOTI_NameTag.TargetYOffset = 30 -- How far above their head the tag appears
- EOTI_NameTag.Distance = 300 -- How close you need to be to see it (30 = 1 yard/meter)
- -- Draw halo around target.
- EOTI_NameTag.DrawHalo = false -- Creates a Left4Dead style halo around your target.
- EOTI_NameTag.HaloColor = Color(100,100,255) -- Determines the color of the Halo.
- EOTI_NameTag.HaloSize = 2 -- How large the halo is around the player.
- EOTI_NameTag.HaloIntensity = 2 -- Increases brightness, causes FPS lag it set too high and only matters if you set EOTI_NameTag.HaloSize to higher than 3.
- -- Who it displays on
- EOTI_NameTag.ShowPlayer = true
- EOTI_NameTag.ShowNPC = false
- EOTI_NameTag.ShowVehicle = false
- EOTI_NameTag.ShowProp = false -- Displays all entities; note: this will turn it on for players using roaming NPC addon from SF.
- -- Which Targeting HUD boxes are displayed
- EOTI_NameTag.ShowName = true -- Hides/shows the player name above their head.
- EOTI_NameTag.ShowNPCName = false -- Hides/shows the NPC name or entity class name above their head.
- EOTI_NameTag.ShowVehicleName = false -- Hides/shows the npc or entity class name above their head.
- EOTI_NameTag.ShowHealth = false -- Hides/shows the health on the left
- EOTI_NameTag.ShowArmor = false -- Hides/shows the armor in the middle
- EOTI_NameTag.ShowTag = false -- Hides/shows the level or rank tag on the right
- EOTI_NameTag.ShowInfo = true -- Hides/shows the information bar on the bottom
- EOTI_NameTag.HideNameTag = true -- Hides/shows the DarkRP or default Garry's Mod Name Tag.
- ---------------------------------------------------------------
- ------------------------ The Healthbar ------------------------
- ---------------------------------------------------------------
- EOTI_HPBar.Enable = false -- Toggle on/off
- EOTI_HPBar.YOffset = 170 -- How high above their head it is.
- EOTI_HPBar.Distance = 350 -- How close you need to be to see it.
- EOTI_HPBar.BarHeight = 8 -- How tall the health/armor bars are.
- EOTI_HPBar.BarWidth = 150 -- How wide the health/armor bars are.
- EOTI_HPBar.Max = 10 -- Max number of Health Bars visible at one time. Increasing this may low fps for lower-end players on your server.
- EOTI_HPBar.ShowBots = false -- Shows the healthbar on nearby Bots.
- EOTI_HPBar.ShowPlayers = false -- Shows the healthbar on nearby Players.
- --------------------------------------------------------------
- --------------------- Assign Custom Names --------------------
- --------------------------------------------------------------
- -- You can give names to entities or NPCs using this, The format is:
- -- Entity_classname = 'name you want!',
- EOTI_NameTag.CustomNames = {
- -- ENTITIES
- pocket = 'Hände',
- -- VEHICLES
- prop_vehicle_jeep = 'Vehicle',
- prop_vehicle_prisoner_pod = 'Prison Pod',
- prop_vehicle_airboat = 'Airboat',
- -- NPCS
- npc_kleiner = 'Dr. Isaac Kleiner',
- npc_combine_s = 'Combine Soldier',
- }
- --------------------------------------------------------------
- ---------------------- Advanced Users ------------------------
- --------------------------------------------------------------
- -- EOTI_NameTag.getDarkRPJob() -- returns a string (DarkRP only)
- -- EOTI_NameTag.getLevel() -- returns a number (works with vrondakis, leveling system, levelup, elevel)
- -- EOTI_NameTag.hasDarkRPGunLicense() -- returns a boolean (DarkRP only)
- -- EOTI_NameTag.isDarkRPWanted() -- returns boolean if they're wanted.
- -- EOTI_NameTag.TargetIsInPlayerGroup(group) -- returns a boolean if they're in a user group (DarkRP only)
- -- This is the bar at the bottom, this function will override it. Returning nil makes it not appear.
- function EOTI_NameTag.overrideInfoBar(ply,target,isply,isnpc,isveh,isprop)
- local job = EOTI_NameTag.getDarkRPJob( target ) or ''
- return job != '' and job or nil
- end
- -- This is the bar on the right, this function will override it. Returning nil makes it not appear.
- function EOTI_NameTag.overrideTag(ply,target,isply,isnpc,isveh,isprop)
- local ply = isply and 'Player' -- Is your target a player, display Lv.5 or Player (if DarkRP doesn't exist)
- local veh = isveh and 'Vehicle' -- Is your target a vehicle?
- local npc = isnpc and 'NPC' -- Is your target an NPC?
- local prp = isprop and 'Prop' -- Is your target a prop?
- return own or adm or mod or vip or lvl or npc or veh or prp or nil
- -- nil causes the bar to disappear if they're none of the above.
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement