DutchDevil Posted November 13, 2014 Report Share Posted November 13, 2014 Ive made some changes to my here trader and added these vehicles: class BTR60_TK_EP1 { type = "trade_any_vehicle"; buy[] = {10,"ItemBriefcase100oz"}; sell[] = {5,"ItemBriefcase100oz"}; }; class BTR90 { type = "trade_any_vehicle"; buy[] = {10,"ItemBriefcase100oz"}; sell[] = {5,"ItemBriefcase100oz"}; }; class BRDM2_INS { type = "trade_any_vehicle"; buy[] = {10,"ItemBriefcase100oz"}; sell[] = {5,"ItemBriefcase100oz"}; }; class BMP2_HQ_INS { type = "trade_any_vehicle"; buy[] = {10,"ItemBriefcase100oz"}; sell[] = {5,"ItemBriefcase100oz"}; }; class AH6J_EP1 { type = "trade_any_vehicle"; buy[] = {5,"ItemBriefcase100oz"}; sell[] = {2,"ItemBriefcase100oz"}; }; class AH6X_EP1 { type = "trade_any_vehicle"; buy[] = {5,"ItemBriefcase100oz"}; sell[] = {2,"ItemBriefcase100oz"}; }; class AAV { type = "trade_any_vehicle"; buy[] = {10,"ItemBriefcase100oz"}; sell[] = {5,"ItemBriefcase100oz"}; }; class M113_UN_EP1 { type = "trade_any_vehicle"; buy[] = {10,"ItemBriefcase100oz"}; sell[] = {5,"ItemBriefcase100oz"}; }; class M6_EP1 { type = "trade_any_vehicle"; buy[] = {10,"ItemBriefcase100oz"}; sell[] = {5,"ItemBriefcase100oz"}; How can i make them spawn when bought that ammo is removed and not reammoed after restart? I cant figure it out.. Link to comment Share on other sites More sharing options...
0 MTK858 Posted November 14, 2014 Report Share Posted November 14, 2014 look here: i think its your solution. Link to comment Share on other sites More sharing options...
0 CordIAsis Posted November 15, 2014 Report Share Posted November 15, 2014 Never used config traders myself but I'm going to assume the trading still uses the server_publishVehicle2.sqf file. So hop into your server PBO and open up server_publishVehicle2.sqf. In there you should find // _object setVehicleAmmo DZE_vehicleAmmo; Just replace that with _object setVehicleAmmo 0; Then to take care of the ammo at server startup, just do the same thing in server_publishVehicle.sqf. Link to comment Share on other sites More sharing options...
0 oSoDirty Posted November 16, 2014 Report Share Posted November 16, 2014 What you are looking for is here: http://opendayz.net/threads/release-remove-weapons-ammunition-thermal-from-vehicle-epoch-version.18044/ Its works like a charm. If you have any problems with this script i can gladly help you with any vehicle you would like to be stripped of ammo at purchase/restart. This only works for bought vehicles. If you spawn one in as an admin it will have the ammo, like wise for dynamic spawns. I use it on my server to remove ammo from f-35, apache, pook gunship, pook transport, and flying fortress Link to comment Share on other sites More sharing options...
Question
DutchDevil
Ive made some changes to my here trader and added these vehicles:
class BTR60_TK_EP1 {
type = "trade_any_vehicle";
buy[] = {10,"ItemBriefcase100oz"};
sell[] = {5,"ItemBriefcase100oz"};
};
class BTR90 {
type = "trade_any_vehicle";
buy[] = {10,"ItemBriefcase100oz"};
sell[] = {5,"ItemBriefcase100oz"};
};
class BRDM2_INS {
type = "trade_any_vehicle";
buy[] = {10,"ItemBriefcase100oz"};
sell[] = {5,"ItemBriefcase100oz"};
};
class BMP2_HQ_INS {
type = "trade_any_vehicle";
buy[] = {10,"ItemBriefcase100oz"};
sell[] = {5,"ItemBriefcase100oz"};
};
class AH6J_EP1 {
type = "trade_any_vehicle";
buy[] = {5,"ItemBriefcase100oz"};
sell[] = {2,"ItemBriefcase100oz"};
};
class AH6X_EP1 {
type = "trade_any_vehicle";
buy[] = {5,"ItemBriefcase100oz"};
sell[] = {2,"ItemBriefcase100oz"};
};
class AAV {
type = "trade_any_vehicle";
buy[] = {10,"ItemBriefcase100oz"};
sell[] = {5,"ItemBriefcase100oz"};
};
class M113_UN_EP1 {
type = "trade_any_vehicle";
buy[] = {10,"ItemBriefcase100oz"};
sell[] = {5,"ItemBriefcase100oz"};
};
class M6_EP1 {
type = "trade_any_vehicle";
buy[] = {10,"ItemBriefcase100oz"};
sell[] = {5,"ItemBriefcase100oz"};
How can i make them spawn when bought that ammo is removed and not reammoed after restart?
I cant figure it out..
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now