ELRabito/ExileKillInfoNumberFix

Fixes the big numbers display in the Kill Info

★ 1Forks 0SQFGitHub ↗Compare

README

ExileKillInfoNumberFix

This fixes the issue with the huge number display inside the kill info. grafik

Installation

  1. Add a new function to your mission, for example easily via this small snippet pasted inside initplayerlocal.sqf. This function will then take care of the number formatting.

     {
     	missionNamespace setVariable [(_x #0), compileScript [_x #1]];
     } forEach [
    
     	["ExileClient_util_string_exponentToStringFormatted","custom\ExileClient_util_string_exponentToStringFormatted.sqf"]
     ];
    
  2. Download ExileClient_gui_hud_showKillDetails and put it to your missionfile and add the CfgExileCustomCode entry for it in your missions config.cpp.

     ExileClient_gui_hud_showKillDetails = "Overrides\ExileClient_gui_hud_showKillDetails.sqf";
    
  3. Done

Other Information

Can also easily be added to other scripts to show the huge numbers better (The output is a string!)

// Example for ExileClient_gui_lockerDialog_event_onDepositButtonClick
throw format ["Your locker can only hold %1 pop tabs.", (_lockerLimit call ExileClient_util_string_exponentToStringFormatted)];

And don't go to crazy with the numbers, stay below 1,000,000,000 (Otherwise it will not be precise / Arma limitation!). grafik

Some more "big number" fixes can be found in the Optional folder.

grafik

Contributors

ELRabito

Issues