Have you even come across an unavoidable large ammo pickup in a narrow hallway or right in front of a switch, and were forced to pick it up, even though you were only a few rounds short of maxed out? Ever kicked yourself later for having done that when you came face-to-face with some mean S.O.B that wanted to eat your face off, and you just didn't have enough ammo? With Smart Scavenger, those large pickups now break down into smaller pickups if you have more ammo than the amount that the pickup would normally refill, leaving the odd clip, handful of shells, rocket or cell on the ground to pick up when you need it. Smart Scavenger also comes in versions for Heretic, FreeDoom Phase 1 & 2 and Strife as of v3.2. As of v3, now has Support for Doom Roguelike Arsenal and BD: Sperglord Edition. Ammo and Medikits no longer 'warp' to the player's position. Medikits no longer break open when health is >=100. v3.2c there is a version for BD20 & Project Brutality. v3.2j has a version for BDJ.
Note:
Smart Scavenger will not work with the last official releases of G/ZDoom! You need a development build.
Have you even come across an unavoidable large ammo pickup in a narrow hallway or right in front of a switch, and were forced to pick it up, even though you were only a few rounds short of maxed out? Ever kicked yourself later for having done that when you came face-to-face with some mean S.O.B that wanted to eat your face off, and you just didn't have enough ammo? With Smart Scavenger, those large pickups now break down into smaller pickups if you have more ammo than the amount that the pickup would normally refill, leaving the odd clip, handful of shells, rocket or cell on the ground to pick up when you need it. Smart Scavenger also comes in versions for Heretic, Strife, Free Doom Phase 1 & 2, Doom Roguelike Arsenal and Brutal Doom: Sperglord Edition.
Theres an older version that has support for Chex Quest:
Moddb.com
Smart Scavenger works through a combination of ACS, MAPINFO, and DECORATE:
-MAPINFO assigns a value to each skill through the ACSReturn property.
-An ACS script retrieves this value and gives a ResultValue that can be used in DECORATE expressions.
-The actors that replace the large ammo pickups check this value to determine whether the current difficulty is one with a 2x ammofactor, along with the presence or abscence of a Backpack, to aid in properly determining whether the player's ammo stores for the applicable type are depleted enough to give a large ammo pickup, and if not, drop several small ones.
Known Issues:
-In Strife, ammo you buy won't split into small ammo pickups.
Forum.zdoom.org
Now THIS is totally ******* smart! You are a genius!
Thanks Necromancer!
Awesome ! Verry good idea !
Where is that amv2k9 user. I want to congratulate him for making such a genius mod.
ZDoom Forums Post: Forum.zdoom.org
ah yes, and on here Doomworld.com
Now this is amazing in all the right ways!
This is ought to be in the upcoming Brutal Doom version.
this would require everyone with intel cards to upgrade to run it, because it requires you to have opengl 3.x or higher
Everyone with Intel cards SHOULD update anyway... xD
I am surprised this didn't end up here sooner.
It seems to only be working with "gzdoom-g2.1.pre" versions,
or am I wrong?
Smart Modder to be able to have new ideas on a game this old !!!!
This is a brilliant idea for a mod thats LONG overdue for the old-school shooters. Problem is it's giving an error at launch no matter what mods, iwad, and engine I'm using. Pretty sure Im using the latest GZdoom and Zdoom.
Actually nevermind. We need GZDoom or Zdoom much newer than the last stable releases. Grab them from here.
Devbuilds.drdteam.org
remember, this will only work on GZdoom 2.x builds. which require OpenGL 3.x as well, which means sub-new graphics cards are required. this DOES NOT work on GZDoom 1.9 or lower
If you have a compiler at hand you can fix the problem yourself.
Github.com
The offensive line is 120. Change the "3.0" with "1.8" or whatever.
What a golden idea. Also, as a side note, I find the graphic adorable for some reason.
"Into my pocket, cute little rifle magazines. There's a good lil' magazine."
Good idea indeed. One thing I hated about a lot of FPS games is when you're only one or two bullets short of the max limit and you end up picking up like a box of 50, with most of them going to waste. Same with health pickups.
Must try it! When I finish my actual oddisey with CC2 megawad... :)
This comment is currently awaiting admin approval, join now to view.
Can't get it to work. I get error:
Script error, "smartscav-bdsperg.pk3:decorate" line 104:
Parent type 'NewClip' not found in FullClipBox
Script error, "smartscav-bdsperg.pk3:decorate" line 106:
"inventory.pickupmessage" requires an actor of type "Inventory"
Execution could not continue.
Script error, "smartscav-bdsperg.pk3:decorate" line 106:
Unexpected 'Case of Bullets' in definition of 'FullClipBox'
I am using the latest version GZDoom beta.
Load the main file then the "smartscav-bdsperg".
Is there any way to make it work with the mod BDv19 Derp Edition v3.6.6??
This comment is currently awaiting admin approval, join now to view.
This comment is currently awaiting admin approval, join now to view.
A newer release of this addon is available, please check this ZDoom's forum thread:
Forum.zdoom.org
Doesn't work with Zandronum? What a shame. Any plans to make it compatible?
I got an error can someone help me :(
what should i do ?
Script error, "smartscav-doom.pk3:decorate" line 327:
Expected ')', got ','.
Got the same problem :(
This mod works in GZDoom 1.8.10 for those with OpenGL 3.x capable graphics cards.
Get it here; Forum.drdteam.org
Are you considering updating this for Brutal Doom v20?
Done. And for Project Brutality.
Came here to ask this. I'm having a lot of fun with BD20 but I feel like I'm wasting so much ammo and health without this mod :(
The regular Doom version works fine with older Brutal Doom's. There only 2 issues with V20, and thats not getting the correct clip ammo or difficulty levels. Oh and backpacks don't give as much ammo as usual. I've updated the download with compatible v20 version, as well as for Project Brutality, check it out.
Looks like it's working for health pickups again, but I'm getting some errors when I pick up large ammos.
Shell boxes no longer have the shells visible, don't know if that was intentional:
Imgur.com
and when I pick it up it gives errors about some SkillAmmoMultiplierCheck script:
Imgur.com
Same thing for bullets:
Imgur.com
Imgur.com
The only other mod I'm running besides BD20 is the HUD mod, but it all seemed to work together fine in BD19. Can you tell if these messages are coming from your mod or the DoomVisor?
The shells are visible only when you open the shellbox by moving towards it. I've fixed the errors.
OK the script error is gone, but when I move over a box of bullets or shells it only spits out 3 'clips', so 30 bullets instead of 100 and 12 shells instead of 20. If I've used the 'give all' cheat, the no matter what ammo I have the boxes always split apart. If I haven't used that cheat, then with low ammo I do pick up the boxes all at once, and while boxes of bullets give me 100, boxes of shells still just give me 12.
Also to be unbelievably nitpicky, when I pick up something that has been changed by the mod it just gives the message <item_name> instead of 'Picked up <item_name>':
Imgur.com
So it just says Box of Shells or Box of Bullets. Obviously I wouldn't push out another update just for that, just keep it for the next regular release :)
OK I've fixed that. Not sure why give all cheat is making boxes always split apart, you'll have to ask the original creator.
I'm using the latest dev build of GZDoom for OS X (0.5.7) and I can't seem to do anything to get smart scavenger to work. I've tried the 'doom' version here with vanilla doom, I've tried PB and the PB file included here, I've tried PBO and the version included with PBO. Is it just that a bleeding edge version of GZDoom is required, and the latest dev versions are only available for windows?
Trying to use this with Zandronum (Brutal Doom 2.0). Where and how exactly are you meant to put the files or install them... keep getting error messages so it hasn't worked and doesn't start...
probably because Zandronum uses old GZDoom code, so basically only latest GZdoom dev builds will work.
Thanks, sadly not able to run any games on GZDoom 2.0 onwards-- got an old cpu without the extra Specs needed to run it. :(
But I'd like to say that I love the idea, asking myself 'why anyone didn't add it into Brutal Doom sooner!?'
I can't make it work. It gives this error:
"Script error, "smartscav-projectbrutality.pk3:decorate" line 401:
Expected ')', got ','."
I'm using ZDL 3.2.2.2, tried to run with GZDoom 2.0.0.1 Beta on Doom 2 wad with these mods:
Project Brutality
Ultimate Doom Visor (with HEV Suit and Googles)
Nice Blood On Walls
The Real Icon of Sin
Smart Scavenger for Project Brutality
Don't use the Beta of GZDoom, use the actual stable release in this link.
Forum.drdteam.org
Downloaded, still doesn't work, same error -_-
Thats an old version, you want a Dev build. Devbuilds.drdteam.org
or the latest stable version: Forum.drdteam.org
When i go to download page of gzdoom website, there is newest official release is 1.8.02. This addon doesn't work in official release? The 2.x versions don't run on Windows XP so i can't use them. And btw how can a newer version solve syntax error? :O
Official releases are extremely old. It fixes syntax error because it puts an extra field into some types of code to allow for defining targets.
Little error with the Project brutality version, likely related to how it only gave out 12 shells when it split before, the shell box seems to not split when you're missing 12 or more shells, even though it can waste up to 8. A similar bug may or may not also be effecting ammo boxes. I don't think so, but you might want to check anyway just to be sure.
I'm not sure if it's in this version or not (haven't found a backpack in this WAD), but last time I checked boxes would essentially always split when the player was missing ammo and had a backpack, because it only checks to see if you have, say, 201+ bullets, and doesn't take backpacks into consideration. Naught but a minor gripe now that boxes don't split into less ammo than they should, but I still thought I would let you know that that's happening (or at least was happening in a previous version.)
I don't think Smart Scavenger effects the Project Brutality large medkits (Medpacks, I think they might be called?) that give you 50 health. If it doesn't, it would be nice if that would split too. 5 stimpacks would be the obvious split, but replacing one stimpack with two ministims might be nice, since that would do a little to help avoid wasting. Say, one at the start, like a regular medkit, and the other at the end?
Do you think you could somehow add in a menu or editable config file to allow users to configure some preference things? Like spawning nothing but ministims from medkits, splitting stimpacks into ministims when the player is missing 5 or less health, and changing how fast pickups spawn from split containers? I could see some people wanting them to spawn faster because they don't care about wasting smaller amounts, as well as some people (like myself) that would like them to spawn slightly slower to make it easier to avoid wasting anything at all.
"I'm not sure if it's in this version or not (haven't found a backpack in this WAD), but last time I checked boxes would essentially always split when the player was missing ammo and had a backpack, because it only checks to see if you have, say, 201+ bullets, and doesn't take backpacks into consideration. "
Only if you give yourself a backpack via console or give all cheat. Finding a backpack in game does take 501 bullets into consideration. So basically, if you want the benefit you just have to find it and not use cheats.
The 50hp New Medipack in Project Brutality do appear out of a smartscavenger medikit occasionally. I guess I could make it split into two more stims and one more ministim if you have less than 76hp but more than 51hp in case you get lucky with a New Medikit but don't want to waste that health.
"Little error with the Project brutality version, likely related to how it only gave out 12 shells when it split before, the shell box seems to not split when you're missing 12 or more shells, even though it can waste up to 8. A similar bug may or may not also be effecting ammo boxes."
Thanks, fixed. Also made Project Brutality SmartMedkit when its supposed to give you a 50hp New Medipack and you have more than 51hp, it will spew out 2 more stims and 1 more ministim instead. So you never waste any health.