Garry's Mod

Garry's Mod

118 次評價
XP-Tools Leveling System
   
獎勵
加入最愛
已加入最愛
移除最愛
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Roleplay, Realism
檔案大小
發佈於
更新時間
97.367 KB
2015 年 11 月 17 日 下午 6:24
2015 年 11 月 23 日 下午 2:53
3 項更新註記 (檢視)

訂閱以下載
XP-Tools Leveling System

在 Maxine 的 1 個收藏中
Grand Army Gaming Star-wars Imperial RP Addon Collection.
161 個項目
描述
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
熱門討論 檢視全部(1)
4
2019 年 1 月 4 日 下午 11:15
More perks!!
ChiefKeef
109 則留言
MidnightZero 7 月 23 日 下午 1:52 
does this still work?
survivaler049 2022 年 3 月 6 日 上午 7:08 
you need it to fix
survivaler049 2022 年 3 月 6 日 上午 7:08 
+ the perk not working when I crease me own ones
survivaler049 2022 年 3 月 6 日 上午 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 2022 年 3 月 6 日 上午 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 2022 年 3 月 6 日 上午 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 2022 年 3 月 5 日 上午 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 2021 年 2 月 23 日 上午 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 2020 年 12 月 24 日 下午 9: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 2020 年 8 月 12 日 上午 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