HeliControl

Moved

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

5/5, 74 likes
  1. Hi All

    I currently run aTerminus server and I had the following questions.

    •would this plug in allow me through Timed Command to spawn a heli and then after a certain time crash it on the map.
     
  2. Unfortunately, this plugin does not currently have a feature to crash or kill the heli after a specified time.
     
  3. @Shady757 Helicopter is spawning immediately after one dies even though I have it sat not to do that...any ideas? Config options pasted below.
    Code:
    {
      "Cooldowns": {
        "Cooldown.0": 86400.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": 60.0,
      "Health - Base Helicopter health": 10000.0,
      "Health - Main rotor health": 800.0,
      "Health - Tail rotor health": 450.0,
      "Limits": {
        "Limit.0": 5,
        "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": -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": 25,
      "Misc - Prevent crates from spawning when forcefully killing helicopter": true,
      "Misc - Water required to extinguish napalm flames": 10000,
      "Rockets - Blunt damage to deal": 100.0,
      "Rockets - Explosion damage to deal": 75.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": true,
      "Spawning - Max active helicopters": 1,
      "Spawning - Use custom helicopter spawns": false,
      "Turrets - Helicopter bullet accuracy": 2.0,
      "Turrets - Helicopter bullet damage": 15.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
    }
     
  4. I believe this is where your problem is. ("Spawning - Automatically call helicopter after this many seconds": 0.0,) I think the way you have it set it will keep spawning indefinetly. How often do you want your heli to spawn???? And how long do you want it to hang around on the map???? I think you need to adjust that 0.0 to a number. A number that reflects your helicopter spawn times. IN Seconds!!!....60 seconds is 1 minute!!!!!! 1800 is one half hour, between next spawn. ......Hope these examples help.
     
  5. If a Helicopter spawns immediately after one dies each time, I'm nearly 100% sure it isn't related to this plugin.

    0.0 is the default value, which is essentially disabled/left to vanilla Rust behaviour.
     
  6. Your plugin is the only helicopter plugin I have in...
    [DOUBLEPOST=1507854057][/DOUBLEPOST]
    You might have a point here. Thanks for the helpful tip!
     
  7. That seems strange, because you have Rust's default spawns set to disabled but don't have a spawn timer set in HeliControl, so what plugin are you using to call helicopters? I'd start with whatever that plugin may be... Unless you're just calling them manually, but then I don't understand how you're having this issue.
     
  8. I'm using this one. I just said this is the only one rofl.
    [DOUBLEPOST=1507858880][/DOUBLEPOST]It's spawning them the instant one dies, no matter what. I have 0 other heli plugins. Zilche.
     
  9. Okay, I read what you said and understood completely that you only have just this one, but what I said about your config still stands true, unless you pasted the wrong config. Lets go over the config that you pasted:
    Code:
    {
      "Cooldowns": {
        "Cooldown.0": 86400.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": 60.0,
      "Health - Base Helicopter health": 10000.0,
      "Health - Main rotor health": 800.0,
      "Health - Tail rotor health": 450.0,
      "Limits": {
        "Limit.0": 5,
        "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": -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": 25,
      "Misc - Prevent crates from spawning when forcefully killing helicopter": true,
      "Misc - Water required to extinguish napalm flames": 10000,
      "Rockets - Blunt damage to deal": 100.0,
      "Rockets - Explosion damage to deal": 75.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": true,
      "Spawning - Max active helicopters": 1,
      "Spawning - Use custom helicopter spawns": false,
      "Turrets - Helicopter bullet accuracy": 2.0,
      "Turrets - Helicopter bullet damage": 15.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
    }
    
    You will find a line above that says:
    Code:
    "Spawning - Disable Rust's default spawns": true,
    
    You will also find a line that says:
    Code:
    "Spawning - Automatically call helicopter after this many seconds": 0.0,
    
    As I stated before, this indicates that you have Rust's default spawns disabled, and you do not have HeliControl configured to spawn helicopters (spawn every x seconds set to 0.0, which means HeliControl won't spawn helicopters of it's own). Unless I'm missing something here, I'm not even sure how Helicopters would be spawning on your server at all, unless called through a command.

    Could you please try removing HeliControl and then calling a Helicopter through the Rust command (I believe it's heli.call, heli.calltome and heli.drop) and seeing if the issue persists?
     
  10. My heli doesnt drop any loot boxes - is there something i need to enable for it to do so ?

    Tested it 5x now and so far not one loot crate from it.
     
  11. I have setup the cooldowns/limits and granted the targeted group the perms callhelitoself and player, but not the helicontrol.callheli. Players are still able to call the heli to their self/target player without the cooldown.
     
  12. does the loot work on your heli Retributive ?
     
  13. Yes. What's your config look like?
    Make sure you have an integer here: "Loot - Max Crates to drop": X <--- Number of crates to drop upon takedown
     
  14. hi i not changed anything in the config file take a look here :

    I called the heli 3 times now and took it down and no boxes appeared at all.Wonder if it cause im in admin mode

    {
    "Cooldowns": {
    "Cooldown.0": 1800.0,
    "Cooldown.1": 1800.0,
    "Cooldown.2": 1800.0,
    "Cooldown.3": 1800.0,
    "Cooldown.4": 1800.0,
    "Cooldown.5": 1800.0,
    "Cooldown.6": 1800.0,
    "Cooldown.7": 1800.0,
    "Cooldown.8": 1800.0,
    "Cooldown.9": 1800.0
    },
    "Damage - Global damage multiplier": 1.0,
    "Gibs - Health of gibs": 500.0,
    "Gibs - Time until gibs can be harvested in seconds": 180.0,
    "Health - Base Helicopter health": 10000.0,
    "Health - Main rotor health": 750.0,
    "Health - Tail rotor health": 375.0,
    "Limits": {
    "Limit.0": 5,
    "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": -1.0,
    "Loot - Use Custom loot spawns": false,
    "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": 10000,
    "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
    }
     
  15. What loot plugin are you running?
     
  16. none at moment as this is first time ive ever set up a rust server.
    I throught it would auto default to vanilla.
     
  17. I sent you a PM with my discord information.
     
  18. thanks for your help Retibutive Law - was appreciated.
    Still weird how /callheli - makes the heli has no loot
    While spawnpatrolhelicopter has 4 loot crates
     
  19. I cant find the error pls help json validator is not helping this time this comes up :
    Code:
    Error: Parse error on line 149:
    ...                    }                ]            }        }
    --------------------^
    Expecting ',', ']', got '}'
    :(
    Code:
    {
      "heliSpawns": {"HeliInventoryLists": [
        {
          "lootBoxContents": [
            {
              "name": "explosive.timed",
              "amount": 9,
              "isBP": false,
              "skinID": 0
            },
            {
              "name": "ammo.rocket.hv",
              "amount": 5,
              "isBP": false,
              "skinID": 0
            },
            {
              "name": "cctv.camera",
              "amount": 8,
              "isBP": false,
              "skinID": 0
            },
            {
              "name": "targeting.computer",
              "amount": 8,
              "isBP": false,
              "skinID": 0
            },
            {
              "name": "metal.facemask",
              "amount": 12,
              "isBP": false,
              "skinID": 943128194
            }
          ]
        },
        {
          "lootBoxContents": [
            {
              "name": "autoturret",
              "amount": 3,
              "isBP": false,
              "skinID": 0
            },
            {
              "name": "ammo.pistol.fire",
              "amount": 500,
              "isBP": false,
              "skinID": 0
            },
            {
              "name": "cctv.camera",
              "amount": 5,
              "isBP": false,
              "skinID": 0
            },
            {
              "name": "targeting.computer",
              "amount": 4,
              "isBP": false,
              "skinID": 0
            },
            {
              "name": "ammo.rifle.explosive",
              "amount": 190,
              "isBP": false,
              "skinID": 0
            }
          ]
        },
        {
          "lootBoxContents": [
            {
              "name": "ammo.rocket.fire",
              "amount": 5,
              "isBP": false,
              "skinID": 0
            },
            {
              "name": "ammo.rocket.hv",
              "amount": 20,
              "isBP": false,
              "skinID": 0
            },
            {
              "name": "cctv.camera",
              "amount": 1,
              "isBP": false,
              "skinID": 0
            },
            {
              "name": "targeting.computer",
              "amount": 1,
              "isBP": false,
              "skinID": 0
            },
            {
              "name": "ammo.pistol.fire",
              "amount": 500,
              "isBP": false,
              "skinID": 0
            }
          ]
        },
        {
          "lootBoxContents": [
            {
              "name": "ammo.rifle.explosive",
              "amount": 187,
              "isBP": false,
              "skinID": 0
            },
            {
              "name": "ammo.rocket.basic",
              "amount": 21,
              "isBP": false,
              "skinID": 0
            },
            {
              "name": "explosive.timed",
              "amount": 6,
              "isBP": false,
              "skinID": 0
            },
            {
              "name": "grenade.f1",
              "amount": 50,
              "isBP": false,
              "skinID": 0
            }
          ]
        },
        {
          "lootBoxContents": [
            {      
              "name": "trap.landmine",
              "amount": 14,
              "isBP": false,
              "skinID": 0
            },
            {
              "name": "explosive.timed",
              "amount": 19,
              "isBP": false,
              "skinID": 0
            },
            {
              "name": "lmg.m249",
              "amount": 1,
              "isBP": false,
              "skinID": 0
            }
          ]
        }}
     
  20. try this :
    Code:
    {
        "heliSpawns": {
            "HeliInventoryLists": [{
                    "lootBoxContents": [{
                            "name": "explosive.timed",
                            "amount": 9,
                            "isBP": false,
                            "skinID": 0
                        },
                        {
                            "name": "ammo.rocket.hv",
                            "amount": 5,
                            "isBP": false,
                            "skinID": 0
                        },
                        {
                            "name": "cctv.camera",
                            "amount": 8,
                            "isBP": false,
                            "skinID": 0
                        },
                        {
                            "name": "targeting.computer",
                            "amount": 8,
                            "isBP": false,
                            "skinID": 0
                        },
                        {
                            "name": "metal.facemask",
                            "amount": 12,
                            "isBP": false,
                            "skinID": 943128194
                        }
                    ]
                },
                {
                    "lootBoxContents": [{
                            "name": "autoturret",
                            "amount": 3,
                            "isBP": false,
                            "skinID": 0
                        },
                        {
                            "name": "ammo.pistol.fire",
                            "amount": 500,
                            "isBP": false,
                            "skinID": 0
                        },
                        {
                            "name": "cctv.camera",
                            "amount": 5,
                            "isBP": false,
                            "skinID": 0
                        },
                        {
                            "name": "targeting.computer",
                            "amount": 4,
                            "isBP": false,
                            "skinID": 0
                        },
                        {
                            "name": "ammo.rifle.explosive",
                            "amount": 190,
                            "isBP": false,
                            "skinID": 0
                        }
                    ]
                },
                {
                    "lootBoxContents": [{
                            "name": "ammo.rocket.fire",
                            "amount": 5,
                            "isBP": false,
                            "skinID": 0
                        },
                        {
                            "name": "ammo.rocket.hv",
                            "amount": 20,
                            "isBP": false,
                            "skinID": 0
                        },
                        {
                            "name": "cctv.camera",
                            "amount": 1,
                            "isBP": false,
                            "skinID": 0
                        },
                        {
                            "name": "targeting.computer",
                            "amount": 1,
                            "isBP": false,
                            "skinID": 0
                        },
                        {
                            "name": "ammo.pistol.fire",
                            "amount": 500,
                            "isBP": false,
                            "skinID": 0
                        }
                    ]
                },
                {
                    "lootBoxContents": [{
                            "name": "ammo.rifle.explosive",
                            "amount": 187,
                            "isBP": false,
                            "skinID": 0
                        },
                        {
                            "name": "ammo.rocket.basic",
                            "amount": 21,
                            "isBP": false,
                            "skinID": 0
                        },
                        {
                            "name": "explosive.timed",
                            "amount": 6,
                            "isBP": false,
                            "skinID": 0
                        },
                        {
                            "name": "grenade.f1",
                            "amount": 50,
                            "isBP": false,
                            "skinID": 0
                        }
                    ]
                },
                {
                    "lootBoxContents": [{
                            "name": "trap.landmine",
                            "amount": 14,
                            "isBP": false,
                            "skinID": 0
                        },
                        {
                            "name": "explosive.timed",
                            "amount": 19,
                            "isBP": false,
                            "skinID": 0
                        },
                        {
                            "name": "lmg.m249",
                            "amount": 1,
                            "isBP": false,
                            "skinID": 0
                        }
                    ]
                }
            ]
        }
    }