WHAT IT DOES
This script lets you store money in a bank account and earn interest.
- Press B to mark the nearest ATM on the map.
- Press B at an ATM to start a transaction, and press B again to complete it.
. . . . Press A and D to move money to and from the account.
. . . . Press W and S to adjust how much money is moved at a time. (Hold Shift to adjust faster, Control to adjust slower.)
. . . . Press X to reset the transaction.
- Your account balance earns 1% interest per day.
HOW TO INSTALL
This is a script for HazardX's .NET scripthook. Just extract the files into the 'scripts' folder of the .NET scripthook.
v1.3.4 — last updated October 13, 2013
If you'd like to support me and my mods,
take 5 seconds and use this download link!
If you're in a hurry, use this one.
- The less cash you carry with you, the less money you'll lose from dying or being arrested.
- The more money you have in your bank account, the more interest you'll earn.
- The maximum cash you can carry is $999,999,999 (this is the game's limit).
- The maximum account balance is $2 billion.
- This map shows all the ATMs I could find.
- The interest rate is about 365x higher than real life.
- The BankAccount.ini file contains several settings, including these options that are off by default:
. . . . autosave after you use an ATM or earn interest.
. . . . lose all cash when you die or get arrested.
. . . . use in-game hours and minutes for the countdown to earning interest.
- Type "reloadini" in the console to load new INI settings without stopping the script.
- Your bank balance only saves when you use a bed to save the game, not when the game autosaves (except when you use the SaveAfterUsingATM or SaveAfterInterest INI settings, which are off by default).
- Your bank balance is shared across different savegames, and you'll earn interest from loading older saves, because the interest is based on how many days have passed in the world.
- If you find any ATMs that don't get marked on the map from far away, please let me know and I'll add them.
- When you view the ATM screen (by pressing E):
. . . . Your cash is displayed for a moment before showing your balance.
. . . . Can't display more than the max cash amount, $999,999,999.
. . . . The cash displayed in the top-right counts up/down obnoxiously.
v1.3.4 — October 13, 2013
- Changed INI settings:
. . . . For saving data: They also autosave the game.
. . . . For losing money: Negative numbers make you lose ALL of your cash/balance.
- Added INI option to show cash instead of balance on ATM screen (as in vanilla).
- Reduced max account balance to $2 billion to simplify code and avoid bugs.
- Fixed crash if you typed a balance over 4,294,967,295 into BankAccount.dat.
- Minor cleanup.
v1.3.3 — September 28, 2013
- During transactions, the interest countdown is in real minutes and seconds.
- Added UseGameTimeCountdown INI option to show in-game hours and minutes instead.
- INI settings for losing money on death/arrest let you choose how much you lose.
- Added INI settings to lose money from your account when you die or get arrested.
- Added minimum wanted level INI settings for losing money on chase death.
- Renamed INI settings for saving data to clarify that they don't save the game.
- Divided INI into sections: Bank Account, HUD & Sound, and Keys.
- Reduced bug: When balance is huge, ATM screen shows $999999999 instead of $0.
- Minor cleanup.
v1.3.2 — September 2, 2013
- Transactions show how much interest you'll earn next, and in how many hours.
- Added ShowNextInterestInfo INI option.
- Added "reloadini" console command (gets settings from the INI without stopping the script).
- DepositKey and WithdrawKey can be held down to move money faster.
- Minor cleanup.
- Retroactively renamed versions 1.2.8 and 1.2.9 to 1.3 and 1.3.1.
v1.3.1 hotfix — June 22, 2013
- Fixed bug: When LoseCashOnChaseDeath was enabled and you died outside of a chase, the next chase made you lose all your cash.
v1.3.1 — March 10, 2013
- Added SaveAfterTransaction and SaveAfterInterest INI options.
v1.3 — November 15, 2012
- Improved animation alignment by sliding the player into place.
- Partially fixed bug where ATMs wouldn't work if they weren't individually coded for.
. . . . Now they should all work when they're nearby (i.e. when they're loaded into the game world).
. . . . To mark them on the map from far away, I still have to code for them individually.
- Partial workaround for bug where the ATM screen showed your cash instead of your balance.
. . . . Can't display more than $999,999,999 (because that's the max cash amount).
. . . . Makes the cash displayed in the top-right count up/down obnoxiously.
- Changed default ResetKey INI setting to X (previously Delete).
- Added INI setting LoseCashOnChaseDeath (applies only to deaths during chases, instead of all deaths).
- Cash isn't deposited or withdrawn until transactions are actually complete.
- Fixed jerky cop car movement during transactions.
- Refactored code to improve its structure somewhat, and compiled to DLL file.
- Simplified BankAccount.dat file.
v1.2.7 — July 25, 2012
- Changed default money-moving controls to WASD + Shift/Control (previously Arrows + PageUp/PageDown)
- Move amount is now adjusted by $1,000 increments
. . . . by $10,000 while holding Shift
. . . . by $100 while holding Control
. . . . Added INI settings for these numbers
- Fixed bugs where...
. . . . script keys wouldn't work while holding Shift, Control, or Alt
. . . . keys pressed during ATM animations caused delayed responses instead of being ignored
- Very minor cleanup
v1.2.6 — March 25, 2012
- Added 1 ATM location in Alderney
- MoveMoreKey and MoveLessKey can be held down to quickly change how much money to move
- Starting a transaction unequips your weapon
- Minor cleanup
v1.2.5 — February 11, 2012
- Added 1 ATM location in Broker
- Rearranged transaction text
- Interest is postponed while the player isn't in control (to avoid interrupting cutscenes)
- Minor cleanup
v1.2.4 — January 20, 2012
- Added dulcimer sound when you earn interest
- Added PlaySound_Interest, ShowMsg_MarkedATM, and MsgDurationSeconds settings in the INI
- Minor tweak and optimization
- Cleaned up keypress handling, other minor cleanup
v1.2.3 — November 13, 2011
- The nearest ATM is now marked on the map for you when you're too far away
- Added readme and INI file for settings
- Added options to lose cash when you die or get arrested
- Minor fix and optimization
v1.2.2 — October 5, 2011
- Now you can hold modifier keys while adjusting the move amount to adjust faster
. . . . Hold PageDown to adjust by $5,000
. . . . Hold PageUp to adjust by $50,000
- Added messages for when you're not close enough to an ATM
- Increased the maximum balance from $2.1 billion to $4.2 billion
- Fixed bugs where money would disappear past the cash/balance limits
- Minor fixes, tweaks and optimization
v1.2.1 — July 26, 2011
- Added 1 ATM location at Star Junction
- Numbers are now shown with commas
- Changed save file to BankAccount.dat
- Changed version numbering scheme
v1.2 — July 4, 2011
- Account balance no longer saves after cancelling out of save menu
- Completing a transaction now displays how much was transferred (replaces the "thank you" message)
- Added 1 ATM location at Francis International Airport
v1.1c — May 31, 2011
- Fixed bug where starting transaction does nothing except freeze the player (the dreaded infinite loop!)
v1.1b — May 30, 2011
- Fixed animation bug where player wouldn't face the ATM properly
v1.1 — May 27, 2011
- Move amount can no longer be negative
- Account balance now saves only when getting into a bed
- Added 4 ATMs at 2 locations in Alderney
- Tweaked animations
- Clarified the contents of BankAccount.txt