Jump to content
  • 0

Vehicle Ammunition Classnames


MatthewK

Question

Can someone help me list the ammunition classames for the vehicles.  I'll update this post as they're contributed.

This is so people can add them to their traders. 

 

ADDED: Sql to add them to hero/bandit and neutral black market traders on all maps 

 

 

 

Added by Shizweak:

100Rnd_762x54_PK
29Rnd_30mm_AGS30
50Rnd_127x107_DSHKM
100Rnd_127x99_M2
2000Rnd_762x51_M134
48Rnd_40mm_MK19

Also new classes for M240/M249 ammo - assuming this was done to ensure the clips only take up 1 slot, also with new 100rnd M249 and 200rnd M240 mags:

100Rnd_762x51_M240
200Rnd_762x51_M240

200Rnd_556x45_M249
100Rnd_556x45_M249
Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 0

Can someone help me list the ammunition classames for the vehicles.  I'll update this post as they're contributed.

This is so people can add them to their traders. 

 

 

UH1Y

2000Rnd_762x51_M134

4000Rnd_762x51_M134

 

HUMMWV Armoured & MH60S

100Rnd_762x51_M240

1200Rnd_762x51_M240

 

Mi17_base

1500Rnd_762x54_PKT

2000Rnd_762x54_PKT

 

 

From the configs I can see:

 

100Rnd_762x54_PK
29Rnd_30mm_AGS30
50Rnd_127x107_DSHKM
100Rnd_127x99_M2
2000Rnd_762x51_M134
48Rnd_40mm_MK19
 
 
Also new classes for M240/M249 ammo - assuming this was done to ensure the clips only take up 1 slot, also with new 100rnd M249 and 200rnd M240 mags:
 
100Rnd_762x51_M240
200Rnd_762x51_M240
 
200Rnd_556x45_M249
100Rnd_556x45_M249
Link to comment
Share on other sites

  • 0

That all depends on how many people you want driving around with loaded 50cals/grenade launchers, personally if I was to add them to the traders I'd at least make it a few 10oz bars, or even a BC.

 

In my opinion, I wish they were only available from the supply drops - being able to find them in military special loot piles makes it too easy to farm them.

Link to comment
Share on other sites

  • 0

Sql to add them to hero/bandit and neutral black market traders on all maps. Prices you can adjust yourself, the value numbes should be high enough to not effect current lines.

 

Note 2, these are the only ones from the above list that work, tried the others but they don't work.

INSERT INTO `traders_DATA` VALUES(7385, '["48Rnd_40mm_MK19",1]', '50', '[1,"ItemBriefcase100oz",1]', '[1,"ItemBriefcase100oz",1]', '0', '478', 'trade_items');
INSERT INTO `traders_DATA` VALUES(7386, '["48Rnd_40mm_MK19",1]', '50', '[1,"ItemBriefcase100oz",1]', '[1,"ItemBriefcase100oz",1]', '0', '577', 'trade_items');
INSERT INTO `traders_DATA` VALUES(7387, '["48Rnd_40mm_MK19",1]', '50', '[1,"ItemBriefcase100oz",1]', '[1,"ItemBriefcase100oz",1]', '0', '527', 'trade_items');

INSERT INTO `traders_DATA` VALUES(7389, '["100Rnd_127x99_M2",1]', '50', '[1,"ItemBriefcase100oz",1]', '[1,"ItemBriefcase100oz",1]', '0', '478', 'trade_items');
INSERT INTO `traders_DATA` VALUES(7390, '["100Rnd_127x99_M2",1]', '50', '[1,"ItemBriefcase100oz",1]', '[1,"ItemBriefcase100oz",1]', '0', '577', 'trade_items');
INSERT INTO `traders_DATA` VALUES(7391, '["100Rnd_127x99_M2",1]', '50', '[1,"ItemBriefcase100oz",1]', '[1,"ItemBriefcase100oz",1]', '0', '527', 'trade_items');

INSERT INTO `traders_DATA` VALUES(7393, '["50Rnd_127x107_DSHKM",1]', '50', '[1,"ItemBriefcase100oz",1]', '[1,"ItemBriefcase100oz",1]', '0', '478', 'trade_items');
INSERT INTO `traders_DATA` VALUES(7394, '["50Rnd_127x107_DSHKM",1]', '50', '[1,"ItemBriefcase100oz",1]', '[1,"ItemBriefcase100oz",1]', '0', '577', 'trade_items');
INSERT INTO `traders_DATA` VALUES(7395, '["50Rnd_127x107_DSHKM",1]', '50', '[1,"ItemBriefcase100oz",1]', '[1,"ItemBriefcase100oz",1]', '0', '527', 'trade_items');

INSERT INTO `traders_DATA` VALUES(7397, '["29Rnd_30mm_AGS30",1]', '50', '[1,"ItemBriefcase100oz",1]', '[1,"ItemBriefcase100oz",1]', '0', '478', 'trade_items');
INSERT INTO `traders_DATA` VALUES(7398, '["29Rnd_30mm_AGS30",1]', '50', '[1,"ItemBriefcase100oz",1]', '[1,"ItemBriefcase100oz",1]', '0', '577', 'trade_items');
INSERT INTO `traders_DATA` VALUES(7399, '["29Rnd_30mm_AGS30",1]', '50', '[1,"ItemBriefcase100oz",1]', '[1,"ItemBriefcase100oz",1]', '0', '527', 'trade_items');

INSERT INTO `traders_DATA` VALUES(7401, '["2000Rnd_762x51_M134",1]', '50', '[1,"ItemBriefcase100oz",1]', '[1,"ItemBriefcase100oz",1]', '0', '478', 'trade_items');
INSERT INTO `traders_DATA` VALUES(7402, '["2000Rnd_762x51_M134",1]', '50', '[1,"ItemBriefcase100oz",1]', '[1,"ItemBriefcase100oz",1]', '0', '577', 'trade_items');
INSERT INTO `traders_DATA` VALUES(7403, '["2000Rnd_762x51_M134",1]', '50', '[1,"ItemBriefcase100oz",1]', '[1,"ItemBriefcase100oz",1]', '0', '527', 'trade_items');

INSERT INTO `traders_DATA` VALUES(7405, '["200Rnd_762x51_M240",1]', '50', '[4,"ItemGoldBar10oz",1]', '[2,"ItemGoldBar10oz",1]', '0', '478', 'trade_items');
INSERT INTO `traders_DATA` VALUES(7406, '["200Rnd_762x51_M240",1]', '50', '[4,"ItemGoldBar10oz",1]', '[2,"ItemGoldBar10oz",1]', '0', '577', 'trade_items');
INSERT INTO `traders_DATA` VALUES(7407, '["200Rnd_762x51_M240",1]', '50', '[4,"ItemGoldBar10oz",1]', '[2,"ItemGoldBar10oz",1]', '0', '527', 'trade_items');

Link to comment
Share on other sites

  • 0

I hope you do not mind me asking a questions in this thread, I am fairly new to scripting, and editing sql, but I am learning.

I have added items to traders successfully, like mortar, and cinderblocks, but with the recent update leaving choppers empty on ammo, I have decided to add the ammo listed above that is known to work, I have one question though.

Don't I need to add a listing for each item in traders_items, as well as addding the above info to traders_data?

If you do need to add the item there as well, then what would the group name be for these items?

I see groups such as ammo-pistol, ammo-light machine gun, etc, I would have added the ammo already I am just unsure as to what group those items ned to be labled as, any help is appreciated.

Link to comment
Share on other sites

  • 0

Tried adding the above that is known to work, and without adding the items to traders_items I get a lot of errors, and cannot join the server.

Can I give these a group name defined by me, or do they have a specific group name?

 

For example take this line from traders_items

 

306    200Rnd_556x45_M249    1    Ammo - Light Machine Gun    trade_items

 

I need to know the group name in bold for the ammo listed above as working when added to the black market traders, any help is appreciated.
 

Link to comment
Share on other sites

  • 0

Just noticed when copy/pasting I missed closing two lines defining selling prices of the items, derp.

Still unsure if they need to be defined in traders_items..

 

As far as I'm aware, trader_items doesn't need to be updated for the actual traders to work - I think it's used for external reasons (e.g. control panel of some sort)

Link to comment
Share on other sites

  • 0

As far as I'm aware, trader_items doesn't need to be updated for the actual traders to work - I think it's used for external reasons (e.g. control panel of some sort)

Thanks, I'll try to add the changes again later, I am pretty sure it was my error in copying, and pasting two ]'s that caused the issues, I'll know for sure once the server is less populated, then I'll be able to restart it and see how it goes.

Link to comment
Share on other sites

  • 0

 

Sql to add them to hero/bandit and neutral black market traders on all maps. Prices you can adjust yourself, the value numbes should be high enough to not effect current lines.

 

Note 2, these are the only ones from the above list that work, tried the others but they don't work.


 

Excellent , cheers for that :D

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...