Conversion of vanilla medpacks to reusable ones that allow for additional storage/inventory optimisation.
Repackable Medpacks
Features
- Instant Random Unpack/Repack of Availalble Medical items
- Out of the box compatiblity with BHS/BHSRO
- Inventory Similar UI for item selection
- Purchasable at any Medic
- Ability to Add any item to the medpacks contents (Requires some script and ltx tweaks)
Unpack/Repack
- As a right click menu option (rcmo) you can unpack all the contents of the medpack or repack all the available medical items from your inventory, into the medpack until it's max weight, this is done at random. - (For greater control see feature 3).
BHS/BHSRO Compatibility
- BHS/BHSRO is a soft requirement of this addon, it's not needed for it to function but alot of anomaly players do use BHS/BHSRO in their runs, support for this has been included i.e no patch required.
Medpack GUI
- Whilst being able to fill up or unload our medpack with ease, having greater control for organisation or sorting reasons might be ideal for you.
- A Simple GUI is implemented for you to move items between the medpack and your inventory, both will update themselves and shouldn't have conflicts with most UI related addons. (let me know otherwise)
Medic Trading
- Repackable Medpacks will only be found at Medics, so if you are going for a traditional loner start with this mod, don't expect to see any until you get to Rostok.
Modifiable Medpack Contents
- There will be a file with greater explanation in to how to add any item to the medpack but the short version is:
- You will need to add it to the dedicated "config_list" table in the "rpmk_medpack.script" file and ensure that it has a standard item ltx section.
Installation
M02
- Download the mod, M02, DLTX/Modded Exes, MCM
- Place the zip file in M02 downloads folder
- Right click on the zip from within M02, it should be underneath the downloads tab next to the data tab
- Click Install
- Select Main
- Done
Manual
- Copy across the gamedata folder
- DONT COPY ACROSS THE FOMOD FOLDER
- Done
Requirements
- M02(optional but preferred)
- DLTX
- BHS(optional)
- BHSRO(optional, BHS required if using see their requirements)
- MCM
Future Implementations
- Drop item after certain condition- Redesign GUI Textures- Russian/Ukrainian Translation
License
Conflicts
- Ravenascendent, nltp_ashes, xcvb, mrdemonized: helping me out with my dumb qs. ## Known Issues- None as of v1.0
Changelog
- v1.0 Base Version
- v1.1 Russian Translation, MCM Debug Option, Fixes for: Item descr, Drop condition.
Announcements:
- Version 1.1 22/12/23 Features: Russian Translation, MCM Debug Option, Fixes for: Item descr, Drop condition.
Ошибка с сидоровечем, продавая ему предметы деньги он не даёт.
Items how? Selling the medpack with items inside? Selling the items after they have left the medpack? I need more infomation please.
Не знаю в чем конфликт но продажа любых предметов сидору не давала денег в инвентарь моего персонажа.
Я по сути даже не успел использовать и проверить медпак, просто после установки мода такая ошибка.
very nice!! I wish you can add animation when opening the bag or option to use it directly inside the bag..
Similar to the THAP backpack animation? yeah maybe in the future.
I made translation into Russian. If you need it, please tell me how can I send it to you.
any known online drive or dm me on discord AntGlobes
Yadi.sk
Should be added by the weekend. Thank you friend.
Would be cool if we could create our own Medkits.
I would call them like "Custom Survival Kit"
Only allow medical items to be added to them.
Had the idea to have some plastic containers (Think pill calendars) that a certain amount of items can be be added to like a filter. Be able to tag the medpacks with a custom name. Add Patches/Icons for organisation. Think that could work in akin to a Custom Surv kit.
Yes! That'll be great for de-cluttering my inventory!
Expression : <no expression>
Function : CScriptEngine::lua_pcall_failed
File : D:\a\xray-monolith\xray-monolith\src\xrServerEntities\script_engine.cpp
Line : 257
Description : fatal error
Arguments :
1 : [Lua] d:/games/anomaly\gamedata\scripts\rpmk_medpack.script(1310) : drop_condition_met
LUA error: d:/games/anomaly\gamedata\scripts\rpmk_medpack.script:1310: attempt to compare number with nil
Check log for details
stack trace:
Crashes on attempt to refill the camelbak introduced by this addon:
Github.com
The ltx has all the valid sections needed to try and to calculate the weight when dragging and dropping. Did you add an ini_file_ex containing the path to the camelbaks' ltx to the config list table?
I will update with a dedicated tutorial soon. If you open up the rpmk_medpack.script file you'll see that only medical related items are supported not devices. Do the above and it should work.
I Also tried repeating that error but it's not possible since the devices ltx aren't supported by default.
I made the said changes, but no result. Maybe the problem is due to that the camelbak and auto-doctor from the addon I mentioned above are not even devices, but artefacts as they inherit configuration from af_base section.
For me, the simplest variant is to make a kind of blacklist containing sections of items that should not be affected by your addon in any way.
Could you dm me about this, don't want to flood the comments with too much. Think i have a fix.
FATAL ERROR
[error]Expression : <no expression>
[error]Function : CScriptEngine::lua_pcall_failed
[error]File : D:\a\xray-monolith\xray-monolith\src\xrServerEntities\script_engine.cpp
[error]Line : 257
[error]Description : fatal error
[error]Arguments :
1 : [Lua] ...nomaly-1.5.1/bin/..\gamedata\scripts\rpmk_medpack.script(1310) : drop_condition_met
LUA error: ...nomaly-1.5.1/bin/..\gamedata\scripts\rpmk_medpack.script:1310: attempt to compare number with nil
Check log for details
stack trace:
Trade with merchants is also broken.
Probably you need patches for some popular mods.
Send me your modlist and i'll check the compatibility with others, are you using GAMMA at all?
how to copy mod list in MO2?
p.s.: not gamma. anomaly 1.5.2.
figured it out.
# This file was automatically generated by Mod Organizer.
+прозрачное меню диалога
+RedoneCollection_V2.0
+Redone Cordon 1.9.9
+SoCStyleArtefactsv0.2DLTX
+LoudCampfire
+Beefs_NPCs_die_in_Anomalies_v
+Campfire_Singing
+Quiet_Footsteps
+Footsies_v2_1.5.2_DLTX
+Food_Drug_Drink_Visual_Accuracy_Tweaks_V4
+GAMMA_Food_and_Drink_Use_Rebalance_v2
+Stealth_
+vegetation_FIX
+Dark_blood
+Realistic_Blood_HQ_REDONE_
+global_map_rework-0991
+Artefacts_Variationizer_1.5.2.9
+Barts_Quick_Release_Stash_Icon_V
+Tracking_Binoculars_DLTX
+Anna_Portrait_
+Colin_Portrait
+Magazines_with_posters_pls_Read_file_inside
+Pinup_Collect
+Headgear Animations
+No_Unmarked_Stashes
+Radial_Quickslots_v1.0.0
+jabbers_soulslike_easier_patch
+Jabbers_Soulslike_0.28-beta
+Soundscape_Overhaul_
+enemy_marker
+Classes_and_talents_0.3
+Money_management_v1
+List_of_stash
+Artefact_Renovation_DLTX
+Fair Fast Travel
+Damage_Numbers
+More_dynamic_tasks_0.2
+Autocomplete_Tasks_v2.1.0
+target_prior_
+[demonized] Ledge Climbing Mantling
+Dynamic_NPC_Armor_Visuals
+Unlocking_helmet_backpacks_in_an_exoskeleton
+Svarog_spots
+craft_from_stashes_
+WTF_
+1.2.2_Crooks_Faction_Identification_UI
+Blood_Pools
+Show_Total_Uses
+Devices of Anomaly Redone
+FDDA
+HFX_v
+Throw_Indicator
+Upgrades_for_Backpacks
+78_Anomaly
+Catspaw_Milspec_PDA
+ZVER_Minimap_Update_
+ZVER_HUD_Compact_Update_
+PAW - Personal Adjustable Waypoint
+фикс готовки у костра
+NPC_Loadout_Tweaks
+ScreenSpaceShaders_Update
+Revised_Crafting_Recipes_DLTX
+Utjans_Item_UI_Improvements_RU
+Utjans_Item_UI_Improvements
drFaus was having a similar issue, i'll dm you the response but generalised a bit. Thanks for ur modlist it helps alot!
Not an error, but with this mod enabled I cannot see certain details in my armor tooltip from other mods (Mags Redux mag pouch amounts, Armor Factions identifier I forget the mods actual name it shows what faction an armor belongs to).
Not a huge deal, but I figured I would let you know about the conflict. I'm not exactly sure what file could be doing it.
Really cool mod btw, I think it opens up a lot of neat ideas and I'm excited to see where it goes.
Edit: Fairly sure its custom_functor_autoinject.script
Yeah It's an error just a soft error, noticed this myself. Will be fixed in the next update. It's to do with monkey patching what changes the description. Apperciate you.
I look forward to the update, thanks for the reply
No Russian translation is present within the archive.
Think you may have accidentally reuploaded the 1.0 installer by mistake. The installer still says 1.0 and the same armor description issues are happening.
Edit: It's the holidays so don't worry too much about rushing anything.
Have a nice Christmas!
Hello dear author of the mod can not how to solve the problem:
FATAL ERROR
[error]Expression : <no expression>
[error]Function : CScriptEngine::lua_pcall_failed
[error]File : C:\anomaly_src\xray-monolith\src\xrServerEntities\script_engine.cpp
[error]Line : 206
[error]Description : fatal error
[error]Arguments : LUA error: ... sharpsticks/bin/..\gamedata\scripts\rpmk_medpack.script:797: attempt to concatenate local 'zip_status' (a nil value)
stack trace:
Hello! Awesome mod ! Iv got ONE issue,when mod is activated I cannot see item uses or price ect in tooltip window...
Я че то вообще нихя не монял, это типа вещь мешок в который можно складывать медицину, чтобы инвентарь не засерать?
Game crashes when pointing at medpack
FATAL ERROR
[error]Expression : <no expression>
[error]Function : CScriptEngine::lua_pcall_failed
[error]File : D:\a\xray-monolith\xray-monolith\src\xrServerEntities\script_engine.cpp
[error]Line : 262
[error]Description : fatal error
[error]Arguments :
1 : [Lua] ...nomaly 1.5.2/bin/..\gamedata\scripts\rpmk_medpack.script(800) : get_obj_desc
LUA error: ...nomaly 1.5.2/bin/..\gamedata\scripts\rpmk_medpack.script:800: attempt to concatenate local 'zip_status' (a nil value)