Jump to content
  • 0

Vehicle loot


truemc

Question

2 answers to this question

Recommended Posts

  • 0
1 hour ago, truemc said:

Hi again,please how to disable loot in spawn vehicles.Thanks

 

Open epoch_server_settings.pbo and open cfgmaintable.h

 

Change to the following

class VehicleBoat : Default
    {
        lootMin = 0;
        LootMax = 0;
        tables[] = {
                { "Items", 6 },
                { "Equipment", 6 },
                { "Pistols", 5 },
                { "PistolAmmo", 7 },
                { "Scopes", 5 },
                { "Muzzles", 5 },
                { "Uniforms", 6 },
                { "Vests", 5 },
                { "Headgear", 5 },
                { "Food", 7 },
                { "Generic", 8 },
                { "GenericAuto", 9 },
                { "RifleBoat", 5 },
                { "RifleAmmoBoat", 9 },
                { "Hand", 5 },
                { "Grenades", 2 },
                { "Backpack", 5 }
        };
    };

    class Vehicle : Default
    {
        lootMin = 0;
        LootMax = 0;
        tables[] = {
                { "Items", 6 },
                { "Equipment", 6 },
                { "Pistols", 6 },
                { "PistolAmmo", 6 },
                { "Scopes", 4 },
                { "Muzzles", 4 },
                { "Uniforms", 6 },
                { "Vests", 6 },
                { "Headgear", 6 },
                { "Food", 4 },
                { "Generic", 6 },
                { "GenericAuto", 6 },
                { "Machinegun", 4 },
                { "MachinegunAmmo", 4 },
                { "Rifle", 5 },
                { "RifleAmmo", 4 },
                { "SniperRifle", 3 },
                { "SniperRifleAmmo", 4 },
                { "Hand", 4 },
                { "Grenades", 2 },
                { "Backpack", 4 }
        };
    };

 

And there shouldnt be anymore loot in new spawned vehicles

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
  • Advertisement
  • Discord

×
×
  • Create New...