Garry's Mod

Garry's Mod

68 ratings
ARCADE - Quick Body Looting
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Realism
File Size
Posted
Updated
533.696 KB
7 Sep, 2023 @ 11:54am
27 Sep, 2023 @ 8:33am
8 Change Notes ( view )

Subscribe to download
ARCADE - Quick Body Looting

In 1 collection by Coffee Man
Coffee Man's Gameplay-Enhancing Addons
67 items
Description
Arcade Mutator for Garry's Mod.

Quick Body Looting enables players to search killed enemies for additional goodies.





MUTATOR DETAILS:
  • arcade_quickloot 1 to enable the mutator. Keep Corpses must be set to ON!

  • Get close to any type of ragdoll and press the Use button to loot it. Each ragdoll can only be looted once. Already looted ragdolls can still be interacted with, albeit no additional items will be given to the player.

  • The items you can get from looting are:

    1 type of Ammo Item with random bullet counts, 100% Chance:

    - AR2 (1 - 30)
    - Pistol (1 - 18)
    - SMG1 (1 - 45)
    - 357 (1 - 6)
    - XBowBolt (1 - 4)
    - Buckshot (1 - 6)
    - Grenade (1 - 2)
    - AR2AltFire (1 - 2)
    - SMG1_Grenade (1 - 2)
    - RPG_Round (1 - 2)
    - SLAM (1 - 2)


    1 Healing Item with random heal effectiveness, 20% Chance / 0% Chance when full health:

    - Health (10 - 25)

    1 Armor Item with random armor effectiveness, 20% Chance / 0% Chance when full armor:

    - Armor (10 - 25)

    1 type of Weapon Item, 15% Chance:

    - weapon_357
    - weapon_ar2
    - weapon_crossbow
    - weapon_pistol
    - weapon_shotgun
    - weapon_smg1
    - weapon_rpg


  • The percentages shown above are separate, it's possible to receive multiple items if multiple percentages trigger.

  • Every single type of ragdoll entity can be looted (such as headcrabs). This isn't 100% ideal but I'm too lazy to fix this.

  • When looting a ragdoll, a push effect is applied to that ragdoll as a visual cue. Additionally, sound effects are played according to different conditions.

  • If you're already carrying a weapon that you end up looting, you'll instead receive another weapon that you don't have or receive nothing if you're carrying all the lootable weapons.

  • Used for balancing when you're playing through a sandbox map with randomized enemy spawns.

  • This addon is intended to enable players to do "OSP" runs where they start off with a very small loadout and progressively expand their loadout by collecting gear from killed enemies.

  • Very lightweight and simple code. You'll have an easy time modifying the addon if you want to create your own variation that suits your preferences.

  • Designed to be fun and a part of the gameplay rather than a clumsy and slow gimmick. Looting is instantly done after pressing the Use button and it doesn't affect the player's movement.




Credits:
  • Coffee Man: Coming up with the gameplay idea and creating this addon.


7 Comments
A_Swarm_of_Wasps 25 Aug, 2024 @ 7:02am 
can i edit the percentage or make it so that only certain enemies drop loot? also i got a rocket launcer from a headcrab lmaoooo
sycamore 30 Jun, 2024 @ 2:37am 
could you make an addon that dumps all ammo inside of your current weapon if you reload?
i cant seem to find any addons like this
beet eater 14 Jun, 2024 @ 9:06pm 
any way you can only loot the ammo from the type of weapon the npc uses?
pepsi.securiti31@gmail.com 6 Dec, 2023 @ 10:11am 
yeah
BonegraVE 14 Oct, 2023 @ 9:26am 
This addon is almost perfect if it didn't include the weapons and slam.
Coffee Man  [author] 16 Sep, 2023 @ 9:11am 
Sure, download the addon and edit the lua with your entity weapon and item names. Everything is split in their own categories in the code.
Armoured Fetus 16 Sep, 2023 @ 9:01am 
Would it be possible to put your own custom weapons and items in the looting system