Jump to content
  • 0

Taviana Trader.sqf


Saltzman

Question

There is 4 regualr traders and 1 misc trader and 1 Hero/1 Bandit trader on Taviana. My traders.sqf does not have but 2 regular traders in them: Trying to add weapons under Assault and there is only 2 regular trader TIDS. Whats the problem here?

 

 
/*---------------------------------------------------------------------------
HERO VENDORS
---------------------------------------------------------------------------*/
 
//COMBINATION VENDOR
menu_Soldier_Sniper_PMC = [
[["Ammunition",478],["Military Armed",562],["Helicopter Armed",512],["Trucks Armed",479],["Weapons",477]],
[],
"hero"
];
//SUPPLIES
menu_GUE_Woodlander3 = [
[["Building Supplies",530],["Toolbelt Items",532],["Vehicle Parts",531]],
[],
"hero"
];
//MEDICAL
menu_RU_Doctor = [
[["Chem-lites/Flares",542],["Medical Supplies",541],["Smoke Grenades",543]],
[["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]],
"hero"
];
//FOOD & DRINK
menu_RU_Damsel5 = [
[["Backpacks",538],["Clothes",628],["Cooked Meats",630],["Drinks",601],["Packaged Food",629]],
[["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Whiskey Bottle","Tin Bar",101]],
"hero"
];
 
/*---------------------------------------------------------------------------
BANDIT VENDORS
---------------------------------------------------------------------------*/
 
//COMBINATION VENDOR
menu_GUE_Woodlander1 = [
[["Ammunition",577],["Helicopter Armed",512],["Military Armed",569],["Trucks Armed",534],["Weapons",627]],
[],
"hostile"
];
//SUPPLIES
menu_RU_Worker1 = [
[["Building Supplies",662],["Toolbelt Items",663],["Vehicle Parts",664]],
[],
"hostile"
];
//MEDICAl
menu_Dr_Hladik_EP1 = [
[["Chem-lites/Flares",666],["Medical Supplies",665],["Smoke Grenades",668]],
[["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]],
"hostile"
];
//FOOD & DRINK
menu_RU_Farmwife5 = [
[["Backpacks",632],["Clothes",631],["Cooked Meats",634],["Drinks",633],["Packaged Food",635]],
[["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Whiskey Bottle","Tin Bar",101]],
"hostile"
];
 
/*---------------------------------------------------------------------------
NEUTRAL VENDORS
---------------------------------------------------------------------------*/
 
//MEDICAL
menu_Doctor = [
[["Chem-lites/Flares",666],["Medical Supplies",665],["Smoke Grenades",668]],
[["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]],
"neutral"
];
//SUPPLIES
menu_RU_Worker4 = [
[["Building Supplies",508],["Toolbelt Items",510],["Vehicle Parts",509]],
[],
"neutral"
];
//WEAPONS
menu_Soldier_Sniper_KSVK_PMC = [
[["Assault Rifle",485],["Light Machine Gun",486],["Pistols",489],["Shotguns and Single-shot",574],["Sniper Rifle",487],["Submachine Guns",488]],
[],
"neutral"
];
//AMMUNITION
menu_Soldier_GL_PMC = [
[["Assault Rifle Ammo",480],["Light Machine Gun Ammo",481],["Pistol Ammo",484],["Shotguns and Single-shot Ammo",573],["Sniper Rifle Ammo",482],["Submachine Gun Ammo",483]],
[],
"neutral"
];
//FOOD & DRINK
menu_Citizen3 = [
[["Backpacks",496],["Clothes",497],["Cooked Meats",580],["Drinks",498],["Packaged Food",579]],
[["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Whiskey Bottle","Tin Bar",101]],
"neutral"
];
 
 
/*---------------------------------------------------------------------------
NEUTRAL VEHICLE VENDORS
---------------------------------------------------------------------------*/
 
menu_GUE_Soldier_3 = [
[["Bikes and ATV",608],["Buses and Vans",563],["Cargo Trucks",564],["Fuel Trucks",492],["Military Unarmed",491],["Trucks",495],["Used Cars",585],["Utility Vehicles",565]],
[],
"neutral"
];
menu_RU_Woodlander4 = [
[["Bikes and ATV",587],["Buses and Vans",588],["Cargo Trucks",586],["Fuel Trucks",589],["Military Unarmed",598],["Trucks",590],["Used Cars",520],["Utility Vehicles",591]],
[],
"neutral"
];
menu_Worker4 = [
[["Boats Armed",558],["Boats Unarmed",557]],
[],
"neutral"
];
menu_Profiteer2_EP1 = [
[["Boats Armed",673],["Boats Unarmed",672]],
[],
"neutral"
];
menu_GUE_Soldier_Pilot = [
[["Helicopter Unarmed",519],["Airplanes",517]],
[],
"neutral"
];
menu_UN_CDF_Soldier_Pilot_EP1 = [
[["Helicopter Unarmed",519],["Airplanes",517]],
[],
"neutral"
];
 
/*---------------------------------------------------------------------------
FRIENDLY VENDORS
---------------------------------------------------------------------------*/
 
//WEAPONS
menu_GUE_Commander = [
[["Assault Rifle",637],["Light Machine Gun",638],["Pistols",674],["Shotguns and Single-shot",641],["Sniper Rifle",640],["Submachine Guns",642]],
[],
"friendly"
];
//AMMUNITION
menu_GUE_Soldier_CO = [
[["Assault Rifle Ammo",643],["Light Machine Gun Ammo",644],["Pistol Ammo",646],["Shotguns and Single-shot Ammo",649],["Sniper Rifle Ammo",647],["Submachine Gun Ammo",648]],
[],
"friendly"
];
//HELICOPTERS
menu_GUE_Worker2 = [
[["Helicopter Armed",493]],
[],
"friendly"
];
 
/*---------------------------------------------------------------------------
WHOLESALE VENDORS
---------------------------------------------------------------------------*/
 
//EAST BRIDGE
menu_GUE_Soldier_2 = [
[["Wholesale",675]],
[],
"neutral"
];
//WEST BRIDGE
menu_Reynolds_PMC = [
[["Wholesale",636]],
[],
"neutral"
];
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

you can have multiple traders sharing the same tid.

and you can do that without causing a problem.

 

on my NoZ server, i just use one TID for each type of vehicle or weapon, despite there being 4-5 of each kind of trader
on my cherno server,  i have the black market trader at stary, klen and bash. and they all share the same tid.

 

just means that the trader needs to be restocked more frequently (or you can just set the qty really high)

 

http://pastebin.com/YeFeUCXe

 

thats a link to my old tavi overpoch server_traders.sqf (its got custom tids for gemstones and those horrible overwatch weapons and such. but maybe it can be of use to you? i dont know)

Link to comment
Share on other sites

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
  • Advertisement
  • Discord

×
×
  • Create New...