To add extra categories to traders you'll need these files.
cfgServerTrader.hpp
server_traders.sqf
In cfgServerTrader.hpp add as many includes as you want (make sure it matches your new category/file count)
#include "Category\MyCategoryName.hpp"
In server_traders.sqf add extra category (name it whatever you like) and category ID
["Bikes and ATV",18],["Buses and Vans",19],["Cargo Trucks",20],["Fuel Trucks",21],["Military Unarmed",22],["Trucks",23],["Used Cars",24],["Utility Vehicles",25],["SUV Tier 2",26],["SUV Tier 3",27],["SUV Tier 4",28]
So your whole trader line will look similar to this (note that i have my trader categories set from 1 to 50 where, for example, vehicle traders use the same categories across the map)
menu_RU_Profiteer4 = [[["Bikes and ATV",18],["Buses and Vans",19],["Cargo Trucks",20],["Fuel Trucks",21],["Military Unarmed",22],["Trucks",23],["Used Cars",24],["Utility Vehicles",25],["SUV Tier 2",26],["SUV Tier 3",27],["SUV Tier 4",28]],[],"neutral"];
And then you create new .hpp files and place them in Category folder (You can name them whatever you like, as long as their name is in cfgServerTrader.hpp and their TCAT matches the one we set in server_traders.sqf)
class Category_# {
class Vehicle_Classname {
type = "trade_any_vehicle";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Vehicle2_Classname {
type = "trade_any_vehicle";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
class Vehicle3_Classname {
type = "trade_any_vehicle";
buy[] = {2,"ItemGoldBar"};
sell[] = {1,"ItemGoldBar"};
};
};
Edit: As for Vehicle name changing you'd have to edit epoch configs to get it done