Jump to content
raymix

[Tutorial] Overpoch - Custom traders, all weapons/ammo/vehicles in menus

Recommended Posts

cfgtosql.png

 

 

This Video Tutorial covers:

Add custom Traders anywhere on map

Find positions on map (also covering safezones/sensors a little bit)

Add your own custom Menus to traders

Add all Overwatch weapons, ammo and vehicles to your menus

Use notepad++ to convert Loot CFG (or literary ANY) file into SQL query that you can to insert items faster into database.

 

Notepad++ tricks:

I will show you some cool tricks how to clean out junk data from files, filter out only stuff you need and convert it into a different code that can be used elsewhere.

In this video I will be using Macros, TextFX and Find&Replace options to show you awesome stuff you can do with notepad++ to affect thousands of lines automatically!

You will need TextFX plugin.

 

SQL:

I am using Heidi SQL to edit my databases. Any other tool is very well capable of doing the same job well. I just love filtering on heidi. It's also free.

This is by no means targeted towards advanced users, beginners only. If you are advanced user and dislike the method, please share your method instead for all of us to learn from.

I am not sharing actual SQL code because database names differs for different hosts, also I think notepad++ tricks are awesome thing to know, might be handy in future.

In fact If database structure ever changes, you can reuse tricks learned here instead to update it quickly.

 

Overwatch vehicles used in video:

"CVPI_Patrol","CVPI_Trooper_Patrol","CVPI_TrooperSL_Patrol","CVPI_NYPD_Patrol","CVPI_HighwaySL_Patrol","CVPI_UnmarkedB_Patrol","CVPI_UnmarkedG_Patrol","CVPI_LAPD_Patrol","CVPI_UnmarkedW_Patrol","CVPI_LAPDSL_Patrol","CVPI_NYPDSL_Patrol","Civcar","Civcarbu","civcarbl","Civcarre","Civcarwh","Civcarsl","Copcar","Copcarhw","Copcarswat","350z","350z_red","350z_kiwi","350z_black","350z_silver","350z_green","350z_blue","350z_gold","350z_white","350z_pink","350z_mod","350z_ruben","350z_v","350z_city","350z_yellow"


//air
CYBP_Camel_us, CYBP_Camel_rus, CYBP_Camel_civ

Alternative list of all Overwatch weapons/ammo/vehicles (Test out your new Notepad++ skill and convert it into SQL!)

PROTIP: if using alternative list - to filter out ammo from weapons Write Ammo Type: in search, leave search window open. Then create macro:

[Home] > [F3] > [shift]+[END] > [DEL] > [Down] > [Home]

This will delete last part on all rows that says ammo and leave weapons only. Apply similar method to delete weapons instead.

 

Credits and [How to] Install server: infiSTAR for awesome AH/Admin tool

 

 

00:00 - 20:00 Adding traders
20:00 - 35:05 Notepad++ filtering out the junk
35:05 - 36:40 Notepad++ TextFX deleting duplicate rows
36:40 - 41:55 Notepad++ Seperating ammo from weapons using macros
41:55 - 57:42 Converting classnames into SQL query (adding stuff to traders in database)
57:42 - Final in-game test

Share this post


Link to post
Share on other sites
Guest

thank  you so much for this video, man.. our server needed this one piece.. thank you.

Share this post


Link to post
Share on other sites

For those of you using DZMS or EMS

 

// Pistols
DZMSpistolList = ["Colt1911","glock17_EP1","M9","M9SD","Makarov","MakarovSD","revolver_EP1","UZI_EP1",
"RH_deagle","RH_Deagleg","RH_Deaglem","RH_Deaglemz","RH_Deaglemzb","RH_Deagles","RH_g17","RH_g17sd","RH_g18",
"RH_g19","RH_g19t","RH_m1911","RH_m1911old","RH_m1911sd","RH_m9","RH_m93r","RH_m9c","RH_m9csd","RH_m9sd","RH_usp",
"RH_uspm","RH_uspsd","vil_Glock","vil_Glock_o","vil_USP","vil_USP45","vil_USP45SD","vil_USPSD","vil_uzi","vil_uzimini","vil_uzimini_SD","vil_uzi_c","vil_uzi_SD"
];
// Primary Rifles (includes sniper rifles tho) 
DZMSprimaryList = ["AK_47_M","AK_74","AKS_74_kobra","AKS_74_U","BAF_L85A2_RIS_Holo","bizon_silenced","FN_FAL_ANPVS4","FN_FAL","G36A_camo","G36C_camo","G36C","G36K_camo","M1014","M16A2","M16A2GL","M4A1_AIM_SD_camo","M4A1_Aim","M4A1_HWS_GL_camo","M4A1","M4A3_CCO_EP1","Remington870_lamp","Sa58P_EP1","Sa58V_CCO_EP1","Sa58V_EP1","Sa58V_RCO_EP1", "FHQ_ACR_BASE","FHQ_ACR_BASE_F","FHQ_ACR_BASE_L","FHQ_ACR_BLK_CCO","FHQ_ACR_BLK_CCO_F","FHQ_ACR_BLK_CCO_GL","FHQ_ACR_BLK_CCO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_XM2010_SD_BASE","FHQ_XM2010_SD_DESERT","FHQ_XM2010_TWS_DESERT","FHQ_XM2010_TWS_SD_DESERT","FHQ_XM2010_WDL_CAMO","gms_k98","gms_k98zf39","gms_k98_knife","gms_k98_rg","RH_acr","RH_acracog","RH_acraim","RH_acrb","RH_acrbacog","RH_acrbaim","RH_acrbeotech","RH_acrbgl","RH_acrbglacog","RH_acrbglaim","RH_acrbgleotech","RH_acreotech", "RH_acrgl","RH_acrglacog","RH_acrglaim","RH_acrgleotech","RH_anac","RH_anacg","RH_browninghp","RH_bull","RH_ctar21","RH_ctar21glacog","RH_ctar21m","RH_ctar21mgl","RH_hk416","RH_hk416acog","RH_hk416aim","RH_hk416eotech","RH_hk416gl","RH_hk416glacog","RH_hk416glaim","RH_hk416gleotech","RH_hk416s","RH_hk416sacog","RH_hk416saim","RH_hk416sd","RH_hk416sdaim", "RH_hk416sdeotech","RH_hk416sdgl","RH_hk416sdglaim","RH_hk416sdgleotech","RH_hk416seotech","RH_hk416sgl","RH_hk416sglacog","RH_hk416sglaim","RH_hk416sgleotech","RH_hk417","RH_hk417acog","RH_hk417aim","RH_hk417eotech","RH_hk417s","RH_hk417sacog","RH_hk417saim","RH_hk417sd","RH_hk417sdacog","RH_hk417sdaim","RH_hk417sdeotech","RH_hk417sdsp","RH_hk417seotech", "RH_hk417sgl","RH_hk417sglacog","RH_hk417sglaim","RH_hk417sgleotech","RH_hk417sp","RH_m14","RH_m14acog","RH_m14aim","RH_m14eot","RH_m1s","RH_m1sacog","RH_m1saim","RH_m1seot","RH_m1sshd","RH_m1ssp","RH_m1st","RH_m1stacog","RH_m1staim","RH_m1steot","RH_m1stshd","RH_m1stsp","RH_m21","RH_mas","RH_masacog","RH_masaim","RH_masb","RH_masbacog","RH_masbaim", "RH_masbeotech","RH_masbsd","RH_masbsdacog","RH_masbsdaim","RH_masbsdeotech","RH_maseotech","RH_massd","RH_massdacog","RH_massdaim","RH_massdeotech","RH_mk2","RH_mk22","RH_mk22sd","RH_mk22v","RH_mk22vsd","RH_muzi","RH_p226","RH_p226s","RH_p38","RH_ppk","RH_python","RH_sc2","RH_sc2acog","RH_sc2aim","RH_sc2eot","RH_sc2shd","RH_sc2sp","RH_star21","RH_tec9", "RH_tt33","RH_vz61","skavil_M60","skavil_M60e3","vilas_rpg22","vilas_rpg26","vil_9a91","vil_9a91_c","vil_9a91_csd","vil_Abakan","vil_Abakan_gp","vil_Abakan_P29","vil_AEK1","vil_AEK2","vil_AeK_23","vil_AeK_3","vil_AeK_3_K","vil_AEK_GL","vil_AG3","vil_AG36","vil_AG36A2","vil_AG36KA4","vil_AG36KV","vil_AG3EOT","vil_ak12","vil_ak12_ap","vil_ak12_gp","vil_AK47_BASE", "vil_AKM","vil_AKMS","vil_AKMSB","vil_AKMS_GP25","vil_AKM_BASE","vil_AKM_GL","vil_AKS_47","vil_AKS_74","vil_AKS_74p","vil_AKS_74p_45","vil_AKS_74p_gp","vil_AKS_74_gp","vil_AKs_74_u","vil_AKs_74_u45","Vil_AKS_74_UB","Vil_AKS_74_UN_kobra","vil_AKS_BASE","vil_AK_101","vil_AK_103","vil_AK_105","Vil_AK_105_c","vil_AK_107","Vil_AK_107_c","vil_AK_47","vil_AK_47_49", "vil_AK_47_m1","vil_AK_74","vil_AK_74m","vil_AK_74m_c","vil_AK_74m_EOT","vil_AK_74m_EOT_Alfa","vil_AK_74m_EOT_FSB","vil_AK_74m_EOT_FSB_45","vil_AK_74m_EOT_FSB_60","vil_AK_74m_gp","vil_AK_74m_gp_29","vil_AK_74m_k","vil_AK_74M_N","vil_AK_74m_p29","vil_AK_74M_PSO","vil_AK_74P","vil_AK_74_gp","vil_AK_74_N","vil_AK_nato_m1","vil_AK_nato_m80","vil_AMD", "vil_AMD63","vil_APS","vil_apssd","vil_ASH82","vil_B_HP","vil_CG84T","vil_DRM_BASE","vil_Fal","vil_Fal_Para","vil_FnMag","vil_G36a2","vil_G36CC","vil_G36E","vil_G36KA4","vil_G36KES","vil_G36KSK","vil_G36KSKdes","vil_G36KSKdesES","vil_G36KSKES","vil_G36KV3","vil_G36KV3Des","vil_G36KVA4","vil_G36KVZ","vil_G36VA4","vil_G36VA4Eot","vil_G3a2","vil_G3a3", "vil_G3a4","vil_G3a4b","vil_G3an","vil_G3anb","vil_G3SG1","vil_G3sg1b","vil_G3TGS","vil_G3TGSb","vil_G3ZF","vil_G3zfb","vil_Galil","vil_Galil_arm","vil_Groza_GL","vil_Groza_HG","vil_Groza_SC","vil_Groza_SD","vil_HK33","vil_HK416_Aim","VIL_HK416_EDR","vil_HK416_EOT","vil_HK416_GL","vil_HK416_IS","vil_HK417s","vil_Insas","vil_Insas_lmg","vil_M110", "vil_M110sd","vil_M14","vil_M14G","vil_M16A1","vil_M21","vil_M21G","vil_M240_B","vil_M249_Para","vil_M24b","VIL_M4","vil_m40a3","VIL_M4_aim","vil_M4_EOT","vil_M64","vil_M70","vil_M70B","vil_M76","vil_M91","vil_Mg3","vil_MG4","vil_MG4E","vil_Minimi","vil_MP5SD_EOTech","vil_MP5_EOTech","vil_MPi","vil_NATO_AK","vil_Panzerfaust3","vil_PK","vil_PKM", "vil_PKM_N","vil_PKP","vil_PKP_EOT","vil_PMI","vil_PMI74S","vil_PMIS","vil_PSL1","Vil_PYA","vil_Rak74sgl","vil_RPD","Vil_RPG16","Vil_RPG29","Vil_RPG7d_PGO","Vil_RPG7V_PGO","vil_RPK","vil_RPK74","vil_RPK74M","vil_RPK74M_N","vil_RPK74M_P29","vil_RPK75","vil_RPK75_M72","vil_RPK75_Romania","Vil_RPO_A","vil_sg540","vil_sg542","vil_sg542f","vil_SKS","vil_SR25", "vil_SR25SD","vil_SVDK","vil_SVD_63","vil_SVD_BASE","vil_SVD_M","vil_SVD_N","vil_SVD_P21","vil_SVD_S","vil_SVU","vil_SVU_A","vil_SV_98","vil_SV_98_69","vil_SV_98_SD","vil_Tt33","vil_type88_1","vil_VAL","vil_VAL_C","vil_VAL_N","vil_Vikhr","vil_vsk94","vil_VSS_N","vil_VSS_PSO","vil_zastava_m84" ]; 

 

For those using WAI missions:

 

// civilian vehicles to spawn in missions
civil_vehicles = [
"hilux1_civil_1_open",
"hilux1_civil_2_covered",
"hilux1_civil_3_open_EP1",
"SUV_Camo",
"SUV_TK_CIV_EP1",
"SUV_Blue",
"SUV_Charcoal",
"SUV_Green",
"SUV_Orange",
"SUV_Pink",
"SUV_Red",
"SUV_Silver",
"SUV_White",
"SUV_Yellow",
"Civcar","Civcarbu","civcarbl","Civcarre","Civcarwh","Civcarsl","Copcar","Copcarhw","Copcarswat","350z","350z_red","350z_kiwi","350z_black","350z_silver","350z_green","350z_blue","350z_gold","350z_white","350z_pink","350z_mod","350z_ruben","350z_v","350z_city","350z_yellow"
];

// Number of guns to spawn in ammo boxes 
wai_mission_numberofguns = 8;
// classnames of guns to spawn in ammo boxes (only class weapons)
ammo_box_guns = [
"M9SD",
"M9",
"AKS_74_UN_kobra",
"AK_107_pso",
"AK_107_GL_pso",
"AK_107_GL_kobra",
"M4A3_CCO_EP1",
"M4A1_AIM_SD_camo",
"M16A4_ACG",
"M8_carbineGL",
"VSS_vintorez",
"M8_sharpshooter",
"M40A3",
"Mk_48_DZ",
"M240_DZ",
"M249_DZ",
"Pecheneg_DZ",
"RPK_74",
"BAF_LRR_scoped",
"DMR",
"SVD_CAMO",
"SCAR_H_LNG_Sniper_SD",
"M110_NVG_EP1",
"Sa58V_RCO_EP1",
"KSVK_DZE",
"BAF_L86A2_ACOG",
"M14_EP1",
"Sa58V_CCO_EP1",
"AK_47_M","AK_74","AKS_74_kobra","AKS_74_U","BAF_L85A2_RIS_Holo","bizon_silenced","FN_FAL_ANPVS4","FN_FAL","G36A_camo","G36C_camo","G36C","G36K_camo","M1014","M16A2","M16A2GL","M4A1_AIM_SD_camo","M4A1_Aim","M4A1_HWS_GL_camo","M4A1","M4A3_CCO_EP1","Remington870_lamp","Sa58P_EP1","Sa58V_CCO_EP1","Sa58V_EP1","Sa58V_RCO_EP1",
"FHQ_ACR_BASE","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_TAN","FHQ_RSASS_TWS_SD_TAN","FHQ_RSASS_TWS_TAN","FHQ_XM2010_BASE","FHQ_XM2010_DESERT","FHQ_XM2010_NV_DESERT",
"FHQ_XM2010_NV_SD_DESERT","FHQ_XM2010_SD_BASE","FHQ_XM2010_SD_DESERT","FHQ_XM2010_TWS_DESERT","FHQ_XM2010_TWS_SD_DESERT","FHQ_XM2010_WDL_CAMO","gms_k98","gms_k98zf39","gms_k98_knife","gms_k98_rg","RH_acr","RH_acracog","RH_acraim","RH_acrb","RH_acrbacog","RH_acrbaim","RH_acrbeotech","RH_acrbgl","RH_acrbglacog","RH_acrbglaim","RH_acrbgleotech","RH_acreotech",
"RH_acrgl","RH_acrglacog","RH_acrglaim","RH_acrgleotech","RH_anac","RH_anacg","RH_browninghp","RH_bull","RH_ctar21","RH_ctar21glacog","RH_ctar21m","RH_ctar21mgl","RH_hk416","RH_hk416acog","RH_hk416aim","RH_hk416eotech","RH_hk416gl","RH_hk416glacog","RH_hk416glaim","RH_hk416gleotech","RH_hk416s","RH_hk416sacog","RH_hk416saim","RH_hk416sd","RH_hk416sdaim",
"RH_hk416sdeotech","RH_hk416sdgl","RH_hk416sdglaim","RH_hk416sdgleotech","RH_hk416seotech","RH_hk416sgl","RH_hk416sglacog","RH_hk416sglaim","RH_hk416sgleotech","RH_hk417","RH_hk417acog","RH_hk417aim","RH_hk417eotech","RH_hk417s","RH_hk417sacog","RH_hk417saim","RH_hk417sd","RH_hk417sdacog","RH_hk417sdaim","RH_hk417sdeotech","RH_hk417sdsp","RH_hk417seotech",
"RH_hk417sgl","RH_hk417sglacog","RH_hk417sglaim","RH_hk417sgleotech","RH_hk417sp","RH_m14","RH_m14acog","RH_m14aim","RH_m14eot","RH_m1s","RH_m1sacog","RH_m1saim","RH_m1seot","RH_m1sshd","RH_m1ssp","RH_m1st","RH_m1stacog","RH_m1staim","RH_m1steot","RH_m1stshd","RH_m1stsp","RH_m21","RH_mas","RH_masacog","RH_masaim","RH_masb","RH_masbacog","RH_masbaim",
"RH_masbeotech","RH_masbsd","RH_masbsdacog","RH_masbsdaim","RH_masbsdeotech","RH_maseotech","RH_massd","RH_massdacog","RH_massdaim","RH_massdeotech","RH_mk2","RH_mk22","RH_mk22sd","RH_mk22v","RH_mk22vsd","RH_muzi","RH_p226","RH_p226s","RH_p38","RH_ppk","RH_python","RH_sc2","RH_sc2acog","RH_sc2aim","RH_sc2eot","RH_sc2shd","RH_sc2sp","RH_star21","RH_tec9",
"RH_tt33","RH_vz61","skavil_M60","skavil_M60e3","vilas_rpg22","vilas_rpg26","vil_9a91","vil_9a91_c","vil_9a91_csd","vil_Abakan","vil_Abakan_gp","vil_Abakan_P29","vil_AEK1","vil_AEK2","vil_AeK_23","vil_AeK_3","vil_AeK_3_K","vil_AEK_GL","vil_AG3","vil_AG36","vil_AG36A2","vil_AG36KA4","vil_AG36KV","vil_AG3EOT","vil_ak12","vil_ak12_ap","vil_ak12_gp","vil_AK47_BASE",
"vil_AKM","vil_AKMS","vil_AKMSB","vil_AKMS_GP25","vil_AKM_BASE","vil_AKM_GL","vil_AKS_47","vil_AKS_74","vil_AKS_74p","vil_AKS_74p_45","vil_AKS_74p_gp","vil_AKS_74_gp","vil_AKs_74_u","vil_AKs_74_u45","Vil_AKS_74_UB","Vil_AKS_74_UN_kobra","vil_AKS_BASE","vil_AK_101","vil_AK_103","vil_AK_105","Vil_AK_105_c","vil_AK_107","Vil_AK_107_c","vil_AK_47","vil_AK_47_49",
"vil_AK_47_m1","vil_AK_74","vil_AK_74m","vil_AK_74m_c","vil_AK_74m_EOT","vil_AK_74m_EOT_Alfa","vil_AK_74m_EOT_FSB","vil_AK_74m_EOT_FSB_45","vil_AK_74m_EOT_FSB_60","vil_AK_74m_gp","vil_AK_74m_gp_29","vil_AK_74m_k","vil_AK_74M_N","vil_AK_74m_p29","vil_AK_74M_PSO","vil_AK_74P","vil_AK_74_gp","vil_AK_74_N","vil_AK_nato_m1","vil_AK_nato_m80","vil_AMD",
"vil_AMD63","vil_APS","vil_apssd","vil_ASH82","vil_B_HP","vil_CG84T","vil_DRM_BASE","vil_Fal","vil_Fal_Para","vil_FnMag","vil_G36a2","vil_G36CC","vil_G36E","vil_G36KA4","vil_G36KES","vil_G36KSK","vil_G36KSKdes","vil_G36KSKdesES","vil_G36KSKES","vil_G36KV3","vil_G36KV3Des","vil_G36KVA4","vil_G36KVZ","vil_G36VA4","vil_G36VA4Eot","vil_G3a2","vil_G3a3",
"vil_G3a4","vil_G3a4b","vil_G3an","vil_G3anb","vil_G3SG1","vil_G3sg1b","vil_G3TGS","vil_G3TGSb","vil_G3ZF","vil_G3zfb","vil_Galil","vil_Galil_arm","vil_Groza_GL","vil_Groza_HG","vil_Groza_SC","vil_Groza_SD","vil_HK33","vil_HK416_Aim","VIL_HK416_EDR","vil_HK416_EOT","vil_HK416_GL","vil_HK416_IS","vil_HK417s","vil_Insas","vil_Insas_lmg","vil_M110",
"vil_M110sd","vil_M14","vil_M14G","vil_M16A1","vil_M21","vil_M21G","vil_M240_B","vil_M249_Para","vil_M24b","VIL_M4","vil_m40a3","VIL_M4_aim","vil_M4_EOT","vil_M64","vil_M70","vil_M70B","vil_M76","vil_M91","vil_Mg3","vil_MG4","vil_MG4E","vil_Minimi","vil_MP5SD_EOTech","vil_MP5_EOTech","vil_MPi","vil_NATO_AK","vil_Panzerfaust3","vil_PK","vil_PKM",
"vil_PKM_N","vil_PKP","vil_PKP_EOT","vil_PMI","vil_PMI74S","vil_PMIS","vil_PSL1","Vil_PYA","vil_Rak74sgl","vil_RPD","Vil_RPG16","Vil_RPG29","Vil_RPG7d_PGO","Vil_RPG7V_PGO","vil_RPK","vil_RPK74","vil_RPK74M","vil_RPK74M_N","vil_RPK74M_P29","vil_RPK75","vil_RPK75_M72","vil_RPK75_Romania","Vil_RPO_A","vil_sg540","vil_sg542","vil_sg542f","vil_SKS","vil_SR25",
"vil_SR25SD","vil_SVDK","vil_SVD_63","vil_SVD_BASE","vil_SVD_M","vil_SVD_N","vil_SVD_P21","vil_SVD_S","vil_SVU","vil_SVU_A","vil_SV_98","vil_SV_98_69","vil_SV_98_SD","vil_Tt33","vil_type88_1","vil_VAL","vil_VAL_C","vil_VAL_N","vil_Vikhr","vil_vsk94","vil_VSS_N","vil_VSS_PSO","vil_zastava_m84"
]; 

 

Config traders:

server_traders.sqf

//UPDATE ARRAY ON TOP!
serverTraders = ["Winter_SOF_DA1b",

//Overpoch
menu_Winter_SOF_DA1b = [
	[["Pistols",900],["RH",901],["FHQ",902],["Vil",903],["Misc",904],["Ammo",905],["Vehicles",906]],
	[],
	"neutral"
];

Dayz_Epoch_11.Chernarus\mission.sqf (dayz_server.pbo): (animated badass looking traders)

_unit_670 = objNull;
if (true) then
{
  _this = createAgent ["Winter_SOF_DA1b", [6296.33,7803.79,0], [], 0, "CAN_COLLIDE"];
  _unit_670 = _this;
  _this setDir 310;
  _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
  _this setUnitAbility 0.60000002;
  _this allowDammage false; _this disableAI 'FSM'; /*_this disableAI 'MOVE';*/ _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;/*_this enableSimulation false;*/};

_unit_671 = objNull;
if (true) then
{
  _this = createAgent ["Winter_SOF_DA1b", [11449.9,11349.8,0], [], 0, "CAN_COLLIDE"];
  _unit_671 = _this;
  _this setDir 120;
  _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
  _this setUnitAbility 0.60000002;
  _this allowDammage false; _this disableAI 'FSM'; /*_this disableAI 'MOVE';*/ _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;/*_this enableSimulation false;*/};

_unit_672 = objNull;
if (true) then
{
  _this = createAgent ["Winter_SOF_DA1b", [4030.66,11678.5,0], [], 0, "CAN_COLLIDE"];
  _unit_672 = _this;
  _this setDir 140;
  _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
  _this setUnitAbility 0.60000002;
  _this allowDammage false; _this disableAI 'FSM'; /*_this disableAI 'MOVE';*/ _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;/*_this enableSimulation false;*/};

Overpoch.hpp:

http://pastebin.com/nfp5sbAL

 

Instructions:

Create new overpoch.hpp file near rest of configs and update your cfgServerTrader.hpp file like so (just add that single line):

	#include "Category\NeutralWholesale.hpp"
	#include "Category\Overpoch.hpp"
};

note: I feel obligated to remind you to use your own folder structure in these lines. In my example I have all my trader .hpp files inside "Category" folder that is found in root of mission file.

Edited by raymix

Share this post


Link to post
Share on other sites

excellent guide, find and replace with notepad++

was an absolute godsend when i was bringing my custom traders from epoch into the overpoch database.

 

not to mention a macro which presses

delete end "," 

 

you'll really help a lot of people by posting this. 

Share this post


Link to post
Share on other sites

Dude, This video is amazing, Your a legend, But can you divide the videos up and into the description of the video like the times

 

For example :

20:48 - Start Of What This Part Of The Video Covers

 

Stuff like that

 

It would help out so much besides watching the whole thing in total of a hour :P

 

Thanks tho anyways !!

Share this post


Link to post
Share on other sites

Okay so say I have an Epoch server, and want to do this or some variation of it.  If I start dropping Overwatch weapons into Epoch its going to kick back errors.  I read somewhere that I should install Overwatch rename the @overwatch folder on the server to something then uninstall it and install Epoch.  Is that how to do it?  Or is there some other guide somewhere on adding the weapons and stuff to the epoch files?

Share this post


Link to post
Share on other sites

 can you divide the videos up and into the description of the video like the times

Done :)

 

 

Okay so say I have an Epoch server, and want to do this or some variation of it.  If I start dropping Overwatch weapons into Epoch its going to kick back errors.  I read somewhere that I should install Overwatch rename the @overwatch folder on the server to something then uninstall it and install Epoch.  Is that how to do it?  Or is there some other guide somewhere on adding the weapons and stuff to the epoch files?

It doesn't work that way. Dayz/Epoch/Arma does not have these weapons in game, they are developed by Overwatch mod devs. So the only way to add them is for your server and clients to download overwatch and enabling them. Check out Credits in OP post for Matijs, he covers installation very well.

Share this post


Link to post
Share on other sites

Done :)

 

 

It doesn't work that way. Dayz/Epoch/Arma does not have these weapons in game, they are developed by Overwatch mod devs. So the only way to add them is for your server and clients to download overwatch and enabling them. Check out Credits in OP post for Matijs, he covers installation very well.

Thank you so much !!!

 

Btw I heard they are deleting anything related with Overpoch on here, So I think its best to copy this stuff over onto opendayz or something.

 

If I have any questions or anything I'll PM you, Thanks man  :)

Share this post


Link to post
Share on other sites

After doing this, i only tried to add 1 trader to stary. Same location and same skin as you.

 

I got no trader at the location and i dont get a trader menu on any of my traders at all

 

Guess i messed up in here so here is my server_traders.sqf

 

// DayZ Epoch TRADERS for 11

serverTraders = ["gsc_scientist1","RU_Functionary1","RU_Citizen3","Rocker4","Profiteer4","Rita_Ensler_EP1","CIV_EuroMan01_EP1","CIV_EuroMan02_EP1","TK_GUE_Soldier_5_EP1","GUE_Soldier_MG","Worker2","Worker3","Woodlander1","UN_CDF_Soldier_Pilot_EP1","RU_WorkWoman1","Dr_Annie_Baker_EP1","RU_Citizen4","RU_WorkWoman5","RU_Citizen1","RU_Villager3","TK_CIV_Takistani04_EP1","Pilot_EP1","RU_Profiteer4","Woodlander3","Dr_Hladik_EP1","Doctor","HouseWife1","GUE_Woodlander2"];
// Overpoch Trader
menu_gsc_scientist1 = [
[["Assult Rifles",800],["Sniper Rifles",801],["Heavy Machineguns",802],["Pistols",803],["Ammo",804],["Vehicles",805],
        [],
"neutral"
];
// Hero Vendor
menu_RU_Functionary1 = [
[["Ammunition",478],["Clothes",476],["Helicopter Armed",493],["Military Armed",562],["Trucks Armed",479],["Weapons",477]],
[],
"hero"
];
// Ammunition Friendly
menu_RU_Citizen3 = [
[["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]],
[],
"friendly"
];
// Weapons Friendly
menu_Rocker4 = [
[["Assault Rifle",485],["Light Machine Gun",486],["Pistols",489],["Shotguns and Single-shot",574],["Sniper Rifle",487],["Submachine Guns",488]],
[],
"friendly"
];
// Friendly Vehicles
menu_Profiteer4 = [
[["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]],
[],
"friendly"
];
// General Store
menu_Rita_Ensler_EP1 = [
[["Backpacks",496],["Clothes",497],["Cooked Meats",580],["Drinks",498],["Packaged Food",579]],
[["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Whiskey Bottle","Tin Bar",101]],
"neutral"
];
// Weapons neutral
menu_CIV_EuroMan01_EP1 = [
[["Assault Rifle",602],["Light Machine Gun",603],["Pistols",606],["Shotguns and Single-shot",607],["Sniper Rifle",605],["Submachine Guns",604]],
[],
"neutral"
];
// Ammunition Neutral
menu_CIV_EuroMan02_EP1 = [
[["Assault Rifle Ammo",609],["Light Machine Gun Ammo",610],["Pistol Ammo",611],["Shotguns and Single-shot Ammo",613],["Sniper Rifle Ammo",614],["Submachine Gun Ammo",612]],
[],
"neutral"
];
// Neutral Building/Parts
menu_TK_GUE_Soldier_5_EP1 = [
[["Building Supplies",508],["Toolbelt Items",510],["Vehicle Parts",509]],
[],
"neutral"
];
// Bandit Trader
menu_GUE_Soldier_MG = [
[["Ammunition",577],["Clothing",575],["Helicopter Armed",512],["Military Armed",569],["Trucks Armed",534],["Weapons",627]],
[],
"hostile"
];
// Aircraft Dealer
menu_Worker2 = [
[["Airplanes",517],["Helicopter Unarmed",519]],
[],
"neutral"
];
// Vehicles Neutral
menu_Worker3 = [
[["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"
];
// Friendly Building/Parts
menu_Woodlander1 = [
[["Building Supplies",530],["Toolbelt Items",532],["Vehicle Parts",531]],
[],
"friendly"
];
// Friendly Vehicles 2
menu_UN_CDF_Soldier_Pilot_EP1 = [
[["Bikes and ATV",536],["Buses and Vans",592],["Cargo Trucks",570],["Fuel Trucks",595],["Military Unarmed",599],["Trucks Unarmed",535],["Used Cars",600],["Utility Vehicles",568]],
[],
"friendly"
];
// General Store 2
menu_RU_WorkWoman1 = [
[["Backpacks",538],["Clothes",628],["Cooked Meats",630],["Drinks",601],["Packaged Food",629]],
[["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Whiskey Bottle","Tin Bar",101]],
"friendly"
];
// Medical Supplies
menu_Dr_Annie_Baker_EP1 = [
[["Chem-lites/Flares",542],["Medical Supplies",541],["Smoke Grenades",543]],
[["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]],
"friendly"
];
// East Wholesaler
menu_RU_Citizen4 = [
[["Wholesale",555]],
[],
"neutral"
];
// General Store 3
menu_RU_WorkWoman5 = [
[["Backpacks",632],["Clothes",631],["Cooked Meats",634],["Drinks",633],["Packaged Food",635]],
[["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Whiskey Bottle","Tin Bar",101]],
"neutral"
];
// West Wholesaler
menu_RU_Citizen1 = [
[["Wholesale",636]],
[],
"neutral"
];
// Boat Vendor
menu_RU_Villager3 = [
[["Boats Armed",558],["Boats Unarmed",557]],
[],
"neutral"
];
// Weapons neutral 2
menu_TK_CIV_Takistani04_EP1 = [
[["Assault Rifle",637],["Light Machine Gun",638],["Pistols",674],["Shotguns and Single-shot",641],["Sniper Rifle",640],["Submachine Guns",642]],
[],
"neutral"
];
// Ammunition Neutral 2
menu_Pilot_EP1 = [
[["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]],
[],
"neutral"
];
// Vehicles Neutral 2
menu_RU_Profiteer4 = [
[["Bikes and ATV",650],["Buses and Vans",651],["Cargo Trucks",653],["Fuel Trucks",655],["Military Unarmed",658],["Trucks",659],["Used Cars",660],["Utility Vehicles",661]],
[],
"neutral"
];
// Neutral Building/Parts
menu_Woodlander3 = [
[["Building Supplies",662],["Toolbelt Items",663],["Vehicle Parts",664]],
[],
"neutral"
];
// Medical Supplies 2
menu_Dr_Hladik_EP1 = [
[["Chem-lites/Flares",666],["Medical Supplies",665],["Smoke Grenades",668]],
[["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]],
"neutral"
];
// Medical Supplies 3
menu_Doctor = [
[["Chem-lites/Flares",669],["Medical Supplies",670],["Smoke Grenades",671]],
[["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]],
"neutral"
];
// Boat Trader 2
menu_HouseWife1 = [
[["Boats Armed",673],["Boats Unarmed",672]],
[],
"neutral"
];
// Black market
menu_GUE_Woodlander2 = [
[["Black Market Ammo",527],["Black Market Weapons",526],["Explosives",529]],
[],
"neutral"
];
 

Share this post


Link to post
Share on other sites

@Maxwi: The way menus work is skin based - only trader with that exact specified skin will have those menus (Unless you add Menu TIDs to other traders). Which means that if trader did not appear, menus will not be there. So we are back to square one - adding trader in dayz_server.pbo inside mission.sqm. Doublecheck that unit has a unique ID (in 2 places) and that there are no extra unnecessary punctuation. It is one of the first things I did in the video, should be easy enough to find and compare your code.

 

edit: on the other hand, yes you are missing a bracket in your server_traders.sqf you posted

 

[["Assult Rifles",800],["Sniper Rifles",801],["Heavy Machineguns",802],["Pistols",803],["Ammo",804],["Vehicles",805]],

 

The pattern of code is as follows - Array [["item1",0],["item2",1],["item3",2]]

Share this post


Link to post
Share on other sites

@Maxwi: The way menus work is skin based - only trader with that exact specified skin will have those menus (Unless you add Menu TIDs to other traders). Which means that if trader did not appear, menus will not be there. So we are back to square one - adding trader in dayz_server.pbo inside mission.sqm. Doublecheck that unit has a unique ID (in 2 places) and that there are no extra unnecessary punctuation. It is one of the first things I did in the video, should be easy enough to find and compare your code.

 

edit: on the other hand, yes you are missing a bracket in your server_traders.sqf you posted

 

[["Assult Rifles",800],["Sniper Rifles",801],["Heavy Machineguns",802],["Pistols",803],["Ammo",804],["Vehicles",805]],

 

The pattern of code is as follows - Array [["item1",0],["item2",1],["item3",2]]

Thank you, the other traders are now working and he is spawned in. But i cant access the menu on him, i scroll and scroll but nothing shows up. 

 

As i said other traders are working

Share this post


Link to post
Share on other sites

Hi, can you give me a skin that is good to use? the classname

it is any skin that is not used by other traders and not obtainable normally in-game. Otherwise players who will wear that skin will become traders themselves and anyone trying to buy from him will get banned. That scientist skin should have worked, there might be problem with your client setup if you can't see traders in those skins.

http://dayzepoch.com/wiki/index.php/More_Wearable_Clothing

Share this post


Link to post
Share on other sites

If you guys get an error like this in your hive HiveExt: [Error] Error executing |CHILD:399:482:|. Make sure you dont double up on these things "  .

 

My issue was I somehow ended up with this 

 

INSERT INTO `dayz_cherno_24`.`traders_data` (`item`, `qty`, `buy`, `sell`, `tid`) VALUES ('[""USSR_5Rnd_408"",1]', 999, '[1,"ItemGoldBar10oz",1]', '[2,"ItemGoldBar10oz",1]', 482);

 

 

 

Notice the bits in the red.

 

 

it should look like this

 

 

INSERT INTO `dayz_cherno_24`.`traders_data` (`item`, `qty`, `buy`, `sell`, `tid`) VALUES ('["USSR_5Rnd_408",1]', 999, '[1,"ItemGoldBar10oz",1]', '[2,"ItemGoldBar10oz",1]', 482);

Share this post


Link to post
Share on other sites

There are alot of plugins for Notepad++ that can make your life easier. Thanks for pointing a few of them it. Most can be easily installedthroug the plugin manager in Notepad++ itself the the plugins menu. I use TakeNotes religiously. Also DocumentMonitor for streaming rpt and such. ToolBucket has multi line search and replace which is handy. Raymix gives some great examples of how Notepad++ can be your best friend. Awesome video and tutorial Raymix!! Thanks for taking the time to do such a great tutorial!!

Share this post


Link to post
Share on other sites

 

cfgtosql.png

 

 

This Video Tutorial covers:

Add custom Traders anywhere on map

Find positions on map (also covering safezones/sensors a little bit)

Add your own custom Menus to traders

Add all Overwatch weapons, ammo and vehicles to your menus

Use notepad++ to convert Loot CFG (or literary ANY) file into SQL query that you can to insert items faster into database.

 

Notepad++ tricks:

I will show you some cool tricks how to clean out junk data from files, filter out only stuff you need and convert it into a different code that can be used elsewhere.

In this video I will be using Macros, TextFX and Find&Replace options to show you awesome stuff you can do with notepad++ to affect thousands of lines automatically!

You will need TextFX plugin.

 

SQL:

I am using Heidi SQL to edit my databases. Any other tool is very well capable of doing the same job well. I just love filtering on heidi. It's also free.

This is by no means targeted towards advanced users, beginners only. If you are advanced user and dislike the method, please share your method instead for all of us to learn from.

I am not sharing actual SQL code because database names differs for different hosts, also I think notepad++ tricks are awesome thing to know, might be handy in future.

In fact If database structure ever changes, you can reuse tricks learned here instead to update it quickly.

 

Overwatch vehicles used in video:

"CVPI_Patrol","CVPI_Trooper_Patrol","CVPI_TrooperSL_Patrol","CVPI_NYPD_Patrol","CVPI_HighwaySL_Patrol","CVPI_UnmarkedB_Patrol","CVPI_UnmarkedG_Patrol","CVPI_LAPD_Patrol","CVPI_UnmarkedW_Patrol","CVPI_LAPDSL_Patrol","CVPI_NYPDSL_Patrol","Civcar","Civcarbu","civcarbl","Civcarre","Civcarwh","Civcarsl","Copcar","Copcarhw","Copcarswat","350z","350z_red","350z_kiwi","350z_black","350z_silver","350z_green","350z_blue","350z_gold","350z_white","350z_pink","350z_mod","350z_ruben","350z_v","350z_city","350z_yellow"


//air
CYBP_Camel_us, CYBP_Camel_rus, CYBP_Camel_civ

Alternative list of all Overwatch weapons/ammo/vehicles (Test out your new Notepad++ skill and convert it into SQL!)

PROTIP: if using alternative list - to filter out ammo from weapons Write Ammo Type: in search, leave search window open. Then create macro:

[Home] > [F3] > [shift]+[END] > [DEL] > [Down] > [Home]

This will delete last part on all rows that says ammo and leave weapons only. Apply similar method to delete weapons instead.

 

Credits and [How to] Install server: infiSTAR for awesome AH/Admin tool

 

 

00:00 - 20:00 Adding traders
20:00 - 35:05 Notepad++ filtering out the junk
35:05 - 36:40 Notepad++ TextFX deleting duplicate rows
36:40 - 41:55 Notepad++ Seperating ammo from weapons using macros
41:55 - 57:42 Converting classnames into SQL query (adding stuff to traders in database)
57:42 - Final in-game test

 

 

 

I might be transfering over to using files instead of a database for traders.

 

Any possible way someone can or you raymix teach me how to do this faster or a link for a tutorial possibly ?

 

Thanks

Share this post


Link to post
Share on other sites

There are alot of plugins for Notepad++ that can make your life easier. Thanks for pointing a few of them it. Most can be easily installedthroug the plugin manager in Notepad++ itself the the plugins menu. I use TakeNotes religiously. Also DocumentMonitor for streaming rpt and such. ToolBucket has multi line search and replace which is handy. Raymix gives some great examples of how Notepad++ can be your best friend. Awesome video and tutorial Raymix!! Thanks for taking the time to do such a great tutorial!!

Thanks, man. It has few good addons, indeed. Loving document monitor, lets me stream error logs locally (like linux tail -f command)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...