HeliControl

Moved

Total Downloads: 35,358 - First Release: Sep 18, 2015 - Last Update: Apr 19, 2018

5/5, 74 likes
  1. Someone would know how much to put to "accuracy" so that the shots of the helicopter miss 1/3? My aim is to make a squadron appear but not too difficult to destroy and leaving a mixed chance of survival #acopalysenow :). Thx
     
    Last edited by a moderator: Jul 13, 2017
  2. Since the latest update (13/7/17) players are reporting the Heli is not giving aggression back to attackers. They are shooting it and it shoots back once then just flies off! Anyone else getting this?
     
  3. Have you tried waiting 1-2 minutes after using /callheli? Sometimes the Helicopter takes a long time to actually appear.

    You can raise the "Helicopter bullet accuracy" config option a bit, but I'm not sure what the exact value for roughly missing 1/3 shots would be.

    I've noticed it a bit when testing - seems to be related to Rust. This and the helicopter regenerating all it's health are quite annoying bugs.
     
  4. hey @Shady757 -- I think I'm still unable to accurately give people cooldown permission. giving them helicontrol.cooldown1 has them telling me they don't have permission to call... until I give them helicontrol.callheli -- but then there's no cooldown...

    Are you sure that part is working as intended?

    Thanks for any help.

    :)
     
  5. Please tell me where time the helicopter lays eggs automatically,
    How to set the automatic spawning time of the helicopter,
    thank you
     
  6. Failed to call hook 'OnEntitySpawned' on plugin 'HeliControl v1.2.2' (NullReferenceException: Object reference not set to an instance of an object)

    at Oxide.Plugins.HeliControl.OnEntitySpawned (.BaseNetworkable entity) [0x00000] in :0 at Oxide.Plugins.HeliControl.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in :0

    Failed to call hook 'OnEntitySpawned' on plugin 'HeliControl v1.2.2' (NullReferenceException: Object reference not set to an instance of an object)

    at Oxide.Plugins.HeliControl.OnEntitySpawned (.BaseNetworkable entity) [0x00000] in :0 at Oxide.Plugins.HeliControl.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in :0


    getting this error everytime the heli is shot down, any ideas
     
  7. Are you sure you're properly granting the cooldown permission? You've typed here "helicontrol.cooldown1", it should be "helicontrol.cooldown.0".
    If you have granted it properly and it still doesn't work, try granting a limit permission and testing it then (though this should be fixed so you don't need both).

    I'm not 100% sure what you're asking, but if you want to be able to set the exact time to spawn a helicopter, just change the config option:
    Code:
    "Spawning - Automatically call helicopter after this many seconds": 0.0,
    to whatever value you want.

    Could you please paste your config? Also, does it happen immediately after the Helicopter dies?
     
  8. {
    "Cooldowns": {
    "Cooldown.0": 7200.0,
    "Cooldown.1": 86400.0,
    "Cooldown.2": 86400.0,
    "Cooldown.3": 86400.0,
    "Cooldown.4": 86400.0,
    "Cooldown.5": 86400.0,
    "Cooldown.6": 86400.0,
    "Cooldown.7": 86400.0,
    "Cooldown.8": 86400.0,
    "Cooldown.9": 86400.0
    },
    "Damage - Global damage multiplier": 1.0,
    "Gibs - Health of gibs": 500.0,
    "Gibs - Time until gibs can be harvested in seconds": 480.0,
    "Health - Base Helicopter health": 10000.0,
    "Health - Main rotor health": 750.0,
    "Health - Tail rotor health": 375.0,
    "Limits": {
    "Limit.0": 999,
    "Limit.1": 5,
    "Limit.2": 5,
    "Limit.3": 5,
    "Limit.4": 5,
    "Limit.5": 5,
    "Limit.6": 5,
    "Limit.7": 5,
    "Limit.8": 5,
    "Limit.9": 5
    },
    "Loot - Max Crates to drop": 5,
    "Loot - Time before unlocking crates": 60.0,
    "Loot - Use Custom loot spawns": true,
    "Misc - Helicopter can shoot while dying": true,
    "Misc - Helicopter speed": 25.0,
    "Misc - Helicopter startup length in seconds": 0.0,
    "Misc - Helicopter startup speed": 25.0,
    "Misc - Maximum helicopter life time in minutes": 15,
    "Misc - Prevent crates from spawning when forcefully killing helicopter": false,
    "Misc - Water required to extinguish napalm flames": 2000,
    "Rockets - Blunt damage to deal": 175.0,
    "Rockets - Explosion damage to deal": 100.0,
    "Rockets - Explosion radius": 6.0,
    "Rockets - Max helicopter rockets": 12,
    "Rockets - Time between each rocket in seconds": 0.2,
    "Spawning - Automatically call helicopter after this many seconds": 0.0,
    "Spawning - Automatically call helicopter if one is already flying": false,
    "Spawning - Disable Helicopter": false,
    "Spawning - Disable helicopter gibs": false,
    "Spawning - Disable helicopter napalm": false,
    "Spawning - Disable Rust's default spawns": false,
    "Spawning - Max active helicopters": -1,
    "Spawning - Use custom helicopter spawns": false,
    "Turrets - Helicopter bullet accuracy": 2.0,
    "Turrets - Helicopter bullet damage": 20.0,
    "Turrets - Helicopter bullet speed": 250,
    "Turrets - Max range": 300.0,
    "Turrets - Time between turret bursts in seconds": 3.0,
    "Turrets - Turret burst length in seconds": 3.0,
    "Turrets - Turret fire rate in seconds": 0.125
    }



    and yes immidiatly as it hits the ground
     
  9. Please tell me where time the helicopter lays eggs automatically,
    How to set the automatic spawning time of the helicopter,
    thank you
    Code:
    {
    "Cooldowns": {
    "Cooldown.0": 7200.0,
    "Cooldown.1": 86400.0,
    "Cooldown.2": 86400.0,
    "Cooldown.3": 86400.0,
    "Cooldown.4": 86400.0,
    "Cooldown.5": 86400.0,
    "Cooldown.6": 86400.0,
    "Cooldown.7": 86400.0,
    "Cooldown.8": 86400.0,
    "Cooldown.9": 86400.0
    },
    "Damage - Global damage multiplier": 1.0,
    "Gibs - Health of gibs": 500.0,
    "Gibs - Time until gibs can be harvested in seconds": 480.0,
    "Health - Base Helicopter health": 10000.0,
    "Health - Main rotor health": 750.0,
    "Health - Tail rotor health": 375.0,
    "Limits": {
    "Limit.0": 999,
    "Limit.1": 5,
    "Limit.2": 5,
    "Limit.3": 5,
    "Limit.4": 5,
    "Limit.5": 5,
    "Limit.6": 5,
    "Limit.7": 5,
    "Limit.8": 5,
    "Limit.9": 5
    },
    "Loot - Max Crates to drop": 5,
    "Loot - Time before unlocking crates": 60.0,
    "Loot - Use Custom loot spawns": true,
    "Misc - Helicopter can shoot while dying": true,
    "Misc - Helicopter speed": 25.0,
    "Misc - Helicopter startup length in seconds": 0.0,
    "Misc - Helicopter startup speed": 25.0,
    "Misc - Maximum helicopter life time in minutes": 15,
    "Misc - Prevent crates from spawning when forcefully killing helicopter": false,
    "Misc - Water required to extinguish napalm flames": 2000,
    "Rockets - Blunt damage to deal": 175.0,
    "Rockets - Explosion damage to deal": 100.0,
    "Rockets - Explosion radius": 6.0,
    "Rockets - Max helicopter rockets": 12,
    "Rockets - Time between each rocket in seconds": 0.2,
    "Spawning - Automatically call helicopter after this many seconds": 0.0,
    "Spawning - Automatically call helicopter if one is already flying": false,
    "Spawning - Disable Helicopter": false,
    "Spawning - Disable helicopter gibs": false,
    "Spawning - Disable helicopter napalm": false,
    "Spawning - Disable Rust's default spawns": false,
    "Spawning - Max active helicopters": -1,
    "Spawning - Use custom helicopter spawns": false,
    "Turrets - Helicopter bullet accuracy": 2.0,
    "Turrets - Helicopter bullet damage": 20.0,
    "Turrets - Helicopter bullet speed": 250,
    "Turrets - Max range": 300.0,
    "Turrets - Time between turret bursts in seconds": 3.0,
    "Turrets - Turret burst length in seconds": 3.0,
    "Turrets - Turret fire rate in seconds": 0.125
    }
     
  10. This plugin (MagicLoot) overrides the heli loot. i've gotten a plugin called HeliControl to give custom loot tables, but magicloot still overrides it and ignores the custom drop table HeliControl offers. how do i fix this
     
  11. I'll look into this. Thanks.


    As I said before, set this to the amount of seconds you want:
    "Spawning - Automatically call helicopter after this many seconds": 0.0,

    Not sure what to tell you. I'm unfamiliar with the MagicLoot plugin, sorry.
     
  12. If I may. I would highly suggest that BetterLoot would be the Plugin you are looking for. An excellent example would be.That in BetterLoot. You have an option to activate the loot in the chopper, Barrels and chests. This way if you are using eg: FancyDrop and have made your own loot list for it. Your loot list will stay there if you do not activate that object that gives loot. Here is a config of one of my json's. Just go into your BetterLoot/Data and see what you can do in there also.........hope this helps.
     

    Attached Files:

    Last edited by a moderator: Jul 19, 2017
  13. I understand better loot would fix this. But better loot does not have an option to put a multipler to oil barrels or put a rarity on different types of crates. So lets say i allow c4 and guns to spawn, I would then have no control over the rarity of that item so it can spawn anywhere from a barrel to elite crates. As for that solution Magic Loot as a rarity system that makes sense where you don't get the SAME EXACT items you would in barrels and regular boxes in comparison to military crates and so forth.
     
  14. Seems that the plugin isnt working correctly anymore, /killheli /killnapalm /unlockcrates ect don't work randomly for some helis. and some helis seem to disobey speed and health parameters

    in the video i show the example of killheli not working
     
    Last edited by a moderator: Jul 19, 2017
  15. Thanks, very clear report and the video 'proof' (for lack of a better word) is appreciated as well. I've noticed a few issues like these recently, I'll look into it.
     
  16. Not sure if this has always been an issue but noticed recently some /callhelis have double HP. Like if 1 heli is active and another player does /callheli, then one of them has their HP doubled. I don't think its from doing /callheli 2 as I am the only person who can do that and I don't except for rare occasions. I can do more troubleshooting on this if you need more info. Players confirmed HP via combat log console command.

    {
    "Cooldowns": {
    "Cooldown.0": 36000.0,
    "Cooldown.1": 86400.0,
    "Cooldown.2": 86400.0,
    "Cooldown.3": 86400.0,
    "Cooldown.4": 86400.0,
    "Cooldown.5": 86400.0,
    "Cooldown.6": 86400.0,
    "Cooldown.7": 86400.0,
    "Cooldown.8": 86400.0,
    "Cooldown.9": 86400.0
    },
    "Damage - Global damage multiplier": 1.0,
    "Gibs - Health of gibs": 1.0,
    "Gibs - Time until gibs can be harvested in seconds": 1.0,
    "Health - Base Helicopter health": 10000.0,
    "Health - Main rotor health": 750.0,
    "Health - Tail rotor health": 375.0,
    "Limits": {
    "Limit.0": 1,
    "Limit.1": 5,
    "Limit.2": 5,
    "Limit.3": 5,
    "Limit.4": 5,
    "Limit.5": 5,
    "Limit.6": 5,
    "Limit.7": 5,
    "Limit.8": 5,
    "Limit.9": 5
    },
    "Loot - Max Crates to drop": 7,
    "Loot - Time before unlocking crates": -1.0,
    "Loot - Use Custom loot spawns": true,
    "Misc - Helicopter can shoot while dying": false,
    "Misc - Helicopter speed": 25.0,
    "Misc - Helicopter startup length in seconds": 0.0,
    "Misc - Helicopter startup speed": 25.0,
    "Misc - Maximum helicopter life time in minutes": 10,
    "Misc - Prevent crates from spawning when forcefully killing helicopter": true,
    "Misc - Water required to extinguish napalm flames": 100,
    "Rockets - Blunt damage to deal": 175.0,
    "Rockets - Explosion damage to deal": 100.0,
    "Rockets - Explosion radius": 6.0,
    "Rockets - Max helicopter rockets": 16,
    "Rockets - Time between each rocket in seconds": 0.2,
    "Spawning - Automatically call helicopter after this many seconds": 3600.0,
    "Spawning - Automatically call helicopter if one is already flying": false,
    "Spawning - Disable Helicopter": false,
    "Spawning - Disable helicopter gibs": false,
    "Spawning - Disable helicopter napalm": false,
    "Spawning - Disable Rust's default spawns": false,
    "Spawning - Max active helicopters": 1,
    "Spawning - Use custom helicopter spawns": false,
    "Turrets - Helicopter bullet accuracy": 1.45,
    "Turrets - Helicopter bullet damage": 20.0,
    "Turrets - Helicopter bullet speed": 250,
    "Turrets - Max range": 300.0,
    "Turrets - Time between turret bursts in seconds": 3.0,
    "Turrets - Turret burst length in seconds": 3.0,
    "Turrets - Turret fire rate in seconds": 0.125
    }
     
  17. Not sure how that would happen, but I'll be sure to take a look. Also, what does combatlog say HP is after it happens?
     
  18. called helis upon shooting down supply no loot boxes
     
  19. You should take another look at your .json. I think thats were your problem is. In the configuration. Also are you using anything else like BetterLoot or any others that have to do with HeliCrates? How many crates do you want. Her's one with six. Use it as example. Pat attention to the settings in it. Also , after you click on oxide. Click on data. In there you can put your own loots in the crates. There are even examples in it. Look for HeliCrates/data.
     

    Attached Files:

  20. well i use Alphaloot and i dont use that plugin for custom loot as i just use the loot that helicontrol supplies. so its not another plugin problem..