Garry's Mod

Garry's Mod

119 avaliações
XP-Tools Leveling System
   
Premiar
Adic. a Favoritos
Nos Favoritos
Desfavoritar
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Roleplay, Realism
Tamanho:
Publicado em:
Atualizado em:
97.367 KB
17 nov. 2015 às 18:24
23 nov. 2015 às 14:53
3 notas de alterações ( ver )

Subscreve para transferir
XP-Tools Leveling System

Numa coleção por Maxine
Grand Army Gaming Star-wars Imperial RP Addon Collection.
161 itens
Descrição
This is an update and modifaction of "VLOMS - Leveling & Perks"
https://steamproxy.net/sharedfiles/filedetails/?id=422935353
Original Author: https://steamproxy.net/id/8554118412025
Github Code: https://github.com/Lumucro/vloms

A free Garry's Mod leveling addon
Version: 3.0.0

Features:

-Leveling system (Possible to change required XP formula, and other Formulas)
-Perk system (Allows for 'perks' for leveling up)
-Modules System
-Easy to configure
-Perks menu (Clientside)
-Simple and Advanced logging system (Can be disabled)
-ULX Integration (Admin commands)
-XP rate per usergroup


Planned:

-Perks per usergroup

(You can technically add usergroup-specific perks by adding a check in the perk function. However, this will not be properly networked so the user will still be told he got the perk, even when he didn't.)

--------ADDING MODULES---------

How adding modules works:

Create a new folder, name it anything you want (for your own sake, something you'll recognise) Create a file module.lua, this is basically a shared.lua and will be received by both server and player

In this module.lua, put the usual Includes (serverside) and AddCSLuaFile (Clientside) From there on, it's just like any other addon

---------ADDING PERKS----------

Perks are added in Maxwell/perks and are SHARED

Single files are seen as a perk Folders are seen as a category, all files inside belong to that category

-------FUNCTIONS VARIABLES AND HOOKS--------

The following vars are available:

SERVER

ENT.Maxwellxp -- Entity's XP (player)
ENT.Maxwelllvl -- Entity's Level (player)

CLIENT

Maxwell.XP -- Current XP
Maxwell.Level -- Current level
Maxwell.XPReq -- XP required for next level

The following functions are available:

CalcReqXP( lvl ) -- Calculates required XP

ENT:SaveXP() -- Saves level and XP
ENT:LoadXP() -- Loads level and XP

The following hooks are available:

PlayerLevelUp -- Called when a player levels up, with ply and lvl as params

For any HUD modules, the default HUD is called BaseHUD. You can either hide or override this to create your own HUD.

Some notes:

If you have a suggestion or issue please contact me on Github: https://github.com/Lovemaxwell/XPTools

I (author of this addon) am not liable for any damage, problems, etc this addon may or may not cause to you, your computer, your potato or anything else
Discussões Populares Ver todos (1)
4
4 jan. 2019 às 23:15
More perks!!
ChiefKeef
109 comentários
MidnightZero 23 de jul. às 13:52 
does this still work?
survivaler049 6 mar. 2022 às 7:08 
you need it to fix
survivaler049 6 mar. 2022 às 7:08 
+ the perk not working when I crease me own ones
survivaler049 6 mar. 2022 às 7:07 
tools_leveling_system_557366206/lua/maxwell/core/meta/level.lua:28
14. GiveXP - addons/xp-tools_leveling_system_557366206/lua/maxwell/core/meta/level.lua:28
15. GiveXP - addons/xp-tools_leveling_system_557366206/lua/maxwell/core/meta/level.lua:28
16. GiveXP - addons/xp-tools_leveling_system_557366206/lua/maxwell/core/meta/level.lua:28
survivaler049 6 mar. 2022 às 7:07 
tools_leveling_system_557366206/lua/maxwell/core/meta/level.lua:28
10. GiveXP - addons/xp-tools_leveling_system_557366206/lua/maxwell/core/meta/level.lua:28
11. GiveXP - addons/xp-tools_leveling_system_557366206/lua/maxwell/core/meta/level.lua:28
12. GiveXP - addons/xp-tools_leveling_system_557366206/lua/maxwell/core/meta/level.lua:28
13. GiveXP - addons/xp-
survivaler049 6 mar. 2022 às 7:07 
[xp-tools_leveling_system_557366206] stack overflow
1. GetAll - [C]:-1
2. fn - addons/xp-tools_leveling_system_557366206/lua/maxwell/modules/levelupnotify/module.lua:5
3. Run - addons/ulib_557962238/lua/ulib/shared/hook.lua:109
4. LevelUp - addons/xp-tools_leveling_system_557366206/lua/maxwell/core/meta/level.lua:169
5. GiveXP - addons/xp-tools_leveling_system_557366206/lua/maxwell/core/meta/level.lua:27
6. GiveXP - addons/xp-tools_leveling_system_557366206/lua/maxwell/core/meta/level.lua:28
7. GiveXP - addons/xp-tools_leveling_system_557366206/lua/maxwell/core/meta/level.lua:28
8. GiveXP - addons/xp-tools_leveling_system_557366206/lua/maxwell/core/meta/level.lua:28
9. GiveXP - addons/xp-
survivaler049 5 mar. 2022 às 6:16 
how can I stop exp gaining I don't wanna exp for free
how to disable exp per sec I don't wanna it
SuperDean 23 fev. 2021 às 1:54 
i know how to fix the level up sound not playing when it levels up (there was two errors in the files i had to fix) i can tell the maker of this if they want to know how to fix it
waterlover999 24 dez. 2020 às 21:48 
How do i hide/disable the XP bar from showing up on the top of my screen? If it's even possible to do so?
GodPhase777 12 ago. 2020 às 10:56 
I have a problem as wel, whenever i use lvl as a variable it fails to use it, so when i use it as a variaable for xptimereward config, and xpperkill it doesnt give me any xp at all