Garry's Mod

Garry's Mod

121 hodnocení
XP-Tools Leveling System
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Roleplay, Realism
Velikost souboru
Přidáno
Aktualizováno
97.367 KB
17. lis. 2015 v 18.24
23. lis. 2015 v 14.53
Poznámky ke změnám (3) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
XP-Tools Leveling System

V 1 kolekci od uživatele Maxine
Grand Army Gaming Star-wars Imperial RP Addon Collection.
160 položek
Popis
This is an update and modifaction of "VLOMS - Leveling & Perks"
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=422935353
Original Author: https://gtm.steamproxy.vip/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
Populární diskuze Zobrazit vše (1)
4
4. led. 2019 v 23.15
More perks!!
ChiefKeef
Počet komentářů: 109
MidnightZero 23. čvc. 2024 v 13.52 
does this still work?
survivaler049 6. bře. 2022 v 7.08 
you need it to fix
survivaler049 6. bře. 2022 v 7.08 
+ the perk not working when I crease me own ones
survivaler049 6. bře. 2022 v 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. bře. 2022 v 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. bře. 2022 v 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. bře. 2022 v 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. úno. 2021 v 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. pro. 2020 v 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. srp. 2020 v 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