Zurück zu Configs

Ultimate Trader

traderobjects.json

$profile:UltimateTrader/traderobjects.json

Trader-NPCs, Vending-Objekte, Positionen, Orientierung, Attachments und Vehicle-Spawns.

Beispiel-Config

Passe Werte, Classnames und Positionen an deinen Server an.

{  "Objects": [ // All trader interaction objects.    {      "Id": "Weapon Trader", // Must match trader config Id/name.      "ClassName": "SurvivorM_Mirek", // NPC classname.      "Position": [3689.5, 402.02, 6005.95], // Position: X, Y, Z.      "Orientation": [90.0, 0.0, 0.0], // Rotation: yaw, pitch, roll.      "Attachments": [ // Items attached on spawn.        "M65Jacket_Black", // Jacket.        "CargoPants_Black", // Pants.        "MilitaryBoots_Black", // Boots.        "TacticalGloves_Black", // Gloves.        "AKM" // Weapon, if supported.      ]    },    {      "Id": "Food and Drinks", // Must match trader config Id/name.      "ClassName": "UT_Vending_Food", // Vending classname.      "Position": [3700.0, 402.02, 6015.0], // Position: X, Y, Z.      "Orientation": [180.0, 0.0, 0.0], // Rotation: yaw, pitch, roll.      "Attachments": [] // Usually empty for vending.    },    {      "Id": "Vehicle Trader", // Must match trader config Id/name.      "ClassName": "UT_Vending_Vehicles", // Vehicle vending classname.      "Position": [3720.0, 402.02, 6030.0], // Object position.      "Orientation": [45.0, 0.0, 0.0], // Object rotation.      "Attachments": [], // No attachments needed.      "VehicleSpawnPosition": [3730.0, 402.02, 6040.0], // Bought vehicle spawn.      "VehicleSpawnOrientation": [90.0, 0.0, 0.0], // Spawn rotation.      "VehicleSpawnRadius": 8.0 // Spawn/sell area radius.    }  ]}