Jump to content
Sign in to follow this  
Sakai

Make a resupply truck from a normal vehicle?

Recommended Posts

Hello, I wanted to ask if its possible to make a resupply truck e.g. Fuel, Ammo and Repair truck like Kamaz, Ural's but from normal vehicles for example ((just an example)) make a resupply vehicle from civilian lada by placing some config's into the config.cpp?

Thank you :)

Share this post


Link to post
Share on other sites

You need to add below lines to the vehicles config:

Fuel

transportFuel = 3000;
supplyRadius = 6.8;

Repair

transportRepair = 200000000;
supplyRadius = 6.8;

Ammo

transportAmmo = 300000;
supplyRadius = 6.8;

For the ammo vehicle you also need to specify what magazines/weapons are carried to pick up from the vehicle:

   class TransportMagazines
   {
     class _xx_30Rnd_545x39_AK
     {
       magazine = "30Rnd_545x39_AK";
       count = 10;
     };
     class _xx_100Rnd_762x54_PK
     {
       magazine = "100Rnd_762x54_PK";
       count = 5;
     };
     class _xx_HandGrenade
     {
       magazine = "HandGrenade";
       count = 10;
     };
     class _xx_PG7VR
     {
       magazine = "PG7VR";
       count = 5;
     };
     class _xx_Strela
     {
       magazine = "Strela";
       count = 1;
     };
   };
   class TransportWeapons
   {
     class _xx_Strela
     {
       weapon = "Strela";
       count = 1;
     };
     class _xx_RPG7V
     {
       weapon = "RPG7V";
       count = 1;
     };
   };

Share this post


Link to post
Share on other sites

Thank you W0lle! I will be back to this topic once I will use this script if anything will go wrong ;p

As well do I put the

transportRepair = 200000000;
supplyRadius = 6.8;

Under where everything about the vehicle is e.g. model, side, faction etc?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×