Allows easy configuration of the condition of weapon and outfit drops based on Stalker ranks as well as the amount of ammo drops via MCM.
About
Instead of installing premade configurations or editing death_generic.ltx this addon gives you an MCM menu to adjust weapon and outfit drop condition from Stalkers in-game. For every Stalker rank the minimum and maximum condition for both outfits and weapons can be set separate. It also adds sliders for zombified Stalkers, which before just used the novice conditions. Additionally you can set the amount of ammo dropped, as well as disable old ammo.
- Works with 1.5.1 as well as 1.5.2. No update required.
- Requires MCM (at least version 1_4, otherwise your game will crash to desktop in the main menu).
- Default values mirror what Anomaly usually uses. If you don't touch anything you won't feel any changes.
- Safe to add and remove for existing games.
- Compatible with every addon that doesn't touch death_manager.script. Changes are commented for easy merging.
- The script will always pick a random number between the minimum & maximum condition, even if the minimum is higher than the maximum. This is because I was too lazy to do it any other way.
Changelog
1.2
1.0
is this compat with "npc's drop backpacks"?
If it doesn't change scripts\death_manager.script, then most likely, yea.
Bro, can you pass the link for this mod, this shouldn't be a mod, it should be integrated into the vanilla loot pool by default
This is awesome for play with respawn mod(curse of inmortality) , so you actually can save weapons
It would be great if you could add another change in the amount of ammo in the corpses. This fact prevents me from using your addon. It seems illogical to me that all stalkers walk around the zone with a couple of bullets. This is suicide. And you don't need to conjure anything, everything is in the same file.
Yea, that's a good idea, I forgot about that. I'll add it today or tomorrow.
Thank you for your hard work. Now you can put it.
Thanks you for this.
The new update make my game crash(the old one works fine)
I'm gonna need your crashlog to help you.
My game crash too, here's the log:
"[error]Description : fatal error
[error]Arguments : LUA error: ...t.a.l.k.e.r. anomaly 1.51\gamedata\scripts\ui_mcm.script:201: attempt to index a nil value"
You need to update MCM!
where is it?
<Anomaly Folder>\appdata\logs\<Your Username>.log
! [LUA] SCRIPT RUNTIME ERROR
! [LUA] ...luka/juegos/anomaly-1.5.1\gamedata\scripts\ui_mcm.script:201: attempt to index a nil value
! [SCRIPT ERROR]: ...luka/juegos/anomaly-1.5.1\gamedata\scripts\ui_mcm.script:201: attempt to index a nil value
FATAL ERROR
[error]Expression : <no expression>
[error]Function : CScriptEngine::lua_error
[error]File : ..\xrServerEntities\script_engine.cpp
[error]Line : 191
[error]Description : fatal error
[error]Arguments : LUA error: ...luka/juegos/anomaly-1.5.1\gamedata\scripts\ui_mcm.script:201: attempt to index a nil value
its this right?
Yes! I think I know that bug. Can you download the latest version of MCM, and try running the game again? Before 1_4 there was a bug that would cause a crash to desktop if there were too many menus in a collection, that might be the cause here.
thats was, sorry i dont know that i have a old vercion of mcm
No problem, I've added a disclaimer in the description so it's clearer now.
Well, this is a Godsend. Almost all of the "important" stuff in Anomaly has already been made, and lately, there's been an influx of addons that ultimately just change .ltx values, per the taste of the "client".
Most of these addons, while greatly giving gameplaying freedom to players, they kinda pollute ModDB addons page, which already isn't the most user-friendly in regards to the addons that are actually important, to begin with.
One of them, perhaps the most recurrent, has to do with the loot in the game. Some people believe it's anti-immersion killing enemies, only for him to drop a 3% gun, a 8% armor, and less than five bullets.
These people are correct as in a real-life situation, say, the war in Iraq or Afghanistan, to mention actual and real wars, even if you're an American soldier, the factual better-equiped faction, and kill an enemy, say, an ISIS fighter, he won't find ****** equipment in the corpse of his enemy. Maybe not the top-notch gear, but not a crappy one.
Because no one, and I mean no one, goes to the battlefield with a malfunctioning gun, and less than a round of bullets enough to reload your weapon at least once. Even if the fanatical religious people were willing, their leaders wouldn't allow it, because that's the most basic of all combat: putting your life in the hands of broken equipment it's just suicide, a waste of time and resources, and may have a negative chain-reaction among your own troops.
On the other side, there are people here, even Anomaly modders, that don't appreciate these addons that facilitate the game, on the grounds that they completely destroy the balance of an Anomaly experience, by making it possible to have endgame gear or millions of money in the very first minutes of the game. These people tend to look more on the videogame side less than the immersion side, probably because they are the ones that know how difficult and time-consuming is to write code for the game, in order to make it a better game, a more enjoyable videogame experience.
Addons like yours are good, because they cater to both of these players. Put a menu with the possibility of choice for those that want something, and those that don't want it simply won't use it.
Best of both worlds.
I completely agree. IMO the ability for any freeplay game to keep being interesting is to give the user meaningful choices. And that's my goal with Zone Customization Project, and now this mod (which was initially planned to be part of ZCP, but I released it standalone since ZCP is more focused on customizing how the Zone behaves). Just playing in the same world over and over again gets old after you've seen everything. Anomaly already does a great job with its option menus, but of course there's a limit to how much you can customize your experience. And improving on that to allow players to have playthroughs that feel completely different from the ones they have already done, that's what'll keep the fun in the game. At least it does for me.
Thank you for the addon! When one specifies the ammo spawn quantity, what does that number represent? Quantity in rounds? Or boxes? Thanks!
It's the factor that the vanilla amount gets multiplied by. Setting it to "3" for example will leave you with 3 times the bullets for every ammo type that's dropped.
... MCM?
Anomaly Mod Configuration Menu, it's linked in the description. Just click on "MCM".
Really nice addon. Thanks!
Works perfectly! Thank you!
Hi i have a little problem(maybe its just me but its almost imposible to find recipes books), maybe its ask for too much, but i really appreciate if you can add a slider for recipes book spawn.
как мне в твоих файлах язык поменять, чтоб в мсм по русски было, если получится то тебе передам русскую версию, а то я не понимаю что к чему там.
Hi, just a question: does this also remove bad ammo found in looted weapons?
It should! Unless you use a magazine mod in which case I'd still need to write a compatibility patch.
Really dumb question, but how do I use this? I have MCM, I just have no idea how to do anything with this.
Just add it after MCM in your Mod Organizer 2 or JSGME loading order. The options should appear in the MCM menu in the main menu.
This is great. I haven't really played much as I just reinstalled Anomaly so I don't know if this would make sense, but do you think it would be possible to develop this further by making it less likely to get weapons in good condition inside a certain rank?
Let's say in rank X I would get weapons in condition 50-100. I want condition 90-100 to be rare. I don't know code but this is from an old CoC mod that did this:
function set_weapon_drop_condition(npc,itm)
local rng = math.random(100)
local condition
if (rng <= 16) then c (90,100)/100
-- 90 to 100 16% chance
else c (50,89)/100
-- 50 to 89 84% chance
edit: Nevermind, I have no idea why the code won't fully display here.
I like that idea, I'll play around with it -- but I can't promise to include it.
Well simple and effective, you are a brilliant men ~~~ Thank you!
When you set the amount ammo drop to the lowest (1) what exactly does that means? Is that the same as vanilla? Mine is set to 1 and I'm pretty much drowning in ammo. I also have the Don't Spawn Old Ammo option checked.
Bare In mind I've played for a while with this addon (started as a Loner and reached Zaton a few days ago) but I'd like ammo to be even more hard to come by, especially the high end tier.
1 is the same as vanilla. You might be drowning in ammo because all the old ammo is replaced by regular one maybe?
Hi, how can I fix this in Russian?
MSM v1.6.4
Drive.google.com
Drive.google.com
Drive.google.com
not sure if you still support this, but i'm having an issue where most enemies are carrying 0 rifle ammo, but some are carrying a ton. also doesn't show in JGSME?
Mmh, this doesn't make enemies carry rifle ammo which previously didn't. If you cranked up the sliders for ammo, then those who do carry it will carry a lot more.
the same problem, the dude who has the main weapon does not have ammo for him, but if he has bullets for a pistol, then with a coefficient of 10 they will be 50. Also, it does not remove the old ammo in the caches in any way. I sometimes find old ammo in corpses.
Hi everyone!
Made a Rus translation
Drive.google.com
Спасибо
This comment is currently awaiting admin approval, join now to view.
Hi! Thanks for this mod. It makes me so much easier to customize the drop quality, and just managed to merge your code into EFP 3.0 and looks like it work flawlessly.
My question tho: Does this cover the helmet drops as well? If not, can you please add it as a seperated category in the options? Thank you in advance.
Best regards!
Yea, this does work with helmets -- they're using the outfit drop condition. Best regards to you too!!
Obligatory addon. 💗
This comment is currently awaiting admin approval, join now to view.