Thanks Bro, it has been a bit, I just restarted my server
What code?
Not sure how to set up a group
Yes Im stupid to computer code![]()
HeliControl
Moved
Total Downloads: 35,358 - First Release: Sep 18, 2015 - Last Update: Apr 19, 2018
- 5/5, 74 likes
-
-
Fantastic, thanks mate, you are the best =D
-
I hate to bring this up again but I've been trying for days to get the loot tables to work properly with HeliControlData.json and nothing I do seems to work. I thought maybe it was a mod conflict but even in disabling the other plugins the issue persists.
I will upload the custom loot tables that I have created but the main issue is that regardless of how many tables I have, the Helicopter crates only choose 2 of them (usually) and duplicate them 2-3 times. So I will have 2 of 1 loot table and 3 of another loot table (I run 5 crates) instead of having 5 completely unique crates. Also, occasionally I will have some boxes that are completely empty. Anyone have an idea?Attached Files:
-
-
If I remember correctly, it does allow changing the Heli's loot, and with a better system, at that. -
Yeah no pressure man. I was just seeing if any one else had a solution. I'll look into LootConfig.
-
Yeah I remember having an issue doing custom loot also. I know that Better Loot Mod buggers the whole thing.
-
-
Are any of you seeing this in the logs when they are taking down the Heli:
Code:[Oxide] 12:48 [Debug] at Oxide.Plugins.HeliControl.OnEntitySpawned (.BaseNetwo rkable 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 (System.Reflection.MethodInfo metho d, 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 hookname, System.Object[]
-
-
I know it is int the list of messages here someplace, but maybe you could make it easier? Just add the lines for loot the admin wants.
I mean the system is pretty easy to use anyway, but since i just reopened the server and am adding these files again, could you add the code into the jason for us fat lazy base tards
[DOUBLEPOST=1461936122][/DOUBLEPOST]I also do not think it is possible but maybe. . . is there a way for the admin to control the heli? Control the aim the direction rockets the whole mess like the heli was a player.
Slow the player movements to the speed of the chopper, alt to see there the chopper is shooting on the side, right click for the guns, put a timer on the screen for when rockets are ready and left click for rocket fire. the rest could be edited for strength and hit points in the chopper mod.
Yeah I know I make it sound so rasy, so why don't do it. . . I know doodoo about programing
[DOUBLEPOST=1461940104][/DOUBLEPOST]I added the loot code, change the custom loot table to true, but the loot has not changed
I added the json, maybe you can see where I screwed up :/Attached Files:
-
-
Code:
"UseGlobalDamageModifier": false }
Also, what you described for controlling the Helicopter is nearly impossible, without somehow entirely taking over the AI of the Heli. It would also probably require some client-side editing, which is essentially impossible.
I already have plans to refine the loot system for the helicopter soon. -
Hello, i have 1 question
How congiq Heli time spawn interval ? -
Sorry if this is something i've completely missed with the core game, but is there any way to use this to configure how quickly the heli respawns and how many players need to be online in order for it to spawn initially? Thanks
-
Put this plugin in and no more patrol helis spawn in.
Remove the plugin and boom heli's start spawning again.
No logs or anything as its not an errror as such they just literally stop spawning. -
-
We've had people in the server most of the day and not one spawned. Removed the plugin just to see and they start spawning every second night.
-
-
Ok well I'll be in game a fair bit today. I have deleted all files and configs to do with HeliControl, and have re-added plugin. I have left the config as default and shall see what happens.
-
@Shady757 getting this error in console - I have custom loot validatet trough json validator and loot is ok, just this error is keeping up
Code:(19:44:16) | [Oxide] 19:44 [Error] Failed to call hook 'OnEntitySpawned' on plugin 'HeliControl v1.0.20' (NullReferenceException: Object reference not set to an instance of an object) (19:44:16) | [Oxide] 19:44 [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 (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0