Jump to content
  • 0

Adding custom vehicles to traders.


DeceitfulChicken

Question

9 answers to this question

Recommended Posts

  • 0

unless its in the database of epoch you cannot add vehicles. you can only add whats already there to add. i tried adding the nissan r34 skyline, which can be done with proper editing, and found that it can only be done if your players download it and add it on there own.

 

db vehicles can be added by this as example

INSERT IGNORE INTO traders_data (`item`, `qty`, buy, sell, `tid`, `afile`) VALUES ('["pook_H13_medevac_INS",2]', 15, '[2,"ItemGoldBar10oz",1]', '[1,"ItemGoldBar10oz",1]', 519, 'trade_any_vehicle');
INSERT IGNORE INTO traders_data (`item`, `qty`, buy, sell, `tid`, `afile`) VALUES ('["pook_H13_amphib_CIV",2]', 15, '[2,"ItemGoldBar10oz",1]', '[1,"ItemGoldBar10oz",1]', 519, 'trade_any_vehicle');
INSERT IGNORE INTO traders_data (`item`, `qty`, buy, sell, `tid`, `afile`) VALUES ('["pook_H13_civ_yellow",2]', 15, '[2,"ItemGoldBar10oz",1]', '[1,"ItemGoldBar10oz",1]', 519, 'trade_any_vehicle');
INSERT IGNORE INTO traders_data (`item`, `qty`, buy, sell, `tid`, `afile`) VALUES ('["pook_H13_civ_ru_black",2]', 15, '[2,"ItemGoldBar10oz",1]', '[1,"ItemGoldBar10oz",1]', 519, 'trade_any_vehicle');
INSERT IGNORE INTO traders_data (`item`, `qty`, buy, sell, `tid`, `afile`) VALUES ('["pook_H13_gunship",2]', 15, '[4,"ItemGoldBar10oz",1]', '[2,"ItemGoldBar10oz",1]', 493, 'trade_any_vehicle');
INSERT IGNORE INTO traders_data (`item`, `qty`, buy, sell, `tid`, `afile`) VALUES ('["pook_H13_transport_GUE",2]', 15, '[8,"ItemGoldBar10oz",1]', '[4,"ItemGoldBar10oz",1]', 512, 'trade_any_vehicle');

just change the vehicle, price and trader based on your tid's

example here

http://opendayz.net/threads/epoch-how-to-add-vehicles-weapons-and-ammo-to-traders.14429/

Link to comment
Share on other sites

  • 0

unless its in the database of epoch you cannot add vehicles. you can only add whats already there to add. i tried adding the nissan r34 skyline, which can be done with proper editing, and found that it can only be done if your players download it and add it on there own.

 

db vehicles can be added by this as example

INSERT IGNORE INTO traders_data (`item`, `qty`, buy, sell, `tid`, `afile`) VALUES ('["pook_H13_medevac_INS",2]', 15, '[2,"ItemGoldBar10oz",1]', '[1,"ItemGoldBar10oz",1]', 519, 'trade_any_vehicle');
INSERT IGNORE INTO traders_data (`item`, `qty`, buy, sell, `tid`, `afile`) VALUES ('["pook_H13_amphib_CIV",2]', 15, '[2,"ItemGoldBar10oz",1]', '[1,"ItemGoldBar10oz",1]', 519, 'trade_any_vehicle');
INSERT IGNORE INTO traders_data (`item`, `qty`, buy, sell, `tid`, `afile`) VALUES ('["pook_H13_civ_yellow",2]', 15, '[2,"ItemGoldBar10oz",1]', '[1,"ItemGoldBar10oz",1]', 519, 'trade_any_vehicle');
INSERT IGNORE INTO traders_data (`item`, `qty`, buy, sell, `tid`, `afile`) VALUES ('["pook_H13_civ_ru_black",2]', 15, '[2,"ItemGoldBar10oz",1]', '[1,"ItemGoldBar10oz",1]', 519, 'trade_any_vehicle');
INSERT IGNORE INTO traders_data (`item`, `qty`, buy, sell, `tid`, `afile`) VALUES ('["pook_H13_gunship",2]', 15, '[4,"ItemGoldBar10oz",1]', '[2,"ItemGoldBar10oz",1]', 493, 'trade_any_vehicle');
INSERT IGNORE INTO traders_data (`item`, `qty`, buy, sell, `tid`, `afile`) VALUES ('["pook_H13_transport_GUE",2]', 15, '[8,"ItemGoldBar10oz",1]', '[4,"ItemGoldBar10oz",1]', 512, 'trade_any_vehicle');

just change the vehicle, price and trader based on your tid's

example here

http://opendayz.net/threads/epoch-how-to-add-vehicles-weapons-and-ammo-to-traders.14429/

Thanks dude, but for whatever reason I had a hard time understanding that whilst I was able to install all our server mods. I'll talk to Turtle on skype or teamspeak or whatever is convenient.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...