Andr3w

TRYK and RHSUSAF Quick Setup

1 post in this topic

Hey guys. Just spent all day working on getting TRYK and RHSUSAF setup and configured to my liking so I figured I would share it and maybe save someone some time. I have put in about 30 minutes of work into balancing prices and removing broken/messed up things so it is entirely possible that I missed things. Everything is aligned (probably added a lot of unnecessary time but OCD and all). Credits to GamerJesus for the RHS classnames and Torchgodz for the TRYK classnames, you da real mvps.

TRYK Pricing

TRYK Trader Categories

TRYK Traders:

	class Exile_Trader_CommunityCustoms// TRYK Trader
	{
		name = "COMMUNITY";
		showWeaponFilter = 0;
		categories[] = 
		{
			"TRYK_Facegear",
			"TRYK_Headgear",
			"TRYK_Uniforms",
			"TRYK_Vests",
			"TRYK_Backpacks"
		};
	};

RHSUSAF Pricing

RHSUSAF Trader Categories

RHSUSAF Traders

	class Exile_Trader_CommunityCustoms2// RHS USA Guns Trader
	{
		name = "COMMUNITY";
		showWeaponFilter = 1;
		categories[] = 
		{
			"RHS_USA_Attachments",
			"RHS_USA_Guns",
			"RHS_USA_Ammo"
		};
	};

	class Exile_Trader_CommunityCustoms3// RHS USA Equipment Trader
	{
		name = "COMMUNITY";
		showWeaponFilter = 0;
		categories[] = 
		{
			"RHS_USA_Helmets",
			"RHS_USA_Uniforms",
			"RHS_USA_Vests",
			"RHS_USA_Backpacks"
		};
	};

RHSUSAF Vehicle Trader changes:

	class Exile_Trader_Vehicle
	{
		name = "VEHICLE";
		showWeaponFilter = 0;
		categories[] = 
		{
			"Cars",
			"Trucks",// Don't forget the comma
			"RHS_USA_Wheeled_Vehicles",// Add this line
			"RHS_USA_Tracked_Vehicles"// And this one
		};
	};

	/**
	 * Sells choppers and planes
	 */
	class Exile_Trader_Aircraft
	{
		name = "AIRCRAFT";
		showWeaponFilter = 0;
		categories[] = 
		{
			"Choppers", 
			"Planes",// Don't forget the comma
			"RHS_USA_Helicopters",// Add this line
			"RHS_USA_Planes"// And this one
		};
	};

 

Add this to your initPlayerLocal.sqf to add these traders to the terminal (my quick and dirty solution for getting them in game):

///////////////////////////////////////////////////////////////////////////
// TRYK Trader
///////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_CommunityCustoms",
    "WhiteHead_17",
    ["Acts_Kore_IdleNoWeapon_loop"],
    [14574.5,16759.9,0.3764],
    348
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_CommunityCustoms"];

///////////////////////////////////////////////////////////////////////////
// RHS USA Guns
///////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_CommunityCustoms2",
    "WhiteHead_17",
    ["Acts_Kore_IdleNoWeapon_loop"],
    [14570.1,16764.4,0.3764],
    2
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_CommunityCustoms2"];

///////////////////////////////////////////////////////////////////////////
// RHS USA Gear
///////////////////////////////////////////////////////////////////////////
_trader = 
[
    "Exile_Trader_CommunityCustoms3",
    "WhiteHead_17",
    ["Acts_Kore_IdleNoWeapon_loop"],
    [14571.2,16761.4,0.3764],
    67
]
call ExileClient_object_trader_create;

_trader setVariable ["ExileTraderType", "Exile_Trader_CommunityCustoms3"];

 

Edited by Andr3w
  • Like 3

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.