Is there a way to inherit the configuration of the PhysX rope?
I'm trying to create a new class, with the default properties of the rope, but changing the 3d model.
class CfgVehicles
{
class All {};
class Rope: All {};
class SCrope: Rope
{
access = 0;
displayName = "";
simulation = "rope";
side = 8;
maxRelLenght = 1.1;
maxExtraLenght = 10.2;
alwaysTarget = 0;
irTarget = 0;
irScanRangeMin = 0;
irScanRangeMax = 0;
irScanToEyeFactor = 1;
laserTarget = 0;
laserScanner = 0;
nvTarget = 0;
nvScanner = 0;
artilleryTarget = 0;
artilleryScanner = 0;
author = "CheyenneAH56";
mapSize = 0.03;
_generalMacro = "Rope";
scope = 1;
model = "\SCmod_fire\data\SCrope.p3d";
};
};
I can create a rope, because the attached objects behave like with the original one, but the rope is created invisible. The 3d model does not seem to work.
My goal is to create a pipe, with PhysX properties, for my SCmod.
The Project Life team succeeded in doing the same, except that they replaced the default rope model directly.
I can not contact them, so I rely heavily on the goodness of a BIS programmer. :)