SPON Money v0.1.2- Released: 2007-11-06
- Install size: 59k +
SPON Core (Core v0.1.2 used in demo)
- 100% scripts
- No addon dependencies
- See attached README.html for full details
OverviewPlayers have a cash balance (what they are carrying) and can buy and sell things at shops. Optionally, they can also have a bank balance and can deposit and withdraw money at a bank.
This script pack requires that SPON Core scripts pack is installed in the mission (v0.1.2 or higher). Both SPON Money and SPON Core are script-based and do not require any addons to be installed on client or server.
Features- Standard (Shopping)
* Player cash balance is recorded.
* Can buy specific weapons, magazines and one-use items (explosives, grenades, etc) or vehicles at specific shops (which can be any object that can have actions added).
* Can sell any weapons and one-use items at any shop. Magazines can't be sold because you can't query how many rounds are left (well, except the one in the weapon, but you can't specifically remove that magazine).
* Information display for last item selected to buy/sell.
* Accurately tracks what you are carrying and so does not allow you to buy anything you can't carry.
- Optional (Banking)
* Can transfer money into and out of the universal bank at any banker (which can be any object that can have actions added) using a dialog.
Limitations * If you log into an MP game for a second, or subsequent time, then your cash and bank balance is reset to the initial value.
Plans * Transfer of money and/or items between players in MP.
* More and clearer documentation.
Design Aims * Improve gameplay in RPG- and GTA-style games.
* Maintainability, configurability and inter-operability.
* Avoid addons, in favour of scripting, as far as possible.
* Compatibility with SP/MP/COOP/JIP (except Team-switch).
Credits * Cash (wad of banknotes) icon provided by Ultimate (john dot e dot osterman at gmail dot com)
* Testing and suggestions from LeeHunt
* Significant testing and feedback by members of the Regiment of Grenadier Guards [RGG] ArmA squad. Thanks fellas!
Change Logv0.1.2
- Added
* Demo: Added a poor independent soldier that can be played, demonstrating how to change initial bank balance based on side.
* Demo: Added a medic soldier that can be played, demonstrating that the shop can recognise different inventory limits for soldiers.
- Modified
* Demo: Moved the shops and banks into the centre of town, changed the models and put them into stalls to make them look more like "traders".
* Shop: Rewrote the function that calculated slot size of magazines to guarantee the correct result for items that aren't in vanilla ArmA (i.e. from expansions and addons).
* Shop: Rewrote the code that calculated the number of small and large slots available for the player to guarantee the correct result for player models, or configurations, that aren't in vanilla ArmA (i.e. from expansions and addons).
- Fixed
* Shop (demo): One of the shopkeepers buys for higher prices than he buys (this is just because the shopkeeper was misconfigured in the demo, not because there is anything wrong with the scripts)!
v0.1.1
- Added
* Shop: Item icons added to inventory lists.
- Modified
* Bank: Created a proper banking dialog, to replace actions.
* Shop: Removed the bank balance from the shop dialog.
- Fixed
* Shop: Some item pictures are stretched in the blown-up item image.
v0.1.1
- Fixed
* Shop: Can select items in both buy and sell boxes (at same time).
* Shop: Buy/sell buttons are still enabled when the selected item is not able to be bought/sold.
v0.0.21
* Original release as part of SPON Scripts
Get SPON Money