Jump to content
  • 0

R3F logistic Script stopped working after I eddited more vehicles in.


Templer-Gaming

Question

6 answers to this question

Recommended Posts

  • 0

Yes I upload it right away. I have to say too, that it worked until the addional Vehicles have been added in. Before that I tried to add 2 M240 to the pilot seat of the huey. Towing still worked due to the incorrect code lines. They were removed later.:

I never eddited something with BAttleeye or any other file than the init file where the execute line is in.

/**
 * English and French comments
 * Commentaires anglais et français
 *
 * This file contains the configuration variables of the logistics system.
 * Fichier contenant les variables de configuration du système de logistique.
 *
 * Important note : All the classes names which inherits from the ones used in configuration variables will be also available.
 * Note importante : Tous les noms de classes dérivant de celles utilisées dans les variables de configuration seront aussi valables.
 */

/*
 * There are two ways to manage new objects with the logistics system. The first is to add these objects in the
 * folowing appropriate lists. The second is to create a new external file in the /addons_config/ directory,
 * according to the same scheme as the existing ones, and to add a #include at the end of this current file.
 *
 * Deux moyens existent pour gérer de nouveaux objets avec le système logistique. Le premier consiste à ajouter
 * ces objets dans les listes appropriées ci-dessous. Le deuxième est de créer un fichier externe dans le répertoire
 * /addons_config/ selon le même schéma que ceux qui existent déjà, et d'ajouter un #include à la fin de ce présent fichier.
 */

/****** TOW WITH VEHICLE / REMORQUER AVEC VEHICULE ******/

/**
 * List of class names of (ground or air) vehicles which can tow towables objects.
 * Liste des noms de classes des véhicules terrestres pouvant remorquer des objets remorquables.
 */
R3F_LOG_CFG_remorqueurs =
[
    "tractor",
    "GAZ_Vodnik_DZE",
    "GAZ_Vodnik_MedEvac",
    "GAZ_Vodnik_HMG",
    "Ural_UN_EP1",
    "UralRefuel_TK_EP1_DZ",
    "Ural_CDF",
    "Ural_TK_CIV_EP1",
    "Ural_UN_EP1",
    "F35B",
    "AV8B2",
    "M6_EP1",
    "MtvrReammo",
    "MtvrRepair",
    "BAF_FV510_D",
    "M113_TK_EP1",
    "M113_UN_EP1",
    "M113Ambul_UN_EP1"
    "M2A3_EP1",
    "M6_EP1",
    "AAV",
    "AV8B"
];

/**
 * List of class names of towables objects.
 * Liste des noms de classes des objets remorquables.
 */
R3F_LOG_CFG_objets_remorquables =
[
    "ArmoredSUV_PMC_DZE",
    "M113Ambul_UN_EP1",
    "MtvrReammo",
    "BAF_FV510_D",
    "M113_TK_EP1",
    "M2A3_EP1",
    "AAV",
    "MtvrRepair",
    "AV8B2",
    "AV8B",
    "ArmoredSUV_PMC",
    "C130J",
    "C130J_US_EP1",
    "C130J_US_EP1_DZ",    
    "car_hatchback",
    "car_sedan",
    "datsun1_civil_1_open",
    "datsun1_civil_2_covered",
    "datsun1_civil_3_open",
    "GAZ_Vodnik_DZE",
    "GAZ_Vodnik_MedEvac",
    "GLT_M300_LT",
    "GLT_M300_ST",
    "hilux1_civil_1_open",
    "hilux1_civil_2_covered",
    "hilux1_civil_3_open_EP1",
    "HMMWV_Ambulance",
    "HMMWV_Ambulance_CZ_DES_EP1",
    "HMMWV_DES_EP1",
    "HMMWV_DZ",
    "HMMWV_M1035_DES_EP1",
    "HMMWV_M1151_M2_CZ_DES_EP1_DZE",
    "HMMWV_M998A2_SOV_DES_EP1_DZE",
    "Lada1",
    "Lada1_TK_CIV_EP1",
    "Lada2",
    "Lada2_TK_CIV_EP1",
    "LadaLM",
    "LandRover_CZ_EP1",
    "LandRover_MG_TK_EP1_DZE",
    "LandRover_Special_CZ_EP1_DZE",
    "LandRover_TK_CIV_EP1",
    "MV22",
    "MV22_DZ",
    "Offroad_DSHKM_Gue_DZE",
    "Pickup_PK_GUE_DZE",
    "Pickup_PK_INS_DZE",
    "Pickup_PK_TK_GUE_EP1_DZE",
    "S1203_ambulance_EP1",
    "S1203_TK_CIV_EP1",
    "Skoda",
    "SkodaBlue",
    "SkodaGreen",
    "SkodaRed",
    "SUV_Blue",
    "SUV_Camo",
    "SUV_Charcoal",
    "SUV_Green",
    "SUV_Orange",
    "SUV_Pink",
    "SUV_Red",
    "SUV_Silver",
    "SUV_TK_CIV_EP1",
    "SUV_White",
    "SUV_Yellow",
    "tractor",
    "UAZ_CDF",
    "UAZ_INS",
    "UAZ_MG_TK_EP1_DZE",
    "UAZ_RU",
    "UAZ_Unarmed_TK_CIV_EP1",
    "UAZ_Unarmed_TK_EP1",
    "UAZ_Unarmed_UN_EP1",
    "VolhaLimo_TK_CIV_EP1",
    "Volha_1_TK_CIV_EP1",
    "Volha_2_TK_CIV_EP1",
    "VWGolf",
    "Zodiac",
    "Ural_CDF",
    "M6_EP1",
    "2S6M_Tunguska",
    "F35B",
    "AV8B2"    
];


/****** LIFT WITH VEHICLE / HELIPORTER AVEC VEHICULE ******/

/**
 * List of class names of air vehicles which can lift liftables objects.
 * Liste des noms de classes des véhicules aériens pouvant héliporter des objets héliportables.
 */
R3F_LOG_CFG_heliporteurs =
[
    "CH53_DZE",
    "BAF_Merlin_HC3_D",
    "BAF_Merlin_DZE",
    "Mi17_Civilian_DZ",
    "Mi17_DZE",
    "CH_47F_EP1",
    "CH_47F_EP1_DZ",
    "UH1Y",
    "AH6J_EP1",
    "MH60S_DZE",
    "UH1H_DZE",
    "UH1H_TK_EP1",
    "AH1Z",
    "UH60M_EP1_DZE",
    "Mi24_D_TK_EP1",
    "CH_47F_EP1_DZE",
    "MH60S"    
];

/**
 * List of class names of liftables objects.
 * Liste des noms de classes des objets héliportables.
 */
R3F_LOG_CFG_objets_heliportables =
[
    "ArmoredSUV_PMC_DZE",
    "MtvrReammo",
    "MtvrRepair",
    "M113Ambul_UN_EP1"
    "M113_UN_EP1",
    "M2A3_EP1",
    "AAV",
    "BAF_FV510_D",
    "M113_TK_EP1",
    "ArmoredSUV_PMC",
    "BTR60_TK_EP1",
    "car_hatchback",
    "car_sedan",
    "datsun1_civil_1_open",
    "datsun1_civil_2_covered",
    "datsun1_civil_3_open",
    "GAZ_Vodnik_DZE",
    "GAZ_Vodnik_MedEvac",
    "GLT_M300_LT",
    "GLT_M300_ST",
    "hilux1_civil_1_open",
    "hilux1_civil_2_covered",
    "hilux1_civil_3_open_EP1",
    "HMMWV_Ambulance",
    "HMMWV_Ambulance_CZ_DES_EP1",
    "HMMWV_DES_EP1",
    "HMMWV_DZ",
    "HMMWV_M1035_DES_EP1",
    "HMMWV_M1151_M2_CZ_DES_EP1_DZE",
    "HMMWV_M998A2_SOV_DES_EP1_DZE",
    "Ikarus",
    "Ikarus_TK_CIV_EP1",
    "Kamaz",
    "KamazRefuel_DZ",
    "Lada1",
    "Lada1_TK_CIV_EP1",
    "Lada2",
    "Lada2_TK_CIV_EP1",
    "LadaLM",
    "LandRover_CZ_EP1",
    "LandRover_MG_TK_EP1_DZE",
    "LandRover_Special_CZ_EP1_DZE",
    "LandRover_TK_CIV_EP1",
    "MtvrRefuel_DES_EP1_DZ",
    "MTVR_DES_EP1",
    "Offroad_DSHKM_Gue_DZE",
    "Pickup_PK_GUE_DZE",
    "Pickup_PK_INS_DZE",
    "Pickup_PK_TK_GUE_EP1_DZE",
    "S1203_ambulance_EP1",
    "S1203_TK_CIV_EP1",
    "Skoda",
    "SkodaBlue",
    "SkodaGreen",
    "SkodaRed",
    "SUV_Blue",
    "SUV_Camo",
    "SUV_Charcoal",
    "SUV_Green",
    "SUV_Orange",
    "SUV_Pink",
    "SUV_Red",
    "SUV_Silver",
    "SUV_TK_CIV_EP1",
    "SUV_White",
    "SUV_Yellow",
    "tractor",
    "UAZ_CDF",
    "UAZ_INS",
    "UAZ_MG_TK_EP1_DZE",
    "UAZ_RU",
    "UAZ_Unarmed_TK_CIV_EP1",
    "UAZ_Unarmed_TK_EP1",
    "UAZ_Unarmed_UN_EP1",
    "UralRefuel_TK_EP1_DZ",
    "Ural_CDF",
    "Ural_TK_CIV_EP1",
    "Ural_UN_EP1",
    "V3S_Open_TK_CIV_EP1",
    "V3S_Open_TK_EP1",
    "V3S_Refuel_TK_GUE_EP1_DZ",
    "VolhaLimo_TK_CIV_EP1",
    "Volha_1_TK_CIV_EP1",
    "Volha_2_TK_CIV_EP1",
    "VWGolf",
    "M6_EP1",
    "Zodiac"
];


/****** LOAD IN VEHICLE / CHARGER DANS LE VEHICULE ******/

/*
 * This section use a quantification of the volume and/or weight of the objets.
 * The arbitrary referencial used is : an ammo box of type USVehicleBox "weights" 12 units.
 *
 * Cette section utilise une quantification du volume et/ou poids des objets.
 * Le référentiel arbitraire utilisé est : une caisse de munition de type USVehicleBox "pèse" 12 unités.
 *
 * Note : the priority of a declaration of capacity to another corresponds to their order in the tables.
 *   For example : the "Truck" class is in the "Car" class (see http://community.bistudio.com/wiki/ArmA_2:_CfgVehicles).
 *   If "Truck" is declared with a capacity of 140 before "Car". And if "Car" is declared after "Truck" with a capacity of 40,
 *   Then all the sub-classes in "Truck" will have a capacity of 140. And all the sub-classes of "Car", excepted the ones
 *   in "Truck", will have a capacity of 40.
 *
 * Note : la priorité d'une déclaration de capacité sur une autre correspond à leur ordre dans les tableaux.
 *   Par exemple : la classe "Truck" appartient à la classe "Car" (voir http://community.bistudio.com/wiki/ArmA_2:_CfgVehicles).
 *   Si "Truck" est déclaré avec une capacité de 140 avant "Car". Et que "Car" est déclaré après "Truck" avec une capacité de 40,
 *   Alors toutes les sous-classes appartenant à "Truck" auront une capacité de 140. Et toutes les sous-classes appartenant
 *   à "Car", exceptées celles de "Truck", auront une capacité de 40.
 */

/**
 * List of class names of (ground or air) vehicles which can transport transportables objects.
 * The second element of the arrays is the load capacity (in relation with the capacity cost of the objects).
 *
 * Liste des noms de classes des véhicules (terrestres ou aériens) pouvant transporter des objets transportables.
 * Le deuxième élément des tableaux est la capacité de chargement (en relation avec le coût de capacité des objets).
 */
R3F_LOG_CFG_transporteurs =
[
    ["BAF_Merlin_HC3_D", 50],
    ["BAF_Merlin_DZE", 50],
    ["Mi17_Civilian_DZ", 50],
    ["Mi17_DZE", 50],
    ["CH53_DZE", 50]
];

/**
 * List of class names of transportables objects.
 * The second element of the arrays is the cost capacity (in relation with the capacity of the vehicles).
 *
 * Liste des noms de classes des objets transportables.
 * Le deuxième élément des tableaux est le coût de capacité (en relation avec la capacité des véhicules).
 */
R3F_LOG_CFG_objets_transportables =
[
    ["ATV_CZ_EP1", 50],
    ["ATV_US_EP1", 50],
    ["CSJ_GyroC", 50],
    ["CSJ_GyroCover", 50],
    ["CSJ_GyroP", 50],
    ["M1030_US_DES_EP1", 25],
    ["MMT_Civ", 10],
    ["Old_bike_TK_INS_EP1", 10],
    ["Old_moto_TK_Civ_EP1", 10],
    ["TT650_Civ", 25],
    ["TT650_Ins", 25],
    ["TT650_TK_CIV_EP1", 25],
    ["car_hatchback", 25],
    ["car_sedan", 25],
    ["datsun1_civil_1_open", 25],
    ["datsun1_civil_2_covered", 25],
    ["datsun1_civil_3_open", 25],
    ["Lada1", 25],
    ["Lada1_TK_CIV_EP1", 25],
    ["Lada2",25],
    ["Lada2_TK_CIV_EP1", 25],
    ["LadaLM", 25],
    ["SUV_Blue", 35],
    ["SUV_Camo", 35],
    ["SUV_Charcoal", 35],
    ["SUV_Green", 35],
    ["SUV_Orange", 35],
    ["SUV_Pink", 35],
    ["SUV_Red", 35],
    ["SUV_Silver", 35],
    ["SUV_TK_CIV_EP1", 35],
    ["SUV_White", 35],
    ["SUV_Yellow", 35]
];

/****** MOVABLE-BY-PLAYER OBJECTS / OBJETS DEPLACABLES PAR LE JOUEUR ******/

/**
 * List of class names of objects moveables by player.
 * Liste des noms de classes des objets transportables par le joueur.
 */
R3F_LOG_CFG_objets_deplacables =
[
    "MMT_Civ",
    "Old_bike_TK_INS_EP1"
];

/*
 * List of files adding objects in the arrays of logistics configuration (e.g. R3F_LOG_CFG_remorqueurs)
 * Add an include to the new file here if you want to use the logistics with a new addon.
 *
 * Liste des fichiers ajoutant des objets dans les tableaux de fonctionnalités logistiques (ex : R3F_LOG_CFG_remorqueurs)
 * Ajoutez une inclusion vers votre nouveau fichier ici si vous souhaitez utilisez la logistique avec un nouvel addon.
 */
//#include "addons_config\ACE_OA_objects.sqf"
//#include "addons_config\BAF_objects.sqf"
//#include "addons_config\arma2_CO_objects.sqf"

Link to comment
Share on other sites

  • 0

see the line  in  red  you need  add a  , at the end of the line.

Spoiler

    "tractor",
    "GAZ_Vodnik_DZE",
    "GAZ_Vodnik_MedEvac",
    "GAZ_Vodnik_HMG",
    "Ural_UN_EP1",
    "UralRefuel_TK_EP1_DZ",
    "Ural_CDF",
    "Ural_TK_CIV_EP1",
    "Ural_UN_EP1",
    "F35B",
    "AV8B2",
    "M6_EP1",
    "MtvrReammo",
    "MtvrRepair",
    "BAF_FV510_D",
    "M113_TK_EP1",
    "M113_UN_EP1",
    "M113Ambul_UN_EP1"
    "M2A3_EP1",
    "M6_EP1",
    "AAV",
    "AV8B"
];

 

Link to comment
Share on other sites

  • 0

Thx, I must have gotten the wrong file uploaded cause I got that comma in. My bad. I redit the whole Server with my backup and it worked again. I put in the M113_TK_EP1, thats the ID from the trader and I do not get any tow option for it, but I do get a tow option for the default vehicles. How can that be. Can it be the DZ or DZE endings that need to be put in too?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Discord

×
×
  • Create New...