Left 4 Dead 2

Left 4 Dead 2

31 ratings
Buyzones & Money System
   
Award
Favorite
Favorited
Unfavorite
Game Content: Scripts
File Size
Posted
Updated
1.832 MB
17 May @ 8:56am
7 Jul @ 4:19pm
4 Change Notes ( view )

Subscribe to download
Buyzones & Money System

Description
BuyZone & Money System

We already have the "Counter Strike" weapons, why not have the buy menu too?
With this mod you can open a buy menu with weapons, grenades, healing items and even upgrades.

To activate the menu, simply press and hold the "USE" button (or type !buy in chat) in starting areas, safe rooms or near ammo piles.
You earn money by killing any type of zombie, helping your friends and by finding money pickups around the map!

Features summary:
  • Add a BUY MENU. (hold "USE" (or type !buy in chat) near safe areas or ammo)
  • Add money pickups. (3 types: "Common", "Rare" and "Super Rare". They have a high chance of appearing in place of items/weapons)
  • Killing zombies gives money.
  • Helping friends gives money
  • Bots will also shop at buyzones.
  • Add money transfer commands. All commands list: (can be bind to a key)
    • Replace "CHARNAME" with the character name (not player name), and "VALUE" with the desired amount, example: !payzoey 250
    • !payCHARNAME VALUE (Choose a specific amount of money to give to another character)
    • !payCHARNAME all (Gives all your money to another character)
    • !taxCHARNAME VALUE (Choose a specific amount of money to take from another character (BOT ONLY!))
    • !taxCHARNAME all (Take all the money from another character (BOT ONLY!))
    • !taxbots all (Take all money from all BOTs characters at once)
    • Type !buy in chat will open/close the buy menu
    • Type !money in chat to see your and your team wallet
    • Type !mapmoney command to know how many and each type of money pickups there are on the map (If you are curious about an Golden Gnome) ;)
    • Type !help command to see in game chat all the commands and the location of the major configuration files of de Buyzone & Money system mod
  • Custom settings: (Located at: "...left4dead2\ems\buyzones_money_system")
    • You can choose how much money to start with
    • You can choose the cost of each weapon/item
    • You can choose the name of each weapon/item
    • Can choose the money pickups values and frequency
    • Can choose how much money killing zombies gives
    • Can choose how much money helping friends gives
    • Can turn on/off buyzones in safe areas, near ammo piles or ANYWHERE!
    • Option to punish friendly fire
    • Can change the frequency of items/weapons/money on the map
    • Option for weapon spawners to only give one
    • Can turn on/off all types of reward notification
    • And more...

Earn money, Buy stuff
To be able to buy equipment you will need money, there are 3 main ways: Kill zombies, help friends and collect money packages scattered around the map. The first 2 are pretty straightforward, the more dangerous the situation is, greater the reward will be. While the third one rewards exploring the map, there are 3 types of items pickups: Small (common), Large (rare) and Golden Gnomes (very rare), of course, more rarer they are, higher the payout will be.

Keeping some challenge
To make the buy menu more meaningful and yet balance it with the capacity of choose exactly what you want, you will notice that weapons and items are much rarer around the map now, and also that the weapon spawner only gives you one at a time. While I like the balance this brings, you can change the settings at will and revert everything if you want.

BOTs are our friends
For the singleplayer lovers, BOTs have not been forgotten, they also earn money by killing zombies and helping other allies, so of course they will also make purchases when they are in the buyzones, give them some time to think and they will try to buy healing items, increasingly better weapons and even lasers and special ammunition, if they have the money... of course.

I'll pay you later... :) Trust me... (Never seen again)
In the middle of your game, I bet there will be times when you reach the buyzone and realize that a few bucks are missing to buy your desired equipament. Don't worry, you don't need to keep "farming" kills, just ask your friend! You all can use chat commands (list above) to transfer money between players. And again, don't worry about BOTs, there are commands to take money from them no questions asked.

Mod incompatibility:
I tested the mod in singleplayer with the base game and I'm sure it works, but I can't guarantee that it will work with other mods that affect gameplay, if it's not working for you try turning off other addons.

And if you find any significant bugs please try to give details of what you did/happened before the bug happened, it will help a lot!

Q&A:
why can't i buy melee?
Melee weapons can only appear if the map settings allow it, as I have no way of knowing which ones the map allows I decided not to sell them.

Remember: press and hold "USE" (or type !buy in chat) to open the buy menu on the permitted spots. Keywords: menu weapon choose selection pick free purchasable purchase sell selling spawn upgrade CS 1.6 CS:GO CS2

To my friend who would be "impressed" with the spaghetti code in this script.
38 Comments
CoolingCashew31 7 Jul @ 11:58pm 
"Money X3, lots of money." $$$$ ^^
NILIX  [author] 7 Jul @ 4:40pm 
@Daniel M. hahaha cool! I really wanna done something like this before, but I really didn't know how, but your comment encouraged me to try again and test some new things, and I did :D
Daniel M. 7 Jul @ 4:33pm 
Omg you did it! Like, I was playing it, updated my addons, and omg! There are money items!!! This is exactly what I was thinking of! You are amazing :D
NILIX  [author] 7 Jul @ 4:28pm 
Updated enjoy :)
NILIX  [author] 28 Jun @ 2:48pm 
I'm cooking version 2.0 guys
Daniel M. 25 Jun @ 10:46am 
Is there a way to make it so it adds points if you heal, rescue, or protect an ally? As well as remove points if you hit an ally or die? Maybe also have something where you earn points if you make it to a checkpoint? I would love to know how to make an addon like this work! Maybe even have a separate addon that replaces all item drops in-game to just point-items--essentially instead of no item drops at all, there is some reward in taking time to explore and find more points that you can pick up instead of just earn through killing enemies.
Astrojo50 19 Jun @ 4:30am 
Hello, I've loved this mod, this was exactly what i was looking for.But i have a suggestion, the option to disable/enable Bots ability to buy because in my experience, they kept spamming guns.
NILIX  [author] 8 Jun @ 12:41pm 
@Ashi very unlikely, from my tests some incompatibilities appear after using certain "functions" (commands that trigger parts of the mod's code in specific game events) so there is no way for me or the author of the other mod to remove any of these "functions" without making them stop work
Ashi 8 Jun @ 4:04am 
It looks like this mod conflicts with this https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3329854677 can this be fixed?