SLB2k11

crafting New Crafting Stuff

56 posts in this topic

Here are Examples for new Crafting Stuff

 

Filelocation:

MpMissions\Exile.Altis\Config.cpp  ~Line 593

Installation:

Copy it in the File

repack PBO

Have Fun

//NEW CRAFTING

class IEDLandSmall_Remote_Mag: Exile_AbstractCraftingRecipe
{
    name = "Small Crafted IED";
    pictureItem = "IEDLandSmall_Remote_Mag";
    requiresFire = 1;
    requiredInteractionModelGroup = "WorkBench";
    returnedItems[] =
    {
        {1, "IEDLandSmall_Remote_Mag"}
    };
    components[] =
    {
        {2, "Exile_Item_MetalPole"},
        {4, "Exile_Item_JunkMetal"},
        {3, "Exile_Item_FuelCanisterFull"},
        {1, "Exile_Item_ExtensionCord"},
        {1, "Exile_Item_DuctTape"}
    };
};
class IEDLandbig_Remote_Mag: Exile_AbstractCraftingRecipe
{
    name = "Large Crafted IED";
    pictureItem = "IEDLandBig_Remote_Mag";
    requiresFire = 1;
    requiredInteractionModelGroup = "WorkBench";
    returnedItems[] =
    {
        {1, "IEDLandBig_Remote_Mag"}
    };
    components[] =
    {
        {1, "Exile_Item_FuelCanisterEmpty"},
        {10, "Exile_Item_JunkMetal"},
        {5, "Exile_Item_FuelCanisterFull"},
        {2, "Exile_Item_ExtensionCord"},
        {2, "Exile_Item_DuctTape"}
    };
};

class Exile_Item_CookingPot: Exile_AbstractCraftingRecipe
{
    name = "Craft Cookingpot";
    pictureItem = "Exile_Item_CookingPot";
    requiresFire = 1;
    requiredInteractionModelGroup = "WorkBench";
    returnedItems[] =
    {
        {1, "Exile_Item_CookingPot"}
    };
    components[] =
    {
        {1, "Exile_Item_Junkmetal"}
    };
};

 

class Exile_Item_SafeKit: Exile_AbstractCraftingRecipe
{
    name = "Craft Safe";
    pictureItem = "Exile_Item_SafeKit";
    requiresFire = 1;
    requiredInteractionModelGroup = "WorkBench";
    returnedItems[] =
    {
        {1, "Exile_Item_SafeKit"}
    };
    components[] =
    {
        {2, "Exile_Item_MetalPole"},
        {4, "Exile_Item_MetalBoard"},
        {1, "Exile_Item_Codelock"}
    };
};

class Exile_Item_Camo_TentKit: Exile_AbstractCraftingRecipe
{
    name = "Craft Camo Tent";
    pictureItem = "Exile_Item_Camo_TentKit";
    requiresFire = 1;
    requiredInteractionModelGroup = "WorkBench";
    returnedItems[] =
    {
        {1, "Exile_Item_Camo_TentKit"}
    };
    components[] =
    {
        {2, "Exile_Item_DuctTape"},
        {4, "Exile_Item_WoodPlank"},
        {2, "Exile_Item_Rope"}
    };
};

class Laserdesignator: Exile_AbstractCraftingRecipe
{
    name = "Craft Laserdesignator";
    pictureItem = "Laserdesignator";
    requiresFire = 1;
    returnedItems[] =
    {
        {1, "Laserdesignator"}
    };
    components[] =
    {
        {2, "Exile_Item_LightBulb"},
        {1, "Exile_Item_JunkMetal"},
        {1, "Exile_Item_Rope"}
    };
};

 

ONLY MAGAZINE CRAFTING PART

Magazines Crafting include:

1x 150rnd 9,3mm Navid -> 15x 10rnd 9,3mm Cyrus                                               Required: Workbench
1x 130rnd .338 Navid -> 13x 10rnd .338 Mar-10                                                    Required: Workbench
1x 10rnd 12,7mm ASP-1 Kir -> 2x 5rnd 12,7mm Lynx                                             Required: Workbench
1x 10rnd 12,7mm ASP-1 Kir + 1x HandGrenade -> 2x 5rnd 12,7mm Lynx APSD    Required: Workbench , Campfire
1x 200rnd 6,5mm MK200 -> 6x 30rnd 6,5mm MX MXC MXM                                   Required: Workbench
1x 150rnd 7,62mm Zafir -> 7x 20rnd 7,62mm MK18 MK1 MK14                              Required: Workbench
1x 150rnd 7,62mm Zafir -> 15x 10rnd 7,62mm Rahim                                             Required: Workbench

 

class 10Rnd_93x64_DMR_05_Mag: Exile_AbstractCraftingRecipe
{
    name = "Craft 15 Cyrus Magazines";
    pictureItem = "10Rnd_93x64_DMR_05_Mag";
    requiredInteractionModelGroup = "WorkBench";
    returnedItems[] =
    {
        {15, "10Rnd_93x64_DMR_05_Mag"}
    };
    components[] =
    {
        {1, "150Rnd_93x64_Mag"}
    };
};

class 10Rnd_338_Mag: Exile_AbstractCraftingRecipe
{
    name = "Craft 13 Mar-10 Magazines";
    pictureItem = "10Rnd_338_Mag";
    requiredInteractionModelGroup = "WorkBench";
    returnedItems[] =
    {
        {13, "10Rnd_338_Mag"}
    };
    components[] =
    {
        {1, "130Rnd_338_Mag"}
    };
};

class 10Rnd_127x54_Mag: Exile_AbstractCraftingRecipe
{
    name = "Craft 2 Lynx Magazines";
    pictureItem = "5Rnd_127x108_Mag";
    requiredInteractionModelGroup = "WorkBench";
    returnedItems[] =
    {
        {2, "5Rnd_127x108_Mag"}
    };
    components[] =
    {
        {1, "10Rnd_127x54_Mag"}
    };
};

class 30Rnd_65x39_caseless_mag: Exile_AbstractCraftingRecipe
{
    name = "Craft 6 MX|MXC|MXM 30er Magazines";
    pictureItem = "30Rnd_65x39_caseless_mag";
    requiredInteractionModelGroup = "WorkBench";
    returnedItems[] =
    {
        {6, "30Rnd_65x39_caseless_mag"}
    };
    components[] =
    {
        {1, "200Rnd_65x39_cased_Box"}
    };
};

class 20Rnd_762x51_Mag: Exile_AbstractCraftingRecipe
{
    name = "Craft 7 MK18|MK1|MK14 Magazines";
    pictureItem = "20Rnd_762x51_Mag";
    requiredInteractionModelGroup = "WorkBench";
    returnedItems[] =
    {
        {7, "20Rnd_762x51_Mag"}
    };
    components[] =
    {
        {1, "150Rnd_762x51_Box"}
    };
};

class 10Rnd_762x54_Mag: Exile_AbstractCraftingRecipe
{
    name = "Craft 15 Rahim Magazines";
    pictureItem = "10Rnd_762x54_Mag";
    requiredInteractionModelGroup = "WorkBench";
    returnedItems[] =
    {
        {15, "10Rnd_762x54_Mag"}
    };
    components[] =
    {
        {1, "150Rnd_762x51_Box"}
    };
};

class 5Rnd_127x108_APDS_Mag: Exile_AbstractCraftingRecipe
{
    name = "Craft 2 Lynx APSD Magazines";
    pictureItem = "5Rnd_127x108_APDS_Mag";
    requiredInteractionModelGroup = "WorkBench";
    requiresFire = 1;
    returnedItems[] =
    {
        {2, "5Rnd_127x108_APDS_Mag"}
    };
    components[] =
    {
        {1, "10Rnd_127x54_Mag"},
        {1, "HandGrenade"}
    };
};

 

 

NOTES:

When you have Ideas for more Crafting let me know it.

 

TODO:

- Infodialog for the new Crafting Stuff

HERE ONLY ENGLISH!!

German support at:

 

Edited by SLB2k11
15 people like this

Share this post


Link to post
Share on other sites
Advertisement

Awesome thanks. Just one little question since I tried this myself and it didnt work.

Is it mandatory to name the recipe the same as the returned item? I did not and I didn't get the option on the components.

Share this post


Link to post
Share on other sites

This is awesome you just gave me some great ideas. Plus it gives use to the ropes. Thanks for the info.

Edited by Torchgodz
1 person likes this

Share this post


Link to post
Share on other sites

Awesome thanks. Just one little question since I tried this myself and it didnt work.

Is it mandatory to name the recipe the same as the returned item? I did not and I didn't get the option on the components.

Yes I think so 

Share this post


Link to post
Share on other sites

very nice will be testing later today and interested in the mag crafting keep us updated

Share this post


Link to post
Share on other sites

I have tested it with the mag crafting and it works i will write the crafting later.

the nice thing is you can use a 150rnd 9,3mm Navid mag to craft 15 9,3mm Cyrus mags or so.

give me your ideas for the crafting :) and i will do it

2 people like this

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.