HeliControl

Moved

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

5/5, 74 likes
  1. That's good to know as was looking at installing this so I could have a helicopter spawn every hour! And wanted to know if it would cause any problems!
     
  2. Calling 'OnEntitySpawned' on 'HeliControl v1.1.7' took 464ms [GARBAGE COLLECT]
     
  3. Unless you're getting this often and without the "[GARBAGE COLLECT]" at the end, this isn't really an issue.
     
  4. callheli doesn't seem to be working for me since thursday. the timed heli doesn't either.
    callheli returns no error
    /callheli findles 10
    10 heli called on findles (or whatever, im not in game)
    /killheli
    (0) helicopters killed

    this is from my console:
    callheli
    (10:04:39) | [BUNDLE] Not found: assets/prefabs/npc/patrol helicopter/patrol_helicopter.prefab
    (10:04:39) | Couldn't find prefab "assets/prefabs/npc/patrol helicopter/patrol_helicopter.prefab"
    (10:04:39) | [HeliControl] Helicopter Inbound!
    killheli
    (10:04:48) | [HeliControl] 0 helicopter(s) were annihilated!
     
  5. I'll look into this soon. Thanks.
    [DOUBLEPOST=1492788149][/DOUBLEPOST]
    Hmm. As for those missing prefab errors, I'm not sure what they're from since the plugin isn't using that path, it uses the (correct): "assets/prefabs/npc/patrol helicopter/patrolhelicopter.prefab".

    I just tested it on Oxide 2.0.3202 and the console and chat commands both called a Helicopter (and killed) properly, is there any chance you have a conflicting plugin?
     
  6. ahhh crap - it was my mistake. sorry for wasting your time. i made an edit that i forgot to undo. fresh download works.
     
  7. just noticed again while reading over this plugin will the options of custom loot override the loot tables of BetterLoot? also to make the heli come every hour after the last one do you just make the Automatically call helicopter after this many seconds to 3600 seconds?
     
    Last edited by a moderator: Apr 21, 2017
  8. Question about the Cooldowns section and adjusting the rate at which the Heli spawns. I have tinkered with it a little:

    "Cooldowns": {
    "Cooldown.0": 86100.0,
    "Cooldown.1": 86200.0,
    "Cooldown.2": 86300.0,
    "Cooldown.3": 86400.0,
    "Cooldown.4": 86100.0,
    "Cooldown.5": 86200.0,
    "Cooldown.6": 86300.0,
    "Cooldown.7": 86400.0,
    "Cooldown.8": 86100.0,
    "Cooldown.9": 86100.0

    The heli comes roughly every other in game day, and the slight tweaks I have made cause it to come at slightly different times (evening, morning, afternoon) I am wondering in what way I should adjust it to make the Heli come a bit more frequently and randomly, so daily but at different times of the day each day.

    I saw in another question you discussed the '"Spawning - Automatically call helicopter after this many seconds": 0.0,' option so I could tweak this to have the Heli come every 45 minutes or so, but I am curious about how adjusting the "Cooldown" will affect it. I am using TimeofDay mod as well to shorten the length of nights, but I don't think that messes with it too much since my full day/night cycle is still a total of 1 hour.

    tl;dr how does the Cooldown section work?
     
  9. I'm new to all of this, and could use some help. When I type /callheli in chat or callheli in console, I get a message that says "You do not have permission to use that command!". I am not sure what is going on. I am the owner of the server already, but I don't quite understand the permissions system. Not sure what to try next.
     
  10. About the loot, it may override but I'm not 100% sure as I haven't personally tested it.

    The way the automatic calling function works is that every X amount of seconds, it will call in another Helicopter if there isn't already one flying or if the config is set to allow more than 1 to be called. Sorry for the late response.

    Cooldown is only use for the /callheli command if the player has the permission to call one and the cooldown "list" is a list of all the permissions, e.g. you grant a user the permission HeliControl.cooldown.0 and they will only be able to call a heli once every 86100 seconds. Sorry if this was unclear, I'll try to explain it a bit better in the overview.

    There's no current way to call a Helicopter in a certain range of time, only an exact amount of time. I'm sure there's probably other plugins that allow this, though. Also, sorry for the late reply, got no notifications for this thread! ;)

    Hey PepeSilvia, I'd recommend you read up on Oxide's permission system in general as lots of plugins use it. I'm going to tell you fairly simply how to grant it yourself by typing this into your console or RCON:
    Code:
    oxide.grant user PepeSilvia helicontrol.admin
    
    That should give you full admin access, and you can read more on permissions here: Using the Oxide permission system | Oxide
     
  11. How would I let players call heli only in a specific zone? Would I use the target permission? Or is that permission for sending heli to another player?
     
  12. My Heli is not going automatic on events!

    I have to call it everytime i want it!!

    why?? :)
     
  13. If you disabled the default Rust spawns, you'll need to set a timer to automatically call it, which can be found in the config.
     
  14. Anybody?
     
  15. "Spawning - Automatically call helicopter after this many seconds": 3600.0,

    "Spawning - Max active helicopters": -1, ???
    "Spawning - Use custom helicopter spawns": false, ??
     
  16. Sorry, thought I had replied to your post yesterday.

    Unfortunately, HeliControl does not provide a way to call a helicopter only in a specific zone, and I don't know of any plugins that do.

    Max active helicopters is the maximum amount of Helicopters that HeliControl will let be active/spawned in at a time. If set to 3, there should be no more than 3 helicopters flying at once.

    Use custom helicopter spawns, if set to true, only has an effect if you've set up custom spawn points for the Helicopter using /helispawn.
     
  17. I am not sure what to do.Many servers have this 'heli arena' place but if I can`t have heli get to that place,then it is worthless.
     
  18. This is possibly the worst explained plugin on the website so far.

    "Grant the permissions helicontrol.callheliself and <the other one> - do not grant helicontrol.callheli if you don`t want people to call it as much and wherever they want" - Without helicontrol.callheli, nobody can call anything.Can you explain what exactly did you mean by this?
     
  19. I can't help you with your issue because this plugin does not intend to have a feature like this. I have no idea what plugin they are using, as I stated before.

    Starting off your question with "the worst explained plugin on the website so far." isn't usually the best way to get an answer, but anyway:

    The permission "HeliControl.callheli" is basically an admin permission. If they have this permission, they can call a Helicopter on anyone, anywhere, any time.

    The permission "helicontrol.callheliself" makes it so a player can call a Helicopter on themselves, but I believe this is where your confusion came into play. Due to a limitation in the original code (probably needs an update soon to refine that area), I believe the player must have a cooldown or limit permission in order for callheliself to work.

    This means, for example, if you grant a player helicontrol.callheliself, they'll also need a permission like helicontrol.cooldown.0 or helicontrol.limit.0. For now, if you just want someone to be able to call a Helicopter on themselves at any time; grant the callheliself permission and a limit permission with 9999 (or however much), and however low of a cooldown you want (this is configurable in the config).

    Here's an example:
    Code:
    oxide.grant user X helicontrol.callheliself
    oxide.grant user X helicontrol.limit.0
    oxide.grant user X helicontrol.cooldown.0
    
    Hopefully you understand a bit more now, and I know the code isn't great (nor the description, it was probably rushed), but after all it's not exactly something that was really intended for this type of plugin anyway. The core function of this plugin was, and is, to just configure the base/'internal' settings of Helicopters. ;)
     
  20. Appreciated.Alright, two more questions; do they still call it with /callheli command? If not, what command should they use?

    When it comes to cooldown, value is in seconds, minutes, hours? (I suppose it is seconds but meh)

    This setting won`t exactly help with my plan (unfortunately no plugin does it) but it can be useful to some extent.I do advise that you make the description in the overview a little bit clearer in the helicallself part.