1. A note to new members who are making their first purchase

    Once you have made your first purchase you will be unable to instantly download. Due to the recent influx of fraudulent purchases we now need to verify your account before we can grant access to download.
    To verify your account/purchase please email admin@chaoscode.io from the email address your PayPal account is registered to and state your ChaosCode username and the name of the plugin you have purchased.
    Once this is done access to your download your purchase will be granted.

    Please be aware that the verification process may take up to 24 hours!

    We apologise for any inconvenience this may cause
    Dismiss Notice

HeliCommander 0.2.12

Fly the UH1Y or CH47 and fuck shit up

  1. HeliCommander

    k1lly0u




    Currently implemented features:
    - Custom flight controls and mechanics for both the Patrol Helicopter (UH1Y) and the Chinook (CH47) - This makes flying the chinook easy!
    - Working rocket launchers and machine guns (UH1Y)
    - Weapon ammunition system (UH1Y)
    - Basic crash detection and damage system
    - UI health and ammunition counter
    - Helicopter inventory
    - Passengers with Friends and Clans support
    - Repair systems

    Default Controls:
    w - Tilt forward
    s - Tilt backward
    a - Roll left
    d - Roll right
    Shift - Throttle up
    Control - Throttle down
    e - Enter
    space - Exit
    r - Inventory access (from outside the vehicle)
    mouse look - Yaw left and right
    e - While piloting will lock yaw so you can look left and right
    Mouse 1 - Fire machine guns (Fires the guns relative to the direction you are facing)
    Mouse 2 - Fire rockets

    ** Note : Due to the lack of buttons sent to the server from the client all controls besides YAW (turn left/right) are set to buttons. Because of this the yaw is adjusted based on the direction the pilots camera is facing ex. Look left -> Turn left / Look right -> Turn right. There is a slight 'dead zone' when facing straight ahead to prevent the helicopter from turning due to a small degree of camera angle

    Commands
    /spawnhc uh1y - Spawn a UH1Y where you are looking. This command uses the spawn cooldown system (Requires permission ' helicommander.canspawn.uh1y ')
    /spawnhc ch47 - Spawn a CH47 where you are looking. This command uses the spawn cooldown system (Requires permission ' helicommander.canspawn.ch47 ')

    /buildhc uh1y - Build a UH1Y using items specified in the config (Requires permission ' helicommander.canbuild.uh1y ')
    /buildhc ch47 - Build a CH47 using items specified in the config (Requires permission ' helicommander.canbuild.ch47 ')

    Console Commands
    spawnhc <ch47/uh1y> <playerId> - Spawn the specified helicopter infront of the player with the specified ID
    spawnhc <ch47/uh1y> <x> <y> <z> - Spawn a the specified helictopter at the co-ordinates provided

    Saving helicopters through plugin reload or server restart
    To save command spawned helicopters through plugin reload or server restart add the "save" argument to the end of the command ex. "/spawnhc uh1y save" or "spawnhc uh1y save"

    To save auto-spawned helicopter set the config option "Save helicopters spawned through the spawn system through reloads/restarts" to true for the applicable helicopter types

    Permissions
    helicommander.use.ch47 - Required to fly the CH47
    helicommander.use.uh1y - Required to fly the UH1Y

    helicommander.passenger.ch47 - Allows players to enter the the CH47 as a passenger
    helicommander.passenger.uh1y - Allows players to enter the the UH1Y as a passenger

    helicommander.canspawn.ch47 - Required to spawn a CH47 via chat command
    helicommander.canspawn.uh1y - Required to spawn a UH1Y via chat command

    helicommander.canbuild.ch47 - Required to build a CH47 via chat command
    helicommander.canbuild.uh1y - Required to build a UH1Y via chat command

    helicommander.ignorecooldown.ch47 - Players with this permission will ignore the spawn cooldown when spawning a CH47
    helicommander.ignorecooldown.uh1y - Players with this permission will ignore the spawn cooldown when spawning a UH1Y

    API
    Code (C#):
    (bool) IsHeliController(BaseHelicopter) // Returns true if helicopter is controllable

    (ulong[]) GetOccupantIDs(BaseHelicopter) // Returns a array of user IDs of each occupant of the helicopter
    Config
    Code (C#):

    {
      "CH47 Options": {
        "Movement Settings": {
          "Forward Force": 12.0,
          "Forward Tilt Force": 30.0,
          "Turn Force": 6.0,
          "Turn Tilt Force": 40.0,
          "Upwards Force": 25.0,
          "Downwards Force)": 5.0
        },
        "Passenger Options": {
          "Allow passengers": true,
          "Require passenger to be a friend (FriendsAPI)": true,
          "Require passenger to be a clan mate (Clans)": true,
          "Eject non-friendly players when a player enters the pilot seat": true
        },
        "Inventory Options": {
          "Enable inventory system": true,
          "Drop inventory on death": true,
          "Drop loot on death": false,
          "Inventory size (max 36)": 36
        },
        "Health and Damage Options": {
          "Initial health": 7500,
          "Damage modifiers": {
            "Bullet": 1.0,
            "Explosion": 1.0
          }
        },
        "Fuel Options": {
          "Requires fuel": true,
          "Fuel type (item shortname)": "lowgradefuel",
          "Fuel consumption rate (litres per second)": 0.5,
          "Spawn vehicles with fuel": true,
          "Amount of fuel to give spawned vehicles (minimum)": 10,
          "Amount of fuel to give spawned vehicles (maximum)": 50
        },
        "Spawnable Options": {
          "Enable automatic vehicle spawning": true,
          "Use RandomSpawns for spawn locations": false,
          "Save helicopters spawned through the spawn system through reloads/restarts": false,
          "Spawnfile name": "",
          "Maximum spawned vehicles at any time": 2,
          "Time between autospawns (seconds)": 1800,
          "Cooldown time for player spawned vehicles via chat command (seconds)": 86400
        },
        "Repair Options": {
          "Allow users to repair helicopters": true,
          "Shortname of item required to repair": "scrap",
          "Amount of item required to repair": 10,
          "Amount of damage repaired per hit": 30
        },
        "Build Options": {
          "Allow users to build this helicopter": false,
          "Use cooldown timers": true,
          "Build Costs": [
            {
              "Item shortname": "metal.refined",
              "Amount": 500
            },
            {
              "Item shortname": "techparts",
              "Amount": 100
            }
          ]
        }
      },
      "UH1Y Options": {
        "Weapon Options": {
          "Rockets": {
            "Enable weapon system": true,
            "Require ammunition in inventory": false,
            "Ammunition type (item shortname)": "ammo.rocket.hv",
            "Fire rate (seconds)": 1.75,
            "Aim cone (smaller number is more accurate)": 0.025,
            "Damage": 90.0
          },
          "Machine Gun": {
            "Enable weapon system": true,
            "Require ammunition in inventory": false,
            "Ammunition type (item shortname)": "ammo.rifle.hv",
            "Fire rate (seconds)": 0.1,
            "Aim cone (smaller number is more accurate)": 1.25,
            "Damage": 10.0
          }
        },
        "Movement Settings": {
          "Forward Force": 12.0,
          "Forward Tilt Force": 30.0,
          "Turn Force": 6.0,
          "Turn Tilt Force": 40.0,
          "Upwards Force": 25.0,
          "Downwards Force)": 5.0
        },
        "Passenger Options": {
          "Allow passengers": true,
          "Require passenger to be a friend (FriendsAPI)": true,
          "Require passenger to be a clan mate (Clans)": true,
          "Eject non-friendly players when a player enters the pilot seat": true
        },
        "Inventory Options": {
          "Enable inventory system": true,
          "Drop inventory on death": true,
          "Drop loot on death": false,
          "Inventory size (max 36)": 36
        },
        "Health and Damage Options": {
          "Initial health": 7500,
          "Damage modifiers": {
            "Bullet": 1.0,
            "Explosion": 1.0
          }
        },
        "Fuel Options": {
          "Requires fuel": true,
          "Fuel type (item shortname)": "lowgradefuel",
          "Fuel consumption rate (litres per second)": 0.5,
          "Spawn vehicles with fuel": true,
          "Amount of fuel to give spawned vehicles (minimum)": 10,
          "Amount of fuel to give spawned vehicles (maximum)": 50
        },
        "Spawnable Options": {
          "Enable automatic vehicle spawning": true,
          "Use RandomSpawns for spawn locations": false,
          "Save helicopters spawned through the spawn system through reloads/restarts": false,
          "Spawnfile name": "",
          "Maximum spawned vehicles at any time": 2,
          "Time between autospawns (seconds)": 1800,
          "Cooldown time for player spawned vehicles via chat command (seconds)": 86400
        },
        "Repair Options": {
          "Allow users to repair helicopters": true,
          "Shortname of item required to repair": "scrap",
          "Amount of item required to repair": 10,
          "Amount of damage repaired per hit": 30
        },
        "Build Options": {
          "Allow users to build this helicopter": false,
          "Use cooldown timers": true,
          "Build Costs": [
            {
              "Item shortname": "metal.refined",
              "Amount": 500
            },
            {
              "Item shortname": "techparts",
              "Amount": 100
            }
          ]
        }
      },
      "Button Configuration": {
        "Toggle light": "RELOAD",
        "Open inventory": "RELOAD",
        "Pitch Forward": "FORWARD",
        "Pitch Backward": "BACKWARD",
        "Roll Left": "LEFT",
        "Roll Right": "RIGHT",
        "Throttle Up": "SPRINT",
        "Throttle Down": "DUCK",
        "Lock Yaw": "USE",
        "Fire Rockets": "FIRE_SECONDARY",
        "Fire MG": "FIRE_PRIMARY",
        "Open fuel tank": "FIRE_THIRD"
      },
      "UI Options": {
        "Health settings": {
          "Display to player": true,
          "Position - X minimum": 0.69,
          "Position - X maximum": 0.83,
          "Position - Y minimum": 0.1,
          "Position - Y maximum": 0.135,
          "Background color (hex)": "#F2F2F2",
          "Background alpha": 0.05,
          "Status color (hex)": "#ce422b",
          "Status alpha": 0.6
        },
        "Rocket settings": {
          "Display to player": true,
          "Position - X minimum": 0.69,
          "Position - X maximum": 0.83,
          "Position - Y minimum": 0.06,
          "Position - Y maximum": 0.096,
          "Background color (hex)": "#F2F2F2",
          "Background alpha": 0.05,
          "Status color (hex)": "#ce422b",
          "Status alpha": 0.6
        },
        "MG settings": {
          "Display to player": true,
          "Position - X minimum": 0.69,
          "Position - X maximum": 0.83,
          "Position - Y minimum": 0.021,
          "Position - Y maximum": 0.056,
          "Background color (hex)": "#F2F2F2",
          "Background alpha": 0.05,
          "Status color (hex)": "#ce422b",
          "Status alpha": 0.6
        },
        "Fuel settings": {
          "Display to player": true,
          "Position - X minimum": 0.69,
          "Position - X maximum": 0.83,
          "Position - Y minimum": 0.139,
          "Position - Y maximum": 0.174,
          "Background color (hex)": "#F2F2F2",
          "Background alpha": 0.05,
          "Status color (hex)": "#ce422b",
          "Status alpha": 1.0
        },
        "Crosshair settings": {
          "Display to player": true,
          "Size": 25,
          "Color (hex)": "#ce422b"
        }
      },
      "Version": {
        "Major": 0,
        "Minor": 2,
        "Patch": 12
      }
    }
     

Recent Updates

  1. 0.2.12
  2. 0.2.11
  3. 0.2.10

Recent Reviews

  1. fabian flores zuñiga
    fabian flores zuñiga
    1/5,
    Version: 0.1.40
    plugin mal terminado. audio con bug
  2. mobbelkotze
    mobbelkotze
    4/5,
    Version: 0.1.35
    Nice Plugin but if the helicopter was destroyed, other players will hear it permanently at this point (Until Server Restarts).
  3. Hammer
    Hammer
    4/5,
    Version: 0.1.35
    Love the plugin but, it would we way nice if we could turn the heli off when not using!
  4. The Dragon Guy
    The Dragon Guy
    4/5,
    Version: 0.1.32
    Pretty nifty, would be much better if you could turn the sound off when it is parked.