• 0
Sign in to follow this  
Smashy

Extended Items Exile - Add new Blue Prints

Question

https://steamcommunity.com/sharedfiles/filedetails/comments/897168981

The extended items Mod for Exile has Blueprints, and I am hoping to add my own blueprints to the server as well. I have found all of the code within the mod to change and create the blueprints but this will change the mod itself which is a big no no.

I have searched for a lot of hours for anything relating to how to create an item in arma 3 or exile and found one video :- (maybe my googling is not so good).

 

From what I have seen I was under the impression I could amend the config.cpp in exileserverconfig and add the following code.

class CfgPatches
{
    class exile_server_config
    {
        requiredVersion = 0.1;
        requiredAddons[] = {};
        units[] = {};
        weapons[] = {};
        magazines[] = {"Exitem_blueprint_test_item"}; // AD added 1 item in here.
        ammo[] = {};
    };
};
// AD added new cfg class here for magazines (objects usables).
class CfgMagazines
{
    class CA_Magazine; // 

    class Exile_AbstractItem : CA_Magazine {
        scope = protected;
        mass = 1;
        descriptionShort = "Dummy";
        displayName = "Dummy";
        count = 1;

        class Interactions {};
        model = "\exile_assets\model\Dummy.p3d";
        picture = "\exile_assets\texture\item\Dummy.paa";
    };

    class Exitem_blueprint_test_item : Exile_AbstractItem {
        displayName = "Test Item Blueprint";
        mass = 2;
        scope = public;
        picture = "\exitems\images\blueprint.paa";
        model = "\A3\Structures_F_EPC\Items\Documents\Document_01_F.p3d";
        descriptionShort = "This is a blueprint for a test item.";
    };
};

Upon running the server there are no errors no problems at all, but also no item is available to me either.

If anybody coudl point me to a good reference for inserting objects into Arma 3 Exile or just point me in the right direction it would be greatly appreciated.
 

 

  • Like 1

Share this post


Link to post
Share on other sites

4 answers to this question

  • 1

I was not too far off with my original attempt but the code was in the wrong place, it can not be placed in the exileserverconfig - config.cpp.

In the end we have made a custom (Tiny) mod for our server with all of the blueprints we wanted.

Share this post


Link to post
Share on other sites
Advertisement
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.