Releases: Vechro/cratedrop
cratedrop v2.0
The long awaited v2.0
New: command has changed to /cratedrop
, only the weapon is required as an argument, but accepts /cratedrop minigun 50 true 1000
where 50 is ammo, true is for roofCheck and 1000 is planeSpawnDistance
New: got rid of weaponTable entirely for interpreting commands, for example, pistol
gets converted to pickup_weapon_pistol
automatically along with weapon_pistol
. This means all weapons are supported
New: plane spawn location is now RNG at the given distance (400 metres by default)
New: CrateDrop is now an exported function (no error correction, so use it right) for developers with parameters such as weapon (must use exact name of pickup), ammo, planeSpawnDistance (how far away to spawn plane), dropCoords(expects a dictionary table with x, y, z values)
.
Improved: "crateDrop" is an event (does error checking and correction) with parameters such as weapon (expects for example smg or weapon_smg or pickup_weapon_smg, but only works with weapons, doesn't accept other pickups, use the function to bypass this), ammo, roofCheck (bool, if true then checks if plane is capable of dropping a crate to specified coordinates), planeSpawnDistance, dropCoords
.
New: when the resource gets stopped, the resource cleans up after itself, removing objects, pickups, planes
New: if the crate is dropped and picked up early enough by a player so the flare isn't deployed yet, the flare gets deleted. I was unable to find a way to get rid of it after it deployed.
cratedrop v1.2
Added support for Scammer’s Universal Menu and the event “Cratedrop:Execute” now accepts parameters in a more logical manner.
cratedrop v1.1
Slight code optimization, actually commented code, removed unnecessary stuff and added a lot more weapons to the drop list.
cratedrop v1.0
Initial release.