Smart Scavenger - A Resource/Mod (V3.2 Released! 11/23/14)
Forum rules
The Projects forums are only for projects. If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.
Got a cool project idea but nothing else? Put it in the project ideas thread instead!
Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.
Please read the full rules for more details.
The Projects forums are only for projects. If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.
Got a cool project idea but nothing else? Put it in the project ideas thread instead!
Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.
Please read the full rules for more details.
-
- Posts: 77
- Joined: Fri Sep 09, 2011 7:47 am
Re: Smart Scavenger - A Resource/Mod (V2 Released 12/28/12)
Is it intentional for medikits to break up when you run over them even with full health? Ammo pickups only do when you don't have full ammo.
-
- Posts: 2178
- Joined: Sun Jan 10, 2010 4:05 pm
- Location: Southern California
Re: Smart Scavenger - A Resource/Mod (V2 Released 12/28/12)
No, it's not... I'll go look at the code and fix that.
-
- Posts: 15
- Joined: Wed Oct 23, 2013 8:17 pm
Re: Smart Scavenger - A Resource/Mod (V2 Released 12/28/12)
Any idea what the cause of the problem is? I spent half an hour messing with the script in Slate but I have very little experience and couldn't figure out why Medikits break up when you have full health.
-
- Posts: 81
- Joined: Fri Aug 22, 2014 8:38 am
- Location: Portugal
Re: Smart Scavenger - A Resource/Mod (V2 Released 12/28/12)
I was thinking to try and implement this mod myself, but thank god someone bumped this thread. 
This is an awesome idea.
Does it work with Brutal Doom (or SE)?

This is an awesome idea.
Does it work with Brutal Doom (or SE)?
-
- Posts: 178
- Joined: Tue Nov 19, 2013 8:16 am
Re: Smart Scavenger - A Resource/Mod (V2 Released 12/28/12)
Coincident wrote:I was thinking to try and implement this mod myself, but thank god someone bumped this thread.
This is an awesome idea.
Does it work with Brutal Doom (or SE)?
nope, wish it did, i really like this idea
-
- Posts: 2178
- Joined: Sun Jan 10, 2010 4:05 pm
- Location: Southern California
Re: Smart Scavenger - A Resource/Mod (V2 Released 12/28/12)
I'll look into this; I'm going to do a revision of this that should fix the issue of ammoboxes breaking open when projectiles or monsters impact them. A Brutal Doom version would be for SE, since that's maintained on these forums.m4lmaster wrote:nope, wish it did, i really like this ideaCoincident wrote:Does it work with Brutal Doom (or SE)?
-
- Posts: 2178
- Joined: Sun Jan 10, 2010 4:05 pm
- Location: Southern California
Re: Smart Scavenger - A Resource/Mod (V3 Released! 10/10/14)
Okay, so this was out later than I intended. I had a better method of doing this, but then I neglected to write it down, then forgot, then remembered again.[spoiler=If you're interested in this kind of thing:]Anyways, the implementation is much better now. For starters, the ammo box doesn't warp to your position when you pick it up, because you never actually pick it up; it takes advantage of the fact that CustomInventory actors have the player as a target to do a A_JumpIfCloser check, and has its Radius set very small, and the Pickup state consisting of a 1-tic duration frame and a Fail, so that the player will never be able to pick up the actor properly. Because things are never handled in a pickup state, I also don't have to worry about logmessages, which is nice because while A_Log has color support, it prints the message in the same color in the console as it does in the message log in the upper left, which is different from standard Doom logmessages which print untranslated(red) to the message log, but white in the console. Unless I'm missing something, there's no way to duplicate this behavior.[/spoiler]Smart Scavenger Version 3 Changelog:
-Support for Doom Roguelike Arsenal and Brutal Doom: Sperglord Edition added. Use smartscav-drla.pk3 and smartscav-bdsperg.pk3, respectively.
-Ammo and Medikits no longer 'warp' to the player's position.
-Medikits no longer break open when player health is >= 100.
-Support for Doom Roguelike Arsenal and Brutal Doom: Sperglord Edition added. Use smartscav-drla.pk3 and smartscav-bdsperg.pk3, respectively.
-Ammo and Medikits no longer 'warp' to the player's position.
-Medikits no longer break open when player health is >= 100.
-
- Posts: 178
- Joined: Tue Nov 19, 2013 8:16 am
Re: Smart Scavenger - A Resource/Mod (V3 Released! 10/10/14)
Script error, "smartscav-bdsperg.pk3:decorate" line 359:
Expected ')', got ','.
getting this error
Expected ')', got ','.
getting this error
-
- Posts: 2100
- Joined: Sun Aug 18, 2013 9:41 am
- Discord: TheMightyHeracross#1716
- Location: Philadelphia, PA
Re: Smart Scavenger - A Resource/Mod (V3 Released! 10/10/14)
Is your (G)ZDoom up to date?
-
- Posts: 2178
- Joined: Sun Jan 10, 2010 4:05 pm
- Location: Southern California
Re: Smart Scavenger - A Resource/Mod (V3 Released! 10/10/14)
That would be from the A_JumpIfHealthLower call that uses the AAPTR_TARGET pointer. Update your G/ZDoom.m4lmaster wrote:Script error, "smartscav-bdsperg.pk3:decorate" line 359:
Expected ')', got ','. getting this error
Last edited by amv2k9 on Mon Oct 13, 2014 11:35 am, edited 1 time in total.
-
- Posts: 178
- Joined: Tue Nov 19, 2013 8:16 am
Re: Smart Scavenger - A Resource/Mod (V3 Released! 10/10/14)
will do that before the end of the night
-
- Posts: 46
- Joined: Sat Apr 19, 2014 7:00 am
- Location: Wales. You know, where the men are men, and the sheep are scared.
Re: Smart Scavenger - A Resource/Mod (V3 Released! 10/10/14)
Will this mod be compatible with the Enhanced Edition of Brutal DOOM?
-
- Posts: 748
- Joined: Tue May 28, 2013 7:34 am
- Discord: demo_the_man#8942
- Location: Workin
Re: Smart Scavenger - A Resource/Mod (V3 Released! 10/10/14)
Can I use this in my mod?
-
- Posts: 178
- Joined: Tue Nov 19, 2013 8:16 am
Re: Smart Scavenger - A Resource/Mod (V3 Released! 10/10/14)
im assumeing GZDoom 2.x is needed? if so, not all of us can run 2.x, due to the need of OpenGL 3.x
-
- Posts: 4901
- Joined: Sun Nov 14, 2010 12:59 am
- OS Test Version: No (Using Stable Public Version)
- Graphics Processor: ATI/AMD (Modern GZDoom)
Re: Smart Scavenger - A Resource/Mod (V3 Released! 10/10/14)
m4lmaster wrote:im assumeing GZDoom 2.x is needed? if so, not all of us can run 2.x, due to the need of OpenGL 3.x
Use ZDoom, then.