Search the Community
Showing results for tags 'calculator'.
Found 3 results
-
Yeah i know some of you guys here around will laugh me out for this newbie stupid question But anyway here i go : i have stat system on the server, it counts deaths, kills, xp, etc..... now my question is how do i obtain kill/death ratio from these stats ? i know k/d ratio is kills divide by deaths to obtain kill death ratio, how to calculate it in sqf file what is the code to put in here ? //This converts the string to an array _get = call compile _get; //only select the inner array, throw away this outer array shell _get = _get select 0; _get = _get select 0; _string = _get select 0; _xp = parseNumber _string; _string = _get select 1; _kills = parseNumber _string; _string = _get select 2; _deaths = parseNumber _string; player_stats_add = [_xp,_kills,_deaths]; owner _unit publicVariableClient "player_stats_add"; player_stats_got = 1; owner _unit publicVariableClient "player_stats_got"; or am i wrong ? is it elsewhere ? or maybe can i make a new sqf file ?
-
Last year I created a calculator in spreadsheet form to make the WW4 Extended infantry armor and ammo data more precise. While it's still not perfect is quite a good approximation to how the synergy between armor and ammunition works in-game. You can view the calculator here: https://docs.google.com/spreadsheets/d/1M5rf--TbuvFtRhTt2rOsluyEBiPbVOU_ZNyj3wyqPP0/edit?usp=sharing You should be able to edit the first rows (green colored) from the Armor data and Ammo data sheets to test it out. You should also be able to make a copy to your own Drive account, so you can keep tinkering with all this. Or you can download it as xlsx file to use it offline: https://drive.google.com/open?id=0By2CaodBQ84GRldBb3BvSGdRN1U You can open this file with Microsoft Excel or LibreOffice Calc. Hope this helps others mod makers around here.
-
So after a few more tests, I'm happy to release this mod, although there are still some little errors that will pop up, in terms of the part where you may try to use math commands, everything else should be working as expected. Documentation has been included in the file, if that does not seem to help feel free to pm me or post on the thread. Feel free to post any feedback or any changes. Description and Usage Notes: Pictures Changelog Download V0.51 Dropbox Armaholic
- 7 replies
-
- 1
-
- Artillery
- Calculator
-
(and 1 more)
Tagged with: