Is there a mod that implements random drops ?

Discuss anything ZDoom-related that doesn't fall into one of the other categories.

Is there a mod that implements random drops ?

Postby Buckethell II » Mon Oct 07, 2019 5:05 pm

Hello everyone

As the title says, I would like to know if there is a mod that adds a "random" drop feature from enemies, something like this:

- Weaker enemies drops +10 health, minor ammo and smaller powerups
- Medium enemies drops an increased number of the above loot plus mid tier weapons and ammo
- Stronger enemies drops high tier power-ups, weapons and larger ammo boxes, plus armor

If something like this exist, I would like to contact whoever made it to ask permission for a mod I would like to make (eventually you'll see the thread in Gameplay Mods section)

Thanks in advice
User avatar
Buckethell II
Baron of Hell
 
Joined: 04 Jun 2018
Location: Italy
Operating System: Windows Vista/7 64-bit

Re: Is there a mod that implements random drops ?

Postby Cherno » Mon Oct 07, 2019 6:17 pm

I am thinking about how to implement this in a way that makes it compatible with any mods which change monster actors... I think you could override the Event WorldThingDied, check if it's a monster, and then spawn a certain item based on the health of the monster (or any other value or values for determining a monster's power).

Edit: I quickly threw this together, it should be easily adaptable even for people who don't zScript.

https://www.dropbox.com/s/r9wfj4omcuwbe ... omdrop.pk3
User avatar
Cherno
 
Joined: 06 Dec 2016

Re: Is there a mod that implements random drops ?

Postby Buckethell II » Tue Oct 08, 2019 12:42 am

Cherno wrote:I am thinking about how to implement this in a way that makes it compatible with any mods which change monster actors... I think you could override the Event WorldThingDied, check if it's a monster, and then spawn a certain item based on the health of the monster (or any other value or values for determining a monster's power).

Edit: I quickly threw this together, it should be easily adaptable even for people who don't zScript.

https://www.dropbox.com/s/r9wfj4omcuwbe ... omdrop.pk3


I love the DooM modding community, I swear.

Thanks for your help, that was exactly the problem, I can't ZScript and there are some features I have in mind that cannot be implemented without it

I'll update this thread if I manage to get most of the stuff for the mod I want to make, so you and every other person interested in it will know, let's see how it goes ^^
User avatar
Buckethell II
Baron of Hell
 
Joined: 04 Jun 2018
Location: Italy
Operating System: Windows Vista/7 64-bit


Return to General

Who is online

Users browsing this forum: Ahrefs [Bot], DotBot and 8 guests