Jump to content

Class Name Extraction Tools Updated v 0.42

Recommended Posts

I recently set out to add mods to a server and confronted the challenge of pulling the class names, formatting them in lists, and generating price lists. As there was no tool I could find to do this I have put one together. It allows server owners to pull class names for vehicles (Air, Land, boat), Weapons (arifle, srifle, launchers, etc), uniforms, vests, headgear, glasses, and output lists as either a simple list or a price list. That list is copied to the clipboard and can be pasted into any text editor. The price lists can be formatted in either Epoch or Exile format by changing a variable in init.sqf.

Version 0.42 adds a option to check CfgPricing (Epoch) or equivalent price lists (Exile). The tools will only include items for which no price is found in the output. This should be handy when updating price lists or other configurations to include new items added as part of an update of a mod. See the readme for information on how to configure the tool to take advantage of this function.

Version 0.4: adds a new function whereby one can extract only classnames with a specific root. For example, by setting GRG_Root = "Epoch" in the init.sqf, one can extract classnames that begin with Epoch. There are a few other minor optimizations and bug fixes, the most important of which are addition of some output to systemChat so that the user knows something is happening, and being sure that the checks against the arrays of items to be excluded from the output are all working properly.

The tool is now considerably smaller and correctly pulls names for backpacks, glasses and other items that it missed before.

For example, you could paste classnames of all default Arma vehicles in baseVehicles.sqf so that only the vehicles from the addon are shown in the output.

While I have written each of the modules, the original approach to weapons was influenced by a post from KiloSwiss on this topic  .




Instructions for installation and use are on the Github.

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.

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.


  • Similar Content

    • By Yarpii™
      So i have been trying to get the overwrite to work for CfgMagazines but so far nothing works.....
      i try to change some lines in the folder but so far it has no effect...
      so i was wondering if there was a good tutorial about this.. my steps are:
      i added:  #include "CfgMagazines\CfgMagazines.hpp"
      on the bottom of description.ext
      then copy the folder CfgMagazines
      to the root folder of of client side mission .pbo
    • By DirtySanchez
      Like its so hard to share things.
      We were all raised to share our stuff with our friends and I consider this community my friends with all the help and info and other goodies we all give back and forth in these threads.

      Too many people are asking individual questions on items and dumb comments and replies result.

      SO HERE ARE MY LISTS all laid out in the proper fashion for easy copy and paste.

      You will only need to format it properly for the database.
      This can be used for so many different things.


      ps. These are good as of Marksmen and have the proper mags changed over



      food health











    • By calamity
      I thought I would share my list of all weaposn/ammo and damage
      please share if I missed any...
    • By Simplistic
      I was trying to fix an issue with a trader in my server anyways if anyone could tell me the class name that would be great! thanks!
    • By turtlecam
      Okay, so I've been searching the inter-webs for a while now trying to find the class-name for cinder-blocks, I've tried CinderBlocks and all but still nothing.  It wont appear.  Does anyone know why they wont appear, or if its even the correct Class-Name?
         Thanks in advance!  :)
  • Advertisement
  • Supporters
  • Discord

  • Create New...