Introduction:

All systems, files and extracts are cationstudio’s intellectual property and only authorized persons and server are allowed to use it. Files and extracts from other authors are exceptions. In these exceptions, you have to apply their copyright.
A working installation of ArmA Life RPG Framework is required for a successful installation. Modifying the ArmA Life RPG Framework could cause errors – feel free to contact our
support if you have a problem.

This guide assumes that the cation core system is installed.

Make sure to make a backup before you go on!

Installation:

Step 1

Copy the attached folder “trade” in your “cation” folder that can be found in the  root folder (subsequently called <mission>) of your mission.

Step 2

Open <mission>/cation/cation_functions.cpp and insert

#include "trade\functions.cpp"

and save the file.

Step 3

Open <mission>/cation/cation_master.cpp and insert

#include "trade\config.cpp"

and save the file.

Step 4

Open <mission>/cation/cation_remoteExec.cpp and insert

#include "trade\remoteExec.cpp"

Step 5

Open <mission/core/functions/fn_handleItem.sqf and replace 3x

clearWeaponCargo

with

clearWeaponCargoGlobal

and save the file.

Step 5 (only 3.1.4.8 – 4.4)

Open life_server/Functions/Systems/fn_spawnVehicle.sqf and replace

_vehicle setVariable["dbInfo",[(_vInfo select 4),_vInfo select 7]];

with

_vehicle setVariable["dbInfo",[(_vInfo select 4),_vInfo select 7],true];

and save the file.

Step 6 (only 3.1.4.8 – 4.4)

Open life_server/Functions/Systems/fn_vehicleCreate.sqf and replace

_vehicle setVariable["dbInfo",[_uid,_plate]];

with

_vehicle setVariable["dbInfo",[_uid,_plate],true];

and save the file.

That’s it!

You have installed the cationstudio trade system successfully!

Configuration:

You can adjust settings in <mission>/cation/trade/config.cpp.

In the settings it is important to set ArmA Life version to your used version.

Texts and translations can be edited in <mission>/cation/trade/language.cpp.

To start trading press the key combination “SHIFT + J” and look at the same moment at the person you want to trade with. This key combination can be edited in <mission>/cation/trade/config.cpp.

The logo can be changed by replacing <mission>/cation/trade/logo.paa with another picture.


0 Comments

Leave a Reply