You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a full mod rewrite for my Survival mod "Misery" and have thoroughly enjoyed using ACE 3 over the years, it scratches many itches with how robust it is...
However, I am tweaking a lot of my current items to be magazine types of mostly being: (medications, combustible fuel sources, matches, lighter, etc...) As well as drinks...
Is there any way in my configs or a function, or variable to where I can disable the repack system on certain items?
Repacking medication isn't too big of an issue, as it greatly cleans up inventory space if a player has many med packs, but repacking a water bottle and hearing rounds getting put into a magazine might be a bit "off" 😅
I might be overthinking this a bit and for the "Misery ACE compat" I should be able to check mag types and exit code if repacking isn't desired...
I appreciate any help!
Thanks again for the ACE mod and it's amazing framework!
EDIT: Resolved, tweaked the getMagazineChildren fnc for the Misery ACE3 compat to exclude actions for anything with Misery Tag
// If the magazine type starts with "Misery_", skip to the next iteration if (_xClassname find "Misery_" == 0) then { continue; };
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm working on a full mod rewrite for my Survival mod "Misery" and have thoroughly enjoyed using ACE 3 over the years, it scratches many itches with how robust it is...
However, I am tweaking a lot of my current items to be magazine types of mostly being: (medications, combustible fuel sources, matches, lighter, etc...) As well as drinks...
Is there any way in my configs or a function, or variable to where I can disable the repack system on certain items?
Repacking medication isn't too big of an issue, as it greatly cleans up inventory space if a player has many med packs, but repacking a water bottle and hearing rounds getting put into a magazine might be a bit "off" 😅
I might be overthinking this a bit and for the "Misery ACE compat" I should be able to check mag types and exit code if repacking isn't desired...
I appreciate any help!
Thanks again for the ACE mod and it's amazing framework!
EDIT: Resolved, tweaked the getMagazineChildren fnc for the Misery ACE3 compat to exclude actions for anything with Misery Tag
// If the magazine type starts with "Misery_", skip to the next iteration if (_xClassname find "Misery_" == 0) then { continue; };
Sorry for the post!
Beta Was this translation helpful? Give feedback.
All reactions