Advertisement
halcyon_

Second Fursuiter Replacement Config Example

Mar 20th, 2021
762
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.23 KB | None | 0 0
  1. class CfgPatches
  2. {
  3.         class fursuiter_replacement_config
  4.         {
  5.             units[] = {
  6.             };
  7.             weapons[] = {
  8.             };
  9.             requiredVersion = 0.1;
  10.             requiredAddons[] = {
  11.                 "fursuit_helmet"
  12.             };
  13.             // the original fursuit_helmet pbo is coded as a dependency, because the game needs to load it first before this PBO
  14.             name = "COX Fursuit PAW Heads";
  15.             author = "AlphaGarg";
  16.             authorUrl = "";
  17.             version ="1.0";
  18.         };
  19.    
  20. };
  21.  
  22.  
  23.  
  24. class cfgWeapons
  25. {
  26.     class ItemCore;
  27.     class COX_FUR_FEBA;
  28.     class COX_FUR_ARID1: COX_FUR_FEBA
  29.     {
  30.         displayName="Fursuit Helmet (Arid 1)";
  31.         hiddenSelections[] = {"camo"};
  32.         hiddenSelectionsTextures[] = {"\fursuit_helmet_alphagarg\garg.paa"};
  33.         // essentially, all that needs to be done is changing the path of the texture
  34.         // we need to tell the game to redefine where to find the texture
  35.         // you'll want to change it to a path within your pbo, for example
  36.         // hiddenSelectionsTextures[] = {"\fursuiter_replacement_config\textures\replacement_texture.paa"};
  37.        
  38.         // you can copy-paste this section and change the classname and it should work similarly, as seen below
  39.     };
  40.    
  41.    
  42.     // note that ItemCore only needs to be defined once for inheritance, because if we have two lines with ''class ItemCore;'',
  43.     // addon builder has a fit
  44.     class COX_FUR_ARID2: COX_FUR_FEBA
  45.     {
  46.         displayName="Fursuit Helmet (Arid 2)";
  47.         hiddenSelections[] = {"camo"};
  48.         hiddenSelectionsTextures[] = {"\fursuit_helmet_alphagarg\mark.paa"};
  49.     };
  50.     //copy paste this section and replace ''COX_FUR_FEBA'' with the class name of the helmet you're replacing
  51.     //as it is configured right now, COX_FUR_EDGY and COX_FUR_FEBA will have their textures replaced
  52.     //with the Kero the Wolf texture from the Faction Mod
  53.    
  54.     //note that
  55.     // COX_FUR_FEBA
  56.     // COX_FUR_PRPL
  57.     // COX_FUR_RAWR
  58.     // COX_FUR_FRUIT
  59.     // COX_FUR_EDGY
  60.     // all inherit from ItemCore
  61.    
  62.     /*COX_FUR_ARID1
  63.     COX_FUR_ARID2
  64.     COX_FUR_ARID3
  65.     COX_FUR_BLK
  66.     COX_FUR_CABBAGE
  67.     COX_FUR_FEBA
  68.     COX_FUR_EDGY
  69.     COX_FUR_FRUIT
  70.     COX_FUR_OKAMI
  71.     COX_FUR_PRPL
  72.     COX_FUR_RAWR
  73.     COX_FUR_LEAF
  74.     COX_FUR_TACBLUE
  75.     COX_FUR_TACDGREEN
  76.     COX_FUR_GREEN
  77.     COX_FUR_ORANGE
  78.     COX_FUR_PRPL2
  79.     COX_FUR_RED
  80.     COX_FUR_TRQ
  81.     COX_FUR_YLW
  82.     COX_FUR_SNOW1
  83.     COX_FUR_SNOW2
  84.     COX_FUR_SNOW3
  85.     COX_FUR_KERO*/
  86. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement