Koenrad submitted a new resource:
HeliDamage - Increase damage dealt to helicopters.
Read more about this resource...

HeliControl
Manage CH47 & helicopter health, player damage, configure turrets/rockets, and more!
Total Downloads: 35,240 - First Release: Sep 18, 2015 - Last Update: Apr 19, 2018
- 5/5, 74 likes
-
I do not have any programming experience :
-
. if you open HeliDamage.cs in Notepad, find these lines:
Code:if(weaponName == "rifle.bolt") { hitInfo.damageTypes.ScaleAll(8.0f); } else { hitInfo.damageTypes.ScaleAll(5.0f);
In english you can read that as "if the weaponName is "rifle.bolt" then multiply the damage by 8.0. If not, then multiply the damage by 5.0" -
-
Can we eliminate the helicopter altogether? Could you make that?
Rust has just copied Dayz with this and people are getting fed up with the game itself because it is no longer Rust. The numbers on servers and players is falling rapidly. -
Code:namespace Oxide.Plugins { [Info("DisableHeli", "Koenrad", "1.0.0")] class DisableHeli : RustPlugin { void OnEntitySpawned(BaseNetworkable entity) { //994850627 is the prefabID of a heli. if (entity == null) return; if (entity.prefabID == 994850627 ) { entity.KillMessage(); Puts("Helicopter destroyed!"); } } } }
-
THANKS! Will give this a whirl and sure the players on my server will like it much better.
-
Koenrad updated HeliControl with a new update entry:
1.0.1
-
Koenrad updated HeliControl with a new update entry:
1.0.2
-
Never mind didn't update
-
Can you add in console commands also to call it to someone.
Last edited by a moderator: Sep 19, 2015 -
oxide permissions or auth lvl would be awesome for calling heli Not sure if it's restricted to admin but I hope so lol Nice job though
-
-
-
Koenrad updated HeliControl with a new update entry:
1.0.3
[DOUBLEPOST=1442674725][/DOUBLEPOST] -
Getting the following error when attempting to call it:
[Oxide] 6:38 PM [Error] Failed to call hook 'SaveCommand' on plugin 'HeliControl v1.0.3' (NullReferenceException: Object reference not set to an instance of an object)
[Oxide] 6:38 PM [Debug] at Oxide.Plugins.HeliControl.SaveCommand (.Arg arg) [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
*UPDATE* Everything works fine if I actually specify a player name to call it on. The above is the result of simply trying to call in the chopper and providing no player name.Last edited by a moderator: Sep 19, 2015 -
Code:
[9/20/2015 1:46:34 AM] [Oxide] 1:46 AM [Error] Failed to call hook 'SaveCommand' on plugin 'HeliControl v1.0.3' (NullReferenceException: Object reference not set to an instance of an object) [9/20/2015 1:47:00 AM] [Oxide] 1:47 AM [Error] Failed to call hook 'SaveCommand' on plugin 'HeliControl v1.0.3' (NullReferenceException: Object reference not set to an instance of an object) [9/20/2015 1:47:04 AM] [Oxide] 1:47 AM [Error] Failed to call hook 'SaveCommand' on plugin 'HeliControl v1.0.3' (NullReferenceException: Object reference not set to an instance of an object)
-
Koenrad updated HeliControl with a new update entry:
1.0.4
[DOUBLEPOST=1442687978][/DOUBLEPOST]
Last edited by a moderator: Sep 19, 2015 -
Is it possible to create a cancel / stop function for the heli?
-