Jump to content

Forums Announcement

Read-Only Mode for Announcements & Changelogs

Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.

For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.

Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!

Stay safe out there,
Your DayZ Team

DCCVIII

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About DCCVIII

  • Rank
    On the Coast
  1. I have successfully re-textured the Glock 19 and its magazine so I wanted to re-texture the Pistol flashlight and Pistol mini sights (separate mods) to go with it. My problem is with the config.cpp as I cannot figure out the correct class names, I have no errors when creating the PBO's but my textures do not load in game. Any help would be greatly appreciated. Pistol flashlight config class CfgPatches { class DCM_Attachments { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"DZ_Data"}; }; }; class cfgVehicles { class Switchable_Base; // External class reference class TLRLight: Switchable_Base { displayName = "TLS3 Pistol Flashlight"; descriptionShort = "TLS3 Pistol Flashlight"; hiddenSelections[] = {"zbytek"}; hiddenSelectionsTextures[] = {"DCMTLS3\data\tls3_co.paa"}; hiddenSelectionsMaterials[] = {"DCMTLS3\data\tls3.rvmat"}; class DamageSystem { class GlobalHealth { class Health { hitpoints = 200; healthLevels[] = {{1.0, {"DCMTLS3\data\tls3.rvmat"}}, {0.7, {"DCMTLS3\data\tls3.rvmat"}}, {0.5, {"DCMTLS3\data\tls3_damage.rvmat"}}, {0.3, {"DCMTLS3\data\tls3_damage.rvmat"}}, {0.0, {"DCMTLS3\data\tls3_destruct.rvmat"}}}; }; }; }; }; }; Mini sights config class CfgPatches { class DCM_PistolOptic { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"DZ_Data"}; }; }; class cfgVehicles { class PistolOptic_base; // External class reference class PistolOptic : PistolOptic_base { displayName = "MRDS Optic"; descriptionShort = "MRDS Optic"; hiddenSelections[] = {"zbytek"}; hiddenSelectionsTextures[] = {"DCM45MRDS\data\mrds_co.paa"}; hiddenSelectionsMaterials[] = {"DCM45MRDS\data\mrds.rvmat"}; }; class DamageSystem { class GlobalHealth { class Health { hitpoints = 150; healthLevels[] = {{1.0, {"DCM45MRDS\data\mrds.rvmat"}}, {0.7, {"DCM45MRDS\data\mrds.rvmat"}}, {0.5, {"DCM45MRDS\data\mrds_damage.rvmat"}}, {0.3, {"DCM45MRDS\data\mrds_damage.rvmat"}}, {0.0, {"DCM45MRDS\data\mrds_destruct.rvmat"}}}; }; }; }; };
×