HeliControl

Moved

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

5/5, 74 likes
  1. you can set up a cool down in this plugin
     
  2. I advise you just delete the file and start over, it looks like you were using a (mostly) vanilla data file for that anyway, so delete "HeliControlData.json" and reload the plugin. It will generate a new one. From here, you can make changes to it, but before saving it, make sure jsonlint says it's valid.
     
  3. sorry meant I a can indeed give the group permission to call a heli.
    The group is however only every 24 hours once can call the helicopter.
    What I meant by cooldown
     
  4. Yes can you make that, would be great :D
     
  5. Not I do that.
    Seeking the code for it that you can put a cool down in this plugin
     
  6. But can u make the cooldown so that i can change the cooldown and permission would be nice :)
     
  7. Nevermind
     
    Last edited by a moderator: May 25, 2016
  8. Hey Shady

    I wanna use your plugin for a event on my server.
    The problem now is: I use a own event plugin to call Airdrops/Radiation and more on selected positions on the map and need a version of callheli pos "X" "Y" "Z" - so i can use it.

    I was testing to modify your plugin but its more complex as the easyairdrop plugin.
    Can you add this feature in the plugin ?
     
  9. I'm assuming you're just wanting to be able to call the position? Should be fairly easy to add, expect it among a fair few other features in the next update.
     
  10. So I got my custom loot working, except only 2 of the 4 crates are different, the other 2 always have the same as the first 2. What I mean is there is always 2 of the same loot crates. How do I make all 4 random?
     
  11. I don't think you're the first to report this, but this shouldn't be happening. I'll take a second look into it, but I still haven't found out why this could possibly be happening. Anyone else can feel free to look at the code for the loot boxes under the OnEntitySpawned hook, but it's really confusing me as to why this would happen.
     
  12. For some reason not only is custom loot no longer working, but Helicopters aren't randomly coming at all anymore. =/

    Edit: Just deleted The config file, both data files, and the plugin, re-installed, and it doesnt generate a new Custom loot file in the data folder...

    Edit #2: Fixed the loot issue, and am using TimedExecute to run chopper call-ins at intervals. :)
     
    Last edited by a moderator: Jun 1, 2016
  13. I assume the loot issue was attributed to you simply not having enabled it in the config after deleting it, correct? Also, HeliControl does not touch the spawning of Helicopters in the way you may think. It simply 'updates' them if they're spawned naturally, and will never delete/stop them from spawning unless someone uses /killheli or you have them disabled in the config.
     
  14. No I had it enabled but it never generated the loot file, I downloaded one posted above and edited it to my liking.
     
  15. This same issue started with me right after the last update... Not sure if they changed something to cause the spawning of helis to not spawn
     
  16. This is weird, in my testing it will generate one if it doesn't exist, so I haven't been able to re-produce this.

    I don't think so, it has to be some plugin one of you guys are running. The helis have been naturally spawning perfectly fine for me since they were released, and still do.
     

  17. Hmmm I had to install Timed Execute | Oxide to get my helis to spawn or they don't spawn at all.. This all started about 2-3 hours after the last wipe and after I edited the heli's control I check this with a JSONLint and everything was green .. This is my HeliControl.JSON

    Code:
    {
      "AllowAuthLevel": true,
      "AuthLevel": 2,
      "BaseHealth": 15000.0,
      "BulletSpeed": 600.0,
      "DisableGibs": false,
      "DisableHeli": false,
      "DisableNapalm": false,
      "GibsTooHotLength": 0.3,
      "GlobalDamageMultiplier": 1.0,
      "HeliAccuracy": 0.1,
      "HeliBulletDamageAmount": 25.0,
      "HeliSpeed": 25.0,
      "LifeTimeMinutes": 15,
      "lmg.m249": 1.0,
      "LockedCrates": false,
      "MainHealth": 12000.0,
      "MainRotorHealth": 9000.0,
      "MaxHeliRockets": 26,
      "MaxLootCratesToDrop": 6,
      "ModifyDamageToHeli": true,
      "pistol.eoka": 0.0,
      "pistol.revolver": 1.0,
      "pistol.semiauto": 1.0,
      "rifle.ak": 1.0,
      "rifle.bolt": 1.0,
      "rifle.semiauto": 1.0,
      "shotgun.pump": 1.0,
      "smg.2": 1.0,
      "smg.thompson": 1.0,
      "TailRotorHealth": 6500.0,
      "TimeBeforeUnlockingCrates": 0.0,
      "TimeBetweenRockets": 0.2,
      "TurretBurstLength": 2.5,
      "TurretFireRate": 0.120,
      "TurretMaxTargetRange": 360.0,
      "TurretTimeBetweenBursts": 1.0,
      "UseCustomLoot": true,
      "UseGlobalDamageModifier": true
    }
    Unless I'm doing something wrong, this is the only plugin I had messed with after the update...
    [DOUBLEPOST=1464851575][/DOUBLEPOST]I did set the heli on like a WTF mode with other players to see how good it can get, I wondered if I broke it?
     
  18. You didn't break it, at least I don't think that's possible. I'm not sure if you're able to read code very well, but you can take a look, there's not a single reason why helicontrol would override default spawning behavior, aside from the disable option, which disables *all* helis.
     
  19. No worries it was probably just a glitch at the same time I edited the plugin.... Welcome to Alpha :)
     
  20. Config "Custom loot" not working, fix it pls