mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-06-28 04:31:55 +03:00
Add journal and preliminary strings for crafting
The journal is now functional. Preliminary strings are added for the 1.8.7 crafting system, but it is disabled for now. I've messaged @marceldev89 (ziellos2k) and @AlbyBDPK on the DayZ forums to ask permission to use fn_updateCraftUI, player_checkRecipe and player_craftItemGUI. Are you guys okay with us including these in DayZ Epoch 1.0.6?
This commit is contained in:
@@ -13,7 +13,8 @@
|
||||
[NEW] Added waves effect during stormy weather #974 @FramedYannick @ebaydayz
|
||||
[NEW] Optional variable to restrict wearable clothes. Add DZE_RestrictSkins to init.sqf #1560 @BetterDeadThanZed @ebaydayz
|
||||
[NEW] Optional variable to prevent stealing from backpacks by non-friendlies at traders. Add DZE_BackpackAntiTheft to init.sqf @ebaydayz
|
||||
[NEW] Added action to lock and unlock vehicles from inside #1103 @pj999 @ebaydayz
|
||||
[NEW] Added action to lock and unlock vehicles from inside #1103 @pj999 @ebaydayz
|
||||
[NEW] Journal from official DayZ Mod is now functional for displaying stats @ebaydayz
|
||||
|
||||
[CHANGED] An infection chance of -1 disables self-transfusion infection. 0 is always infected. (DZE_selfTransfuse_Values) @icomrade
|
||||
[CHANGED] Removed weapons from Traders hands and made them stand with arms by their side. @SilvDev
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
class CfgCrafting {
|
||||
class Recipe {
|
||||
displayName = "Generic Recipe";
|
||||
input[] = {}; //Items consumed during crafting
|
||||
output[] = {}; //Items created from crafting
|
||||
required[] = {}; //Items needed for but not consumed during crafting
|
||||
failChance = 0;
|
||||
};
|
||||
//Completed
|
||||
//Weapons
|
||||
#include "Recipes\Weapons\NailedBaseballBat.hpp"
|
||||
#include "Recipes\Weapons\BaseBallBatBarbed.hpp"
|
||||
#include "Recipes\Weapons\Crossbow.hpp"
|
||||
|
||||
//Not Ready
|
||||
/*
|
||||
#include "Recipes\Weapons\M9SD.hpp"
|
||||
#include "Recipes\Weapons\M4A1_AIM.hpp"
|
||||
#include "Recipes\Weapons\MAKAROVSD.hpp"
|
||||
#include "Recipes\Weapons\bizonSD.hpp"
|
||||
#include "Recipes\Weapons\SVD_CAMO.hpp"
|
||||
#include "Recipes\Weapons\M4A1_Aim_CAMO.hpp"
|
||||
#include "Recipes\Weapons\M4A1_HWS_GL_CAMO.hpp"
|
||||
#include "Recipes\Weapons\G36C_camo.hpp"
|
||||
#include "Recipes\Weapons\G36A_camo.hpp"
|
||||
#include "Recipes\Weapons\G36K_camo.hpp"
|
||||
*/
|
||||
|
||||
//Medical
|
||||
#include "Recipes\Medical\Bandage.hpp"
|
||||
#include "Recipes\Medical\sepsisBandage.hpp"
|
||||
#include "Recipes\Medical\woodensplint.hpp"
|
||||
#include "Recipes\Medical\HerbalDrink.hpp"
|
||||
//ammo
|
||||
#include "Recipes\Ammo\WoodenArrow.hpp"
|
||||
//other
|
||||
#include "Recipes\Other\woodencrate.hpp"
|
||||
#include "Recipes\Other\nails.hpp"
|
||||
#include "Recipes\Other\BackPack.hpp"
|
||||
//#include "Recipes\Other\woodenCraftTable.hpp"
|
||||
//Traps
|
||||
#include "Recipes\Traps\TrapBearTrapFlare.hpp"
|
||||
#include "Recipes\Traps\TrapBearTrapSmoke.hpp"
|
||||
#include "Recipes\Traps\TrapTripwireCans.hpp"
|
||||
#include "Recipes\Traps\TrapTripwireFlare.hpp"
|
||||
#include "Recipes\Traps\TrapTripwireGrenade.hpp"
|
||||
#include "Recipes\Traps\TrapTripwireSmoke.hpp"
|
||||
};
|
||||
@@ -0,0 +1,16 @@
|
||||
class Wooden_Arrow : Recipe {
|
||||
displayName = $STR_ITEMWOODENARROW_CODE_NAME;
|
||||
input[] =
|
||||
{
|
||||
{"PartWoodPile","CfgMagazines",1},
|
||||
{"equip_feathers","CfgMagazines",2}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"WoodenArrow","CfgMagazines",4}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,33 @@
|
||||
class Blueprint_Bandage : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_Bandage;
|
||||
input[] =
|
||||
{
|
||||
{"equip_rag","CfgMagazines",1},
|
||||
{"equip_gauze","CfgMagazines",1},
|
||||
{"equip_string","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"ItemBandage","CfgMagazines",2}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
};
|
||||
};
|
||||
|
||||
class Blueprint_Bandage_Packaged : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_Bandage;
|
||||
input[] =
|
||||
{
|
||||
{"equip_rag","CfgMagazines",1},
|
||||
{"equip_gauzepackaged","CfgMagazines",1},
|
||||
{"equip_string","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"ItemBandage","CfgMagazines",2}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,16 @@
|
||||
class Blueprint_HerbalDrink : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_HerbalDrink;
|
||||
descriptionShort = $STR_CRAFT_DESC_herbalDrink;
|
||||
input[] =
|
||||
{
|
||||
{"ItemWaterBottleBoiled","CfgMagazines",1},
|
||||
{"equip_herb_box","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"ItemWaterBottleHerbal","CfgMagazines",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,35 @@
|
||||
class Blueprint_SepsisBandage : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_SepsisBandage;
|
||||
input[] =
|
||||
{
|
||||
{"ItemBandage","CfgMagazines",1},
|
||||
{"equip_comfreyleafs","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"ItemSepsisBandage","CfgMagazines",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
};
|
||||
};
|
||||
|
||||
/*
|
||||
class Blueprint_SepsisBandage_Packaged : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_SepsisBandage;
|
||||
input[] =
|
||||
{
|
||||
{"equip_rag","CfgMagazines",1},
|
||||
{"equip_gauzepackaged","CfgMagazines",1},
|
||||
{"equip_comfreyleafs","CfgMagazines",1},
|
||||
{"equip_string","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"ItemSepsisBandage","CfgMagazines",2}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
};
|
||||
};
|
||||
*/
|
||||
@@ -0,0 +1,15 @@
|
||||
class Blueprint_woodensplint : Recipe {
|
||||
displayName = $STR_ITEM_NAME_WOODENSPLINT;
|
||||
input[] =
|
||||
{
|
||||
{"PartWoodPile","CfgMagazines",2},
|
||||
{"equip_string","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"equip_woodensplint","CfgMagazines",2}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,16 @@
|
||||
class Blueprint_PatrolPack : Recipe {
|
||||
displayName = $STR_ITEM_MAKESHIFTBACKPACK;
|
||||
input[] =
|
||||
{
|
||||
{"equip_rag","CfgMagazines",5},
|
||||
{"PartWoodPile","CfgMagazines",1},
|
||||
{"equip_string","CfgMagazines",3}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"DZ_Assault_Pack_EP1","CfgVehicles",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,16 @@
|
||||
class Blueprint_BodgedWaterbottle : Recipe {
|
||||
displayName = "Broken Watter Bottle.";
|
||||
descriptionShort = "Patch a broken water bottle.";
|
||||
input[] =
|
||||
{
|
||||
{"equip_duct_tape","CfgMagazines",1},
|
||||
{"ItemWaterBottleDmg","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"ItemBodgedWaterbottle","CfgMagazines",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,15 @@
|
||||
class Blueprint_nails : Recipe {
|
||||
displayName = "Metal Nails";
|
||||
input[] =
|
||||
{
|
||||
{"equip_metal_sheet","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"equip_nails","CfgMagazines",10}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,16 @@
|
||||
class Blueprint_woodenCraftTable : Recipe {
|
||||
displayName = $STR_ITEM_NAME_WOODENCRAFTTABLE;
|
||||
input[] =
|
||||
{
|
||||
{"PartWoodPile","CfgMagazines",1}
|
||||
//{"equip_nails","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"ItemcraftTable","CfgMagazines",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,16 @@
|
||||
class Blueprint_woodenFence : Recipe {
|
||||
displayName = $STR_ITEM_NAME_equip_crate;
|
||||
input[] =
|
||||
{
|
||||
{"ItemLog","CfgMagazines",2},
|
||||
{"ItemStone","CfgMagazines",3}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"equip_crate","CfgMagazines",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemEtool","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,16 @@
|
||||
class Blueprint_crate : Recipe {
|
||||
displayName = $STR_ITEM_NAME_equip_crate;
|
||||
input[] =
|
||||
{
|
||||
{"PartWoodPile","CfgMagazines",6},
|
||||
{"equip_nails","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"equip_crate","CfgMagazines",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,20 @@
|
||||
class Blueprint_TrapBearTrapFlare : Recipe {
|
||||
displayName = $STR_ITEM_NAME_BEAR_TRAP_FLARE;
|
||||
descriptionShort = $STR_ITEM_DESC_BEAR_TRAP_FLARE;
|
||||
input[] =
|
||||
{
|
||||
{"equip_string","CfgMagazines",1},
|
||||
{"TrapBear","CfgMagazines",1},
|
||||
{"PartWoodPile","CfgMagazines",1},
|
||||
{"equip_duct_tape","CfgMagazines",1},
|
||||
{"HandRoadFlare","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"ItemTrapBearTrapFlare","CfgMagazines",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,22 @@
|
||||
class Blueprint_TrapBearTrapSmoke : Recipe {
|
||||
displayName = $STR_ITEM_NAME_BEAR_TRAP_SMOKE;
|
||||
descriptionShort = $STR_ITEM_DESC_BEAR_TRAP_SMOKE;
|
||||
input[] =
|
||||
{
|
||||
{"equip_string","CfgMagazines",1},
|
||||
{"TrapBear","CfgMagazines",1},
|
||||
{"PartWoodPile","CfgMagazines",1},
|
||||
{"equip_duct_tape","CfgMagazines",1},
|
||||
{{"SmokeShell","CfgMagazines",1},
|
||||
{"SmokeShellRed","CfgMagazines",1},
|
||||
{"SmokeShellGreen","CfgMagazines",1}}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"ItemTrapBearTrapSmoke","CfgMagazines",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,45 @@
|
||||
class Blueprint_Trap_Cans : Recipe {
|
||||
displayName = $STR_ITEM_NAME_TRIPWIRE_CANS;
|
||||
descriptionShort = $STR_ITEM_DESC_TRIPWIRE_CANS;
|
||||
input[] =
|
||||
{
|
||||
{"equip_string","CfgMagazines",1},
|
||||
{"PartWoodPile","CfgMagazines",1},
|
||||
{{"TrashTinCan","CfgMagazines",1},
|
||||
// {"FoodCanLongSpratsEmpty","CfgMagazines",1},
|
||||
{"FoodCanBeefEmpty","CfgMagazines",1},
|
||||
{"FoodCanPotatoesEmpty","CfgMagazines",1},
|
||||
{"FoodCanGriffEmpty","CfgMagazines",1},
|
||||
{"FoodCanBadguyEmpty","CfgMagazines",1},
|
||||
{"FoodCanBoneboyEmpty","CfgMagazines",1},
|
||||
{"FoodCanCornEmpty","CfgMagazines",1},
|
||||
{"FoodCanCurgonEmpty","CfgMagazines",1},
|
||||
{"FoodCanDemonEmpty","CfgMagazines",1},
|
||||
{"FoodCanFraggleosEmpty","CfgMagazines",1},
|
||||
{"FoodCanHerpyEmpty","CfgMagazines",1},
|
||||
{"FoodCanDerpyEmpty","CfgMagazines",1},
|
||||
{"FoodCanOrlokEmpty","CfgMagazines",1},
|
||||
{"FoodCanPowellEmpty","CfgMagazines",1},
|
||||
{"FoodCanTylersEmpty","CfgMagazines",1},
|
||||
{"FoodCanUnlabeledEmpty","CfgMagazines",1},
|
||||
{"FoodCanRusUnlabeledEmpty","CfgMagazines",1},
|
||||
{"FoodCanRusStewEmpty","CfgMagazines",1},
|
||||
{"FoodCanRusPorkEmpty","CfgMagazines",1},
|
||||
{"FoodCanRusPeasEmpty","CfgMagazines",1},
|
||||
{"FoodCanRusMilkEmpty","CfgMagazines",1},
|
||||
{"FoodCanRusCornEmpty","CfgMagazines",1},
|
||||
{"FoodChipsSulahoopsEmpty","CfgMagazines",1},
|
||||
{"FoodChipsMysticalesEmpty","CfgMagazines",1},
|
||||
{"FoodChipsChocolateEmpty","CfgMagazines",1}}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"ItemTrapTripwireCans","CfgMagazines",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
class Blueprint_TrapTripwireFlare : Recipe {
|
||||
displayName = $STR_ITEM_NAME_TRIPWIRE_FLARE;
|
||||
descriptionShort = $STR_ITEM_DESC_TRIPWIRE_FLARE;
|
||||
input[] =
|
||||
{
|
||||
{"equip_string","CfgMagazines",1},
|
||||
{"PartWoodPile","CfgMagazines",1},
|
||||
{"equip_duct_tape","CfgMagazines",1},
|
||||
{"HandRoadFlare","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"ItemTrapTripwireFlare","CfgMagazines",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,20 @@
|
||||
class Blueprint_TrapTripwireGrenade : Recipe {
|
||||
displayName = $STR_ITEM_NAME_TRIPWIRE_GRENADE;
|
||||
descriptionShort = $STR_ITEM_DESC_TRIPWIRE_GRENADE;
|
||||
input[] =
|
||||
{
|
||||
{"equip_string","CfgMagazines",1},
|
||||
{"PartWoodPile","CfgMagazines",1},
|
||||
{"equip_duct_tape","CfgMagazines",1},
|
||||
{{"HandGrenade_West","CfgMagazines",1},
|
||||
{"HandGrenade_East","CfgMagazines",1}}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"ItemTrapTripwireGrenade","CfgMagazines",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,21 @@
|
||||
class Blueprint_TrapTripwireSmoke : Recipe {
|
||||
displayName = $STR_ITEM_NAME_TRIPWIRE_SMOKE;
|
||||
descriptionShort = $STR_ITEM_DESC_TRIPWIRE_SMOKE;
|
||||
input[] =
|
||||
{
|
||||
{"equip_string","CfgMagazines",1},
|
||||
{"PartWoodPile","CfgMagazines",1},
|
||||
{"equip_duct_tape","CfgMagazines",1},
|
||||
{{"SmokeShell","CfgMagazines",1},
|
||||
{"SmokeShellRed","CfgMagazines",1},
|
||||
{"SmokeShellGreen","CfgMagazines",1}}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"ItemTrapTripwireSmoke","CfgMagazines",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,18 @@
|
||||
class Blueprint_BaseBallBatBarbed : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_BaseBallBatBarbed;
|
||||
descriptionShort = $STR_CRAFT_DESC_BaseBallBatBarbed;
|
||||
input[] =
|
||||
{
|
||||
{"MeleeBaseBallBat","CfgWeapons",1},
|
||||
{"equip_nails","CfgMagazines",1},
|
||||
{"ItemWire","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"MeleeBaseBallBatBarbed","CfgWeapons",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,16 @@
|
||||
class Blueprint_Crossbow_Kit : Recipe {
|
||||
displayName = $STR_WPN_NAME_4;
|
||||
input[] =
|
||||
{
|
||||
{"equip_crossbow_Stock","CfgMagazines",1},
|
||||
{"equip_Crossbow_Kit","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"Crossbow_DZ","CfgWeapons",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,17 @@
|
||||
class Blueprint_G36A_camo : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_G36A_CAMO;
|
||||
descriptionShort = $STR_CRAFT_DESC_G36A_CAMO;
|
||||
input[] =
|
||||
{
|
||||
{"G36A","CfgWeapons",1},
|
||||
{"Attachment_CAMO","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"G36A_CAMO","CfgWeapons",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,17 @@
|
||||
class Blueprint_G36C_camo : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_G36C_CAMO;
|
||||
descriptionShort = $STR_CRAFT_DESC_G36C_CAMO;
|
||||
input[] =
|
||||
{
|
||||
{"G36C","CfgWeapons",1},
|
||||
{"Attachment_CAMO","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"G36C_CAMO","CfgWeapons",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,17 @@
|
||||
class Blueprint_G36K_camo : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_G36K_CAMO;
|
||||
descriptionShort = $STR_CRAFT_DESC_G36K_CAMO;
|
||||
input[] =
|
||||
{
|
||||
{"G36K","CfgWeapons",1},
|
||||
{"Attachment_CAMO","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"G36K_CAMO","CfgWeapons",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,19 @@
|
||||
class Blueprint_M4A1_AIM : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_M4A1_AIM;
|
||||
descriptionShort = $STR_CRAFT_DESC_M4A1_AIM;
|
||||
input[] =
|
||||
{
|
||||
{"M4A1","CfgWeapons",1},
|
||||
{"Attachment_AIM","CfgMagazines",1},
|
||||
{"equip_rail_screws","CfgMagazines",2},
|
||||
{"equip_weapon_rails","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"M4A1_AIM","CfgWeapons",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,17 @@
|
||||
class Blueprint_M4A1_Aim_CAMO : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_M4A1_Aim_CAMO;
|
||||
descriptionShort = $STR_CRAFT_DESC_M4A1_Aim_CAMO;
|
||||
input[] =
|
||||
{
|
||||
{"M4A1_Aim","CfgWeapons",1},
|
||||
{"Attachment_CAMO","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"M4A1_Aim_CAMO","CfgWeapons",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,17 @@
|
||||
class Blueprint_M4A1_HWS_GL_CAMO : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_M4A1_HWS_GL_CAMO;
|
||||
descriptionShort = $STR_CRAFT_DESC_M4A1_HWS_GL_CAMO;
|
||||
input[] =
|
||||
{
|
||||
{"M4A1_HWS_GL","CfgWeapons",1},
|
||||
{"Attachment_CAMO","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"M4A1_HWS_GL_CAMO","CfgWeapons",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,17 @@
|
||||
class Blueprint_M9SD : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_M9SD;
|
||||
descriptionShort = $STR_CRAFT_DESC_M9SD;
|
||||
input[] =
|
||||
{
|
||||
{"M9","CfgWeapons",1},
|
||||
{"Attachment_Silencer","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"M9SD","CfgWeapons",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,17 @@
|
||||
class Blueprint_MAKAROVSD : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_MAKAROVSD;
|
||||
descriptionShort = $STR_CRAFT_DESC_MAKAROVSD;
|
||||
input[] =
|
||||
{
|
||||
{"Makarov","CfgWeapons",1},
|
||||
{"Attachment_Silencer","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"MakarovSD","CfgWeapons",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,17 @@
|
||||
class Blueprint_NailedBaseballBat : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_NailedBaseballBat;
|
||||
descriptionShort = $STR_CRAFT_DESC_NailedBaseballBat;
|
||||
input[] =
|
||||
{
|
||||
{"MeleeBaseBallBat","CfgWeapons",1},
|
||||
{"equip_nails","CfgMagazines",2}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"MeleeBaseBallBatNails","CfgWeapons",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,20 @@
|
||||
class PipeBomb : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_PipeBomb;
|
||||
descriptionShort = $STR_CRAFT_DESC_PipeBomb;
|
||||
input[] =
|
||||
{
|
||||
{"equip_1inch_metal_pipe","CfgMagazines",1},
|
||||
{"equip_2inch_metal_pipe","CfgMagazines",1},
|
||||
{"equip_metal_sheet","CfgMagazines",1},
|
||||
{"equip_fuse","CfgMagazines",1},
|
||||
{"equip_pipecap","CfgMagazines",1],
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"PipeBomb","CfgMagazines",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,18 @@
|
||||
class Blueprint_SVD_CAMO : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_SVD_CAMO;
|
||||
descriptionShort = $STR_CRAFT_DESC_SVD_CAMO;
|
||||
input[] =
|
||||
{
|
||||
{"SVD_DZ","CfgWeapons",1},
|
||||
{"Skin_Sniper1_DZ","CfgMagazines",1},
|
||||
{"Attachment_CAMO","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"SVD_CAMO_DZ","CfgWeapons",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,17 @@
|
||||
class Blueprint_bizonSD : Recipe {
|
||||
displayName = $STR_CRAFT_NAME_bizonSD;
|
||||
descriptionShort = $STR_CRAFT_DESC_bizonSD;
|
||||
input[] =
|
||||
{
|
||||
{"bizon","CfgWeapons",1},
|
||||
{"Attachment_Silencer","CfgMagazines",1}
|
||||
};
|
||||
output[] =
|
||||
{
|
||||
{"bizon_silenced","CfgWeapons",1}
|
||||
};
|
||||
required[] =
|
||||
{
|
||||
{"ItemToolbox","CfgWeapons",1}
|
||||
};
|
||||
};
|
||||
@@ -18,7 +18,7 @@ class horde_journal_front_cover
|
||||
controls[] =
|
||||
{
|
||||
"book_page_image",
|
||||
"open_craft",
|
||||
//"open_craft", //crafting disabled for now
|
||||
"open_book",
|
||||
"click_here_to_close_book_1",
|
||||
"click_here_to_close_book_2",
|
||||
@@ -40,7 +40,7 @@ class horde_journal_front_cover
|
||||
};
|
||||
|
||||
// buttons
|
||||
|
||||
/* // crafting disabled for now
|
||||
class open_craft: RscIGUIShortcutButton {
|
||||
idc = -1;
|
||||
x = 0.48 * safezoneW + safezoneX;
|
||||
@@ -48,7 +48,7 @@ class horde_journal_front_cover
|
||||
text = $STR_UI_CRAFT_OPEN;
|
||||
action = "closeDialog 0; createDialog 'RscDisplayCraftingMenu';";
|
||||
};
|
||||
|
||||
*/
|
||||
class open_book: horde_RscButton
|
||||
{
|
||||
idc = 1900;
|
||||
@@ -81,7 +81,7 @@ class horde_journal_front_cover
|
||||
{
|
||||
idc = 1903;
|
||||
x = -0.0013379 * safezoneW + safezoneX;
|
||||
y = 0.832544 * safezoneH + safezoneY;
|
||||
y = 0.882544 * safezoneH + safezoneY;
|
||||
w = 1.04825 * safezoneW;
|
||||
h = 0.892618 * safezoneH;
|
||||
action = "playSound 'horde_sound_close_book'; closeDialog 0;";
|
||||
|
||||
@@ -47,7 +47,7 @@ class horde_journal_pages_humanity_art
|
||||
class left_page_middle: horde_RscPicture
|
||||
{
|
||||
idc = 1201;
|
||||
text = "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_bandit_middle_1.paa";
|
||||
//text = "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_bandit_middle_1.paa";
|
||||
x = 0.209053 * safezoneW + safezoneX;
|
||||
y = 0.27261 * safezoneH + safezoneY;
|
||||
w = 0.282496 * safezoneW;
|
||||
@@ -56,7 +56,7 @@ class horde_journal_pages_humanity_art
|
||||
class left_page_bottom: horde_RscPicture
|
||||
{
|
||||
idc = 1202;
|
||||
text = "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_bandit_bottom_1.paa";
|
||||
//text = "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_bandit_bottom_1.paa";
|
||||
x = 0.203156 * safezoneW + safezoneX;
|
||||
y = 0.468726 * safezoneH + safezoneY;
|
||||
w = 0.291609 * safezoneW;
|
||||
@@ -65,7 +65,7 @@ class horde_journal_pages_humanity_art
|
||||
class left_page_top: horde_RscPicture
|
||||
{
|
||||
idc = 1203;
|
||||
text = "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_bandit_top_1.paa";
|
||||
//text = "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_bandit_top_1.paa";
|
||||
x = 0.209111 * safezoneW + safezoneX;
|
||||
y = 0.0901794 * safezoneH + safezoneY;
|
||||
w = 0.291609 * safezoneW;
|
||||
@@ -77,7 +77,7 @@ class horde_journal_pages_humanity_art
|
||||
class right_page_picture: horde_RscPicture
|
||||
{
|
||||
idc = 1204;
|
||||
text = "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_bandit_3.paa";
|
||||
//text = "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_bandit_3.paa";
|
||||
x = 0.43621 * safezoneW + safezoneX;
|
||||
y = 0.167545 * safezoneH + safezoneY;
|
||||
w = 0.419188 * safezoneW;
|
||||
|
||||
@@ -3,7 +3,7 @@ class RscListNBox;
|
||||
class RscDisplayCraftingMenu {
|
||||
idd = 6903;
|
||||
enableDisplay = 1;
|
||||
onLoad = "uiNamespace setVariable ['DAYZ_CraftingDialog', _this select 0]; ['init'] call fn_updateCraftUI;";
|
||||
onLoad = "uiNamespace setVariable ['DAYZ_CraftingDialog', _this select 0]; ['initcrafting'] call fn_updateCraftUI;";
|
||||
onUnload = "['close'] call fn_updateCraftUI;";
|
||||
|
||||
class Controls
|
||||
@@ -90,6 +90,15 @@ class RscDisplayCraftingMenu {
|
||||
text = $STR_UI_START_CRAFTING;
|
||||
action = "['craft'] call fn_updateCraftUI;";
|
||||
};
|
||||
/*
|
||||
class ConstructionButton: RscIGUIShortcutButton {
|
||||
idc = 430;
|
||||
x = 0.631 * safezoneW + safezoneX;
|
||||
y = 0.744 * safezoneH + safezoneY;
|
||||
text = "Construction";
|
||||
action = "['construction'] call fn_updateCraftUI;";
|
||||
};
|
||||
*/
|
||||
|
||||
class craftingslot01: RscPicture
|
||||
{
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
private "_name";
|
||||
//Let Zeds know
|
||||
[player,4,true,(getPosATL player)] spawn player_alertZombies;
|
||||
|
||||
//display gui (temp hint)
|
||||
_name = if (alive player) then {name player;} else {"Dead Player";};
|
||||
hintSilent parseText format ["
|
||||
<t size='1.20' font='Bitstream' color='#5882FA'>%1</t><br/><br/>
|
||||
<t size='1.20' font='Bitstream' color='#5882FA'>Survived %7 Days</t><br/><br/>
|
||||
<t size='1.15' font='Bitstream' align='left'>Zombies Killed: </t><t size='1.15' font='Bitstream' align='right'>%2</t><br/>
|
||||
<t size='1.15' font='Bitstream' align='left'>Headshots: </t><t size='1.15' font='Bitstream' align='right'>%3</t><br/>
|
||||
<t size='1.15' font='Bitstream' align='left'>Murders: </t><t size='1.15' font='Bitstream' align='right'>%4</t><br/>
|
||||
<t size='1.15' font='Bitstream' align='left'>Bandits Killed: </t><t size='1.15' font='Bitstream' align='right'>%5</t><br/><br/>
|
||||
<t size='1.15' font='Bitstream' align='left'>Humanity: </t><t size='1.15' font='Bitstream' align='right'>%6</t><br/><br/>",
|
||||
(_name),
|
||||
(player getVariable['zombieKills', 0]),
|
||||
(player getVariable['headShots', 0]),
|
||||
(player getVariable['humanKills', 0]),
|
||||
(player getVariable['banditKills', 0]),
|
||||
(player getVariable['humanity', 0]),
|
||||
(dayz_Survived)
|
||||
];
|
||||
|
||||
/*
|
||||
player createDiarySubject ["MyDiary","My Diary"];
|
||||
player createDiaryRecord ["MyDiary",["Stats", "Zombies Killed: <execute expression='player getVariable['zombieKills', 0]'</execute>"]];
|
||||
player createDiaryRecord ["MyDiary",["Stats", "Headshots: <execute expression='player getVariable['headShots', 0]'</execute>"]];
|
||||
player createDiaryRecord ["MyDiary",["Stats", "Murders: <execute expression='player getVariable['humanKills', 0]'</execute>"]];
|
||||
player createDiaryRecord ["MyDiary",["Stats", "Bandits Killed: <execute expression='player getVariable['banditKills', 0]'</execute>"]];
|
||||
player createDiaryRecord ["MyDiary",["Stats", "Humanity: <execute expression='player getVariable['humanity', 0]'</execute>"]];
|
||||
*/
|
||||
@@ -0,0 +1,387 @@
|
||||
/********************************************************************************************************************/
|
||||
// Function file for [DayZ]
|
||||
// Created by: [Horde]
|
||||
//********************************************************************************************************************/
|
||||
|
||||
|
||||
private ["_h_human_disp","_top_value","_bot_value","_card_details","_h","_blank","_bandit_pic","_bandit_pic","_b_human_disp","_b_spades_top_suit","_b_spades_bot_suit","_b_clubs_top_suit","_b_clubs_bot_suit","_survivor_pic","_survivor_pic","_s_human_disp","_s_top_joker_b","_s_bot_joker_b","_s_top_joker_r","_s_bot_joker_r","_hero_pic","_hero_pic","_h_hearts_top_suit","_h_hearts_bot_suit","_h_diamonds_top_suit","_h_diamonds_bot_suit"];
|
||||
_h = (_this select 0) / 37037.037037;
|
||||
|
||||
// we need to return these
|
||||
/*
|
||||
_pl_pic
|
||||
_humanity_readout
|
||||
_top_joker
|
||||
_bot_joker
|
||||
_top_value
|
||||
_bot_value
|
||||
_top_suit
|
||||
_bot_suit
|
||||
*/
|
||||
_blank = "<img size = '4' color = '#000000' align = 'left' image = '\z\addons\dayz_communityassets\pictures\playerstats\tally\0.paa'/>";
|
||||
|
||||
_b_human_disp = "<t size = '2' font = 'Zeppelin33' color = '#000000' shadow = 'false' align = 'center' underline = 'false'>"+(localize "str_playerstats_bandit")+"</t";
|
||||
_b_spades_top_suit = "<img size = '3' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\spade.paa'/>";
|
||||
_b_spades_bot_suit = "<img size = '3' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\spade_u.paa'/>";
|
||||
_b_clubs_top_suit = "<img size = '3' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\club.paa'/>";
|
||||
_b_clubs_bot_suit = "<img size = '3' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\club_u.paa'/>";
|
||||
|
||||
_s_human_disp = "<t size = '2' font = 'Zeppelin33' color = '#000000' shadow = 'false' align = 'center' underline = 'false'>"+(localize "str_playerstats_survivor")+"</t";
|
||||
_s_top_joker_b = "<img size = '11' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\joker\joker_black.paa'/>";
|
||||
_s_bot_joker_b = "<img size = '11' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\joker\joker_black_u.paa'/>";
|
||||
_s_top_joker_r = "<img size = '11' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\joker\joker_red.paa'/>";
|
||||
_s_bot_joker_r = "<img size = '11' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\joker\joker_red_u.paa'/>";
|
||||
|
||||
_h_hearts_top_suit = "<img size = '3' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\heart.paa'/>";
|
||||
_h_hearts_bot_suit = "<img size = '3' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\heart_u.paa'/>";
|
||||
_h_diamonds_top_suit = "<img size = '3' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\diamond.paa'/>";
|
||||
_h_diamonds_bot_suit = "<img size = '3' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\diamond_u.paa'/>";
|
||||
|
||||
if (getText(configFile >> "cfgVehicles" >> (typeOf player) >> "TextPlural") != "Women") then
|
||||
{
|
||||
_h_human_disp = "<t size = '2' font = 'Zeppelin33' color = '#000000' shadow = 'false' align = 'center' underline = 'false'>"+(localize "str_playerstats_hero")+"</t";
|
||||
_bandit_pic = "<img size = '14' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\face\bandit_m.paa'/>";
|
||||
_survivor_pic = "<img size = '14' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\face\survivor_m.paa'/>";
|
||||
_hero_pic = "<img size = '14' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\face\hero_m.paa'/>";
|
||||
} else
|
||||
{
|
||||
_h_human_disp = "<t size = '2' font = 'Zeppelin33' color = '#000000' shadow = 'false' align = 'center' underline = 'false'>"+(localize "str_playerstats_heroine")+"</t";
|
||||
_bandit_pic = "<img size = '14' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\face\bandit_f.paa'/>";
|
||||
_survivor_pic = "<img size = '14' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\face\survivor_f.paa'/>";
|
||||
_hero_pic = "<img size = '14' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\face\hero_f.paa'/>";
|
||||
};
|
||||
|
||||
_card_details = [];
|
||||
|
||||
switch (true) do
|
||||
{
|
||||
case (_h < -27):
|
||||
{
|
||||
_top_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\ace.paa'/>";
|
||||
_bot_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\ace_u.paa'/>";
|
||||
_card_details = [_bandit_pic, _b_human_disp, _blank, _blank, _top_value, _bot_value, _b_spades_top_suit, _b_spades_bot_suit];
|
||||
};
|
||||
case (_h < -26):
|
||||
{
|
||||
_top_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\king.paa'/>";
|
||||
_bot_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\king_u.paa'/>";
|
||||
_card_details = [_bandit_pic, _b_human_disp, _blank, _blank, _top_value, _bot_value, _b_spades_top_suit, _b_spades_bot_suit];
|
||||
};
|
||||
case (_h < -25):
|
||||
{
|
||||
_top_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\queen.paa'/>";
|
||||
_bot_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\queen_u.paa'/>";
|
||||
_card_details = [_bandit_pic, _b_human_disp, _blank, _blank, _top_value, _bot_value, _b_spades_top_suit, _b_spades_bot_suit];
|
||||
};
|
||||
case (_h < -24):
|
||||
{
|
||||
_top_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\jack.paa'/>";
|
||||
_bot_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\jack_u.paa'/>";
|
||||
_card_details = [_bandit_pic, _b_human_disp, _blank, _blank, _top_value, _bot_value, _b_spades_top_suit, _b_spades_bot_suit];
|
||||
};
|
||||
case (_h < -23):
|
||||
{
|
||||
_top_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\10.paa'/>";
|
||||
_bot_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\10_u.paa'/>";
|
||||
_card_details = [_bandit_pic, _b_human_disp, _blank, _blank, _top_value, _bot_value, _b_spades_top_suit, _b_spades_bot_suit];
|
||||
};
|
||||
case (_h < -22):
|
||||
{
|
||||
_top_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\9.paa'/>";
|
||||
_bot_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\9_u.paa'/>";
|
||||
_card_details = [_bandit_pic, _b_human_disp, _blank, _blank, _top_value, _bot_value, _b_spades_top_suit, _b_spades_bot_suit];
|
||||
};
|
||||
case (_h < -21):
|
||||
{
|
||||
_top_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\8.paa'/>";
|
||||
_bot_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\8_u.paa'/>";
|
||||
_card_details = [_bandit_pic, _b_human_disp, _blank, _blank, _top_value, _bot_value, _b_spades_top_suit, _b_spades_bot_suit];
|
||||
};
|
||||
case (_h < -20):
|
||||
{
|
||||
_top_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\7.paa'/>";
|
||||
_bot_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\7_u.paa'/>";
|
||||
_card_details = [_bandit_pic, _b_human_disp, _blank, _blank, _top_value, _bot_value, _b_spades_top_suit, _b_spades_bot_suit];
|
||||
};
|
||||
case (_h < -19):
|
||||
{
|
||||
_top_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\6.paa'/>";
|
||||
_bot_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\6_u.paa'/>";
|
||||
_card_details = [_bandit_pic, _b_human_disp, _blank, _blank, _top_value, _bot_value, _b_spades_top_suit, _b_spades_bot_suit];
|
||||
};
|
||||
case (_h < -18):
|
||||
{
|
||||
_top_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\5.paa'/>";
|
||||
_bot_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\5_u.paa'/>";
|
||||
_card_details = [_bandit_pic, _b_human_disp, _blank, _blank, _top_value, _bot_value, _b_spades_top_suit, _b_spades_bot_suit];
|
||||
};
|
||||
case (_h < -17):
|
||||
{
|
||||
_top_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\4.paa'/>";
|
||||
_bot_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\4_u.paa'/>";
|
||||
_card_details = [_bandit_pic, _b_human_disp, _blank, _blank, _top_value, _bot_value, _b_spades_top_suit, _b_spades_bot_suit];
|
||||
};
|
||||
case (_h < -16):
|
||||
{
|
||||
_top_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\3.paa'/>";
|
||||
_bot_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\3_u.paa'/>";
|
||||
_card_details = [_bandit_pic, _b_human_disp, _blank, _blank, _top_value, _bot_value, _b_spades_top_suit, _b_spades_bot_suit];
|
||||
};
|
||||
case (_h < -15):
|
||||
{
|
||||
_top_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\2.paa'/>";
|
||||
_bot_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\2_u.paa'/>";
|
||||
_card_details = [_bandit_pic, _b_human_disp, _blank, _blank, _top_value, _bot_value, _b_spades_top_suit, _b_spades_bot_suit];
|
||||
};
|
||||
|
||||
case (_h < -14):
|
||||
{
|
||||
_top_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\ace.paa'/>";
|
||||
_bot_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\ace_u.paa'/>";
|
||||
_card_details = [_bandit_pic, _b_human_disp, _blank, _blank, _top_value, _bot_value, _b_clubs_top_suit, _b_clubs_bot_suit];
|
||||
};
|
||||
case (_h < -13):
|
||||
{
|
||||
_top_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\king.paa'/>";
|
||||
_bot_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\king_u.paa'/>";
|
||||
_card_details = [_bandit_pic, _b_human_disp, _blank, _blank, _top_value, _bot_value, _b_clubs_top_suit, _b_clubs_bot_suit];
|
||||
};
|
||||
case (_h < -12):
|
||||
{
|
||||
_top_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\queen.paa'/>";
|
||||
_bot_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\queen_u.paa'/>";
|
||||
_card_details = [_bandit_pic, _b_human_disp, _blank, _blank, _top_value, _bot_value, _b_clubs_top_suit, _b_clubs_bot_suit];
|
||||
};
|
||||
case (_h < -11):
|
||||
{
|
||||
_top_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\jack.paa'/>";
|
||||
_bot_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\jack_u.paa'/>";
|
||||
_card_details = [_bandit_pic, _b_human_disp, _blank, _blank, _top_value, _bot_value, _b_clubs_top_suit, _b_clubs_bot_suit];
|
||||
};
|
||||
case (_h < -10):
|
||||
{
|
||||
_top_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\10.paa'/>";
|
||||
_bot_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\10_u.paa'/>";
|
||||
_card_details = [_bandit_pic, _b_human_disp, _blank, _blank, _top_value, _bot_value, _b_clubs_top_suit, _b_clubs_bot_suit];
|
||||
};
|
||||
case (_h < -9):
|
||||
{
|
||||
_top_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\9.paa'/>";
|
||||
_bot_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\9_u.paa'/>";
|
||||
_card_details = [_bandit_pic, _b_human_disp, _blank, _blank, _top_value, _bot_value, _b_clubs_top_suit, _b_clubs_bot_suit];
|
||||
};
|
||||
case (_h < -8):
|
||||
{
|
||||
_top_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\8.paa'/>";
|
||||
_bot_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\8_u.paa'/>";
|
||||
_card_details = [_bandit_pic, _b_human_disp, _blank, _blank, _top_value, _bot_value, _b_clubs_top_suit, _b_clubs_bot_suit];
|
||||
};
|
||||
case (_h < -7):
|
||||
{
|
||||
_top_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\7.paa'/>";
|
||||
_bot_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\7_u.paa'/>";
|
||||
_card_details = [_bandit_pic, _b_human_disp, _blank, _blank, _top_value, _bot_value, _b_clubs_top_suit, _b_clubs_bot_suit];
|
||||
};
|
||||
case (_h < -6):
|
||||
{
|
||||
_top_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\6.paa'/>";
|
||||
_bot_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\6_u.paa'/>";
|
||||
_card_details = [_bandit_pic, _b_human_disp, _blank, _blank, _top_value, _bot_value, _b_clubs_top_suit, _b_clubs_bot_suit];
|
||||
};
|
||||
case (_h < -5):
|
||||
{
|
||||
_top_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\5.paa'/>";
|
||||
_bot_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\5_u.paa'/>";
|
||||
_card_details = [_bandit_pic, _b_human_disp, _blank, _blank, _top_value, _bot_value, _b_clubs_top_suit, _b_clubs_bot_suit];
|
||||
};
|
||||
case (_h < -4):
|
||||
{
|
||||
_top_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\4.paa'/>";
|
||||
_bot_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\4_u.paa'/>";
|
||||
_card_details = [_bandit_pic, _b_human_disp, _blank, _blank, _top_value, _bot_value, _b_clubs_top_suit, _b_clubs_bot_suit];
|
||||
};
|
||||
case (_h < -3):
|
||||
{
|
||||
_top_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\3.paa'/>";
|
||||
_bot_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\3_u.paa'/>";
|
||||
_card_details = [_bandit_pic, _b_human_disp, _blank, _blank, _top_value, _bot_value, _b_clubs_top_suit, _b_clubs_bot_suit];
|
||||
};
|
||||
case (_h < -0.135):
|
||||
{
|
||||
_top_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\2.paa'/>";
|
||||
_bot_value = "<img size = '5' color = '#000000' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_black\2_u.paa'/>";
|
||||
_card_details = [_bandit_pic, _b_human_disp, _blank, _blank, _top_value, _bot_value, _b_clubs_top_suit, _b_clubs_bot_suit];
|
||||
};
|
||||
|
||||
case (_h < 0):
|
||||
{
|
||||
_top_value = "<img size = '4' color = '#000000' align = 'left' image = '\z\addons\dayz_communityassets\pictures\playerstats\tally\0.paa'/>";
|
||||
_card_details = [_survivor_pic, _s_human_disp, _s_top_joker_b, _s_bot_joker_b, _blank, _blank, _blank, _blank];
|
||||
};
|
||||
|
||||
case (_h < 0.135):
|
||||
{
|
||||
_top_value = "<img size = '4' color = '#000000' align = 'left' image = '\z\addons\dayz_communityassets\pictures\playerstats\tally\0.paa'/>";
|
||||
_card_details = [_survivor_pic, _s_human_disp, _s_top_joker_r, _s_bot_joker_r, _blank, _blank, _blank, _blank];
|
||||
};
|
||||
|
||||
case (_h < 3):
|
||||
{
|
||||
_top_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\2.paa'/>";
|
||||
_bot_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\2_u.paa'/>";
|
||||
_card_details = [_hero_pic, _h_human_disp, _blank, _blank, _top_value, _bot_value, _h_hearts_top_suit, _h_hearts_bot_suit];
|
||||
};
|
||||
case (_h < 4):
|
||||
{
|
||||
_top_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\3.paa'/>";
|
||||
_bot_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\3_u.paa'/>";
|
||||
_card_details = [_hero_pic, _h_human_disp, _blank, _blank, _top_value, _bot_value, _h_hearts_top_suit, _h_hearts_bot_suit];
|
||||
};
|
||||
case (_h < 5):
|
||||
{
|
||||
_top_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\4.paa'/>";
|
||||
_bot_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\4_u.paa'/>";
|
||||
_card_details = [_hero_pic, _h_human_disp, _blank, _blank, _top_value, _bot_value, _h_hearts_top_suit, _h_hearts_bot_suit];
|
||||
};
|
||||
case (_h < 6):
|
||||
{
|
||||
_top_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\5.paa'/>";
|
||||
_bot_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\5_u.paa'/>";
|
||||
_card_details = [_hero_pic, _h_human_disp, _blank, _blank, _top_value, _bot_value, _h_hearts_top_suit, _h_hearts_bot_suit];
|
||||
};
|
||||
case (_h < 7):
|
||||
{
|
||||
_top_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\6.paa'/>";
|
||||
_bot_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\6_u.paa'/>";
|
||||
_card_details = [_hero_pic, _h_human_disp, _blank, _blank, _top_value, _bot_value, _h_hearts_top_suit, _h_hearts_bot_suit];
|
||||
};
|
||||
case (_h < 8):
|
||||
{
|
||||
_top_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\7.paa'/>";
|
||||
_bot_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\7_u.paa'/>";
|
||||
_card_details = [_hero_pic, _h_human_disp, _blank, _blank, _top_value, _bot_value, _h_hearts_top_suit, _h_hearts_bot_suit];
|
||||
};
|
||||
case (_h < 9):
|
||||
{
|
||||
_top_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\8.paa'/>";
|
||||
_bot_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\8_u.paa'/>";
|
||||
_card_details = [_hero_pic, _h_human_disp, _blank, _blank, _top_value, _bot_value, _h_hearts_top_suit, _h_hearts_bot_suit];
|
||||
};
|
||||
case (_h < 10):
|
||||
{
|
||||
_top_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\9.paa'/>";
|
||||
_bot_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\9_u.paa'/>";
|
||||
_card_details = [_hero_pic, _h_human_disp, _blank, _blank, _top_value, _bot_value, _h_hearts_top_suit, _h_hearts_bot_suit];
|
||||
};
|
||||
case (_h < 11):
|
||||
{
|
||||
_top_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\10.paa'/>";
|
||||
_bot_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\10_u.paa'/>";
|
||||
_card_details = [_hero_pic, _h_human_disp, _blank, _blank, _top_value, _bot_value, _h_hearts_top_suit, _h_hearts_bot_suit];
|
||||
};
|
||||
case (_h < 12):
|
||||
{
|
||||
_top_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\jack.paa'/>";
|
||||
_bot_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\jack_u.paa'/>";
|
||||
_card_details = [_hero_pic, _h_human_disp, _blank, _blank, _top_value, _bot_value, _h_hearts_top_suit, _h_hearts_bot_suit];
|
||||
};
|
||||
case (_h < 13):
|
||||
{
|
||||
_top_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\queen.paa'/>";
|
||||
_bot_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\queen_u.paa'/>";
|
||||
_card_details = [_hero_pic, _h_human_disp, _blank, _blank, _top_value, _bot_value, _h_hearts_top_suit, _h_hearts_bot_suit];
|
||||
};
|
||||
case (_h < 14):
|
||||
{
|
||||
_top_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\king.paa'/>";
|
||||
_bot_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\king_u.paa'/>";
|
||||
_card_details = [_hero_pic, _h_human_disp, _blank, _blank, _top_value, _bot_value, _h_hearts_top_suit, _h_hearts_bot_suit];
|
||||
};
|
||||
case (_h < 15):
|
||||
{
|
||||
_top_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\ace.paa'/>";
|
||||
_bot_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\ace_u.paa'/>";
|
||||
_card_details = [_hero_pic, _h_human_disp, _blank, _blank, _top_value, _bot_value, _h_hearts_top_suit, _h_hearts_bot_suit];
|
||||
};
|
||||
|
||||
case (_h < 16):
|
||||
{
|
||||
_top_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\2.paa'/>";
|
||||
_bot_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\2_u.paa'/>";
|
||||
_card_details = [_hero_pic, _h_human_disp, _blank, _blank, _top_value, _bot_value, _h_diamonds_top_suit, _h_diamonds_bot_suit];
|
||||
};
|
||||
case (_h < 17):
|
||||
{
|
||||
_top_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\3.paa'/>";
|
||||
_bot_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\3_u.paa'/>";
|
||||
_card_details = [_hero_pic, _h_human_disp, _blank, _blank, _top_value, _bot_value, _h_diamonds_top_suit, _h_diamonds_bot_suit];
|
||||
};
|
||||
case (_h < 18):
|
||||
{
|
||||
_top_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\4.paa'/>";
|
||||
_bot_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\4_u.paa'/>";
|
||||
_card_details = [_hero_pic, _h_human_disp, _blank, _blank, _top_value, _bot_value, _h_diamonds_top_suit, _h_diamonds_bot_suit];
|
||||
};
|
||||
case (_h < 19):
|
||||
{
|
||||
_top_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\5.paa'/>";
|
||||
_bot_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\5_u.paa'/>";
|
||||
_card_details = [_hero_pic, _h_human_disp, _blank, _blank, _top_value, _bot_value, _h_diamonds_top_suit, _h_diamonds_bot_suit];
|
||||
};
|
||||
case (_h < 20):
|
||||
{
|
||||
_top_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\6.paa'/>";
|
||||
_bot_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\6_u.paa'/>";
|
||||
_card_details = [_hero_pic, _h_human_disp, _blank, _blank, _top_value, _bot_value, _h_diamonds_top_suit, _h_diamonds_bot_suit];
|
||||
};
|
||||
case (_h < 21):
|
||||
{
|
||||
_top_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\7.paa'/>";
|
||||
_bot_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\7_u.paa'/>";
|
||||
_card_details = [_hero_pic, _h_human_disp, _blank, _blank, _top_value, _bot_value, _h_diamonds_top_suit, _h_diamonds_bot_suit];
|
||||
};
|
||||
case (_h < 22):
|
||||
{
|
||||
_top_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\8.paa'/>";
|
||||
_bot_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\8_u.paa'/>";
|
||||
_card_details = [_hero_pic, _h_human_disp, _blank, _blank, _top_value, _bot_value, _h_diamonds_top_suit, _h_diamonds_bot_suit];
|
||||
};
|
||||
case (_h < 23):
|
||||
{
|
||||
_top_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\9.paa'/>";
|
||||
_bot_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\9_u.paa'/>";
|
||||
_card_details = [_hero_pic, _h_human_disp, _blank, _blank, _top_value, _bot_value, _h_diamonds_top_suit, _h_diamonds_bot_suit];
|
||||
};
|
||||
case (_h < 24):
|
||||
{
|
||||
_top_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\10.paa'/>";
|
||||
_bot_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\10_u.paa'/>";
|
||||
_card_details = [_hero_pic, _h_human_disp, _blank, _blank, _top_value, _bot_value, _h_diamonds_top_suit, _h_diamonds_bot_suit];
|
||||
};
|
||||
case (_h < 25):
|
||||
{
|
||||
_top_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\jack.paa'/>";
|
||||
_bot_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\jack_u.paa'/>";
|
||||
_card_details = [_hero_pic, _h_human_disp, _blank, _blank, _top_value, _bot_value, _h_diamonds_top_suit, _h_diamonds_bot_suit];
|
||||
};
|
||||
case (_h < 26):
|
||||
{
|
||||
_top_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\queen.paa'/>";
|
||||
_bot_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\queen_u.paa'/>";
|
||||
_card_details = [_hero_pic, _h_human_disp, _blank, _blank, _top_value, _bot_value, _h_diamonds_top_suit, _h_diamonds_bot_suit];
|
||||
};
|
||||
case (_h < 27):
|
||||
{
|
||||
_top_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\king.paa'/>";
|
||||
_bot_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\king_u.paa'/>";
|
||||
_card_details = [_hero_pic, _h_human_disp, _blank, _blank, _top_value, _bot_value, _h_diamonds_top_suit, _h_diamonds_bot_suit];
|
||||
};
|
||||
case (_h >= 27):
|
||||
{
|
||||
_top_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\ace.paa'/>";
|
||||
_bot_value = "<img size = '5' align = 'center' image = '\z\addons\dayz_communityassets\pictures\playerstats\cards\typeface_red\ace_u.paa'/>";
|
||||
_card_details = [_hero_pic, _h_human_disp, _blank, _blank, _top_value, _bot_value, _h_diamonds_top_suit, _h_diamonds_bot_suit];
|
||||
};
|
||||
};
|
||||
|
||||
_card_details
|
||||
@@ -0,0 +1,70 @@
|
||||
|
||||
|
||||
private ["_hum","_h","_humanity","_pl_pic","_humanity_readout","_top_joker","_bot_joker","_top_value","_bot_value","_top_suit","_bot_suit","_pl_name"];
|
||||
|
||||
//check humanity
|
||||
|
||||
_h = player getVariable["humanity", 0];
|
||||
|
||||
/*
|
||||
|
||||
IDC's
|
||||
1201 // middle
|
||||
1202 // bottom
|
||||
1203 // top
|
||||
1204 // pic on right hand page
|
||||
|
||||
*/
|
||||
|
||||
switch (true) do
|
||||
{
|
||||
case (_h < -666666):
|
||||
{
|
||||
ctrlSetText [1201, "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_bandit_middle_1.paa"];
|
||||
ctrlSetText [1202, "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_bandit_bottom_1.paa"];
|
||||
ctrlSetText [1203, "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_bandit_top_1.paa"];
|
||||
ctrlSetText [1204, "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_bandit_3.paa"];
|
||||
};
|
||||
case (_h < -333333):
|
||||
{
|
||||
ctrlSetText [1201, "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_bandit_middle_1.paa"];
|
||||
ctrlSetText [1202, ""];
|
||||
ctrlSetText [1203, "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_bandit_top_1.paa"];
|
||||
ctrlSetText [1204, "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_bandit_2.paa"];
|
||||
};
|
||||
case (_h < -1999):
|
||||
{
|
||||
ctrlSetText [1201, "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_bandit_middle_1.paa"];
|
||||
ctrlSetText [1202, ""];
|
||||
ctrlSetText [1203, ""];
|
||||
ctrlSetText [1204, "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_bandit_1.paa"];
|
||||
};
|
||||
case (_h < 5000):
|
||||
{
|
||||
ctrlSetText [1201, ""];
|
||||
ctrlSetText [1202, ""];
|
||||
ctrlSetText [1203, ""];
|
||||
ctrlSetText [1204, ""];
|
||||
};
|
||||
case (_h < 333333):
|
||||
{
|
||||
ctrlSetText [1201, "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_heropic_middle_1.paa"];
|
||||
ctrlSetText [1202, ""];
|
||||
ctrlSetText [1203, ""];
|
||||
ctrlSetText [1204, "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_hero_1.paa"];
|
||||
};
|
||||
case (_h < 666666):
|
||||
{
|
||||
ctrlSetText [1201, "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_heropic_middle_1.paa"];
|
||||
ctrlSetText [1202, ""];
|
||||
ctrlSetText [1203, "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_heropic_top_1.paa"];
|
||||
ctrlSetText [1204, "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_hero_2.paa"];
|
||||
};
|
||||
case (_h >= 666666):
|
||||
{
|
||||
ctrlSetText [1201, "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_heropic_middle_1.paa"];
|
||||
ctrlSetText [1202, "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_heropic_bottom_1.paa"];
|
||||
ctrlSetText [1203, "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_heropic_top_1.paa"];
|
||||
ctrlSetText [1204, "\z\addons\dayz_communityassets\pictures\playerstats\humanity\humanity_hero_3.paa"];
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,305 @@
|
||||
private ["_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 = playersNumber west;
|
||||
|
||||
_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;
|
||||
|
||||
/*
|
||||
if (player hasWeapon "ItemWatch") then
|
||||
{
|
||||
if (dayz_Survived == Dayz_logonDate) then // only interested if the same - assume server will only run over one day before restart
|
||||
{
|
||||
switch (true) do
|
||||
{
|
||||
case (Dayz_logonTime > 20): {_2 = (localize "str_playerstats_journal_1_a")};
|
||||
case (Dayz_logonTime > 17): {_2 = (localize "str_playerstats_journal_1_b")};
|
||||
case (Dayz_logonTime > 12): {_2 = (localize "str_playerstats_journal_1_c")};
|
||||
default {_2 = (localize "str_playerstats_journal_1_d")};
|
||||
};
|
||||
} else
|
||||
{
|
||||
switch (true) do
|
||||
{
|
||||
case (Dayz_logonTime > 20): {_2 = (localize "str_playerstats_journal_1_e")};
|
||||
case (Dayz_logonTime > 17): {_2 = (localize "str_playerstats_journal_1_f")};
|
||||
case (Dayz_logonTime > 12): {_2 = (localize "str_playerstats_journal_1_g")};
|
||||
default {_2 = (localize "str_playerstats_journal_1_h")};
|
||||
};
|
||||
};
|
||||
} else
|
||||
{
|
||||
_2 = (localize "str_playerstats_journal_1_i");
|
||||
};
|
||||
|
||||
_3 = Dayz_logonTown;
|
||||
|
||||
_4 = worldName;
|
||||
|
||||
_ys = str (date select 0);
|
||||
_ms = "";
|
||||
_ds = str (date select 2);
|
||||
|
||||
switch (true) do
|
||||
{
|
||||
case (date select 1 == 1):{_ms = (localize "str_playerstats_journal_month_1")};
|
||||
case (date select 1 == 2):{_ms = (localize "str_playerstats_journal_month_2")};
|
||||
case (date select 1 == 3):{_ms = (localize "str_playerstats_journal_month_3")};
|
||||
case (date select 1 == 4):{_ms = (localize "str_playerstats_journal_month_4")};
|
||||
case (date select 1 == 5):{_ms = (localize "str_playerstats_journal_month_5")};
|
||||
case (date select 1 == 6):{_ms = (localize "str_playerstats_journal_month_6")};
|
||||
case (date select 1 == 7):{_ms = (localize "str_playerstats_journal_month_7")};
|
||||
case (date select 1 == 8):{_ms = (localize "str_playerstats_journal_month_8")};
|
||||
case (date select 1 == 9):{_ms = (localize "str_playerstats_journal_month_9")};
|
||||
case (date select 1 == 10):{_ms =(localize "str_playerstats_journal_month_10")};
|
||||
case (date select 1 == 11):{_ms =(localize "str_playerstats_journal_month_11")};
|
||||
case (date select 1 == 12):{_ms =(localize "str_playerstats_journal_month_12")};
|
||||
};
|
||||
|
||||
_5 = format[localize "str_playerstats_journal_2_date", _ds, _ms, _ys];
|
||||
|
||||
// can't test dayz_Survived at home
|
||||
|
||||
switch (true) do
|
||||
{
|
||||
case (dayz_Survived == 0): {_6 = (localize "str_playerstats_journal_2_info_1")};
|
||||
case (dayz_Survived == 1): {_6 = (localize "str_playerstats_journal_2_info_2")};
|
||||
case (dayz_Survived > 1): {_6 = format [localize "str_playerstats_journal_2_info_3", dayz_Survived]};
|
||||
default {};
|
||||
};
|
||||
|
||||
switch (true) do
|
||||
{
|
||||
case (!r_fracture_legs and !r_fracture_arms): {_7 = (localize "str_playerstats_journal_3_1")};
|
||||
case (r_fracture_legs and r_fracture_arms): {_7 = (localize "str_playerstats_journal_3_2")};
|
||||
case (r_fracture_legs): {_7 = (localize "str_playerstats_journal_3_3")};
|
||||
case (r_fracture_arms): {_7 = (localize "str_playerstats_journal_3_4")};
|
||||
default {};
|
||||
};
|
||||
|
||||
switch (true) do
|
||||
{
|
||||
case (r_player_infected):
|
||||
{
|
||||
if (!r_fracture_legs and !r_fracture_arms) then
|
||||
{
|
||||
_8 = (localize "str_playerstats_journal_4_1");
|
||||
} else
|
||||
{
|
||||
_8 = (localize "str_playerstats_journal_4_2");
|
||||
};
|
||||
};
|
||||
default {_8 = ""};
|
||||
};
|
||||
|
||||
if (r_fracture_legs or r_fracture_arms) then
|
||||
{
|
||||
switch (true) do
|
||||
{
|
||||
case (r_player_blood < 3000): {_9 = (localize "str_playerstats_journal_5_1")};
|
||||
case (r_player_blood < 6000): {_9 = (localize "str_playerstats_journal_5_2")};
|
||||
case (r_player_blood < 9000): {_9 = (localize "str_playerstats_journal_5_3")};
|
||||
case (r_player_blood < 11000): {_9 = (localize "str_playerstats_journal_5_4")};
|
||||
case (r_player_blood == 12000): {_9 = (localize "str_playerstats_journal_5_5")};
|
||||
default {_9 = "."};
|
||||
};
|
||||
}else
|
||||
{
|
||||
switch (true) do
|
||||
{
|
||||
case (r_player_blood < 3000): {_9 = (localize "str_playerstats_journal_5_6")};
|
||||
case (r_player_blood < 6000): {_9 = (localize "str_playerstats_journal_5_7")};
|
||||
case (r_player_blood < 9000): {_9 = (localize "str_playerstats_journal_5_8")};
|
||||
case (r_player_blood < 11000): {_9 = (localize "str_playerstats_journal_5_9")};
|
||||
case (r_player_blood == 12000):
|
||||
{
|
||||
if (r_player_infected) then
|
||||
{
|
||||
_9 = (localize "str_playerstats_journal_5_10");
|
||||
} else
|
||||
{
|
||||
_9 = (localize "str_playerstats_journal_5_11");
|
||||
};
|
||||
};
|
||||
default {_9 = "."};
|
||||
};
|
||||
};
|
||||
|
||||
_blood_in_pack = false;
|
||||
_backpack = unitBackpack player;
|
||||
|
||||
if (!isNull _backpack) then
|
||||
{
|
||||
_mag_arr = getMagazineCargo _backpack;
|
||||
if ("ItemBloodbag" in (_mag_arr select 0)) then
|
||||
{
|
||||
_blood_in_pack = true;
|
||||
};
|
||||
};
|
||||
_blood_in_inv = false;
|
||||
|
||||
if ("ItemBloodbag" in (magazines player)) then
|
||||
{
|
||||
_blood_in_inv = true;
|
||||
};
|
||||
|
||||
_10 = "";
|
||||
|
||||
if (r_player_blood < 9000 and (_blood_in_inv or _blood_in_pack)) then
|
||||
{
|
||||
if (_blood_in_inv) then
|
||||
{
|
||||
_10 = (localize "str_playerstats_journal_6_1");
|
||||
} else
|
||||
{
|
||||
_10 = (localize "str_playerstats_journal_6_2");
|
||||
};
|
||||
};
|
||||
if (r_player_blood < 9000 and ! _blood_in_inv and ! _blood_in_pack) then
|
||||
{
|
||||
_10 = (localize "str_playerstats_journal_6_3");
|
||||
};
|
||||
|
||||
_11 = "";
|
||||
|
||||
_weapon = currentWeapon player;
|
||||
_config = configFile >> "CfgWeapons";
|
||||
|
||||
// possibly filter out torch and the dayz_throwweapon thingy too. Need to get feedback..
|
||||
|
||||
if (_weapon != "" and _weapon != "Throw" and _weapon != "Put" and _weapon != "Flare") then
|
||||
{
|
||||
switch (true) do
|
||||
{
|
||||
case (getText (_config >> _weapon >> "melee") == "true"): // used getText as config entry had "" marks around it.
|
||||
{
|
||||
_11 = format [localize "str_playerstats_journal_7_1", getText (_config >> _weapon >> "displayName")];
|
||||
};
|
||||
case (_weapon == "ItemFlashlight" or _weapon == "ItemFlashlightRed"):
|
||||
{
|
||||
if (sunOrMoon == 1) then
|
||||
{
|
||||
_11 = format [localize "str_playerstats_journal_7_2", getText (_config >> _weapon >> "displayName")];
|
||||
} else
|
||||
{
|
||||
_11 = format [localize "str_playerstats_journal_7_3", getText (_config >> _weapon >> "displayName")];
|
||||
};
|
||||
};
|
||||
case (_weapon == "Makarov"):
|
||||
{
|
||||
_11 = format [localize "str_playerstats_journal_7_4", getText (_config >> _weapon >> "displayName")];
|
||||
};
|
||||
default
|
||||
{
|
||||
_mags_for_weap = getArray (_config >> _weapon >> "magazines");
|
||||
|
||||
_mssv_cnt = false;
|
||||
{
|
||||
if (_x in _mags_for_weap) then
|
||||
{
|
||||
_mssv_cnt = true;
|
||||
};
|
||||
} forEach (magazines player);
|
||||
|
||||
if (_mssv_cnt) then
|
||||
{
|
||||
if (player ammo _weapon > 0) then
|
||||
{
|
||||
_11 = format [localize "str_playerstats_journal_7_5", getText (configFile >> "CfgWeapons" >> _weapon >> "displayName")];
|
||||
} else
|
||||
{
|
||||
_11 = format [localize "str_playerstats_journal_7_6", getText (configFile >> "CfgWeapons" >> _weapon >> "displayName")];
|
||||
};
|
||||
} else
|
||||
{
|
||||
_11 = format [localize "str_playerstats_journal_7_7", getText (_config >> _weapon >> "displayName")];
|
||||
};
|
||||
};
|
||||
};
|
||||
} else
|
||||
{
|
||||
_11 = (localize "str_playerstats_journal_7_8");
|
||||
};
|
||||
|
||||
*/
|
||||
|
||||
_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" };
|
||||
};
|
||||
|
||||
// left page
|
||||
((uiNamespace getVariable "horde_myDisplay") displayCtrl 1800) ctrlSetStructuredText parseText format ["
|
||||
<br/>
|
||||
<t size='2' font='Zeppelin33' color = '#000000' align='left'>Health: </t><t size='2' font='Zeppelin33' align='right' color='#FF0033'>%1</t><br/>
|
||||
<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/>
|
||||
<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)</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/>
|
||||
",
|
||||
(round(r_player_blood)),
|
||||
//(player getVariable['USEC_BloodQty', r_player_blood]),
|
||||
//(r_player_bloodpersec),
|
||||
//(r_player_foodstack),
|
||||
//(r_player_bloodregen),
|
||||
(round(dayz_hunger)),
|
||||
(round(dayz_thirst)),
|
||||
(_spawnselection),
|
||||
(round(dayz_temperatur)),
|
||||
(player getVariable['humanity', 0]),
|
||||
({alive _x} count entities "zZombie_Base"),
|
||||
(dayz_Survived),
|
||||
(_survivors),
|
||||
(round diag_fps),
|
||||
(round diag_fpsmin),
|
||||
(_moon),
|
||||
(_disabledTemperature)
|
||||
];
|
||||
|
||||
// right page - blank until humanity is checked
|
||||
|
||||
_b = "<img size = '5' image = '\z\addons\dayz_communityassets\pictures\playerstats\tally\0.paa'/>";
|
||||
|
||||
((uiNamespace getVariable "horde_myDisplay") displayCtrl 1801) ctrlSetStructuredText parseText format ["%1", _b];
|
||||
((uiNamespace getVariable "horde_myDisplay") displayCtrl 1802) ctrlSetStructuredText parseText format ["%1", _b];
|
||||
((uiNamespace getVariable "horde_myDisplay") displayCtrl 1803) ctrlSetStructuredText parseText format ["%1", _b];
|
||||
((uiNamespace getVariable "horde_myDisplay") displayCtrl 1804) ctrlSetStructuredText parseText format ["%1", _b];
|
||||
((uiNamespace getVariable "horde_myDisplay") displayCtrl 1805) ctrlSetStructuredText parseText format ["%1", _b];
|
||||
((uiNamespace getVariable "horde_myDisplay") displayCtrl 1806) ctrlSetStructuredText parseText format ["%1", _b];
|
||||
((uiNamespace getVariable "horde_myDisplay") displayCtrl 1807) ctrlSetStructuredText parseText format ["%1", _b];
|
||||
((uiNamespace getVariable "horde_myDisplay") displayCtrl 1808) ctrlSetStructuredText parseText format ["%1", _b];
|
||||
((uiNamespace getVariable "horde_myDisplay") displayCtrl 1809) ctrlSetStructuredText parseText format ["%1", _b];
|
||||
@@ -0,0 +1,33 @@
|
||||
/********************************************************************************************************************/
|
||||
// Function file for [DayZ]
|
||||
// Created by: [Horde]
|
||||
//********************************************************************************************************************/
|
||||
|
||||
private ["_pge","_tally_idc_arr","_need_to_blank_idc_arr","_kills","_5","_4","_3","_2","_1","_b"];
|
||||
|
||||
if (isDedicated) exitWith {};
|
||||
|
||||
// _pge = _this select 0;
|
||||
|
||||
_kills = _this select 0;
|
||||
|
||||
_5 = "<img size = '4.8' image = '\z\addons\dayz_communityassets\pictures\playerstats\tally\5.paa'/>";
|
||||
_4 = "<img size = '4.8' image = '\z\addons\dayz_communityassets\pictures\playerstats\tally\4.paa'/>";
|
||||
_3 = "<img size = '4.8' image = '\z\addons\dayz_communityassets\pictures\playerstats\tally\3.paa'/>";
|
||||
_2 = "<img size = '4.8' image = '\z\addons\dayz_communityassets\pictures\playerstats\tally\2.paa'/>";
|
||||
_1 = "<img size = '4.8' image = '\z\addons\dayz_communityassets\pictures\playerstats\tally\1.paa'/>";
|
||||
_b = "<img size = '4.8' image = '\z\addons\dayz_communityassets\pictures\playerstats\tally\0.paa'/>";
|
||||
|
||||
// array of IDC's for tallys
|
||||
|
||||
_tally_idc_arr = [1204,1205,1206,1207,1208,1209,1210,1211,1212,1213,1214,1215,1216,1217,1218,1219,1220,1221,1222,1223,1224,1225,1226,1227,1228,1229,1230,1231,1232,1233,1234,1235,1236,1237,1238];
|
||||
|
||||
// array of IDC's for journal pages
|
||||
|
||||
_need_to_blank_idc_arr = [1800,1801,1802,1803,1804,1805,1806,1807,1808,1809];
|
||||
|
||||
{
|
||||
((uiNamespace getVariable "horde_myDisplay") displayCtrl _x) ctrlSetStructuredText parseText format ["%1", _b];
|
||||
} forEach _need_to_blank_idc_arr;
|
||||
|
||||
[_kills, _5, _4, _3, _2, _1, _b, _tally_idc_arr] call horde_epeen_fnc_fill_page;
|
||||
@@ -0,0 +1,62 @@
|
||||
/********************************************************************************************************************/
|
||||
// Function file for [DayZ]
|
||||
// Created by: [Horde]
|
||||
//********************************************************************************************************************/
|
||||
|
||||
private ["_count","_kills","_5","_4","_3","_2","_1","_b","_idc_arr","_extra_kills","_tally_kills","_full_box_count","_partial_box_tally","_add_kills"];
|
||||
|
||||
_kills = _this select 0;
|
||||
_5 = _this select 1;
|
||||
_4 = _this select 2;
|
||||
_3 = _this select 3;
|
||||
_2 = _this select 4;
|
||||
_1 = _this select 5;
|
||||
_b = _this select 6;
|
||||
_idc_arr = _this select 7;
|
||||
|
||||
_extra_kills = 175 * (floor (_kills / 175));
|
||||
_tally_kills = _kills - _extra_kills;
|
||||
_full_box_count = floor (_tally_kills / 5);
|
||||
_partial_box_tally = _tally_kills - (5 * (floor (_tally_kills / 5)));
|
||||
_add_kills = "<t size = '3' font = 'Zeppelin33' color = '#000000' shadow = 'false' align = 'center' underline = 'false'>+</t>
|
||||
" + format ["<t size = '3' font = 'Zeppelin33' color = '#000000' shadow = 'false' align = 'center' underline = 'false'>%1", _extra_kills];
|
||||
|
||||
_count = 1;
|
||||
{
|
||||
if (_count <= _full_box_count) then
|
||||
{
|
||||
((uiNamespace getVariable "horde_myDisplay") displayCtrl _x) ctrlSetStructuredText parseText format ["%1", _5];
|
||||
};
|
||||
if (_count == _full_box_count + 1) then
|
||||
{
|
||||
if (_partial_box_tally == 4) then
|
||||
{
|
||||
((uiNamespace getVariable "horde_myDisplay") displayCtrl _x) ctrlSetStructuredText parseText format ["%1", _4];
|
||||
};
|
||||
if (_partial_box_tally == 3) then
|
||||
{
|
||||
((uiNamespace getVariable "horde_myDisplay") displayCtrl _x) ctrlSetStructuredText parseText format ["%1", _3];
|
||||
};
|
||||
if (_partial_box_tally == 2) then
|
||||
{
|
||||
((uiNamespace getVariable "horde_myDisplay") displayCtrl _x) ctrlSetStructuredText parseText format ["%1", _2];
|
||||
};
|
||||
if (_partial_box_tally == 1) then
|
||||
{
|
||||
((uiNamespace getVariable "horde_myDisplay") displayCtrl _x) ctrlSetStructuredText parseText format ["%1", _1];
|
||||
};
|
||||
};
|
||||
if (_count > _full_box_count + 1) then
|
||||
{
|
||||
((uiNamespace getVariable "horde_myDisplay") displayCtrl _x) ctrlSetStructuredText parseText format ["%1", _b];
|
||||
};
|
||||
_count = _count + 1;
|
||||
} forEach _idc_arr;
|
||||
// additional kills
|
||||
if (_extra_kills > 0) then
|
||||
{
|
||||
((uiNamespace getVariable "horde_myDisplay") displayCtrl 1239) ctrlSetStructuredText parseText format ["<br />%1", _add_kills];
|
||||
} else
|
||||
{
|
||||
((uiNamespace getVariable "horde_myDisplay") displayCtrl 1239) ctrlSetStructuredText parseText format ["%1", _b];
|
||||
};
|
||||
@@ -0,0 +1,34 @@
|
||||
/********************************************************************************************************************/
|
||||
// Function file for [DayZ]
|
||||
// Created by: [Horde]
|
||||
//********************************************************************************************************************/
|
||||
|
||||
private ["_hum","_humanity","_pl_pic","_humanity_readout","_top_joker","_bot_joker","_top_value","_bot_value","_top_suit","_bot_suit","_pl_name"];
|
||||
|
||||
//check humanity
|
||||
|
||||
_humanity = player getVariable["humanity", 0];
|
||||
|
||||
_hum = [_humanity] call horde_epeen_determine_humanity_fnc;
|
||||
|
||||
_pl_pic = _hum select 0;
|
||||
_humanity_readout = _hum select 1;
|
||||
_top_joker = _hum select 2;
|
||||
_bot_joker = _hum select 3;
|
||||
_top_value = _hum select 4;
|
||||
_bot_value = _hum select 5;
|
||||
_top_suit = _hum select 6;
|
||||
_bot_suit = _hum select 7;
|
||||
_pl_name = format ["<t size = '1.1' font = 'Zeppelin33' color = '#000000' shadow = 'false' align = 'center' underline = 'false'>%1</t", name player];
|
||||
|
||||
ctrlShow [1906, false];
|
||||
((uiNamespace getVariable "horde_myDisplay") displayCtrl 1801) ctrlSetStructuredText parseText format ["%1", _top_value];
|
||||
((uiNamespace getVariable "horde_myDisplay") displayCtrl 1802) ctrlSetStructuredText parseText format ["%1", _bot_value];
|
||||
((uiNamespace getVariable "horde_myDisplay") displayCtrl 1803) ctrlSetStructuredText parseText format ["%1", _top_suit];
|
||||
((uiNamespace getVariable "horde_myDisplay") displayCtrl 1804) ctrlSetStructuredText parseText format ["%1", _bot_suit];
|
||||
((uiNamespace getVariable "horde_myDisplay") displayCtrl 1805) ctrlSetStructuredText parseText format ["%1", _top_joker];
|
||||
((uiNamespace getVariable "horde_myDisplay") displayCtrl 1806) ctrlSetStructuredText parseText format ["%1", _bot_joker];
|
||||
((uiNamespace getVariable "horde_myDisplay") displayCtrl 1807) ctrlSetStructuredText parseText format ["%1", _pl_pic];
|
||||
((uiNamespace getVariable "horde_myDisplay") displayCtrl 1808) ctrlSetStructuredText parseText format ["%1", _pl_name];
|
||||
((uiNamespace getVariable "horde_myDisplay") displayCtrl 1809) ctrlSetStructuredText parseText format ["%1", _humanity_readout];
|
||||
ctrlShow [1907, false];
|
||||
@@ -14,10 +14,6 @@ if (isNil "keyboard_keys") then {
|
||||
call dayz_EjectPlayer;
|
||||
_handled = false;
|
||||
if (r_player_dead) then {_handled = true;}; // Disable ESC after death
|
||||
};
|
||||
_playerStats = {
|
||||
DZE_Q_alt = true;
|
||||
execVM "\z\addons\dayz_code\actions\playerstats.sqf";
|
||||
};
|
||||
_dze_f = {
|
||||
if (!_ctrlState && !_altState) then {DZE_F = true;};
|
||||
@@ -187,12 +183,10 @@ if (isNil "keyboard_keys") then {
|
||||
};
|
||||
};
|
||||
_journal = {
|
||||
/*
|
||||
if (!dayz_isSwimming and !dialog) then {
|
||||
[player,4,true,(getPosATL player)] call player_alertZombies;
|
||||
createDialog "horde_journal_front_cover";
|
||||
};
|
||||
*/
|
||||
_handled = true;
|
||||
};
|
||||
|
||||
@@ -282,7 +276,7 @@ if (isNil "keyboard_keys") then {
|
||||
keyboard_keys = [];
|
||||
keyboard_keys resize 256;
|
||||
[[DIK_ESCAPE], _cancelBuild] call _addArray;
|
||||
[[DIK_INSERT], _playerStats] call _addArray;
|
||||
[[DIK_INSERT], {DZE_Q_alt = true;}] call _addArray;
|
||||
[[DIK_F], _dze_f] call _addArray;
|
||||
[[DIK_PRIOR], _dze_q] call _addArray;
|
||||
[[DIK_NEXT], _dze_z] call _addArray;
|
||||
@@ -293,7 +287,7 @@ if (isNil "keyboard_keys") then {
|
||||
[actionKeys "User6", {DZE_F = true;}] call _addArray;
|
||||
[actionKeys "User7", {DZE_Q_ctrl = true;}] call _addArray;
|
||||
[actionKeys "User8", {DZE_Z_ctrl = true;}] call _addArray;
|
||||
[actionKeys "User13", _playerStats] call _addArray;
|
||||
[actionKeys "User13", {DZE_Q_alt = true;}] call _addArray;
|
||||
[actionKeys "User14", {DZE_Z_alt = true;}] call _addArray;
|
||||
[actionKeys "User15", {DZE_Q = true;}] call _addArray;
|
||||
[actionKeys "User16", {DZE_Z = true;}] call _addArray;
|
||||
|
||||
@@ -139,6 +139,7 @@ class CfgAddons
|
||||
|
||||
#include "Configs\CfgVehicles.hpp"
|
||||
#include "Configs\CfgWeapons.hpp"
|
||||
#include "Configs\CfgCrafting\CfgCrafting.hpp"
|
||||
#include "Configs\CfgVoice.hpp"
|
||||
#include "Configs\CfgIdentities.hpp"
|
||||
#include "Configs\CfgFaces.hpp"
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -124,6 +124,14 @@ if (!isDedicated) then {
|
||||
ui_changeDisplay = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\ui_changeDisplay.sqf";
|
||||
ui_gear_sound = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\ui_gear_sound.sqf";
|
||||
|
||||
//playerstats
|
||||
horde_epeen_fnc_fill_page = compile preProcessFile "\z\addons\dayz_code\actions\playerstats\fill_page_fnc.sqf";
|
||||
horde_epeen_determine_humanity_fnc = compile preProcessFile "\z\addons\dayz_code\actions\playerstats\determine_humanity_fnc.sqf";
|
||||
horde_epeen_setText_journal_fnc = compile preProcessFile "\z\addons\dayz_code\actions\playerstats\epeen_setText_journal.sqf";
|
||||
horde_epeen_setText_humanity_fnc = compile preProcessFile "\z\addons\dayz_code\actions\playerstats\epeen_setText_humanity.sqf";
|
||||
horde_epeen_setText_stats_fnc = compile preProcessFile "\z\addons\dayz_code\actions\playerstats\epeen_setText_stats.sqf";
|
||||
horde_epeen_show_humanity_fnc = compile preProcessFile "\z\addons\dayz_code\actions\playerstats\show_humanity_fnc.sqf";
|
||||
|
||||
//System
|
||||
player_monitor = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\player_monitor.sqf";
|
||||
player_spawn_1 = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\player_spawn_1.sqf";
|
||||
@@ -131,6 +139,11 @@ if (!isDedicated) then {
|
||||
onPreloadStarted "dayz_preloadFinished = false;";
|
||||
onPreloadFinished "if (!isNil 'init_keyboard') then { [] spawn init_keyboard; }; dayz_preloadFinished = true;";
|
||||
|
||||
//Crafting
|
||||
fn_updateCraftUI = {}; //need permission - compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_updateCraftUI.sqf";
|
||||
player_craftItemGUI = {}; //need permission - compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_craftItemGUI.sqf";
|
||||
player_checkRecipe = {}; //need permission - compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_checkRecipe.sqf";
|
||||
|
||||
// helper functions
|
||||
player_addDuplicateTool = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_addDuplicateTool.sqf";
|
||||
player_hasTools = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_hasTools.sqf";
|
||||
|
||||
@@ -458,6 +458,15 @@ dayz_cantseeDist = 150; // distance from which we can spawn a Z in front of any
|
||||
dayz_cantseefov = 70; // half player field-of-view. Visible Z won't be spawned in front of any near players
|
||||
dayz_canDelete = 300; // Z, further than this distance from its "owner", will be deleted
|
||||
|
||||
if(isNil "dayz_ForcefullmoonNights") then {
|
||||
dayz_ForcefullmoonNights = false; //force full moon nights.
|
||||
};
|
||||
if(isNil "dayz_temperature_override") then {
|
||||
dayz_temperature_override = false;
|
||||
};
|
||||
if(isNil "dayz_spawnselection") then {
|
||||
dayz_spawnselection = 0;
|
||||
};
|
||||
if(isNil "dayz_quickSwitch") then {
|
||||
dayz_quickSwitch = false; //Enable quick weapon switch,
|
||||
};
|
||||
@@ -629,9 +638,6 @@ if(isServer) then {
|
||||
DZE_DYN_AntiStuck2nd = 0;
|
||||
DZE_DYN_AntiStuck3rd = 0;
|
||||
|
||||
if(isNil "dayz_fullMoonNights") then {
|
||||
dayz_fullMoonNights = false;
|
||||
};
|
||||
if(isNil "EpochEvents") then {
|
||||
EpochEvents = [];
|
||||
};
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user