Lock-on Rockets
Aim at any entity and acquire target lock, then watch as your rockets follows its target
chaoscode.io
Updated lock on UI in v0.3.15. Scales with players UI scale
LockOn Rockets require a smoke rocket to be used as the ammo type!
This plugin utilizes the smoke rocket. As it is not a item that players can usually get through loot it makes the perfect placeholder for this purpose.
Simply use a plugin such as AlphaLoot or BetterLoot to insert the smoke rocket into your loot tables, then any smoke rocket that is picked up by a player can be used as a Lock-On Rocket!
Do not worry, when the rocket detonates you wont be stuck with a never ending smoke cloud!
Commands
/craft.lockon - Used to craft a lock-on rocket (if enabled in the config)
Permissions
lockonrockets.craft - Required to use the craft command
Config
C#:
{
"Amount of time to acquire target lock": 3.0,
"Amount of time before the rocket self detonates": 30.0,
"Enable beeping sfx on the rocket as it approaches the target": true,
"Base speed of the rocket": 40.0,
"Base damage of the rocket": 300.0,
"Modifiers when targeting a helicopter": {
"Rocket damage modifier": 5.0,
"Rocket speed modifier": 2.5
},
"Allow smoke rocket crafting": true,
"Crafting Costs": [
{
"Shortname": "ammo.rocket.basic",
"Amount": 1
},
{
"Shortname": "techparts",
"Amount": 3
}
],
"Target Types": {
"AttackHelicopter": true,
"CH47": true,
"Minicopter": true,
"TransportHelicopter": true,
"RHIB": true,
"Boat": true,
"Car": true,
"APC": true,
"Plane": true,
"NPC": true,
"Player": true,
"Animal": true,
"Structure": true,
"Resource": true,
"Loot": true,
"GunTrap": true
},
"Version": {
"Major": 0,
"Minor": 3,
"Patch": 0
}
}