mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Completly re-structure of the journal main page
Now actual useful information can be read there. Besides a short player overview a few server settings can be found there.
This commit is contained in:
@@ -1,85 +1,60 @@
|
||||
private ["_currentTime","_totalMins","_days","_hours","_mins","_ys","_ms","_ds","_b","_2","_6","_7","_8","_9","_10","_str_left_text","_1","_3","_4","_5","_blood_in_pack","_blood_in_inv","_mag_arr","_backpack","_11","_mags_for_weap","_mssv_cnt","_weapon","_config","_survivors","_moon","_spawnselection","_disabledTemperature"];
|
||||
_survivors = playersNumber west;
|
||||
private ["_currentTime","_totalMins","_days","_hours","_mins","_base","_plots","_currency","_pve","_b","_survived"];
|
||||
|
||||
_str_left_text = "
|
||||
<t size = '1.4' font = 'Zeppelin33' color = '#000000' shadow = 'false' align = 'left'>
|
||||
"+(localize "str_playerstats_journal_1")+"
|
||||
<br />
|
||||
<br />
|
||||
"+(localize "str_playerstats_journal_2")+"
|
||||
<br />
|
||||
<br />
|
||||
%7%8%9 %10
|
||||
<br />
|
||||
<br />
|
||||
%11
|
||||
</t>
|
||||
";
|
||||
|
||||
_1 = name player;
|
||||
|
||||
dayz_currentGlobalZombies = count entities "zZombie_Base";
|
||||
|
||||
//Work out survival time
|
||||
_currentTime = floor ((diag_tickTime - dayz_loginTime) / 60);
|
||||
_totalMins = (player getVariable "SurvivalTime") + _currentTime;
|
||||
_days = floor (_totalMins / 1440);
|
||||
_totalMins = (_totalMins - (_days * 1440));
|
||||
_hours = floor (_totalMins / 60);
|
||||
_mins = (_totalMins - (_hours * 60));
|
||||
|
||||
dayz_Survived = [_days,_hours,_mins,_totalMins];
|
||||
|
||||
_moon = if (dayz_ForcefullmoonNights) then { "Yes" } else { "No" };
|
||||
|
||||
_spawnselection = switch (dayz_spawnselection) do {
|
||||
case 1: { "Yes" };
|
||||
case 0: { "No" };
|
||||
};
|
||||
|
||||
_disabledTemperature = switch (dayz_temperature_override) do {
|
||||
case true: { "Disabled" };
|
||||
case false: { "Enabled" };
|
||||
};
|
||||
_survived = format["%1 %2, %3 %4, %5 %6",(dayz_Survived select 0),localize "STR_EPOCH_JOURNAL_DAYS",(dayz_Survived select 1),localize "STR_EPOCH_JOURNAL_HOURS",(dayz_Survived select 2),localize "STR_EPOCH_JOURNAL_MINUTES"];
|
||||
_base = ["STR_EP1_dogfighters_params09","STR_EP1_dogfighters_params08"] select (DZE_GodModeBase);
|
||||
_plots = [localize "str_ep1_mpt_param1_5",DZE_limitPlots] select (DZE_limitPlots > 0);
|
||||
_currency = [localize "STR_EPOCH_GOLD",CurrencyName] select (Z_SingleCurrency);
|
||||
_pve = ["str_temp_param_disabled","str_temp_param_enabled"] select (DZE_PVE_Mode);
|
||||
|
||||
// left page
|
||||
((uiNamespace getVariable "horde_myDisplay") displayCtrl 1800) ctrlSetStructuredText parseText format ["
|
||||
<t size='2' font='Zeppelin33' color = '#000000' align='center'>Survival Type: %14</t><br/>
|
||||
<t size='1.3' font='Zeppelin33' color = '#000000' align='left'>%1: </t><t size='1.3' font='Zeppelin33' align='right' color='#FF0033'>%2</t><br/>
|
||||
<t size='1.3' font='Zeppelin33' color = '#000000' align='left'>%3: </t><t size='1.3' font='Zeppelin33' align='right' color='#FF0033'>%4</t><br/>
|
||||
<t size='1.3' font='Zeppelin33' color = '#000000' align='left'>%5: </t><t size='1.3' font='Zeppelin33' align='right' color='#FF0033'>%6</t><br/>
|
||||
<t size='1.3' font='Zeppelin33' color = '#000000' align='left'>%7: </t><t size='1.2' font='Zeppelin33' align='right' color='#FF0033'>%8</t><br/>
|
||||
<br />
|
||||
<t size='2' font='Zeppelin33' color = '#000000' align='left'>Health: </t><t size='2' font='Zeppelin33' align='right' color='#FF0033'>%1</t><br/>
|
||||
<t size='2' font='Zeppelin33' color = '#000000' align='left'>Hunger: </t><t size='2' font='Zeppelin33' align='right' color='#FF0033'>%2%</t><br/>
|
||||
<t size='2' font='Zeppelin33' color = '#000000' align='left'>Thirst: </t><t size='2' font='Zeppelin33' align='right' color='#FF0033'>%3%</t><br/>
|
||||
<t size='1.5' font='Zeppelin33' color = '#000000' align='left'>%9</t><br/>
|
||||
<br/>
|
||||
<t size='2' font='Zeppelin33' color = '#000000' align='left'>Temp: </t><t size='2' font='Zeppelin33' align='right' color='#FF0033'>%5/%13</t><br/>
|
||||
<br />
|
||||
<t size='2' font='Zeppelin33' color = '#000000' align='left'>Humanity: </t><t size='2' font='Zeppelin33' align='right' color='#FF0033'>%6</t><br/>
|
||||
<t size='2' font='Zeppelin33' color = '#000000' align='left'>Zombies: </t><t size='2' font='Zeppelin33' align='right' color='#FF0033'>%7</t><br/>
|
||||
<br />
|
||||
<t size='2' font='Zeppelin33' color = '#000000' align='left'>SpawnSelection: </t><t size='2' font='Zeppelin33' align='right' color='#FF0033'>%4</t><br/>
|
||||
<t size='2' font='Zeppelin33' color = '#000000' align='left'>Full Moon: </t><t size='2' font='Zeppelin33' align='right' color='#FF0033'>%12</t><br/>
|
||||
<br/>
|
||||
<t size='2' font='Zeppelin33' color = '#000000' align='center'>Survived: %8 Day(s), %15 Hour(s), %16 Minute(s)</t><br/>
|
||||
<br />
|
||||
<t size='2' font='Zeppelin33' color = '#000000' align='center'>Survivors:%9</t><br/>
|
||||
<br/>
|
||||
<t size='2' font='Zeppelin33' color = '#000000' align='center'>FPS:%10, FPSMin:%11</t><br/>
|
||||
<t size='1.3' font='Zeppelin33' color = '#000000' align='left'>%10: </t><t size='1.3' font='Zeppelin33' align='right' color='#FF0033'>%11</t><br/>
|
||||
<t size='1.3' font='Zeppelin33' color = '#000000' align='left'>%12: </t><t size='1.3' font='Zeppelin33' align='right' color='#FF0033'>%13</t><br/>
|
||||
<t size='1.3' font='Zeppelin33' color = '#000000' align='left'>%14: </t><t size='1.3' font='Zeppelin33' align='right' color='#FF0033'>%15</t><br/>
|
||||
<t size='1.3' font='Zeppelin33' color = '#000000' align='left'>%16: </t><t size='1.3' font='Zeppelin33' align='right' color='#FF0033'>%17</t><br/>
|
||||
<t size='1.3' font='Zeppelin33' color = '#000000' align='left'>%18: </t><t size='1.3' font='Zeppelin33' align='right' color='#FF0033'>%19</t><br/>
|
||||
<t size='1.3' font='Zeppelin33' color = '#000000' align='left'>%20 %21: </t><t size='1.3' font='Zeppelin33' align='right' color='#FF0033'>%22</t><br/>
|
||||
<t size='1.3' font='Zeppelin33' color = '#000000' align='left'>%23 %24: </t><t size='1.3' font='Zeppelin33' align='right' color='#FF0033'>%25</t><br/>
|
||||
",
|
||||
(round(r_player_blood)),
|
||||
(round(dayz_hunger)),
|
||||
(round(dayz_thirst)),
|
||||
(_spawnselection),
|
||||
(round(dayz_temperatur)),
|
||||
(round(player getVariable['humanity', 0])),
|
||||
(dayz_currentGlobalZombies),
|
||||
(dayz_Survived select 0),
|
||||
(_survivors),
|
||||
(round diag_fps),
|
||||
(round diag_fpsmin),
|
||||
(_moon),
|
||||
(_disabledTemperature),
|
||||
(dayz_presets),
|
||||
(dayz_Survived select 1),
|
||||
(dayz_Survived select 2)
|
||||
localize "STR_EPOCH_JOURNAL_Name", // 1
|
||||
(name player), // 2
|
||||
localize "STR_EPOCH_JOURNAL_HEALTH", // 3
|
||||
(round(r_player_blood)), // 4
|
||||
localize "str_actions_stats_hm", // 5
|
||||
(round(player getVariable['humanity', 0])), // 6
|
||||
localize "STR_EPOCH_JOURNAL_SURVIVED", // 7
|
||||
_survived, // 8
|
||||
localize "STR_EPOCH_JOURNAL_SERVER_SETTINGS", // 9
|
||||
localize "STR_EPOCH_JOURNAL_BASE", // 10
|
||||
localize _base, // 11
|
||||
localize "STR_EPOCH_JOURNAL_PLOT", // 12
|
||||
_plots, // 13
|
||||
localize "STR_EPOCH_JOURNAL_BUILDINGLIMIT", // 14
|
||||
DZE_BuildingLimit, // 15
|
||||
localize "STR_EPOCH_TRADER_CATEGORY_CURRENCY", // 16
|
||||
_currency, // 17
|
||||
localize "STR_EPOCH_JOURNAL_PVE", // 18
|
||||
localize _pve, // 19
|
||||
localize "str_actions_stats_hm", // 20
|
||||
localize "str_playerstats_hero", // 21
|
||||
DZE_Hero, // 22
|
||||
localize "str_actions_stats_hm", // 23
|
||||
localize "str_playerstats_bandit", // 24
|
||||
DZE_Bandit // 25
|
||||
];
|
||||
|
||||
// right page - blank until humanity is checked
|
||||
|
||||
@@ -30227,6 +30227,49 @@
|
||||
<English>Weight</English>
|
||||
<German>Gewicht</German>
|
||||
</Key>
|
||||
<Key ID="STR_EPOCH_JOURNAL_Name">
|
||||
<English>Name</English>
|
||||
</Key>
|
||||
<Key ID="STR_EPOCH_JOURNAL_HEALTH">
|
||||
<English>Health</English>
|
||||
<German>Gesundheit</German>
|
||||
</Key>
|
||||
<Key ID="STR_EPOCH_JOURNAL_SURVIVED">
|
||||
<English>Survived</English>
|
||||
<German>Überlebt</German>
|
||||
</Key>
|
||||
<Key ID="STR_EPOCH_JOURNAL_DAYS">
|
||||
<English>Day(s)</English>
|
||||
<German>Tag(e)</German>
|
||||
</Key>
|
||||
<Key ID="STR_EPOCH_JOURNAL_HOURS">
|
||||
<English>Hour(s)</English>
|
||||
<German>Stunde(n)</German>
|
||||
</Key>
|
||||
<Key ID="STR_EPOCH_JOURNAL_MINUTES">
|
||||
<English>Minute(s)</English>
|
||||
<German>Minute(n)</German>
|
||||
</Key>
|
||||
<Key ID="STR_EPOCH_JOURNAL_SERVER_SETTINGS">
|
||||
<English>Server Settings</English>
|
||||
<German>Servereinstellungen</German>
|
||||
</Key>
|
||||
<Key ID="STR_EPOCH_JOURNAL_BASE">
|
||||
<English>Indestructible Bases</English>
|
||||
<German>Unzerstörbare Basen</German>
|
||||
</Key>
|
||||
<Key ID="STR_EPOCH_JOURNAL_PLOT">
|
||||
<English>Plot Poles</English>
|
||||
<German>Grundstücksmarkierungen</German>
|
||||
</Key>
|
||||
<Key ID="STR_EPOCH_JOURNAL_BUILDINGLIMIT">
|
||||
<English>Build Limit</English>
|
||||
<German>Baulimit</German>
|
||||
</Key>
|
||||
<Key ID="STR_EPOCH_JOURNAL_PVE">
|
||||
<English>PVE Mode</English>
|
||||
<German>PVE-Modus</German>
|
||||
</Key>
|
||||
|
||||
<!--Fix for missing strings from the buildings3.pbo, this is just a placeholder-->
|
||||
<Key ID="STR_FAL_Street_Sign">
|
||||
|
||||
Reference in New Issue
Block a user