Ammo Stats in Description 3.1.0

No more wondering about which ammo type is best or strongest, it's all now clearly placed in game for you! Modded ammo + Realism support and more! USE THE COLOR CONVERTER API FOR MORE COLORS!

[tabmenu]

Images

  • Version 3.1.0

    Changelog:


    Fixed an issue where background colors were being applied to ammunition when it was disabled in the config
    Revised SPT Realism mod compatibility, no additional config required, it's automatically detected
    Minor change to the version in the package.json, compatible with version 3.8.0+ of AKI.



    Hey! Thanks for downloading, if you'd like to support my work, you're more than welcome to support me at the link below or follow along at my Ko-Fi page here:

    Buy RaiRai a Coffee. ko-fi.com/rairaitheraichu
    Become a supporter of RaiRai today! ❤️ Ko-fi lets you support the creators you love with no fees on donations.
    ko-fi.com

  • Version 3.0.0

    HIGHLY recommend downloading the companion Color Converter API with this mod, it pairs very well! Check the top of this mod's description for a link.


    NOTICE: To enable Realism compatibility, you need to edit "usingRealismMod" in the config.jsonc!


    Changelog:


    Added support for the new Color Converter API client plugin.
    Added support for the SPT Realism mod.
    Added Polish language support - thanks RandomCitizen!
    Changed config to .jsonc, added proper comments to the options.

    Color profiles! Check the config.jsonc to view the new color profiles (including colorblind/grayscale mode).
    Minor change to the version in the package.json, compatible with version 3.7.0+ of AKI.


    This version will NOT work for versions prior to 3.7.0 due to the change to .jsonc - please use the older release if you're playing on 3.6.1 or earlier!

  • Version 2.2.1

    Changelog:


    Minor change to the version in the package.json, compatible with version 3.5.0 of AKI.

  • Version 2.2.0

    Changelog:


    Added German language support - thanks MAEGE!

    Major refactor to localization to comply with new standards as of client version 20765.

    Minor change to the version in the package.json, compatible with version 3.4.0 of AKI.

  • Version 2.1.6

    Changelog:


    Added Spanish/Mexican language support - thanks javitecge!

    Minor change to the version in the package.json, compatible with version 3.3.0 of AKI.

  • Version 2.1.5

    Changelog:


    Added Czech language support - thanks lastocka!

    Minor change to the version in the package.json, compatible with version 3.2.4 of AKI.

  • Version 2.1.4

    Changelog:


    Minor change to the version in the package.json, compatible with version 3.2.2 of AKI.
    Added option to suppress the debug logging to get rid of some warning text when modded ammo types don't have descriptions added for all languages.

  • Version 2.1.3

    Changelog:


    Added the ability to show the penetration tier in the ammo name, so you can see it during magazine checks!
    Added the ability to change the background color of ammo icons based on the penetration tiers!
    Added Japanese language support - thanks jackrippergame!

  • Version 2.1.2

    Changelog:


    Fixed bug that showed localized languages in English even though they are supported.

    Minor refactor to support SPT-AKI version 3.1.1.

  • Version 2.1.1

    Changelog:


    Minor refactor to support SPT-AKI version 3.1.0.

  • Before you leave a comment or write me a message on Discord, PLEASE READ THIS FIRST.

    KNOWN ISSUES:

    • None at the moment.
  • Is there a way we could turn off the realism check? Because I don't use any of the realism changes but the bots yet the ammo stats are as if I'm using ammo and armor changes. Much appreciated

    • Ah, yeah I'll make it a config option and release it shortly. You'll have to disable Realism support in the config of this mod but then it'll show vanilla stats even if you have Realism installed.

  • I was under the impression that i could turn off background coloring, i did it myself anyway, but i think it would be a good feature for other people as well.

    • Yeah, it should be able to be turned off in the config, but I realize now that it broke with the last version. I'll upload a fixed version soon, but glad you were able to get it working either way.

      Thumbs Up 1
  • The background colors for the ammo is not changing for me

    • you need to download his color converter API as stated in the description.

    • Can you send your mod list? It's likely an incompatibility.


      The Color Converter API is recommended, but not required.

    • Im working today, ill send my mod list tomorrow

    • Sorry I forgot to send my mod list the other day. Heres my mod list and list of .dll files


      Mod List

  • Hey there,


    out of personal preference, I changed your mod.js from:
    if (this.config.showPenInName === true) { // Add pen tier to the name
    let namePen = " - (" + ammoStatDict[key][2] + ")";
    databaseServer.getTables().locales.global[langText][`${key} Name`] += namePen;

    to:
    if (this.config.showPenInName === true) { // Add bulletDamage, bulletPenetration, bulletArmorTier to the name
    let nameString = `${ammoStatDict[key][0]} | ${ammoStatDict[key][1]} | ${ammoStatDict[key][2]}`;
    databaseServer.getTables().locales.global[langText][`${key} Name`] += ` - (${nameString})`;


    I´d appreciate if you would integrate something like this in the future, maybe another config entry or so, I´ve just let chatgpt do a quick fix for me.. :S

  • Is there an option to see the values Penetration and Damage after the ammunition names? In the past, you could see that even if you checked your magazine

  • how i can enable that i can see the damage and penetration on ammo ?

    In the past, you could see this in the Ammo Description

  • Thank you for this incredible mod, i learn from this sooooo good keep up for this master work THANK YOU !!!!!!!

  • When update? :D <3

  • Hey, dealing with a problem where editing in the config to set either color setting to false does not turn off the custom background colors. I am not running realism or the color api mods, and have tried disabling both the color settings in the jsonc. The only way I was able to achieve near results was to manually change all the colors in the list to "yellow". This still creates the problem of mags all being colored yellow at all times though if loaded.

    • Okay, I'll look into it, thank you for the report. In the meantime, can you post your mod list? Just want to make sure there are no conflicts going on.


      EDIT: I have the issue fixed for the next release. In the meantime, if you want to disable the colors, you can:

      - Delete "mod.js" in the mod's /src folder, if it exists.

      - Open "mod.ts" in the mod's /src folder with notepad or any text editor.

      - Find the line

      itemTables[itemID]._props.BackgroundColor = colorProfile[bulletArmorTier.toString()];

      and comment it out by placing two slashes in front of it


      ex.:

      //itemTables[itemID]._props.BackgroundColor = colorProfile[bulletArmorTier.toString()];


      That will disable the colors entirely regardless of the config option. Thanks again for reporting the issue ^^

  • I got an error when I add this mod to my folder



    The application had a critical error and failed to run

    Exception produced: Error: Cannot find module 'jsonc'

    Require stack:

    - D:\Kostya\Escape From Tarkov13.05\user\mods\RaiRaiTheRaichu-AmmoStats-3.0.0\src\mod.js

    - C:\snapshot\project\obj\loaders\PreAkiModLoader.js

    - C:\snapshot\project\obj\controllers\GameController.js

    - C:\snapshot\project\obj\callbacks\GameCallbacks.js

    - C:\snapshot\project\obj\di\Container.js

    - C:\snapshot\project\obj\Program.js

    - C:\snapshot\project\obj\ide\ReleaseEntry.js

    1) If you want to compile the package/file into executable, please pay attention to compilation warnings and specify a literal in 'require' call. 2) If you don't want to compile the package/file into executable and want to 'require' it from filesystem (likely plugin), specify an absolute path in 'require' call using process.cwd() or process.execPath.


    Stacktrace:

    Error: Cannot find module 'jsonc'

    Require stack:

    - D:\Kostya\Escape From Tarkov13.05\user\mods\RaiRaiTheRaichu-AmmoStats-3.0.0\src\mod.js

    - C:\snapshot\project\obj\loaders\PreAkiModLoader.js

    - C:\snapshot\project\obj\controllers\GameController.js

    - C:\snapshot\project\obj\callbacks\GameCallbacks.js

    - C:\snapshot\project\obj\di\Container.js

    - C:\snapshot\project\obj\Program.js

    - C:\snapshot\project\obj\ide\ReleaseEntry.js

    1) If you want to compile the package/file into executable, please pay attention to compilation warnings and specify a literal in 'require' call. 2) If you don't want to compile the package/file into executable and want to 'require' it from filesystem (likely plugin), specify an absolute path in 'require' call using process.cwd() or process.execPath.

    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)

    at Function._resolveFilename (pkg/prelude/bootstrap.js:1951:46)

    at Function.Module._load (node:internal/modules/cjs/loader:778:27)

    at Module.require (node:internal/modules/cjs/loader:1005:19)

    at Module.require (pkg/prelude/bootstrap.js:1851:31)

    at require (node:internal/modules/cjs/helpers:102:18)

    at Object.<anonymous> (D:\Kostya\Escape From Tarkov13.05\user\mods\RaiRaiTheRaichu-AmmoStats-3.0.0\src\mod.js:7:17)

    at Module._compile (node:internal/modules/cjs/loader:1105:14)

    at Module._compile (pkg/prelude/bootstrap.js:1890:32)

    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)

    • Hi, as it says in the mod description, This version will NOT work for versions prior to 3.7.0 due to the change to .jsonc - please use the older release if you're playing on 3.6.1 or earlier!



      You are using an outdated version of SPT-AKI, either one of the old testing builds for 3.7.0 or earlier.

  • The link to the Color api gets me an 404 error.

  • You have the most recent version of AKI tagged, but in your most recent file before 3.6.1 was released you dont have 3.6 listed as compatible. When I downloaded your mod, the console says its outdated and it also doesnt work.

    • It works on 3.6.1. I've gone back and re-tested it with a fresh install as well, and it works perfectly fine.

      The warning is just that, a warning. If you want the warning gone, change "akiVersion" in package.json to 3.6.1.

  • Yay, update!

  • I am fairly new to all this and having issues getting it to show at all. I have dragged the contents of the mod folder into the Bepinex>plugins. Loaded up the server and gotten nothing, then tried to just drag the folder in. Nothing still, where am I going wrong?

    • The installation instructions are in the readme, but this is a server mod, not a client mod. That means the mod's folder goes into your user/mods/ folder, not the BepInEx/plugins folder. Give that a try and see if it shows up in your server console!

      Heart 1
    • I got it to work! Thank you, and reading...my greatest foe!

      Heart 1
  • Working with 3.6.1. I get a compatibility warning when launching the server.

    • Yeah, that's a normal error. It just lets you know the package file has an old AKI version set, so it might not work as intended. This mod, however, was written to always work regardless of AKI versions.


      ...in theory.

    • I'm sorry, I was hasty in my comment and I forgot to add the part where I was going to say that the error does not bother me or affect the gameplay stability in any way. Thank you so much, you guys are doing great things. ;)

  • Can confirm it still works with 3.5.8! :thumbup:

  • Still works on 3.5.7 in case anyone needs kanasmug

    Thumbs Up 5
  • STILL working as far as i can tell with 3.5.6 if anyone was curious.

    Thumbs Up 7
  • Tested with 3.5.4. No problems so far. Thanks for the mod!

  • Tested with 3.5.2. Works just fine, haven't noticed any issues.

  • Works in 3.5.1 by making changes in the package.json file.

    • It still works even without changing it, you just get a warning that it may not be compatible, but it does still load and function fine.

      Thumbs Up 1
  • I love this mod. It's really helpful.


    Polish translation:


    "pl":

    {

    "Damage": "Obrażenia",

    "Penetration": "Siła penetracji",

    "TextEffectArmorLv": "Skuteczny przeciwko pancerzowi poziomu",

    "EffectNone": "Brak efektu",

    "Pellets": "Śrucin"

    },

    Heart 1
  • is it compatible with 3.4.1 ?

  • I can help with Italian translation...

  • Love the Mod


    German translation:


    "ge":

    {

    "Damage": "Schaden",

    "Penetration": "Durchdringungskraft",

    "TextEffectArmorLv": "Effektiv gegen Panzerung level",

    "EffectNone": "Keinen",

    "Pellets": "Schrotkugeln"

    },

    Heart 1
  • Hi, it says disabled by default but it is actually enabled by default.

    looked around in config and couldnt figure out how to enable it, so i launched client to double check and it is working fine without any config changes. Just figured i would comment this here incase you forgot to omit that from description or if anyone else is confused.

    love u

    • Hi!


      Sorry for any confusion, in the description I was referring to the feature that you can have the penetration tier shown in the name of the bullet (so you can see the tier when you check your mag). That option is a little too much for some people, so I left it off by default.


      The mod is definitely enabled by default though!


      Love u too bugcatlove

  • Thanks for update 3.3.0 !!

    Heart 1
  • "es-mx":


    "Damage": "Daño",

    "Penetration": "Penetración",

    "TextEffectArmorLv": "Eficaz contra el nivel de armadura",

    "EffectNone": "Ninguna",

    "Pellets": "Perdigones"


    It should work with "es" language too, thanks for your work.

    Heart 2
  • Alright, dumb question time, does this work with Fontaine's SPT Realism mod?

    • ah fuck, my idiot ass just read. My bad, good work with the mod