Rotating Pickups

Rotating Pickups 0.3.7

Give your dropped item that old death-match style feel by having them rotate on the spot with the option to pick them up when walking over them.


Support for ZoneManager has been added for sphere and box zones!
By enabling "Apply rotation in set zones only" in the config you can force this to only work inside of the specified zones. You can add a zone by registering its zone ID using the commands provided below, or by manually adding the zone ID to the zone list in the config

Example of usage with a box zone:

Commands (remove the '/' to use in console)
/ap - Toggles automatic pickup for the player using the command (Chat Only)
/dropzone - Shows the help menu
/dropzone add <zoneID> - Adds a zone ID to the zone list
/dropzone remove <zoneID> - Removes a zone ID from the zone list
/dropzone list - Lists all registered zone IDs

Config Options
Collision Pickup (variations) - Enables collision pickup of items or dropped item containers (walk over items to pick them up)
Rotate items in set zones only - Enables item rotation only in the zones specified, zones can be added/removed via the commands provided above or by manually editing the Zone ID list in the config
Overrides - Allows you to specify specific items to rotate when dropped (as an alternative to an entire category)
Monitor height changes - Monitors item -> floor height changes and adjusts the items position accordingly
Rotation speed - The speed in seconds it takes the item to make 1 rotation
Time before rotation - The amount of time in seconds from when the item spawns until it begins rotation
Types to rotate - The item category types that rotation will apply to
Rotate dropped item containers - This will add a rotator to dropped item containers (backpacks from player bodies and from storage containers)

Example usage of manual overrides;
C#:
"Overrides - Items to rotate (ignores types)": [ "explosive.timed", "rifle.ak" ], // This will apply rotation to timed explosives and assault rifles, even if their item category is set to not apply rotation

Example usage of ignore overrides;
C#:
"Overrides - Items/Prefabs to ignore (item shortname or entity short prefab name)": [ "explosive.timed", "item_drop" ], // This will prevent rotation for item shortnames, or dropped item containers short prefab names that are in this list

Config
The configuration file can be found in your server directory at .../oxide/config/RotatingPickups.json
The use of an editor and validator is recommended to avoid formatting issues
C#:
{
  "Allow collision pickup of dropped item containers": true,
  "Allow collision pickup of items": true,
  "Collision detection radius": 0.5,
  "Item types to rotate": {
    "Ammunition": true,
    "Attire": true,
    "Common": false,
    "Component": false,
    "Construction": false,
    "Food": true,
    "Items": false,
    "Medical": true,
    "Misc": false,
    "Resources": true,
    "Tool": true,
    "Traps": false,
    "Weapon": true
  },
  "Monitor height changes": true,
  "Overrides - Items to rotate (ignores types)": [],
  "Rotate dropped item containers": true,
  "Rotate items in set zones only": false,
  "Rotation speed": 5.0,
  "Time before rotation starts (seconds)": 1,
  "Zone IDs used for zone only rotation": []

}

Information

Author
k1lly0u
First release
Last update
Rating
4.73 star(s) 15 ratings

Latest Release v0.3.7

Released
Apr 4, 2024 at 2:42 AM
Rating
0.00 star(s) 0 ratings


More resources from k1lly0u

  • Juggernaut
    Juggernaut
    A minigame where 1 player becomes a juggernaut and must make it to a set destination in order to win
  • PlayerSkins
    PlayerSkins
    Fully Customization Skin Management Plugin - Sell Skinned items or Skins!
  • Grenade Launcher
    Grenade Launcher
    Fire grenades from a shotgun
  • AlphaLoot Profile Editor
    AlphaLoot Profile Editor
    Unity based loot table editor for AlphaLoot
  • AlphaLoot
    AlphaLoot
    Provides complete control on loot contents of each available lootcontainer

Rotating Pickups by k1lly0u
© chaoscode.io Jan 2, 2017

Latest reviews

Its a really good plug and very easy to config recommended if you want static looks on your server
love it, makes finding packs easier, and love that you can remove the rotation too :), great for performance and functionality
Slick plugin, and a perfect addition to the Arena plugin.

I had some issues with it detecting the size of box zones correctly, but after switching back to spherical zones it worked perfectly.
Neat plugin. Setting "time before rotation starts" higher than 1, can cause the plugin not to work correctly, though. stuff will just lay on the ground, like always. But this is no big deal.
People really like how it works, thank you so much!
Perfect compliment to the new Arenas plugin.
Works Great reminds me of the old quake days
Cool plugin. Reminds me of the old GTA days. My players love the fact that they no longer loose items on the ground. No server lag either.