Left 4 Dead 2

Left 4 Dead 2

364 ratings
Perks! Customisable Survivor Builds and Level Up System
4
5
2
   
Award
Favorite
Favorited
Unfavorite
Game Content: Weapons, Scripts, Miscellaneous
Items: Other
File Size
Posted
Updated
158.650 KB
25 Sep @ 5:27am
1 Oct @ 11:59pm
4 Change Notes ( view )

Subscribe to download
Perks! Customisable Survivor Builds and Level Up System

Description
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
PLEASE READ THE DESCRIPTION AND THE GUIDES IN THE DISCUSSION TAB THAT I SPENT HOURS WRITING SO THAT YOU'D KNOW HOW TO SET UP THIS MOD PROPERLY. PLEASE DON'T ASSUME IT'S BROKEN BECAUSE YOU DIDN'T SET IT UP, AND THEN DOWNVOTE IT
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////




Life is better with perks, and so is the apocalypse!

Taking inspiration from RPGs (and those modded servers everyone hates), this script gives you the option to customize a set of perks for each survivor, which can then be unlocked by killing zombies.


120 Perks, 190 Million combinations

There are 120 perks to choose from, with each survivor being able to equip 5 perks at a time. Abilities range from health and ammo regen, instant item unlocks, bonus weapon effects, and other new mechanics to give you an edge over the undead. You can create customized and unique builds for each survivor; with over 190 million possible builds, there's sure to be one that suits your playstyle!


Level Up!

Perks! also includes an XP system, letting you earn your new abilities throughout the course of a match. Killing infected awards XP. Earn enough XP, and you'll level up, giving you access to the next perk. Your perks will also persist between chapters, and they can even carry over into the next campaign, letting you gradually become more powerful if you decide to marathon every map at once.


Feeling lucky?

Survivor perks can be randomised by editing the config file, giving you a new set of 5 at the start of each chapter!


No time to grind?

Using the config file, you can adjust how much XP is needed to reach the next level, and how much XP is awarded for each kill. The XP system can also be disabled entirely, giving you instant access to every perk you've selected!


Bot Support

Most of the perks available are compatible with the vanilla survivor bots. Bots are also able to earn XP, and if a player takes over they'll be able to use any perks the bot unlocked.


Chat is this real?

Chat messages will be displayed when survivors unlock perks and when certain perks trigger. You can also view your currently unlocked perks by typing "Perks!" in chat.

Ready?

Check out the config guide in the discussion tab for more information!

Config guide:
https://gtm.steamproxy.vip/workshop/filedetails/discussion/3574455713/592909223872089521/

PerkIDs:
https://gtm.steamproxy.vip/workshop/filedetails/discussion/3574455713/592909223872096498/




WARNING

Unfortunately, I do not have the time to test all 190 million perk combinations. Whilst I did check to make sure each individual perk was working, there's likely certain combinations that might be buggy, game breaking, or that could cause a crash. If anything weird or unexpected happens, let me know which perks you were using so I can try and fix it.
213 Comments
[C3:M] Bubbanator 8 hours ago 
This is sick. Props to you for the idea and hope great success comes from it.
BLz 13 Oct @ 5:25am 
take your time! thank you for consider it and i hope it's goes well :steamthumbsup:
Franshish 12 Oct @ 12:40pm 
I See Banger, Good Luck On Version 2 Gonna Be Exciting To See That One. And Take Your Time
Geebanger0  [author] 12 Oct @ 12:28pm 
as it says in the description, the limit is 5 perks per survivor. Adding extra lines in the config for levels beyond that won't do anything since the code to make those levels function does not exist. I am working on a version 2 that supports up to 10 levels. That part is already finished, but there is a lot of other stuff I need to add. That takes time; a lot of time, which I don't have all that much of since there's other things in my life I need to do
BLz 12 Oct @ 6:34am 
can we normally have more than 5 perks per characters? i put
zoey_perk1 35
zoey_perk2 74
zoey_perk3 1
zoey_perk4 4
zoey_perk5 33
zoey_perk6 15
zoey_perk7 113
as an example but it's seem like the perks only limit with 5 perks per characters. would be cool if we can have more than 5 perks
Lukaswbrr 12 Oct @ 6:09am 
tested the mod on a full campaign and its fun!

wish there was a variable in the config txt to add more levels, like max_levels (probably the way to not need to define all the 120 possible levels is if the config doesnt find a survivor perk level slot, it automatically sets to 0, which could work for randomizer. btw, i never made a script mod on l4d2, so im really not sure if my idea would actually work)
Geebanger0  [author] 11 Oct @ 8:21pm 
yeah i havent fixed all the error messages yet, and chat notifications only appear when you level up not after every kill
Lukaswbrr 11 Oct @ 8:20pm 
nvm, it seems to be working (managed to get a perk at 50 exp and Perks! command works)
havent tested on a full campaign yet and i thought it didnt work because there werent any notifications when killing zombies and console errors

cool addon!
Geebanger0  [author] 11 Oct @ 7:58pm 
does the chat command "Perks!" work?
Lukaswbrr 11 Oct @ 7:36pm 
tried to test this mod using enable_random 1 on single player campaign however it doesnt seem to be working
like, no notification that the mod is actually active and i received some console errors when testing the mod



AN ERROR HAS OCCURED [the index 'IsSurvivor' does not exist]

CALLSTACK
*FUNCTION [OnGameEvent_infected_death()] scripts/vscripts/perks.nut line [454]
*FUNCTION [__RunEventCallbacks()] unnamed line [211]
*FUNCTION [__RunGameEventCallbacks()] unnamed line [218]

LOCALS
[player] NULL
[event] TABLE
[this] TABLE
[funcName] "OnGameEvent_infected_death"
[idx] 0
[useTable] TABLE
[bWarnIfMissing] false
[globalTableName] "GameEventCallbacks"
[prefix] "OnGameEvent_"
[params] TABLE
[event] "infected_death"
[this] TABLE
[params] TABLE
[event] "infected_death"
[this] TABLE