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

Sign in to follow this  
PostmanPat87

hoodie texture script

Recommended Posts

Can anyone look over this script and see where i have gone wrong? 

Item won't appear in the server after uploading as a mod to steam and applying mod to server,

(followed the youtube video instructions)

.paa file saved off original game file. 

class CfgPatches
{
    class COLD
    {
        units[]={};
        weapons[]={};
        requiredVersion=0.1;
        requiredAddons[]=
        {
            "DZ_Characters",
            "DZ_Characters_Backpacks",
            "DZ_Characters_Pants",
            "DZ_Characters_Tops",
            "DZ_Gear_Containers",
            "DZ_Characters_Headgear",
            "DZ_Data"
        };
    };
};
class CfgVehicles
{
    class Hoodie_ColorBase;
    class hoodie_cold: Hoodie_ColorBase
    {
        displayName="COLD Hoodie";
        descriptionShort="A perfect top for cold weather";
        scope=2;
        hiddenSelectionsTextures[]=
        {
            "COLD\hoodie_cold.paa",
            "COLD\hoodie_cold.paa",
            "COLD\hoodie_cold.paa"
        };
    };
};

Share this post


Link to post
Share on other sites
17 hours ago, PostmanPat87 said:

Can anyone look over this script and see where i have gone wrong? 

Item won't appear in the server after uploading as a mod to steam and applying mod to server,

(followed the youtube video instructions)

.paa file saved off original game file. 

class CfgPatches
{
    class COLD
    {
        units[]={};
        weapons[]={};
        requiredVersion=0.1;
        requiredAddons[]=
        {
            "DZ_Characters",
            "DZ_Characters_Backpacks",
            "DZ_Characters_Pants",
            "DZ_Characters_Tops",
            "DZ_Gear_Containers",
            "DZ_Characters_Headgear",
            "DZ_Data"
        };
    };
};
class CfgVehicles
{
    class Hoodie_ColorBase;
    class hoodie_cold: Hoodie_ColorBase
    {
        displayName="COLD Hoodie";
        descriptionShort="A perfect top for cold weather";
        scope=2;
        hiddenSelectionsTextures[]=
        {
            "COLD\hoodie_cold.paa",
            "COLD\hoodie_cold.paa",
            "COLD\hoodie_cold.paa"
        };
    };
};

I'm not sure but i guess problem may be covered in texture paa file path and entire add-on system.

1st I have no idea is that a standalone mod or extension/support subaddon pbo (one of more addons in folder @COLD/Addons.

2nd full path of your texture should be like: @COLD/Addons/hoodie_cold.paa does it true? (Check addon prefix to be sure that path is right).

3rd I'm not sure but rewrite your requred addons list, place "DZ_Data" to the first place then apl other add-ons. 

4th you have huge amount of useless links, you required only:

"DZ_Data", "characters_tops"

Other stuff is useless if you don't use it and just holding additional links in memory (that's freaking bad for memory management, and it's not care how much you have RAM on your PC).

 

Other stuff looks fine to me.

  • Like 1

Share this post


Link to post
Share on other sites
6 hours ago, Sid Debian said:

I'm not sure but i guess problem may be covered in texture paa file path and entire add-on system.

1st I have no idea is that a standalone mod or extension/support subaddon pbo (one of more addons in folder @COLD/Addons.

2nd full path of your texture should be like: @COLD/Addons/hoodie_cold.paa does it true? (Check addon prefix to be sure that path is right).

3rd I'm not sure but rewrite your requred addons list, place "DZ_Data" to the first place then apl other add-ons. 

4th you have huge amount of useless links, you required only:

"DZ_Data", "characters_tops"

Other stuff is useless if you don't use it and just holding additional links in memory (that's freaking bad for memory management, and it's not care how much you have RAM on your PC).

 

Other stuff looks fine to me.

legend, i found the fix in the end it was a directory fault. 

But all your information makes sense, i will clean it up to make the file smaller. 

Share this post


Link to post
Share on other sites
3 hours ago, PostmanPat87 said:

legend, i found the fix in the end it was a directory fault. 

But all your information makes sense, i will clean it up to make the file smaller. 

It will not help you to make you file smaller but it will help your DayZ_x64 and DayZServer_x64 to work better.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×