Zeproe

Tryk and CUP

15 posts in this topic

I was wondering how I add TRYK stuff to the traders and make it so I can buy the stuff and sell it too.

Same with CUP vehicles.

(I'm a massive noob)

Share this post


Link to post
Share on other sites
Advertisement
1 hour ago, Steelius said:

http://puu.sh/qjFEb/07db63d787.rar

 

Apex items added courtesy of me

It says "INSERT THE TRADERS FOLDER INTO YOUR MISSION PBO, DELETING ANY MOD FOLDERS YOU DONT USE." Does that mean the mission pbo in "MPmissions" or "my documents"

Share this post


Link to post
Share on other sites

Are you hosting it yourself or having a provider host it for you?

Share this post


Link to post
Share on other sites
13 minutes ago, Steelius said:

Are you hosting it yourself or having a provider host it for you?

Hosting it myself, also I have a mission.sqm not .sqf

Share this post


Link to post
Share on other sites

I have little knowledge about self hosting as I find it to be worse than paying for a service, as it will have 100% up time at no penalty to yourself. They usually offer support (quality depends on the provider you choose), but to my understanding it's for friends only.

Your mission.sqm should be mission.sqm not .sqf I'm not sure where that came from, I didn't write that guide if it was from inside there.

Anyway, I'm sure you already have had your server up and running before. Whichever mission you used, just edit the contents of that. Maybe you don't have to .pbo the file if it's self hosted? I don't know. But if so -

I'm going to assume you use Altis so it'll be "Exile.Altis.pbo" (example)

Download this file and use

http://www.armaholic.com/page.php?id=16369 pbo manager

this will allow you to open a pbo, copy the contents into a folder named Exile.Altis (if that's the map you're using) and edit as you please.

once you're done, you can pack it back into a pbo using cpbo and upload it to the server (right click on the folder after installing cpbo to create pbo)

http://www.armaholic.com/page.php?id=5845 cpbo

Share this post


Link to post
Share on other sites
14 minutes ago, Steelius said:

I have little knowledge about self hosting as I find it to be worse than paying for a service, as it will have 100% up time at no penalty to yourself. They usually offer support (quality depends on the provider you choose), but to my understanding it's for friends only.

Your mission.sqm should be mission.sqm not .sqf I'm not sure where that came from, I didn't write that guide if it was from inside there.

Anyway, I'm sure you already have had your server up and running before. Whichever mission you used, just edit the contents of that. Maybe you don't have to .pbo the file if it's self hosted? I don't know. But if so -

I'm going to assume you use Altis so it'll be "Exile.Altis.pbo" (example)

Download this file and use

http://www.armaholic.com/page.php?id=16369 pbo manager

this will allow you to open a pbo, copy the contents into a folder named Exile.Altis (if that's the map you're using) and edit as you please.

once you're done, you can pack it back into a pbo using cpbo and upload it to the server (right click on the folder after installing cpbo to create pbo)

http://www.armaholic.com/page.php?id=5845 cpbo

Thank you so much mate, you're a life saver.

Share this post


Link to post
Share on other sites

I know the feeling of not being helped when you need it.

I aim to provide when I can.

1 person likes this

Share this post


Link to post
Share on other sites
2 hours ago, Steelius said:

I know the feeling of not being helped when you need it.

I aim to provide when I can.

As much as you helped me I did what you told me and TRIED to do the things in the instruction but it just isn't clear enough to follow. Can you help me? It says this in the instructions; I UNDERLINED THE THINGS THAT DONT MAKE SENSE TO ME!
It tells me to replace Arsenal with custom code but I don't understand it at all.
 

2.    IN CONFIG.CPP IN MISSION SQF: REPLACE FROM "class CfgExileArsenal" DOWN TO LINE ABOVE "class CfgExileCustomCode" with (CHOSING WHICH MODS YOU ARE USING AND DELETE OTHER LINES)
    
class CfgExileArsenal
{
    #include "TRADERS\ARMA3V\ItemListARMA3V.hpp"
    #include "TRADERS\ARMA3W\ItemListARMA3W.hpp"
    #include "TRADERS\CUPW\ItemListCUPW.hpp"
    #include "TRADERS\CUPV\ItemListCUPV.hpp"
    #include "TRADERS\HAP\ItemListHAP.hpp"
    #include "TRADERS\HLC\ItemListHLC.hpp"
    #include "TRADERS\HVP\ItemListHVP.hpp"
    #include "TRADERS\HVP\ItemListHWP.hpp"
    #include "TRADERS\Jonzie\ItemListJonzie.hpp"
    #include "TRADERS\MASV\ItemListMASV.hpp"
    #include "TRADERS\MASW\ItemListMASW.hpp"
    #include "TRADERS\R3FW\ItemListR3FW.hpp"
    #include "TRADERS\RHSV\ItemListRHSV.hpp"
    #include "TRADERS\RHSW\ItemListRHSW.hpp"
    #include "TRADERS\TRYK\ItemListTRYK.hpp"
    #include "TRADERS\PODS\ItemListPODS.hpp"
    #include "TRADERS\CUSTOM\ItemListCUSTOM.hpp"
    #include "TRADERS\Exile\ItemListExile.hpp"
};

---------------------------------------------------------------------------------------------------------------------------

3.    IN CONFIG.CPP IN MISSION SQF: REPLACE FROM "class CfgTraderCategories" DOWN TO LINE ABOVE "class CfgTraders" with (CHOSING WHICH MODS YOU ARE USING AND DELETE OTHER LINES)

class CfgTraderCategories
{
    #include "TRADERS\ARMA3V\TraderCategoriesARMA3V.hpp"
    #include "TRADERS\ARMA3W\TraderCategoriesARMA3W.hpp"
    #include "TRADERS\CUPW\TraderCategoriesCUPW.hpp"
    #include "TRADERS\CUPV\TraderCategoriesCUPV.hpp"
    #include "TRADERS\HAP\TraderCategoriesHAP.hpp"
    #include "TRADERS\HLC\TraderCategoriesHLC.hpp"
    #include "TRADERS\HVP\TraderCategoriesHVP.hpp"
    #include "TRADERS\HVP\TraderCategoriesHWP.hpp"
    #include "TRADERS\Jonzie\TraderCategoriesJonzie.hpp"
    #include "TRADERS\MASV\TraderCategoriesMASV.hpp"
    #include "TRADERS\MASW\TraderCategoriesMASW.hpp"
    #include "TRADERS\R3FW\TraderCategoriesR3FW.hpp"
    #include "TRADERS\RHSV\TraderCategoriesRHSV.hpp"
    #include "TRADERS\RHSW\TraderCategoriesRHSW.hpp"
    #include "TRADERS\TRYK\TraderCategoriesTRYK.hpp"
    #include "TRADERS\PODS\TraderCategoriesPODS.hpp"    
    #include "TRADERS\CUSTOM\TraderCategoriesCUSTOM.hpp"
    #include "TRADERS\Exile\TraderCategoriesExile.hpp"
};

---------------------------------------------------------------------------------------------------------------------------

4.    IN CONFIG.CPP IN MISSION SQF: EDIT TRADERS TO INCLUDE ALL CLASSES FOR EACH MOD (THE TRADER CLASS FILE HAS A LIST OF EVERY CLASS USED)
    All mods included are in the trader list.txt file(AND BELOW), comment out or delete whatever you dont need and paste over the top of the same lines.

    ***YOU CAN REPLACE THE CLASS CFGTRADERS WITH THE FOLLOWING. REMEMBER TO DELETE LIES RELATING TO THE MODS YOU DONT USE OR LEAVE OUT CLASSES YOU DO NOT WISH TO USE FROM THAT MOD (LIKE LAUNCHERS)***
    
    
    class CfgTraders
{
    /**
     * Weapons, scopes, silencers, ammo
     */
    class Exile_Trader_Armory
    {
        name = "ARMORY";
        showWeaponFilter = 1;
        categories[] = 
        {
            "PointerAttachments",
            "CUPPointerAttachments",
            "MASPointerAttachments",
            "R3FPointerAttachments",
            "RHSPointerAttachments",
            "BipodAttachments",
            "R3FBipodAttachments",
            "RHSBipodAttachments",
            "MuzzleAttachments",
            "HLCMuzzleAttachments",
            "CUPMuzzleAttachments",
            "MASMuzzleAttachments",
            "R3FMuzzleAttachments",
            "RHSMuzzleAttachments",
            "OpticAttachments",
            "HLCOpticAttachments",
            "CUPOpticAttachments",
            "MASOpticAttachments",
            "R3FOpticAttachments",
            "RHSOpticAttachments",
            "Ammunition",
            "HLCAmmunition",
            "CUPAmmunition",
            "MASAmmunition",
            "R3FAmmunition",
            "RHSAmmunition",
            "Pistols",
            "CUPPistols",
            "MASPistols",
            "R3FPistols",
            "RHSPistols",
            "SubMachineGuns",
            "CUPSubMachineGuns",
            "MASSubMachineGuns",
            "R3FSubMachineGuns",
            "LightMachineGuns",
            "HLCLightMachineGuns",
            "CUPLightMachineGuns",
            "MASLightMachineGuns",
            "R3FLightMachineGuns",
            "RHSLightMachineGuns",
            "AssaultRifles",
            "HAPASSAULTRIFLES",
            "HLCAssaultRifles",
            "CUPAssaultRifles",
            "MASAssaultRifles",
            "R3FAssaultRifles",
            "RHSAssaultRifles",
            "SniperRifles",
            "HAPSNIPERRIFLES",
            "HLCSniperRifles",
            "HWPweapons",
            "CUPSniperRifles",
            "MASSniperRifles",
            "R3FSniperRifles",
            "RHSSniperRifles"
        };
    };

    /**
     * Satchels, nades, UAVs, static MGs
     */
    class Exile_Trader_SpecialOperations
    {
        name = "SPECIAL OPERATIONS";
        showWeaponFilter = 1; // for noob tubes
        categories[] = 
        {
            "Flares",
            "Smokes",
            "UAVs",
            "StaticMGs",
            "Navigation",
            "ExplosiveWeapons",
            "Explosives",
            "A3Launchers",
            "CUPLaunchers",
            "MASLaunchers",
            "R3FLaunchers",
            "RHSLaunchers",
            "CUPLauncherAmmo",
            "MASLauncherAmmo",
            "R3FLauncherAmmo",
            "RHSLauncherAmmo",
            "A3LauncherAmmo",    
            "CUPExplosive",
            "MASExplosive",
            "RHSMines"
        };
    };

    /**
     * Uniforms, vests, helmets, backpacks
     */
    class Exile_Trader_Equipment
    {    
        name = "EQUIPMENT";
        showWeaponFilter = 0;
        categories[] = 
        {
            "Headgear",
            "A3Headgear",
            "HAPHEADGEAR",
            "MASHeadgear",
            "RHSHeadgear",
            "TRYKHeadgear",
            "Uniforms",
            "HAPUNIFORMS",
            "RHSUniforms",
            "TRYKUniforms",
            "Vests",
            "HAPVESTS",
            "RHSVests",
            "TRYKVests",
            "Backpacks",
            "A3Backpacks",
            "HAPBACKPACKS",
            "MASBackpacks",
            "TRYKBackpacks",
            "Tools",
            "MASTools",
            "FirstAid"
        };
    };

    /**
     * Cans, cans, cans
     */
    class Exile_Trader_Food
    {
        name = "FAST FOOD";
        showWeaponFilter = 0;
        categories[] = 
        {
            "Food",
            "Drinks"
        };
    };

    /**
     * Light bulbs, metal, etc.
     */
    class Exile_Trader_Hardware
    {
        name = "HARDWARE";
        showWeaponFilter = 0;
        categories[] = 
        {
            "Hardware",
            //"R3FTools",
            "CBuilding"
        };
    };

    /**
     * Sells cars and general vehicles
     */
    class Exile_Trader_Vehicle
    {
        name = "VEHICLE";
        showWeaponFilter = 0;
        categories[] = 
        {
            "Bikes",
            "Cars",
            "A3Cars",
            "HAPCARS",
            "HVPCars",
            "JonzieCars",
            "MASCars",
            "CUPUnarmed",
            "HAPTRUCKS",
            "MASTrucks",
            "CUPArmed",
            "MASArmed",
            "A3Armed",
            "RHSVehicles",
            "CTrucks",
            "Trucks",
            "A3Trucks",
            "CUGVs"
            //"MASTanks"
            //"A3Tanks"    
            //"UGV"    
            //"A3UGVs"                
        };
    };

    /**
     * Sells choppers and planes
     */
    class Exile_Trader_Aircraft
    {
        name = "AIRCRAFT";
        showWeaponFilter = 0;
        categories[] = 
        {
            "Choppers", 
            "CChoppers",            
            "CUPChoppers",
            "MASChoppers",
            "RHSChoppers",
            "A3unarmedChoppers",
            "A3armedChoppers",
            "Planes",
            "A3Planes",
            "CPlanes",
            "HVPPlanes",
            "MASPlanes",
            "RHSPlanes",
            //"CUAVs",
            //"A3UAVs",
            "Pods"        
        };
    };

    /**
     * Sells ships and boats
     */ 
    class Exile_Trader_Boat
    {
        name = "BOAT";
        showWeaponFilter = 0;
        categories[] = 
        {
            "Boats",
            "A3Boats",
        };
    };

    /**
     * Sells Community Items
     */ 
    class Exile_Trader_CommunityCustoms
    {
        name = "COMMUNITY";
        showWeaponFilter = 0;
        categories[] = 
        {
            "Community"
        };
    };
    class Exile_Trader_CommunityCustoms2
    {
        name = "COMMUNITY";
        showWeaponFilter = 0;
        categories[] = 
        {
            "Community2"
        };
    };

    class Exile_Trader_CommunityCustoms3
    {
        name = "COMMUNITY";
        showWeaponFilter = 0;
        categories[] = 
        {
            "Community3"
        };
    };

    class Exile_Trader_CommunityCustoms4
    {
        name = "COMMUNITY";
        showWeaponFilter = 0;
        categories[] = 
        {
            "Community4"
        };
    };

    class Exile_Trader_CommunityCustoms5
    {
        name = "COMMUNITY";
        showWeaponFilter = 0;
        categories[] = 
        {
            "Community5"
        };
    };

    class Exile_Trader_CommunityCustoms6
    {
        name = "COMMUNITY";
        showWeaponFilter = 0;
        categories[] = 
        {
            "Community6"
        };
    };

    class Exile_Trader_CommunityCustoms7
    {
        name = "COMMUNITY";
        showWeaponFilter = 0;
        categories[] = 
        {
            "Community7"
        };
    };

    class Exile_Trader_CommunityCustoms8
    {
        name = "COMMUNITY";
        showWeaponFilter = 0;
        categories[] = 
        {
            "Community8"
        };
    };

    class Exile_Trader_CommunityCustoms9
    {
        name = "COMMUNITY";
        showWeaponFilter = 0;
        categories[] = 
        {
            "Community9"
        };
    };

    class Exile_Trader_CommunityCustoms10
    {
        name = "COMMUNITY";
        showWeaponFilter = 0;
        categories[] = 
        {
            "Community10"
        };
    };
    
};

Share this post


Link to post
Share on other sites

you may want to look through the original thread: http://www.exilemod.com/topic/8586-updated-easy-trader-set-up/ with latest versions etc.

the idea is that you only enable for the mods you are using so if you use CUP weapons then leave in CUPW stuff etc

Idea is to only have load lines inside the config and load in the files for each mod as you call them

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.