This provides an additional event handler that gonna make every enemy along with destructible decoration drop something very useful.
Introduction...
There is various enemy packs for GZDoom.
Many of these had some good tweaks in their design.
As example, defeated "DaggerFall" enemies drops ammo for player.
Another example is enemies from "Left 4 Dead", which amount of HP can be adjusted.
But sometimes design is weak and now I am talking about "CodeName: Hunk" enemies.
Many of them are much tankier than vanilla "Doom 2" enemies.
Zombieman (that guy with pistol) has 20 HP, while his replacement has 100 HP and sad thing, that HP of these new enemies can't be adjusted w/o additional mods and they also had no any drops at all.
So... What Is This?
That's the reason why this addon was created. With this all enemies & destructible props can drop something really useful to the player. It can be just ammo, some bonuses to the HP/AP and even weapons with artefacts.
I Need Chances!
Every defeated enemy/destructed prop has a chance to drop "lootbags" with this content:
- Ammo (50%).
- Health (25%).
- Armor (25%).
- Weapon (0.15%).
- Artefact (0.005%).
More Chances!!!
And here is some fair statistic ('cause I am not a "poor indie-developer of mobile gacha game that has ugly port for PC"), so you can see, which chances of appearing for some items are.
Lootbug of ammo:
- Clip (36%).
- Shell (20%).
- RocketAmmo (15%).
- Cell (10%).
- ClipBox (10%).
- ShellBox (5%).
- RocketBox (2%).
- CellPack (2%).
Lootbug of health:
- HealthBonus (97%).
- StimPack (2%).
- MediKit (1%).
Lootbug of armor:
- ArmorBonus (97%).
- GreenArmor (2%).
- BlueArmor (1%).
Lootbug of weapon:
- Pistol (23%).
- Shotgun (23%).
- Chaingun (23%).
- SuperShotgun (14%).
- RocketLauncher (14%).
- PlasmaRifle (1%).
- BFG9000 (1%).
- Chainsaw (1%).
Lootbug of artefact:
- Berserk (85%).
- SoulSphere (10%).
- MegaSphere (5%).
Important Note...
Since all items from the spawner is vanilla, this addon must be compatible with most of various enemy/weapon pack. So...Go wild and make your dream come true!
Also I want to say a big thanks to user @Tijedikeri that helped me a lot with the mathematics side of probabilities.
😆awesome
This is really cool, thx for making this!
Could it be compatible with Heretic,Hexen and Strife?
random magic items and ammo for those games.