bibi8667 Posted January 22, 2019 Report Share Posted January 22, 2019 Hello, i have some problem with Service Point. Service point is working but i don't understand why you can buy this ammo {"24Rnd_120mm_APFSDS_shells_Tracer_Red",{0},1,300}, {"12Rnd_120mm_HE_shells_Tracer_Red",{0},1,300}, {"12Rnd_120mm_HEAT_MP_T_Red",{0},1,300}, but this ammo need to be buy at black market and pack inside bag and after i can reload {"200Rnd_762x51_Belt_Red",{0},20,300}, {"SmokeLauncherMag",{-1},1,300} can someone help me please Link to comment Share on other sites More sharing options...
0 He-Man Posted January 22, 2019 Report Share Posted January 22, 2019 Could you provide us the full config entry from cfgservicepoint for this Vehicle? Link to comment Share on other sites More sharing options...
0 bibi8667 Posted January 22, 2019 Author Report Share Posted January 22, 2019 (edited) actually the server is running like that Quote class CfgServicePoint { class Altis { ServicePoints[] = { // Array of coords for ServicePoints /* {pos1}, {pos2} OR { pos1, dist1, {VehType_1,VehType_1,...}, "MarkerText1" }, { pos2, dist2, {VehType,VehType,...}, "MarkerText2" } */ // { // Central // {13319,14523.9,0}, // Pos // 40, // max distance // {"Landvehicle","Ship","Tank","AIR"}, // Vehicle Types for SP // "Service Point Land / Ship / Air" // Marker Text (Leave it Blank to disable Marker) // } { // Central {13302.6,14453.4,0}, // Pos 40, // max distance {"Ship"}, // Vehicle Types for SP "Service Point Ship" // Marker Text (Leave it Blank to disable Marker) }, { // Airport {14159.5,16532.7,0}, // Pos 40, // max distance {"Landvehicle","Tank"}, // Vehicle Types for SP "Service Point Land" // Marker Text (Leave it Blank to disable Marker) }, { // Airport {14677,16692.8,0}, // Pos 40, // max distance {"AIR"}, // Vehicle Types for SP "Service Point Air" // Marker Text (Leave it Blank to disable Marker) }, { // North East {23367.5,19796,0}, // Pos 40, // max distance {"Landvehicle","Tank"}, // Vehicle Types for SP "Service Point Land" // Marker Text (Leave it Blank to disable Marker) }, { // North East {26802.1,24614.1,0}, // Pos 40, // max distance {"AIR"}, // Vehicle Types for SP "Service Point Air" // Marker Text (Leave it Blank to disable Marker) }, { // South East {21119.3,7330.73,0}, // Pos 40, // max distance {"AIR"}, // Vehicle Types for SP "Service Point Air" // Marker Text (Leave it Blank to disable Marker) }, { // South East {21223.3,7108.31,0}, // Pos 40, // max distance {"Landvehicle","Tank"}, // Vehicle Types for SP "Service Point Land" // Marker Text (Leave it Blank to disable Marker) }, { // North West {5865.96,20129.2,0}, // Pos 40, // max distance {"AIR"}, // Vehicle Types for SP "Service Point Air" // Marker Text (Leave it Blank to disable Marker) }, { // North West {5783.45,20087.5,0}, // Pos 40, // max distance {"Landvehicle","Tank"}, // Vehicle Types for SP "Service Point Land" // Marker Text (Leave it Blank to disable Marker) }, { // South West {4060.77,12323,0}, // Pos 40, // max distance {"AIR"}, // Vehicle Types for SP "Service Point Air" // Marker Text (Leave it Blank to disable Marker) }, { // South West {4013.29,12580.8,0}, // Pos 40, // max distance {"Landvehicle","Tank"}, // Vehicle Types for SP "Service Point Land" // Marker Text (Leave it Blank to disable Marker) } }; }; class Tanoa { ServicePoints[] = { // Array of coords for ServicePoints /* {2157.79,3477.65,0}, {11731.5,3125.95,0}, {7008.93,7582.59,0}, {2326.28,13167.9,0}, {11805.8,13100.6,0}, {5525.8,10345.2,0}, {11916,2383.88,0}, {13562.4,12139.5,0} */ }; }; class Chernarus { // Array of coords for ServicePoints ServicePoints[] = { }; }; ServicePointClasses[] = { // Array of Classnames where also are ServicePoints (not separat configurable for Vehicle types / distance) // "Land_Pillar_Pier_F", // "Land_CarService_F", // "Land_fs_feed_F", // "Land_fs_roof_F" }; PreventRepairs[] = { // These Hitpints will not be repaired, if damage >= value (Prevent from Duping Tires / Engines) {"HitLFWheel",1}, // {"HitPoint",value} {"HitLF2Wheel",1}, {"HitLMWheel",1}, {"HitLBWheel",1}, {"HitRFWheel",1}, {"HitRF2Wheel",1}, {"HitRMWheel",1}, {"HitRBWheel",1}, {"HitEngine",1} }; ServicePointDist = 40; refuel_updateInterval = 1; refuel_amount = 0.1; repairTime = 1.2; repair_costs[] = { {"Air",10000}, {"Tank",10000}, {"Ship",1000}, {"Landvehicle",1000} }; refuel_costs[] = { {"Air",1000}, {"Tank",0}, {"Ship",1000}, {"Landvehicle",0} }; /* Get all Weapons and Turrets with "magazinesAllTurrets vehicle" -> https://community.bistudio.com/wiki/magazinesAllTurrets */ VehiclesAndAmmo[] = { /* { "typeof vehicle", { {"Ammoclass",{Turretpath},MaxMagsCount,PricePerMag}, {"Ammoclass",{Turretpath},MaxMagsCount,PricePerMag} } }, */ { "B_G_Offroad_01_armed_F", { {"100Rnd_127x99_mag_Tracer_Yellow",{0},4,200} } }, { "O_G_Offroad_01_armed_F", { {"100Rnd_127x99_mag_Tracer_Yellow",{0},4,200} } }, { "I_G_Offroad_01_armed_F", { {"100Rnd_127x99_mag_Tracer_Yellow",{0},4,200} } }, { "I_MRAP_03", { {"SmokeLauncherMag",{0},1,150} } }, { "I_MRAP_03_EPOCH", { } }, { "O_MRAP_02_F", { {"SmokeLauncherMag",{-1},1,150} } }, { "B_LSV_01_armed_olive_F", { {"100Rnd_127x99_mag_Tracer_Red",{0},3,200}, {"130Rnd_338_Mag",{1},3,260} } }, { "B_LSV_01_armed_black_F", { {"100Rnd_127x99_mag_Tracer_Red",{0},3,200}, {"130Rnd_338_Mag",{1},3,260} } }, { "O_T_LSV_02_armed_black_F", { {"500Rnd_65x39_Belt_Tracer_Green_Splash",{0},3,500} } }, { "O_T_LSV_02_armed_ghex_F", { {"500Rnd_65x39_Belt_Tracer_Green_Splash",{0},3,500} } }, { "B_SDV_01_EPOCH", { } }, { "B_Heli_Light_01_armed_F", { {"5000Rnd_762x51_Belt",{-1},1,1600} } }, { "O_Heli_Light_02_unarmed_EPOCH", { {"168Rnd_CMFlare_Chaff_Magazine",{-1},1,150} } }, { "O_Heli_Light_02_v2_F", { {"2000Rnd_65x39_Belt_Tracer_Green_Splash",{-1},1,1200}, {"168Rnd_CMFlare_Chaff_Magazine",{-1},1,150} } }, { "B_Heli_Transport_01_EPOCH", { {"168Rnd_CMFlare_Chaff_Magazine",{-1},1,150}, {"2000Rnd_65x39_Belt_Tracer_Red",{1},1,1200}, {"2000Rnd_65x39_Belt_Tracer_Red",{2},1,1200} } }, { "I_Heli_Transport_02_F", { {"168Rnd_CMFlare_Chaff_Magazine",{-1},1,150} } }, { "I_Heli_Transport_02_EPOCH", { {"168Rnd_CMFlare_Chaff_Magazine",{-1},1,150} } }, { "B_Heli_Transport_03_F", { {"168Rnd_CMFlare_Chaff_Magazine",{-1},1,150}, {"2000Rnd_65x39_Belt_Tracer_Red",{1},1,1200}, {"2000Rnd_65x39_Belt_Tracer_Red",{2},1,1200} } }, { "B_Heli_Transport_03_black_F", { {"168Rnd_CMFlare_Chaff_Magazine",{-1},1,150}, {"2000Rnd_65x39_Belt_Tracer_Red",{1},1,1200}, {"2000Rnd_65x39_Belt_Tracer_Red",{2},1,1200} } }, { "B_Heli_Transport_03_unarmed_EPOCH", { {"168Rnd_CMFlare_Chaff_Magazine",{-1},1,150} } }, { "I_Heli_light_03_unarmed_EPOCH", { {"168Rnd_CMFlare_Chaff_Magazine",{-1},1,150} } }, { "B_T_VTOL_01_vehicle_blue_F", { {"240Rnd_CMFlare_Chaff_Magazine",{-1},1,150} } }, { "B_T_VTOL_01_infantry_olive_F", { {"240Rnd_CMFlare_Chaff_Magazine",{-1},1,150} } }, { "B_T_VTOL_01_infantry_blue_F", { {"240Rnd_CMFlare_Chaff_Magazine",{-1},1,150} } }, { "O_T_VTOL_02_vehicle_F", { {"168Rnd_CMFlare_Chaff_Magazine",{-1},1,150} } }, { "O_T_VTOL_02_vehicle_grey_F", { {"168Rnd_CMFlare_Chaff_Magazine",{-1},1,150} } }, { "O_T_VTOL_02_infantry_F", { {"168Rnd_CMFlare_Chaff_Magazine",{-1},1,150} } }, { "B_Heli_Attack_01_F", { {"240Rnd_CMFlare_Chaff_Magazine",{-1},1,150} } }, { "O_Heli_Attack_02_black_F", { {"192Rnd_CMFlare_Chaff_Magazine",{-1},1,150} } }, { "O_Heli_Attack_02_F", { {"192Rnd_CMFlare_Chaff_Magazine",{-1},1,150} } }, { "O_Boat_Armed_01_hmg_F", { {"SmokeLauncherMag_boat",{-1},1,100}, {"200Rnd_127x99_mag_Tracer_Green",{1},3,300} } }, { "B_MBT_01_cannon_F", { {"24Rnd_120mm_APFSDS_shells_Tracer_Red",{0},1,300}, {"12Rnd_120mm_HE_shells_Tracer_Red",{0},1,300}, {"12Rnd_120mm_HEAT_MP_T_Red",{0},1,300}, {"200Rnd_762x51_Belt_Red",{0},20,300}, {"SmokeLauncherMag",{-1},1,300} } }, { "O_MBT_04_command_F", { {"20Rnd_125mm_APFSDS_T_Red",{0},1,300}, {"12Rnd_125mm_HEAT_T_Red",{0},1,300}, {"12Rnd_125mm_HE_T_Red",{0},1,300}, {"1000Rnd_762x51_Belt_Green",{1},2,300}, {"60Rnd_30mm_MP_shells_Tracer_Green",{-1},4,300}, {"SmokeLauncherMag",{-1},1,300} } }, { "O_MBT_04_cannon_F", { {"20Rnd_125mm_APFSDS_T_Red",{0},1,300}, {"12Rnd_125mm_HEAT_T_Red",{0},1,300}, {"12Rnd_125mm_HE_T_Red",{0},1,300}, {"1000Rnd_762x51_Belt_Green",{1},2,300}, {"60Rnd_30mm_MP_shells_Tracer_Green",{-1},4,300}, {"SmokeLauncherMag",{-1},1,300} } }, { "O_T_MBT_04_cannon_F", { {"20Rnd_125mm_APFSDS_T_Red",{0},1,300}, {"12Rnd_125mm_HEAT_T_Red",{0},1,300}, {"12Rnd_125mm_HE_T_Red",{0},1,300}, {"1000Rnd_762x51_Belt_Green",{1},2,300}, {"60Rnd_30mm_MP_shells_Tracer_Green",{-1},4,300}, {"SmokeLauncherMag",{-1},1,300} } }, { "O_T_MBT_04_command_F ", { {"20Rnd_125mm_APFSDS_T_Red",{0},1,300}, {"12Rnd_125mm_HEAT_T_Red",{0},1,300}, {"12Rnd_125mm_HE_T_Red",{0},1,300}, {"1000Rnd_762x51_Belt_Green",{1},2,300}, {"60Rnd_30mm_MP_shells_Tracer_Green",{-1},4,300}, {"SmokeLauncherMag",{-1},1,300} } }, { "mosquito_epoch_armedG", { {"3Rnd_MosquitoGrenade",{-1},1,60} } } }; }; but i want to put this file under but i have an error in the log of the server 4:19:37 Warning Message: File mpmissions\__cur_mp.Altis\description.ext, line 15: /CfgServicePoint/: Missing '}' 4:19:37 Mission epoch.Altis: Missing 'description.ext::Header' Quote class CfgServicePoint { class Altis { ServicePoints[] = { // Array of coords for ServicePoints /* {pos1}, {pos2} OR { pos1, dist1, {VehType_1,VehType_1,...}, "MarkerText1" }, { pos2, dist2, {VehType,VehType,...}, "MarkerText2" } */ // { // Central // {13319,14523.9,0}, // Pos // 40, // max distance // {"Landvehicle","Ship","Tank","AIR"}, // Vehicle Types for SP // "Service Point Land / Ship / Air" // Marker Text (Leave it Blank to disable Marker) // } { // Central {13302.6,14453.4,0}, // Pos 40, // max distance {"Ship"}, // Vehicle Types for SP "Service Point Ship" // Marker Text (Leave it Blank to disable Marker) }, { // Airport {14159.5,16532.7,0}, // Pos 40, // max distance {"Landvehicle","Tank"}, // Vehicle Types for SP "Service Point Land" // Marker Text (Leave it Blank to disable Marker) }, { // Airport {14677,16692.8,0}, // Pos 40, // max distance {"AIR"}, // Vehicle Types for SP "Service Point Air" // Marker Text (Leave it Blank to disable Marker) }, { // North East {23367.5,19796,0}, // Pos 40, // max distance {"Landvehicle","Tank"}, // Vehicle Types for SP "Service Point Land" // Marker Text (Leave it Blank to disable Marker) }, { // North East {26802.1,24614.1,0}, // Pos 40, // max distance {"AIR"}, // Vehicle Types for SP "Service Point Air" // Marker Text (Leave it Blank to disable Marker) }, { // South East {21119.3,7330.73,0}, // Pos 40, // max distance {"AIR"}, // Vehicle Types for SP "Service Point Air" // Marker Text (Leave it Blank to disable Marker) }, { // South East {21223.3,7108.31,0}, // Pos 40, // max distance {"Landvehicle","Tank"}, // Vehicle Types for SP "Service Point Land" // Marker Text (Leave it Blank to disable Marker) }, { // North West {5865.96,20129.2,0}, // Pos 40, // max distance {"AIR"}, // Vehicle Types for SP "Service Point Air" // Marker Text (Leave it Blank to disable Marker) }, { // North West {5783.45,20087.5,0}, // Pos 40, // max distance {"Landvehicle","Tank"}, // Vehicle Types for SP "Service Point Land" // Marker Text (Leave it Blank to disable Marker) }, { // South West {4060.77,12323,0}, // Pos 40, // max distance {"AIR"}, // Vehicle Types for SP "Service Point Air" // Marker Text (Leave it Blank to disable Marker) }, { // South West {4013.29,12580.8,0}, // Pos 40, // max distance {"Landvehicle","Tank"}, // Vehicle Types for SP "Service Point Land" // Marker Text (Leave it Blank to disable Marker) } }; }; class Tanoa { ServicePoints[] = { // Array of coords for ServicePoints /* {2157.79,3477.65,0}, {11731.5,3125.95,0}, {7008.93,7582.59,0}, {2326.28,13167.9,0}, {11805.8,13100.6,0}, {5525.8,10345.2,0}, {11916,2383.88,0}, {13562.4,12139.5,0} */ }; }; class Chernarus { // Array of coords for ServicePoints ServicePoints[] = { }; }; ServicePointClasses[] = { // Array of Classnames where also are ServicePoints (not separat configurable for Vehicle types / distance) // "Land_Pillar_Pier_F", // "Land_CarService_F", // "Land_fs_feed_F", // "Land_fs_roof_F" }; PreventRepairs[] = { // These Hitpints will not be repaired, if damage >= value (Prevent from Duping Tires / Engines) {"HitLFWheel",1}, // {"HitPoint",value} {"HitLF2Wheel",1}, {"HitLMWheel",1}, {"HitLBWheel",1}, {"HitRFWheel",1}, {"HitRF2Wheel",1}, {"HitRMWheel",1}, {"HitRBWheel",1}, {"HitEngine",1} }; ServicePointDist = 40; refuel_updateInterval = 1; refuel_amount = 0.1; repairTime = 1.2; repair_costs[] = { {"Air",10000}, {"Tank",10000}, {"Ship",1000}, {"Landvehicle",1000} }; refuel_costs[] = { {"Air",1000}, {"Tank",0}, {"Ship",1000}, {"Landvehicle",0} }; /* Get all Weapons and Turrets with "magazinesAllTurrets vehicle" -> https://community.bistudio.com/wiki/magazinesAllTurrets */ VehiclesAndAmmo[] = { /* { "typeof vehicle", { {"Ammoclass",{Turretpath},MaxMagsCount,PricePerMag}, {"Ammoclass",{Turretpath},MaxMagsCount,PricePerMag} } }, */ // { "I_APC_Wheeled_03_cannon_F { {"140Rnd_30mm_MP_shells_Tracer_Yellow",{0},2,200}, {"60Rnd_30mm_APFSDS_shells_Tracer_Yellow",{0},2,200}, {"200Rnd_762x51_Belt_Yellow",{0},8,200}, {"2Rnd_GAT_missiles",{0},2,200}, {"SmokeLauncherMag",{1},1,200} } },//AFV-4 Gorgon { "B_APC_Wheeled_01_cannon_F { {"1000Rnd_Gatling_30mm_Plane_CAS_01_F",{0},1,200}, {"Laserbatteries",{1},1,200}, {"120Rnd_CMFlare_Chaff_Magazine",{1},1,200} } },//AMV-7 Marshall { "B_APC_Tracked_01_CRV_F { {"200Rnd_127x99_mag_Tracer_Red",{0},4,200}, {"SmokeLauncherMag",{1},1,200} } },//CRV-6e Bobcat { "B_APC_Tracked_01_rcws_F { {"96Rnd_40mm_G_belt",{0},2,200}, {"200Rnd_127x99_mag_Tracer_Red",{0},4,200}, {"SmokeLauncherMag",{1},1,200} } },//IFV-6c Panther { "O_APC_Tracked_02_cannon_F { {"140Rnd_30mm_MP_shells_Tracer_Green",{0},2,200}, {"60Rnd_30mm_APFSDS_shells_Tracer_Green",{0},2,200}, {"200Rnd_762x51_Belt_Green",{0},8,200}, {"2Rnd_GAT_missiles_O",{0},2,200}, {"SmokeLauncherMag",{1},1,200} } },// BTR-K Kamysh { "I_APC_tracked_03_cannon_F { {"140Rnd_30mm_MP_shells_Tracer_Yellow",{0},2,200}, {"60Rnd_30mm_APFSDS_shells_Tracer_Yellow",{0},2,200}, {"200Rnd_762x51_Belt_Yellow",{0},8,200}, {"SmokeLauncherMag",{1},1,200} } },//FV-720 Mora { "O_APC_Wheeled_02_rcws_F { {"96Rnd_40mm_G_belt",{0},2,200}, {"200Rnd_127x99_mag_Tracer_Green",{0},4,200}, {"SmokeLauncherMag",{1},1,200} } },// MSE-3 Marid { "B_AFV_Wheeled_01_cannon_F { {"12Rnd_120mm_APFSDS_shells_Tracer_Red",{0},1,200}, {"8Rnd_120mm_HE_shells_Tracer_Red",{0},1,200}, {"8Rnd_120mm_HEAT_MP_T_Red",{0},1,200}, {"200Rnd_338_Mag",{0},4,200}, {"4Rnd_120mm_LG_cannon_missiles",{0},1,200}, {"SmokeLauncherMag",{1},1,200}, {"Laserbatteries",{1},1,200} } },// Rhino MGS { "B_T_AFV_Wheeled_01_cannon_F { {"12Rnd_120mm_APFSDS_shells_Tracer_Red",{0},1,200}, {"8Rnd_120mm_HE_shells_Tracer_Red",{0},1,200}, {"8Rnd_120mm_HEAT_MP_T_Red",{0},1,200}, {"200Rnd_338_Mag",{0},4,200}, {"4Rnd_120mm_LG_cannon_missiles",{0},1,200}, {"SmokeLauncherMag",{1},1,200}, {"Laserbatteries",{1},1,200} } },//Rhino MGS { "B_AFV_Wheeled_01_up_cannon_F { {"12Rnd_120mm_APFSDS_shells_Tracer_Red",{0},1,200}, {"8Rnd_120mm_HE_shells_Tracer_Red",{0},1,200}, {"8Rnd_120mm_HEAT_MP_T_Red",{0},1,200}, {"200Rnd_338_Mag",{0},4,200}, {"4Rnd_120mm_LG_cannon_missiles",{0},1,200}, {"SmokeLauncherMag",{1},1,200}, {"200Rnd_127x99_mag_Tracer_Red",{0},2,200}, {"Laserbatteries",{1},4,200} } },//Rhino MGS UP { "B_T_AFV_Wheeled_01_up_cannon_F { {"12Rnd_120mm_APFSDS_shells_Tracer_Red",{0},1,200}, {"8Rnd_120mm_HE_shells_Tracer_Red",{0},1,200}, {"8Rnd_120mm_HEAT_MP_T_Red",{0},1,200}, {"200Rnd_338_Mag",{0},4,200}, {"4Rnd_120mm_LG_cannon_missiles",{0},1,200}, {"SmokeLauncherMag",{1},1,200}, {"200Rnd_127x99_mag_Tracer_Red",{0},2,200}, {"Laserbatteries",{1},1,200} } },//Rhino MGS UP { "B_APC_Tracked_01_AA_F { {"680Rnd_35mm_AA_shells_Tracer_Red",{0},1,200}, {"4Rnd_Titan_long_missiles",{0},2,200}, {"SmokeLauncherMag",{1},1,200} } },//IFV-6a Cheetah { "O_T_APC_Tracked_02_AA_ghex_F { {"680Rnd_35mm_AA_shells_Tracer_Green",{0},1,200}, {"4Rnd_Titan_long_missiles_O",{0},2,200}, {"SmokeLauncherMag",{1},1,200} } },//ZSU-39 Tigris { "O_APC_Tracked_02_AA_F { {"680Rnd_35mm_AA_shells_Tracer_Green",{0},1,200}, {"4Rnd_Titan_long_missiles_O",{0},2,200}, {"SmokeLauncherMag",{1},1,200} } },//ZSU-39 Tigris { "B_MBT_01_mlrs_F { {"SmokeLauncherMag",{1},1,200}, {"12Rnd_230mm_rockets",{0},1,200} } },// M5 Sandstorm MLRS { "B_MBT_01_TUSK_F { {"24Rnd_120mm_APFSDS_shells_Tracer_Red",{0},1,200}, {"12Rnd_120mm_HE_shells_Tracer_Red",{0},1,200}, {"12Rnd_120mm_HEAT_MP_T_Red",{0},1,200}, {"200Rnd_762x51_Belt_Red",{0},20,200}, {"200Rnd_127x99_mag_Tracer_Red",{0},4,200}, {"SmokeLauncherMag",{1},1,200} } },//M2A4 Slammer UP { "O_MBT_02_cannon_F { {"680Rnd_35mm_AA_shells_Tracer_Green",{0},1,200}, {"4Rnd_Titan_long_missiles_O",{0},2,200}, {"SmokeLauncherMag",{1},1,200} } },//ZSU-39 Tigris { "O_MBT_02_arty_F { {"32Rnd_155mm_Mo_shells_O",{0},1,200}, {"2Rnd_155mm_Mo_guided_O",{0},1,200}, {"6Rnd_155mm_Mo_mine_O",{0},1,200}, {"2Rnd_155mm_Mo_Cluster_O",{0},1,200}, {"6Rnd_155mm_Mo_smoke_O",{0},1,200}, {"4Rnd_155mm_Mo_LG_O",{0},1,200}, {"6Rnd_155mm_Mo_AT_mine_O",{0},1,200}, {"96Rnd_40mm_G_belt",{0},1,200}, {"200Rnd_127x99_mag_Tracer_Green",{0},2,200}, {"SmokeLauncherMag",{1},1,200} } },//2S9 Sochor { "I_MBT_03_cannon_F { {"20Rnd_120mm_APFSDS_shells_Tracer_Yellow",{0},1,200}, {"12Rnd_120mm_HE_shells_Tracer_Yellow",{0},1,200}, {"12Rnd_120mm_HEAT_MP_T_Yellow",{0},1,200}, {"200Rnd_762x51_Belt_Yellow",{0},10,200}, {"200Rnd_127x99_mag_Tracer_Yellow",{0},2,200}, {"SmokeLauncherMag",{1},1,200} },//MBT-52 Kuma { "I_LT_01_scout_F { {"Laserbatteries",{1},1,200}, {"SmokeLauncherMag",{1},1,200} } },//AWC 303 Nyx (Recon) { "I_LT_01_AT_F { {"SmokeLauncherMag",{1},1,200}, {"2Rnd_127mm_Firefist_missiles",{0},3,200}, {"100Rnd_127x99_mag_Tracer_Red",{0},4,200} } },//AWC 301 Nyx (AT) { "I_LT_01_AA_F { {"SmokeLauncherMag",{1},1,200}, {"4Rnd_70mm_SAAMI_missiles",{0},2,200}, {"100Rnd_127x99_mag_Tracer_Red",{0},4,200} } },//AWC 302 Nyx (AA) { "I_LT_01_cannon_F { {"SmokeLauncherMag",{1},1,200}, {"60Rnd_20mm_HE_shells",{0},2,200}, {"60Rnd_20mm_AP_shells",{0},2,200}, {"200Rnd_762x51_Belt_Yellow",{0},4,200} } },//AWC 304 Nyx (Autocannon) { "B_T_LSV_01_armed_black_F { {"100Rnd_127x99_mag_Tracer_Red",{0},3,200}, {"130Rnd_338_Mag",{0},3,200} } },//prowler cal. 50 { "B_T_LSV_01_armed_olive_F { {"100Rnd_127x99_mag_Tracer_Red",{0},3,200}, {"130Rnd_338_Mag",{0},3,200} } },//prowler { "B_T_LSV_01_armed_sand_F { {"100Rnd_127x99_mag_Tracer_Red",{0},3,200}, {"130Rnd_338_Mag",{0},3,200} } },//prowler { "B_T_LSV_01_armed_F { {"100Rnd_127x99_mag_Tracer_Red",{0},3,200}, {"130Rnd_338_Mag",{0},3,200} } },//prowler { "B_T_LSV_01_AT_F { {"1Rnd_GAT_missiles",{0},6,200}, {"130Rnd_338_Mag",{0},3,200} } },//prowler { "B_LSV_01_armed_F { {"100Rnd_127x99_mag_Tracer_Red",{0},3,200}, {"130Rnd_338_Mag",{0},3,200} } },//prowler { "B_LSV_01_AT_F { {"1Rnd_GAT_missiles",{0},6,200}, {"130Rnd_338_Mag",{0},3,200} } },//prowler GL { "B_MRAP_01_gmg_F { {"96Rnd_40mm_G_belt",{0},2,200} } },//hunter gmg { "B_MRAP_01_hmg_F { {"200Rnd_127x99_mag_Tracer_Red",{0},2,200} } },//hunter hmg { "I_MRAP_03_hmg_F { {"200Rnd_127x99_mag_Tracer_Yellow",{0},2,200}, {"Laserbatteries",{1},1,200}, {"SmokeLauncherMag",{1},1,200} } },//strider hmg { "I_MRAP_03_gmg_F { {"96Rnd_40mm_G_belt",{0},2,200}, {"Laserbatteries",{1},1,200}, {"SmokeLauncherMag",{1},1,200} } },//strider gmg { "O_MRAP_02_hmg_F { {"SmokeLauncherMag",{1},1,200}, {"200Rnd_127x99_mag_Tracer_Green",{0},2,200} } },//ifrit hmg { "O_MRAP_02_gmg_F { {"SmokeLauncherMag",{1},1,200}, {"96Rnd_40mm_G_belt",{0},2,200} } },//ifrit gmg { "B_G_Offroad_01_armed_EPOCH { {"100Rnd_127x99_mag_Tracer_Yellow",{0},4,200} } },//offroad cal.50 { "B_G_Offroad_01_AT_F { {"12rnd_SPG9_HEAT",{0},1,200}, {"8rnd_SPG9_HE",{0},1,200} } },//offroad GL { "B_G_Offroad_01_armed_F { {"100Rnd_127x99_mag_Tracer_Yellow",{0},4,200} } },//offroad { "O_G_Offroad_01_armed_F { {"100Rnd_127x99_mag_Tracer_Yellow",{0},4,200} } },//offroad { "I_C_Offroad_02_LMG_F { {"200Rnd_556x45_Box_Tracer_F",{0},3,200} } },//MB4WD { "B_Heli_Attack_01_F { {"1000Rnd_20mm_shells",{0},1,200}, {"4Rnd_AAA_missiles",{0},1,200}, {"24Rnd_PG_missiles",{0},1,200}, {"Laserbatteries",{1},1,200}, {"240Rnd_CMFlare_Chaff_Magazine",{-1},1,150} } },//AH-99 Blackfoot { "O_Heli_Attack_02_black_F { {"250Rnd_30mm_HE_shells_Tracer_Green",{0},1,200}, {"250Rnd_30mm_APDS_shells_Tracer_Green",{0},1,200}, {"8Rnd_LG_scalpel",{0},1,200}, {"38Rnd_80mm_rockets",{0},1,200}, {"Laserbatteries",{1},1,200}, {"192Rnd_CMFlare_Chaff_Magazine",{-1},1,150} } },//Mi-48 Kajman { "B_Heli_Light_01_armed_F { {"24Rnd_missiles",{-1},1,200}, {"5000Rnd_762x51_Belt",{-1},1,1600} } },//AH-9 Pawnee { "O_Heli_Light_02_EPOCH { {"168Rnd_CMFlare_Chaff_Magazine",{-1},1,150} } }, //PO-30 Orca { "B_Heli_Light_01_EPOCH { {"5000Rnd_762x51_Belt",{0},1,200}, {"24Rnd_missiles",{0},1,200} } }, //MH-9 { "B_Plane_CAS_01_F { {"1000Rnd_Gatling_30mm_Plane_CAS_01_F",{0},1,200}, {"Laserbatteries",{1},1,200}, {"120Rnd_CMFlare_Chaff_Magazine",{0},1,200} } }, //A-164 Wipeout { "O_Plane_CAS_02_F { {"500Rnd_Cannon_30mm_Plane_CAS_02_F",{0},1,200}, {"2Rnd_Missile_AA_03_F",{0},1,200}, {"4Rnd_Missile_AGM_01_F",{0},1,200}, {"2Rnd_Bomb_03_F",{0},1,200}, {"20Rnd_Rocket_03_HE_F",{0},1,200}, {"20Rnd_Rocket_03_AP_F",{0},1,200}, {"Laserbatteries",{1},1,200}, {"120Rnd_CMFlare_Chaff_Magazine",{-1},1,200} } }, //To-199 Neophron { "O_T_VTOL_02_infantry_F { {"250Rnd_30mm_HE_shells_Tracer_Green",{0},1,200}, {"250Rnd_30mm_APDS_shells_Tracer_Green",{0},1,200}, {"8Rnd_LG_scalpel",{0},1,200}, {"38Rnd_80mm_rockets",{0},1,200}, {"Laserbatteries",{1},1,200}, {"168Rnd_CMFlare_Chaff_Magazine",{-1},1,150} } }, //Y-32 Xi'an { "O_Heli_Light_02_unarmed_EPOCH", { {"168Rnd_CMFlare_Chaff_Magazine",{-1},1,150} } }, { "I_Heli_light_03_unarmed_EPOCH", { {"168Rnd_CMFlare_Chaff_Magazine",{-1},1,150} } },//WY-55 Hellcat { "B_Heli_Transport_01_EPOCH", { {"168Rnd_CMFlare_Chaff_Magazine",{-1},1,150}, {"2000Rnd_65x39_Belt_Tracer_Red",{1},1,1200}, {"2000Rnd_65x39_Belt_Tracer_Red",{2},1,1200} } },//ghost { "I_Heli_Transport_02_EPOCH", { {"168Rnd_CMFlare_Chaff_Magazine",{-1},1,150} } },//mohawk { "B_Heli_Transport_03_unarmed_EPOCH", { {"168Rnd_CMFlare_Chaff_Magazine",{-1},1,150} } },//huron { "B_MBT_01_cannon_F", { {"24Rnd_120mm_APFSDS_shells_Tracer_Green",{0},1,300}, {"12Rnd_120mm_HE_shells_Tracer_Green",{0},1,300}, {"12Rnd_120mm_HEAT_MP_T_Green",{0},1,300}, {"200Rnd_762x51_Belt_Red",{0},20,300}, {"SmokeLauncherMag",{1},1,300} } },//M2A1 Slammer { "O_MBT_04_command_F", { {"20Rnd_125mm_APFSDS_T_Green",{0},1,300}, {"12Rnd_125mm_HEAT_T_Green",{0},1,300}, {"12Rnd_125mm_HE_T_Green",{0},1,300}, {"1000Rnd_762x51_Belt_Green",{0},2,300}, {"60Rnd_30mm_MP_shells_Tracer_Green",{-1},4,300}, {"SmokeLauncherMag",{1},1,300} } }, { "O_MBT_04_cannon_F", { {"20Rnd_125mm_APFSDS_T_Green",{0},1,300}, {"12Rnd_125mm_HEAT_T_Green",{0},1,300}, {"12Rnd_125mm_HE_T_Green",{0},1,300}, {"1000Rnd_762x51_Belt_Green",{0},2,300}, {"60Rnd_30mm_MP_shells_Tracer_Green",{0},4,300}, {"SmokeLauncherMag",{1},1,300} } }, { "O_T_MBT_04_cannon_F", { {"20Rnd_125mm_APFSDS_T_Green",{0},1,300}, {"12Rnd_125mm_HEAT_T_Green",{0},1,300}, {"12Rnd_125mm_HE_T_Green",{0},1,300}, {"1000Rnd_762x51_Belt_Green",{0},2,300}, {"60Rnd_30mm_MP_shells_Tracer_Green",{0},4,300}, {"SmokeLauncherMag",{1},1,300} } }, { "O_T_MBT_04_command_F ", { {"20Rnd_125mm_APFSDS_T_Green",{0},1,300}, {"12Rnd_125mm_HEAT_T_Green",{0},1,300}, {"12Rnd_125mm_HE_T_Green",{0},1,300}, {"1000Rnd_762x51_Belt_Green",{0},2,300}, {"60Rnd_30mm_MP_shells_Tracer_Green",{0},4,300}, {"SmokeLauncherMag",{1},1,300} } }, { "mosquito_epoch_armedG", { {"3Rnd_MosquitoGrenade",{-1},1,60} } } }; }; and i don't found the solution ... Edited January 22, 2019 by bibi8667 update Link to comment Share on other sites More sharing options...
0 He-Man Posted January 22, 2019 Report Share Posted January 22, 2019 Let me have a closer look After Work... Link to comment Share on other sites More sharing options...
0 bibi8667 Posted January 22, 2019 Author Report Share Posted January 22, 2019 think i found the problem { "I_MBT_03_cannon_F { {"20Rnd_120mm_APFSDS_shells_Tracer_Yellow",{0},1,200}, {"12Rnd_120mm_HE_shells_Tracer_Yellow",{0},1,200}, {"12Rnd_120mm_HEAT_MP_T_Yellow",{0},1,200}, {"200Rnd_762x51_Belt_Yellow",{0},10,200}, {"200Rnd_127x99_mag_Tracer_Yellow",{0},2,200}, {"SmokeLauncherMag",{1},1,200} },//MBT-52 Kuma missing the } at the end Link to comment Share on other sites More sharing options...
0 He-Man Posted January 22, 2019 Report Share Posted January 22, 2019 So everything fixed now? Link to comment Share on other sites More sharing options...
0 bibi8667 Posted January 22, 2019 Author Report Share Posted January 22, 2019 not really .... this 3 missiles can be paid at service point {"24Rnd_120mm_APFSDS_shells_Tracer_Red",{0},1,300}, {"12Rnd_120mm_HE_shells_Tracer_Red",{0},1,300}, {"12Rnd_120mm_HEAT_MP_T_Red",{0},1,300}, but this ammo need to be buy at black market and pack inside bag and after i can reload {"200Rnd_762x51_Belt_Red",{0},20,300}, {"SmokeLauncherMag",{-1},1,300} Link to comment Share on other sites More sharing options...
0 bibi8667 Posted January 22, 2019 Author Report Share Posted January 22, 2019 and one more problem, T-140 Angara can't be reload and i put the good line but no action at service point but M2A1 is working fine { "B_MBT_01_cannon_F", { {"24Rnd_120mm_APFSDS_shells_Tracer_Green",{0},1,300}, {"12Rnd_120mm_HE_shells_Tracer_Green",{0},1,300}, {"12Rnd_120mm_HEAT_MP_T_Green",{0},1,300}, {"200Rnd_762x51_Belt_Red",{0},20,300}, {"SmokeLauncherMag",{1},1,300} } },//M2A1 Slammer { "O_MBT_04_command_F", { {"20Rnd_125mm_APFSDS_T_Green",{0},1,300}, {"12Rnd_125mm_HEAT_T_Green",{0},1,300}, {"12Rnd_125mm_HE_T_Green",{0},1,300}, {"1000Rnd_762x51_Belt_Green",{0},2,300}, {"60Rnd_30mm_MP_shells_Tracer_Green",{-1},4,300}, {"SmokeLauncherMag",{1},1,300} } }, { "O_MBT_04_cannon_F", { {"20Rnd_125mm_APFSDS_T_Green",{0},1,300}, {"12Rnd_125mm_HEAT_T_Green",{0},1,300}, {"12Rnd_125mm_HE_T_Green",{0},1,300}, {"1000Rnd_762x51_Belt_Green",{0},2,300}, {"60Rnd_30mm_MP_shells_Tracer_Green",{0},4,300}, {"SmokeLauncherMag",{1},1,300} } }, { "O_T_MBT_04_cannon_F", { {"20Rnd_125mm_APFSDS_T_Green",{0},1,300}, {"12Rnd_125mm_HEAT_T_Green",{0},1,300}, {"12Rnd_125mm_HE_T_Green",{0},1,300}, {"1000Rnd_762x51_Belt_Green",{0},2,300}, {"60Rnd_30mm_MP_shells_Tracer_Green",{0},4,300}, {"SmokeLauncherMag",{1},1,300} } }, { "O_T_MBT_04_command_F ", { {"20Rnd_125mm_APFSDS_T_Green",{0},1,300}, {"12Rnd_125mm_HEAT_T_Green",{0},1,300}, {"12Rnd_125mm_HE_T_Green",{0},1,300}, {"1000Rnd_762x51_Belt_Green",{0},2,300}, {"60Rnd_30mm_MP_shells_Tracer_Green",{0},4,300}, {"SmokeLauncherMag",{1},1,300} } }, i try this ammo but not working 20Rnd_125mm_APFSDS 125mm APFSDS-T ' Sh_125mm_APFSDS cannon_125mm cannon_125mm_advanced 20Rnd_125mm_APFSDS_T_Red 125mm APFSDS-T ' Sh_125mm_APFSDS_T_Red cannon_125mm cannon_125mm_advanced 20Rnd_125mm_APFSDS_T_Green 125mm APFSDS-T ' Sh_125mm_APFSDS_T_Green cannon_125mm cannon_125mm_advanced 20Rnd_125mm_APFSDS_T_Yellow 125mm APFSDS-T ' Sh_125mm_APFSDS_T_Yellow cannon_125mm cannon_125mm_advanced Link to comment Share on other sites More sharing options...
0 He-Man Posted January 22, 2019 Report Share Posted January 22, 2019 Could you please pastebin your config? I just tried to test it, but there came up some syntax errors, because I copied it from html... It would be better to do this for all larger scripts / configs, to keep the forum a bit more clean...https://pastebin.com/ Link to comment Share on other sites More sharing options...
0 He-Man Posted January 22, 2019 Report Share Posted January 22, 2019 But... what I have noticed:"O_T_MBT_04_command_F " -> "O_T_MBT_04_command_F<space>"There is a space between _F and " Link to comment Share on other sites More sharing options...
0 bibi8667 Posted January 22, 2019 Author Report Share Posted January 22, 2019 i delete the space https://pastebin.com/afHnH7cG Link to comment Share on other sites More sharing options...
0 He-Man Posted January 22, 2019 Report Share Posted January 22, 2019 Oh maybe you have just reached the max mags??? If you shoot your weapon empty, the menu should come up... Link to comment Share on other sites More sharing options...
0 He-Man Posted January 22, 2019 Report Share Posted January 22, 2019 {"20Rnd_125mm_APFSDS_T_Green",{0},1,300}, This means {"MagName",{Turretpath},MaxAllowedMags,PricePerFullMag} So if you already have 1 mag on the vehicle, you can not rearm Link to comment Share on other sites More sharing options...
0 He-Man Posted January 22, 2019 Report Share Posted January 22, 2019 Ah and you have to be the current user of the weapon (be local to the turret). It do not work as driver, if the driver is not the gunner Link to comment Share on other sites More sharing options...
0 bibi8667 Posted January 22, 2019 Author Report Share Posted January 22, 2019 7 minutes ago, He-Man said: {"20Rnd_125mm_APFSDS_T_Green",{0},1,300}, This means {"MagName",{Turretpath},MaxAllowedMags,PricePerFullMag} So if you already have 1 mag on the vehicle, you can not rearm but with m2a1 i dont need to empty ammo for reload, i can reload when i shoot only 1 time ... the problem i don't have dlc tank ^^ it is my m8 who have it so i can't test now Link to comment Share on other sites More sharing options...
0 bibi8667 Posted January 24, 2019 Author Report Share Posted January 24, 2019 thx a lot he-man, working fine now ! He-Man 1 Link to comment Share on other sites More sharing options...
0 bibi8667 Posted January 25, 2019 Author Report Share Posted January 25, 2019 he-man, i am searching a list of ammo for RHS USAF but don't find, only one way i see, is to unpbo files @RHSUSAF .... think you have a list ? Link to comment Share on other sites More sharing options...
0 He-Man Posted January 25, 2019 Report Share Posted January 25, 2019 I am only using the default magazines (on Vehicle spawn). I have added a link in the config to the comand to get them as an array:https://github.com/EpochModTeam/Epoch/blob/release/Sources/epoch_config/Configs/CfgServicePoint.hpp#L82 So spawn the Vehicle in Editor, get in as driver and run: magazinesAllTurrets (vehicle player) Then you get an array with the needed entries back... className: String - magazine class name turretPath: Array - turret path ammoCount: Number - how many rounds left in the magazine id: Number - id of the magazine object. The number starts at 10,000,000. This gives it about 7,600,000 possible ids before the number starts losing precision and cannot be used in scripts. creator: Number - owner / clientOwner of the PC that created the object Link to comment Share on other sites More sharing options...
0 bibi8667 Posted January 25, 2019 Author Report Share Posted January 25, 2019 6 hours ago, He-Man said: Then you get an array with the needed entries back... don't understand this step ... how do i show the array ? OK I FOUND THX Link to comment Share on other sites More sharing options...
0 He-Man Posted January 25, 2019 Report Share Posted January 25, 2019 Nice! Once understand how it works, it is easy to add Vehicles to the Rearm script :) Link to comment Share on other sites More sharing options...
0 bibi8667 Posted January 26, 2019 Author Report Share Posted January 26, 2019 my work https://pastebin.com/5jeFVYNs thx to you He-man Link to comment Share on other sites More sharing options...
0 bibi8667 Posted February 8, 2019 Author Report Share Posted February 8, 2019 hello, i have an other problem, just try with one vehicule CUP reload doesn't work but i add it inside servicepoint.hpp { "CUP_B_Mi171Sh_ACR", { {"168Rnd_CMFlare_Chaff_Magazine",{-1},1,200}, {"CUP_PylonPod_32Rnd_S5_M",{-1},6,200}, {"CUP_100Rnd_TE1_Green_Tracer_762x54_PKT_M",{0},6,200}, {"CUP_100Rnd_TE1_Green_Tracer_762x54_PKT_M",{1},6,200}, {"CUP_100Rnd_TE1_Green_Tracer_762x54_PKT_M",{2},6,200} } }, but on the service point i can only refuel and repair, i try every place .... Link to comment Share on other sites More sharing options...
Question
bibi8667
Hello, i have some problem with Service Point.
Service point is working but i don't understand why you can buy this ammo
{"24Rnd_120mm_APFSDS_shells_Tracer_Red",{0},1,300},
{"12Rnd_120mm_HE_shells_Tracer_Red",{0},1,300},
{"12Rnd_120mm_HEAT_MP_T_Red",{0},1,300},
but this ammo need to be buy at black market and pack inside bag and after i can reload
{"200Rnd_762x51_Belt_Red",{0},20,300},
{"SmokeLauncherMag",{-1},1,300}
can someone help me please
Link to comment
Share on other sites
21 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now