Pyre

Bike Trader

2 posts in this topic

So after a few banging head against wall sessions I'm finally biting the bullet and asking for help!

What I'm after is the ability (and the script) for placing a bike shop at my spawn locations along the coast of chernarus.

I've had little success with the spawn your own bike scripts floating around so I would like to place single traders at these locations instead of adding additional scripting.

So I've added bikes to a community trader:

class Community2
    {
        name = "Bikes";
        icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\uniform_ca.paa";
        items[] =
        {
            "Exile_Bike_OldBike",
            "Exile_Bike_MountainBike"
        };
    };

 

I then under class CfgTraders I added:

class Exile_Trader_CommunityCustoms2
    {
        name = "Community2";
        showWeaponFilter = 0;
        categories[] =
        {
            "Bikes"
        };
    };

 

In initPlayerLocal I added:

///////////////////////////////////////////////////////////////////////////
// Kamenka
///////////////////////////////////////////////////////////////////////////

[
    "Exile_Trader_CommunityCustoms2",
    "WhiteHead_11",
    ["HubStandingUC_idle1"],
    [1907.535645,2236.143799,0.0782829],
    -5.17677
]
call ExileClient_object_trader_create;

 

I'm sure its something entirely simple that I am just to drained to spot (had alot of server issues since 0.9.4)

Could someone point out my mistake pls?

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.