Garry's Mod

Garry's Mod

118 ratings
XP-Tools Leveling System
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Roleplay, Realism
File Size
Posted
Updated
97.367 KB
17 Nov, 2015 @ 6:24pm
23 Nov, 2015 @ 2:53pm
3 Change Notes ( view )

Subscribe to download
XP-Tools Leveling System

In 1 collection by Maxine
Grand Army Gaming Star-wars Imperial RP Addon Collection.
161 items
Description
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
Popular Discussions View All (1)
4
4 Jan, 2019 @ 11:15pm
More perks!!
ChiefKeef
108 Comments
survivaler049 6 Mar, 2022 @ 7:08am 
you need it to fix
survivaler049 6 Mar, 2022 @ 7:08am 
+ the perk not working when I crease me own ones
survivaler049 6 Mar, 2022 @ 7:07am 
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 @ 7:07am 
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 @ 7:07am 
[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 @ 6:16am 
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 Feb, 2021 @ 1:54am 
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 Dec, 2020 @ 9:48pm 
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 Aug, 2020 @ 10:56am 
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
GodPhase777 12 Aug, 2020 @ 10:51am 
lord sugar your missing a ) i think it should look like this... RegisterPerk( true, 'Run speed', 3, 'You spawn with +1000 run speed', function( ply ) ) < you forgot this^<for this