It should, yes.
HeliControl
Moved
Total Downloads: 35,361 - First Release: Sep 18, 2015 - Last Update: Apr 19, 2018
- 5/5, 74 likes
-
Ok that works
Thankyou! Ill put the timer back to 3600 so it spawns every hour..... no idea how i broke the config file, but thankyou!
-
So it seems like before I had the ability to disable rockets and napalm in the config script. Now, I don't see an option to disable rockets. It also seems like the heli is not only shooting rockets, but shooting napalm. Any suggestion on what it should look like to make it so the hire fires bullets only, no napalm or rockets? Any advice would be greatly appreciated!
-
-
-
-
{
"AutoCallHeliIfAlreadyExists": false,
"BaseHealth": 5000.0,
"BulletSpeed": 250,
"CallHeliEverySeconds": 0.0,
"CooldownPlayersCanCallMultiple": false,
"CooldownPlayersCanCallToTarget": false,
"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
},
"DisableDefaultHeliSpawns": true,
"DisableGibs": false,
"DisableHeli": false,
"DisableNapalm": true,
"GibsHealth": 500.0,
"GibsTooHotLength": 60.0,
"GlobalDamageMultiplier": 1.0,
"HeliAccuracy": 2.0,
"HeliBulletDamageAmount": 20.0,
"HelicopterCanShootWhileDying": true,
"HeliSpeed": 25.0,
"HeliStartLength": 0.0,
"HeliStartSpeed": 25.0,
"LifeTimeMinutes": 15,
"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
},
"LockedCrates": false,
"MainRotorHealth": 750.0,
"MaxHeliRockets": 0,
"MaxLootCratesToDrop": 8,
"ModifyDamageToHeli": false,
"RocketDamageBlunt": 175.0,
"RocketDamageExplosion": 100.0,
"RocketExplosionRadius": 6.0,
"TailRotorHealth": 375.0,
"TimeBeforeUnlockingCrates": 0.0,
"TimeBetweenRockets": 0.2,
"TurretBurstLength": 3.0,
"TurretFireRate": 0.125,
"TurretMaxTargetRange": 300.0,
"TurretTimeBetweenBursts": 3.0,
"UseCustomHeliSpawns": false,
"UseCustomLoot": false,
"UseGlobalDamageModifier": false,
"WaterRequiredToExtinguishNapalm": 0
} -
-
-
OK so this is the first mod I have installed on my rust server and im new to this. So I have it all put in the right spot and it shows up in my server saying its working. I did nothing to the config file. I try and use the command helicontrol.callheliself or any other command and it says I don't have permission to do this. can someone help me.
-
Bug, happens when players call helis.
Code:(21:54:31) | [Oxide] 19:54 [Error] Failed to call hook 'OnEntitySpawned' on plugin 'HeliControl v1.0.42' (NullReferenceException: Object reference not set to an instance of an object) (21:54:31) | [Oxide] 19:54 [Debug] at Oxide.Plugins.HeliControl.OnEntitySpawned (.BaseNetworkable entity) [0x00000] in <filename unknown>:0 at Oxide.Plugins.HeliControl.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
-
-
Haven't had any issues since completely removing those permissions so I'll let you know if it further continues. -
EDIT: Fixed, had an NRE when heli exploded upon death, custom loot file had a space in one of the names of the items.
[DOUBLEPOST=1480082332][/DOUBLEPOST]
[DOUBLEPOST=1480082608][/DOUBLEPOST]
Code:[11/26/2016 01:00:47] Kyle (76561198112611585) ran chat command: /callheli(03:00:27) | [Oxide] 01:00 [Error] Failed to call hook 'cmdCallToPlayer' on plugin 'HeliControl v1.0.42' (NullReferenceException: Object reference not set to an instance of an object) (03:00:27) | [Oxide] 01:00 [Debug] at Oxide.Plugins.HeliControl.cmdCallToPlayer (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.HeliControl.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
-
Code:
grant user UserName helicontrol.admin
-
[Oxide] 19:23 [Info] [Notifier] Patrol Helicopter incoming!
[Oxide] 19:23 [Error] Failed to call hook 'cmdCallToPlayer' on plugin 'HeliControl v1.0.42' (NullReferenceException: Object reference not set to an instance of an object)
[Oxide] 19:23 [Debug] at Oxide.Plugins.HeliControl.cmdCallToPlayer (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
at Oxide.Plugins.HeliControl.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
whenever person calls heli with /callheli
how does person only call on himself then? -
Shady757 updated HeliControl with a new update entry:
1.1.0
-
How to set the appearance time on the new config
{
"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": 480.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": 4,
"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 - 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
} -
Code:"Spawning - Automatically call helicopter after this many seconds": 0.0,
Code:"Misc - Maximum helicopter life time in minutes": 15,
-
BUG: When two or more helis are active, you cannot do such commands such as /tpheli /strafe and what not, it returns the lang: "There is an active helicopter"