关于寻的导弹
向服务器添加寻的导弹。只需在火箭发射器上装上烟雾火箭并瞄准即可。 需要烟雾火箭作为弹药类型!
- 强大的伤害系统,您可以为所有类型的物体(建筑物、动物、NPC、玩家、火车、船只、直升机等)设置伤害
- 很棒的制作系统,你可以自定义制作寻的导弹所需的资源量,设置制作所需的工作台等级
- 您可以自定义十字准线大小和颜色、瞄准时间、瞄准声音
- 您可以设置火箭爆炸的类型、设置火箭速度、自爆时间等
- 您可以设置不能使用寻的导弹的区域,(您需要 ZoneManager 插件)
只需使用诸如 BetterLoot 之类的插件将烟雾火箭插入您的战利品表,然后玩家捡起的任何烟雾火箭都可以用作寻的导弹。或者你可以只使用制作系统。
命令:
/hmcraft - 用于制作寻的导弹(如果在配置中启用)
/hmcraft X - 用于制作多枚寻的导弹,其中 X 是寻的导弹数量
该插件使用权限系统。
权限:
homingmissiles.use - 使用寻的导弹需要
homingmissiles.craft - 使用 craft 命令所必需的
要分配权限,请使用:oxide.grant<用户或组> <名称或 steam id>homingmissiles.use
要删除权限,请使用:oxide.revoke <用户或组> <名称或 steam id>homingmissiles.use
要分配权限,请使用:oxide.grant<用户或组> <名称或 steam id>homingmissiles.craft
要删除权限,请使用:oxide.revoke <用户或组> <名称或 steam id>homingmissiles.craft
开发者 API:
(无效)LaunchHomingMissile(Vector3 launchPosition, Vector3 targetPosition, Vector3 startVelocity, BaseEntity target)
从坐标为“launchPosition”且速度为“startVelocity”的点发射寻的导弹(startVelocity 可以只是 Vector3.zero)。
如果您指定了“target”,则可以设置任何“targetPosition”值。如果将“target”设置为 null,则目标将是坐标为“targetPosition”的点。
配置文件:
{
"Rocket display name": "Homing missile",
"Rocket icon skinID": 3018993457,
"Allow homing missiles crafting": true,
"Workbench level required to craft(0-3)": 3,
"Crafting costs": [
{
"shortname": "ammo.rocket.basic",
"amount": 1
},
{
"shortname": "techparts",
"amount": 2
}
],
"List of zones where homing missiles cannot be used (requires ZoneManager plugin)": [
"111111111",
"222222222",
"333333333"
],
"Make it so that only in these zones you can use homing missiles": false,
"A message when you are in an area where homing missiles cannot be used": "You can't use homing missiles here",
"Rocket speed": 50,
"Rocket acceleration(1 - 10)": 1.0,
"Amount of time before the rocket self detonates": 20.0,
"Amount of time to acquire target lock(in seconds)": 1.0,
"How quickly the target lock is lost if you lose the target(0-1)": 1.0,
"First crosshair size": 24.0,
"First crosshair color Red (0-1)": 1.0,
"First crosshair color Green (0-1)": 0.0,
"First crosshair color Blue (0-1)": 0.0,
"Left side of the first crosshair": "<",
"Right side of the first crosshair": ">",
"Middle of the first crosshair": "+",
"Second crosshair size": 24.0,
"Second crosshair color Red (0-1)": 0.0,
"Second crosshair color Green (0-1)": 1.0,
"Second crosshair color Blue (0-1)": 0.0,
"Second crosshair": "[ + ]",
"Enable sound effects when aiming": true,
"Base damage of the rocket(affect everything, including buildings)": 100.0,
"Damage to players": 100.0,
"Damage to animals": 500.0,
"Damage to patrol helicopter": 3500.0,
"Damage to chinook": 2000.0,
"Damage to bradleyAPC": 500.0,
"Damage to submarine": 400.0,
"Damage to NPCs": 300.0,
"Damage to snowmobile": 300.0,
"Damage to boat": 400.0,
"Damage to modular cars": 400.0,
"Damage to hot air baloon": 1000.0,
"Damage to scrap transport helicopter": 500.0,
"Damage to minicopter": 750.0,
"Damage to train": 500.0,
"Explosion type: 1 - basic; 2 - fire; 3 - smoke; 4 - heli; 5 - heli napalm; 6 - heli airburst; 7 - sam; 8 - 40mm_grenade_he; 9 - c4; 10 - f1; 11 - beancan grenade; 12 - satchelcharge; 13 - mlrs": 13,
"Use homing missiles for building blocks": false,
"Use homing missiles for constructions": false,
"Use homing missiles for items": false,
"Use homing missiles for traps and turrets": false
}