Robberies

OBSOLETE

This script was replaced by the new Crime: Robberies script so this one is outdated and no longer supported

{:is-danger}

{:links-list}

INSTALLATION

  1. Open the downloaded ZIP product file and drop the folder in it somewhere in your resources folder.
  2. Add your product key (get it here) to the settings.ini file
  3. Add start BigDaddy-Robberies to your server.cfg.

DO NOT RENAME THE FOLDER.

If you change the name of the folder it will not function correctly so leave the name as it is.

{:is-danger}

CONFIGURATION

SETTING DEFAULT DESCRIPTION
[licensing]
key1 none This is where you put your product key
[settings]
showBlips false Whether or not to show robbable spots on the map, there are a lot and they can tend to make the map look messy
useCops true Whether or not to count and alert police during robberies
allowZeroCops true If useCops is true, then set this to allow/disallow robberies with no cops on server
keyToInteractWithRobbery 38 See the readme.txt with this resource for valid keys)
timeBetweenRobberies 90 How long between robberies (in seconds)
forceGlobalCooldown false If true, no one can start a robbery during the global cooldown period after a robbery
globalCooldownTime 1200 The time for global cooldowns if they are turned on (in minutes)
oneAtATime false Only allow one robbery at a time if set to true
spawnSecurity true If no police are available, spawn security guards to respond to robbery

DATA

There is a file called RobbableSpots.json that contains the data of all the robbable locations. You can edit this to include whatever spots you want. Make sure you follow the proper data structure as any deviation from that will break the script. There are dozens of spots pre-configured and are all vanilla game interiors. If you have custom interiors for any of those spots, you will need to find the coordinates and enter them. Just go to a register or safe and stand in front of it and use those coordinates to add to the data file.

HOW TO PLAY

When you walk up to a register or safe and it has a red circle in front of it on the floor, that is a robbable spot (if the circle is blue, it is a cooldown period and a new robbery cannot be started until the cooldown is over). Step into the circle, face the register/safe and press the input key it prompts you to press (configurable). The script will determine a randomized length of time based on the config and a formula and show you a progress bar and count down timer for the robbery.

If the game is configured to call the police, a random time is picked based on another formula as to when the call is made. This way the robber doesn't know exactly when the call was made or how long the robbery will take and the cops don't know how long it was going on, either. Adds a little excitement and mystery. When the timer is up, it will tell you how much money you gained. You can hit the input key during the robbery and it will cancel it (and make fun of you for quitting). You can rob multiple registers/safes in one location even if there is a global cooldown after the first. But only in that location.

Money will regenerate in each spot on a time schedule. And twice an hour money is transferred from the spot to the bank vault. So the totals are changing all the time.