Hallo.
Ich wollte ein WeaponCleaningKit erstellen das zB Doppelt so lange hält wie das normale.
Gibt es da irgendeinen wert wie zB bei itemSize[]={2,2};
Das hier ist ja der Eintrag in der Standard Config
Code
class WeaponCleaningKit: Inventory_Base
{
scope=2;
displayName="$STR_CfgVehicles_WeaponCleaningKit0";
descriptionShort="$STR_CfgVehicles_WeaponCleaningKit1";
model="\dz\gear\tools\cleaning_kit_wood.p3d";
animClass="Knife";
rotationFlags=17;
stackedUnit="percentage";
quantityBar=1;
varQuantityInit=100;
varQuantityMin=0;
varQuantityMax=100;
weight=780;
itemSize[]={2,3};
fragility=0.0099999998;
repairKitType=1;
class DamageSystem
{
class GlobalHealth
{
class Health
{
hitpoints=100;
healthLevels[]=
{
{
1,
{
"DZ\gear\tools\data\cleaning_kit_wood.rvmat"
}
},
{
0.69999999,
{
"DZ\gear\tools\data\cleaning_kit_wood.rvmat"
}
},
{
0.5,
{
"DZ\gear\tools\data\cleaning_kit_wood_damage.rvmat"
}
},
{
0.30000001,
{
"DZ\gear\tools\data\cleaning_kit_wood_damage.rvmat"
}
},
{
0,
{
"DZ\gear\tools\data\cleaning_kit_wood_destruct.rvmat"
}
}
};
};
};
};
class MeleeModes
{
class Default
{
ammo="MeleeLightBlunt";
range=1;
};
class Heavy
{
ammo="MeleeLightBlunt_Heavy";
range=1;
};
class Sprint
{
ammo="MeleeLightBlunt_Heavy";
range=2.8;
};
};
};
Alles anzeigen
Danke euch