I wanted to learn more about how ARMA 3 modding worked, and there is really no better way than "code to learn". Everything is coded from the ground up, except for the below mentioned 3rd part scripts.
I don't know much about "best practises" in this language yet, or how I should or shouldn't code things, so feedback is absolutely more than welcome (feedback is still more than welcome even if I did/do know :))!
- World loot spawns
- World vehicle spawns
- World stationery spawns
- Player spawn/respawn (cities, random, world)
- Timed, random placement, airdrops
- Equipment Shops
- Vehicle Shops
- Clothes Shops
- Simple HUD (fps, health, fatigue and money)
- Persistent player data (MySQL)
It uses strictly "vanilla" (including expansions) content. No client-side mods required.
- Upload the content of the "Dist" folder to your ARMA 3 dedicated server root (where the arma3server.exe file is).
- Edit the "LaunchServer.bat" files launch parameters to suit your needs.
- Edit the "@extDB2\extdb-conf.ini" file your database details.
- Import the "@extDB2\spmc_server.sql" to your database.
- Run the "LaunchServer.bat" file.
You can modify the "\Source\supremacy_server\compile\core\config.sqf" to make changes to a lot of the elements in the framework. There is no wiki yet, but I hope to get working on that soon(tm).
Code released under CC BY-NC 3.0 License.
To read thehuman-readable summary of the CC BY-NC 3.0 License, click here.
The license does NOT apply to or included any of the 3rd party material (sounds, code, icons etc). All 3rd party material can be found in the "\3rdparty" directory in the client and server source code.
I did not create or own any of the 3rd party material. Please see their credits below and in their files were applicable.
Copyright (c) 2015 Mark Eliasen - 3rd party material are copyrighted by their respective owners.
A big thanks to the following people for their scripts, icons, sounds and extensions which are required to make the SPMC framework tick. A special thanks to Kilzone_Kid and Tonic for inspiration and code/resources which I have learn a lot from by reading.
####Code
- Killzone_Kid for the Original Airdrop script.
- Shuko for SHK_pos.
- Bryan "Tonic" Boardwine for the MRES functions and async extDB2 script.
- Karel Moricky for the "numberToText" function.
###Extensions
- Torndeco for extDB2 (Arma3 Extension DB2).
####Sounds
- pierrecartoons1979 for the "purchase" sound.
- escortmarius for the "purchase_click" sound.
- qubodup for the original "error" sound.
- GameAudio for the original "sold_item" sound.
####Icons
- Paomedia for the "money" icon.
- Aha-Soft Team for the "stamina" icon.
- Linh Pham Thi Dieu for the "fps" icon.
- Visual Pharm for the "health" icon.