Items do not appear instantly anymore when you loot bodies.
Small disclaimer:
I based this addon on real life and logic and all comments similar to "so it's like in tarkov"/"make it like in tarkov"/"why don't just take it from tarkov" will be deleted.
Description
Time it takes for item to appear depends on weight, size of item and a bit of random.
For easier option tweaks, get MCM here > > > > CLICK TO GET MCM < < < < .
If you meet bugs please set local debugx = false to true, reload after it, reproduce bug and send me log here or in discord xcvb#3398, thanks. (I already know about Haruka's skill system spamming console with this addon. Should be harmless, but will fix soon anyway.)
Changelog
- 0.51:
- Eh, better Sorting Plus compatibility xd previous apparently lagged when player had around 1000 items in inventory (tnx demonized for report and RavenAscendant for fix ;p).
- Changed unregister item to entity callback (tnx demonized again).
- 0.5:
- Correct display of items with Sorting Plus (tnx RavenAscendant).
- MCM volume sliders.
- Fixed red console warnings on looting stashes made by player (tnx demonized).
- 0.41:
- Compatibility for magazines, idk why it was crashing, it shouldn't...
- 0.4:
- Looting sounds (background and for each item) with MCM options to disable. Still not perfect, but it's all I could do, also sorry for it taking so much time, no pun intended. (thanks to IENCE for sharing sounds)
- 0.3 (and 0.2 xd):
- MCM with some options.
- Inventory window HUD indicator to show when you still looting the body like in updated thumbnail (with optional weird animated texture).
That's pretty cool! Any way to get a little animation or something like Tarkov that shows you're looting an item?
Animation? Inventory covers the whole screen, you won't see it.
Or if you mean initial animation, it's better to ask Feel_Fried ;]
I think he means an animation while in the inventory menu, like a symbol to show that you're still looting/when you're finished looting.
does this affect npcs too?
No, but there's an option in Anomaly that does not allow NPCs to loot bodies in certain radius (to give you some time).
This comment is currently awaiting admin approval, join now to view.
Thanks now add eft sounds to it xddddddddddddd
🤦♂️
I'm not a tarkov fan either, but tbh a little gear rustling noise similar that that of the FDAA backpack would be neat.
telosico
mcm update when?
like modify the speed searching the loot
or smth like that
Today.
Может ли скрипт "обыскать" объект в фоне?
1. Подходим к объекту, нажимаем кнопку взаимодействия.
2. Инициируем фоновый запуск скрипт обыска без показа HUD инвентаря, чтобы игрок мог контролировать окружающую ситуацию. В это время у игрока на экране появляется какой-нибудь индикатор (типа заполняемой окружности) с временем окончания осмотра. При заполнении индикатора открывается HUD инвентаря с найденными предметами.
3. Если во время работы скрипта еще раз нажать кнопку взаимодействия (к примеру начался бой или мутант), прерываем обыск без показа HUD инвентаря (возвращаем управление игроку). При повторном обыске того же объекта сократить время работы скрипта на поиск, так как мы уже "обыскали" часть инвентаря.
4. Добавить параметр расстояния до объекта, чтобы при обыске игрок не отходил, иначе прервать как описано в пункте 3.
P.S.: выглядит более эстетично, чем надетый на голову рюкзак при осмотре вещей )))
Спасибо за поддержку игроков и проекта!
Возможно, #2 это просто упрощенная версия аддона, но всё остальное придется дописывать, добавлять еще кучу кода, да и вроде сейчас нормально ;] (я подумаю)
Before I get this, I need a quick answer: Does already searched bodies' inventories stay visible or do they have to be searched again?
They stay visible until you reload a save.
not necessarily a bug, but i think might be an issue:
i can see the entire inventory while looting the corpse if i sort it by spamming 1.
Already reported in previous comments, not much I can do about it unfortunately, just don't spam it (sort button I mean) ;]
my bad
Loot loading is already present in my game thanks to low fps. >_<
es un mod bastante bueno
Dude this may look simple but this adds realism in Anomaly, love it
Also i just noticed the update, in a future updated could you switch the word "loading" to "searching"? I think it would be more "immersive", but other than that your mod is incredible, we needed this so much.
It says "Looting" not loading ;s which is more "immersive" than "searching" imo.
Guys please, test in game before posting suggestions (maybe it's already there), thank you.
If you don't even like "Looting" then you can easily change it in configs/text/language/ui_st_loot_searching.xml (last string).
I think it would be a great idea if you put bolt or bullet casing to be always last when looting. That would be a great indicator that you fully searched the body.
Also is there a way for me or you to fix the weird placements of items thanks to sorting plus?
The "Looting" sign was tbh the easiest way, it's possible I just don't think it's worth the hassle, sorry ;[
Sorting plus is kinda hard and was written by someone who really know how to code xd so I doubt I'll be able to understand or fix.
Hi, I was playing with the mcm option, changing the times, but it doesn't work, idk if those times are used inside some function, but when I change any, I don't see any change on the time looting a body.
For example I set, 5 the min and 10 the max, still getting like +10 secs on looting
Hey, I just set 1 to 5 and got items appearing from 1 to 3 sec. Bad rng luck? ;] Could you test on many npcs in a row?
Prob bad luck :C, will try that at night, just started to work.
Probably you just need to reload the your savegame after a change.
That was the first thing I did when I saw timers never went down, will test like bvcx said, and prob lower more the numbers, if nothing happen, prob I am just bad with rng xD
No need to reload, it's needed only for looting indicator type.
You can also turn on the debug and look at console's "itm_tmr".
ok, I lower my values min:1 and max:5 , most of the time the values for itm_tmr are 1 or near the max val, but I can see not soo many values between max and min. In this time I see more 1's for items, some max values and almost nothing about values between.
nice addon, im wondering how can i make this work with CoM? There's any posibility?
Call of Misery? Sorry, but I'm not gonna download every single stalker mod, check its files and make personal adaptation of this addon for everyone ;p
This is awesome, now looting is not only a bit more realistic and immersive but it also includes some risk management, as you can't instantly loot a group of dead Stalkers in a mere second or two anymore. So the days of searching kills mid combat are over, which I like. Also something I didn't consider is since each item is individually revealed it makes discovering rare/cool items on the dead that much more exciting!. Nothing like seeing all the junk and magazines and ammo gradually appear and just saying " Aw just some junk " and then a nice shiny artefact pops up!.
Thank you, glad you like it ;]
Excellent mod!
If you can only play short sounds, make it so that you have a small list of those sounds that loop when looting an item, then play one random sound from a different list of sounds whenever an item is shown. It would make it sound more realistic in my opinion if you did it like that.
"when looting an item" and then sound when item is shown?
Do you mean one bag sound while looting is still on and then certain sound for when item from certain category appear?
Yea something like that would be cool and not just an endless loop of random sounds randomly until the body is fully looted
I thought about this too, then imagined how overwhelming sounds will be to hear it twice (when you find an item and when you take it). It's a good idea tho, gonna try to see in game first, ty.
By the way, if there is no way to fix the instant opening of all items when clicking on 1, 2, 3 ... or on the corresponding icons, then maybe just impose a penalty if the player tries to click on them? For example, you can make the process of finding items reset, and every time the player tries to press these keys or icons, the search for items starts over. This is so that there is no temptation to click there. And when the search process is over, then you can safely use sorting.
I believe everyone is gonna hate it. I don't understand why would someone download this addon and spam category buttons to briefly see items? Wouldn't it be much easier for these people to just not install addon? ;s
I'm just one of those people who enjoys all the features of the game.
If something can be done illegally in the current game, then I can use it., because I consider this is the peculiarities of the game. Therefore, I artificially limit myself through the restrictions that I made before the launch of the game, this is my principle. I think that all the same, people will not be annoyed by these fines, otherwise they would not have installed this mod.
In general, if people don't like items appearing slowly, then they won't install this mod, and if they like it, they won't press the sort keys. So it won't annoy anyone.
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: ...es/stalker/bin/..\gamedata\scripts\loot_searching.script:89: attempt to compare number with string
stack trace:
i got this when i click on a duty body in rostok after killing everyone
Answered in discord, but anyway, unless you changed anything by yourself - this error is probably impossible ;]
Отличный мод ! Может повторюсь,возможно ли такое же реализовать в отношении мутантов ?
Не знаю, там совсем другой юи со своим скриптом, в который я даже ни разу не заглядывал и я слишком много времени потратил на этот... так что, если и решусь, то не скоро.
I really love this idea and I know it'll immerse me in the Zone more. I'm wondering if it'll just lead to me hardly looting bodies, since loot on NPCs is usually just a hundred rubles or so and some scraps. But officers usually have tons of good stuff, so it should be easy to prioritize which bodies to spend time looting. I'll admit, I was expecting the items to appear about the same pace as loading cartridges into a clip with Magazines. The pace you chose is far more realistic though and I'm always for that - even when it makes me spend countless hours doing things the hard way lmao. Are there any loot balancing mods, or general settings configuration that are recommended to go alongside this?
Thank you ;] You can change the pace any time in MCM. As for addons that accompany this one - I can't really remember any.