Increase half of all Perk Damage, Stamina, Harvesting etc. values by using tools and weapons. Upgrade the other half of stat increases using the Perk Tree as normal.
Special thanks to FranticDan and Hells_Janitor for feedback, debugging and suggestions.
Recommend starting a new game.
Currently applies to the tools and weapons for the following Perks:
- Perception: DeadEye, Demolition Expert, SpearMaster, Salvage
- Strength: Boomstick, PummelPete, SkullCrusher, Miner69r/Motherload.
- Fortitude: Brawler, MachineGunner
- Agility: Archery, Gunslinger, DeepCuts, Hidden Strike
- Intellect: Electrocutioner, Robotics
Mod Functionality: (Configurable in buffs.xml)
- Receive a bonus skill point when you max out each Perk Skill (level 50)
- Each Point invested in the game’s Perk Tree gives 20% more Learn-By-Use (lbu) skill progression xp on kills. e.g The default for the lbu_archery skill is each archery kill gives 24 lbu progression xp. With 2 points in the Archery Perk (perkArchery) the lbu_archery skill progression xp is 28.8 (40% increase) per kill.
- The more Experience you have using a tool or weapon, the more you know how to maintain it. Each level of a Learn-By-Use skill decreases associated tool/weapon degradation rate by 1% (total 50%). Doesnt apply to the Hidden Strike or Demolition perks.
WHY ARE THERE ONLY 50 LEVELS?
The mod is using 100 levels, it only calculates and displays every second level to avoid possible rounding errors. So there are only 50 levels displayed in the UI. For a detailed explanation, see the line ” in buffs.xml. (see also: Spinal Tap 1979 – My amp goes to 11. )
Config Options
There are several Global Config Variables used to control the Learn-By-Use functionality and progression curve. See buffs.xml, look for the line: “<!–PLAYER CONFIG VARIABLESā¦” for the options and further information.
License
The code is free to use license. It is based on the Action Skill levelling algorithm from Khaine in the Darkness Falls mod. Please acknowledge Khaine’s coal-face work if you reuse the code.
This mod comes from the Survival No Trader mod (currently being reworked for 1.0).
Changelog
Version 1.1.1
- Fixed bug that affected Perk Tree bonuses for Harvest/Damage amounts.
- Each level of a LBU perk decreases associated tool/weapon degradation rate by 1% (total 50%). Doesn’t apply to the Hidden Strike or Demolition perks.
- Changed the layout of the Perk List Window. Moved the Search Field above the Perk Tabs. The tabs row now holds up to 6 additional tabs for compatibility with other mods that add tabs.
Version 1.1.0
- Points invested in the default Perk give 20% more lbu_perk progression xp for each point.
- e.g Default for lbu_archery is each archery kill gives 24 progression xp. With 2 points in the Archery Perk (perkArchery) the progression xp is 28.8 (40% increase).
- Config additions:
- >lbu_Kill_Bonus: when true, points in a default Perk will give extra progression xp per level.
- >lbu_Kill_Bonus_Percent: the amount of additional xp given per level invested in the Perk.
- >lbu_XP_Multiplier: A multiplier for ALL progression xp gained. Increase or decrease if overall progression for Learn By Use skills is too slow/fast
Version 1.0.9
- Full review of DemolitionExpert levelling code. Fixed levelling discrepancies between Molotovs, Grenades, Timed Charges, Explosive Arrows and Bolts.
- Slightly reduced Boomstick levelling progression.
Version 1.0.8
Linux pathing comparability fix
Version 1.0.7 (Bug Fix Update)
Potential fix for Multiplayer code initialisation.
Version 1.0.6 (Balancing update)
- Added config setting to turn off giving a free skill point when each Perk’s Progress is maxed. (On by default)
- Changes to perk level progression speeds:
- Increased Hidden Strike progression speed.
- Increased Dead Eye progression speed.
- Slightly increased Archery progression speed.
- Slightly decreased Miner69r progression speed.
- Decreased for Boomstick as each pellet adds experience.
Version 1.0.5
- Optimised the Learn By Use Perks initialisation code. Initialisation now only depends on a single variable rather than the synchronisation of 3 different variables.
- Added Hidden Strike to the Learn By Use Perk Tree.
- Fixed issue where the Miner69r/Motherload Perk allowed the harvesting rate to be applied to plants/farming (e.g. shovels could get extra food when used on farm plot plants)
- Slightly reduced Learn By Use Boomstick xp gain per target hit (shotty can hit multiple targets with a single shell).
Version 1.0.4
- Fixed syntax error in Localisation file.
- Aded Global Config variables so anyone can easily control the Learn-By-Use leveling curve for all Perks.
- See buffs.xml, look for the line: “<!–change the values below to change the levelling curveā¦.” for information.
- Added Demolitions Expert to the Learn By Use tree. Molotovs & Timed Charges are slow at increasing level.
- The best way to increase the Demolitions LBU perk is using grenades/rockets on large groups of zombies.
- Nade should hit a zombie, not land next to it for max level xp.
- Fixed Learn By Use progress error after using Grandpa’s Fergit’n Elixir.
- After using the Elixir, use any tool or weapon and a buff will restore all Learn By Use Perks’ progress over a short period.
- Progress Level will also be restored when there are any other Perk Level changes e.g. infection side effects.
- If you install this version over an existing install/game, you will see a message indicating the progress level is being verified, this is just your local variables being updated to the latest version.
Version 1.0.3 (Single Bug Fix)
Fixed: gameevents.xml file was missing from the release package.
Version 1.0.2
Fixed Learn By Use damage progression bug for Gunslinger.
DOWNLOAD (37 KB)
The forum topic of the mod is here.
Credits: JoeSloeMoe
If you have any questions or have any problems/bugs, please use the support link (Discord, Forum Topic, GitHub Issues, etc.) in the post. If there is no support link in the post, please use the comments section.
For me in 1.1 b14 i only get depuff no extra section in skill menu much sad, probably a conflict with silent hill mod or another mod.
Hey, does the Salvage Operation Skills skill decrease the time it takes to craft something? I see it says so in the description of the LBU skill, but I’m not seeing a reduction
Fergettin Elixir completely wipes out Learn By Use progress… do not install this mod on your server!
It does not. Upon doing any action related to any of the LBU skills after using the elixir, the LBU section will automatically repopulate accordingly.
Hi,
would it be possible to create a potion to increase overall experience
from skills?
In my playthrough, I’ve lowered lbu_XP_Multiplier to 0.5
But some drink/jelly would be nice
to increase it a bit.
Thanks for your system!
Server side?
Are you planning to adding more lbu skills here? I don’t know how some of them would get xp, but better barter for example should be possible.
Hi, i like the idea of this mod. I’m thinking that to upgrade the actual skills to higher levels you should need some points in this “learn by use” system. For example, if i want to upgrade the Brawler skill to level 3, i would need to have “brawling LearnByUse skill” to lv 10 (in addition to the fortitude level that is already needed). I made up that number, but you get the idea.
Is there a way to do that? If there is a way, can you do it or tell me how to do it?
Thanks for making this mod!
getting a bug…. when playing local with my gf the mining skill is leveling up extremely fast.. maxxed on day 1… but only for one of us.. who ever uses a mining tool first…. wierd.. multiple world multiple tries.. its only the mining skill.. but im fine with it as im maxed now on day 2 =)
installed the mod on its own started a new game doesnt work at all tried uninstalling and reinstalling still nothing. extracted the files into the 7 days to die mods folder am i doing something wrong here?
Hi, i can’t seem to apply any points? i can only see the learn by using.
Are points redundant in this mod or am i suffering a glitch?
Thanks
you get the points by doing things associated with each skill.. i.e salvaging things puts xp into salvage skill.. after enough xp it will reward a point in the skill and you will be granted the bonus without spending skill points… hence learn by use/ action skills is the name of the mod
Hi, You don’t apply points to the LBU skill tree, you spend your points as you would normally in the other skill trees.