S.

Adding different vehicles spawns to Exile ?

31 posts in this topic

Hey Guys,

Just wondering if anyone has been able to add different vehicles to the exile spawns. I have added vehicles to the config.bin file in the server Pbo

class VehicleSpawn
 {
  vehiclesGridSize = 2200;
  vehiclesGridAmount = 2;
  vehiclesDebugMarkers = 0;
  damageChance = 20;
  maximumDamage = 0.9;
  water[] = {"Exile_Boat_MotorBoat_Police","Exile_Boat_MotorBoat_Orange","Exile_Boat_MotorBoat_White","Exile_Boat_RubberDuck_CSAT","Exile_Boat_RubberDuck_Digital","Exile_Boat_RubberDuck_Orange","Exile_Boat_RubberDuck_Blue","Exile_Boat_RubberDuck_Black","Exile_Boat_SDV_CSAT","Exile_Boat_SDV_Digital","Exile_Boat_SDV_Grey"};
  ground[] = {"Exile_Bike_QuadBike_Black","Exile_Bike_QuadBike_Blue","Exile_Bike_QuadBike_Red","Exile_Bike_QuadBike_White","Exile_Bike_QuadBike_Nato","Exile_Bike_QuadBike_Csat","Exile_Bike_QuadBike_Fia","Exile_Bike_QuadBike_Guerilla01","Exile_Bike_QuadBike_Guerilla02","Exile_Car_Hatchback_Rusty1","Exile_Car_Hatchback_Rusty2","Exile_Car_Hatchback_Rusty3","Exile_Car_Hatchback_Sport_Red","Exile_Car_SUV_Red","Exile_Car_Offroad_Rusty1","Exile_Car_Offroad_Rusty2","Exile_Car_Offroad_Rusty3","Exile_Car_Van_Black","Exile_Car_Van_Box_Black","Exile_Car_Van_Fuel_Black","B_Heli_Light_01_F","B_Heli_Light_01_stripped_F","B_Heli_Transport_03_black_F","B_MRAP_01_F","B_MRAP_01_gmg_F","B_G_Offroad_01_F","B_G_Offroad_01_armed_F","B_Truck_01_transport_F","B_Truck_01_covered_F","B_Truck_01_box_F","B_G_Van_01_fuel_F"};
 };

 Any advise at this point would be much appreciated 9_9

Edited by S.
1 person likes this

Share this post


Link to post
Share on other sites
Advertisement

You will need to add them to your mission config.cpp so that they can be purchased from traders if that's what you would like.

Share this post


Link to post
Share on other sites

Yes i was able too and it worked fine, that looks fine to me :)

Looks like I am doing something wrong. Added to both files for spawns and traders.

Doesn't show up in either one. Do I need to create the class somewhere else or add "exile_" infront of each ?

Share this post


Link to post
Share on other sites

I would presume you'd need to add them twice in config.cpp, once under 'arsenal':

class CfgExileArsenal
{
    class Exile_Uniform_BambiOverall                { quality = 1; price = 2; };
    ///////////////////////////////////////////////////////////////////////////////
    // Huron
    ///////////////////////////////////////////////////////////////////////////////
    class Exile_Chopper_Huron_Black                                { quality = 1; price = 10000; };
    class Exile_Chopper_Huron_Green                                { quality = 1; price = 10000; };
And once in the trader part:
    class Cars
    {
        name = "Cars";
        icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\itemacc_ca.paa";
        items[] =
        {
            "Exile_Car_Kart_Black",
            "Exile_Bike_QuadBike_Black",
            "Exile_Car_Hatchback_Rusty1",
            "Exile_Car_Hatchback_Rusty2",
            "Exile_Car_Hatchback_Rusty3",
            "Exile_Car_Hatchback_Sport_Red",
            "Exile_Car_SUV_Red",
            "Exile_Car_Offroad_Rusty1",
            "Exile_Car_Offroad_Rusty2",
            "Exile_Car_Offroad_Rusty3",
            "Exile_Car_Offroad_Repair_Civillian",
            "Exile_Car_Offroad_Armed_Guerilla01",
            "Exile_Car_Strider",
            "Exile_Car_Hunter",
            "Exile_Car_Ifrit"
        };
    };

Haven't tried it myself though

Paul

Share this post


Link to post
Share on other sites

Hey Paul,

Thanks for the reply.

I have tested adding vehicles for traders and it works 100%

Instructions:

  1. Edit config.cpp in your mpmissions>exile.altis.pbo
  2. Add required vehicle under the following subsections:

class CfgExileArsenal

///////////////////////////////////////////////////////////////////////////////
// HEMMT
///////////////////////////////////////////////////////////////////////////////
    class Exile_Car_HEMMT                                   { quality = 1; price = 3000; };
    class B_Truck_01_transport_F                         { quality = 1; price = 3000; };
    class B_Truck_01_covered_F                           { quality = 1; price = 3100; };
    class B_Truck_01_box_F                                 { quality = 1; price = 3200; };

class CfgTraderCategories 

 class Trucks
    {
        name = "Trucks";
        icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\itemacc_ca.paa";
        items[] = 
        {
            "Exile_Car_Van_Black",
            "Exile_Car_Van_Box_Black",
            "Exile_Car_Van_Fuel_Black",
            "Exile_Car_Zamak",
            "Exile_Car_Tempest",
            "Exile_Car_HEMMT",
            "B_Truck_01_transport_F",
            "B_Truck_01_covered_F",
            "B_Truck_01_box_F"

        };
    };

Repack mission pbo file.

DONE 

Share this post


Link to post
Share on other sites

As for your first question you have them in the right spot you, the spawning of vehicles is totally random so just keep and eye out for them and they should start popping up.

Share this post


Link to post
Share on other sites
Advertisement

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

  • Recently Browsing   0 members

    No registered users viewing this page.