Le placement me semblait bon sur l'autre topic .
C'est uniquement un config que j'ai modifié (j'ai copié le parachute_01 du air_f_beta), j'essayerai de changer le modèle plus tard, quand ça marchera .
Voici le code (avec la modification, simple remplacement de valeurs) :
Code:
#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7
#define true 1
#define false 0
#define private 0
#define protected 1
#define public 2
class CfgPatches {
class adv_chute{
units[] = {};
weapons[] = {};
requiredVersion = 0.1;
requiredAddons[] = { "A3_Weapons_F","A3_Air_F_Beta","A3_Characters_F" };
};
};
class CfgVehicles {
class Steerable_Parachute_F;
class adv_chute : Steerable_Parachute_F {
author = "Snakeshit";
_generalMacro = "adv_chute";
scope = 2;
displayname = "Advanced Parachute";
thrustDeccel = -1.0;
thrustNormal = 10.0;
thrustAccel = 20.0;
minRotationZ = -0.2;
maxRotationZ = 0.6;
minRotationX = -0.2;
maxRotationX = 0.6;
maxSensitivityHorizontal = 0.05;
maxSensitivityVertical = 0.05;
deltaValueVertical = 0.001;
deltaValueHorizontal = 0.001;
turnForceScale = 0.00085;
minGravity = -1.0;
normalGravity = -3.0;
maxGravity = -6.0;
distanceLevel1 = 20.0;
distanceLevel2 = 40.0;
minLiftThrust = -80.0;
maxLiftThrust = -10.0;
minLiftDuration = 1.0;
maxLiftDuration = 4.0;
liftThreshold = 0.99;
airInfluence = 0.99;
liftGravity = -40.0;
openingTime = 3.0;
duration = 2.0;
unitInfoType = "RscUnitInfoParachute";
model = "\AdvancedParachute\Parachute_03_F.p3d";
class Library {
libTextDesc = "advanced_parachute";
};
};
class B_Parachute;
class B_Parachute_Test : B_Parachute {
mapSize = 0.55;
author = "Snakeshit";
_generalMacro = "B_Parachute_Test";
scope = 2;
displayName = "ParachuteSteerable_Test";
picture = "\A3\Characters_F\data\ui\icon_b_parachute_ca.paa";
model = "\A3\Weapons_F\Ammoboxes\Bags\Backpack_Parachute";
vehicleClass = "Backpacks";
backpackSimulation = "ParachuteSteerable";
ParachuteClass = "adv_chute";
maximumLoad = 0;
mass = 180;
};
};