Jump to content

40 Screenshots

Recommended Comments



Infidel

Posted (edited)

Few issues i'm facing which i'm sure are easily answered - running this with NPC Spawn, wanting to add bots to all Default monuments.. tried making a folder oxide/data/BetterNpc/Monument/Harbour also tried another folder place in > oxide/data/BetterNpc/Harbour for example and tried to add a few bots but nothing, tried all Default monument names but no luck.

I can add oxide/data/BetterNpc/Custom by ingame commands, but that means i have to add bots manually every month to each new map we use?... 

Edited by Infidel
Jbird

Posted

7 hours ago, Infidel said:

Few issues i'm facing which i'm sure are easily answered - running this with NPC Spawn, wanting to add bots to all Default monuments.. tried making a folder oxide/data/BetterNpc/Monument/Harbour also tried another folder place in > oxide/data/BetterNpc/Harbour for example and tried to add a few bots but nothing, tried all Default monument names but no luck.

I can add oxide/data/BetterNpc/Custom by ingame commands, but that means i have to add bots manually every month to each new map we use?... 

Why aren't you using the default Harbors?

You cannot add anything to the Monument folder the monument should already be there except for the ferry terminal and a few others.

You could create Custom locations and then change the location based on the new location and rotation of a monument on a new map and leave the rest of the profile in tact as far as map to map changes.

Noel2997

Posted (edited)

23時間前、ジェイバードはこう言った。

これが何をするのか、さらに詳しく説明してもらえます

購入後の座標をそのまま使用すると、石油掘削装置のCH47や飛行場の地下エリアのNPCは入れ替わりません。

交換手順を説明します。

たとえば、コマンドを使用して座標を検索し、その座標を JSON ファイルに記録できます。

飛行場.png

石油掘削装置.png

Airfield.json

Edited by Noel2997
Jbird

Posted

6 minutes ago, Noel2997 said:

購入後の座標をそのまま使用すると、石油掘削装置のCH47や飛行場の地下エリアのNPCは入れ替わりません。

交換手順を説明します。

たとえば、コマンドを使用して座標を検索し、その座標を JSON ファイルに記録できます。

  "Remove other NPCs? [true/false]": false,

😉

Infidel

Posted

2 hours ago, Jbird said:

Why aren't you using the default Harbors?

You cannot add anything to the Monument folder the monument should already be there except for the ferry terminal and a few others.

You could create Custom locations and then change the location based on the new location and rotation of a monument on a new map and leave the rest of the profile in tact as far as map to map changes.

The folder under Monuments is empty no Harbour/dome etc all empty?  Maybe i miisread but i thought i had to add my own folders etc for the default monuments?

Jbird

Posted

7 minutes ago, Infidel said:

The folder under Monuments is empty no Harbour/dome etc all empty?  Maybe i miisread but i thought i had to add my own folders etc for the default monuments?

Those files come with the download. Move all of the folders and files from the download and you can edit them from there.

The Custom folder will be empty by default. Some maps will come with custom files or you can create your own and they will go here.

Infidel

Posted

5 minutes ago, Jbird said:

Those files come with the download. Move all of the folders and files from the download and you can edit them from there.

The Custom folder will be empty by default. Some maps will come with custom files or you can create your own and they will go here.

Oh i see now, I shouldnt do this at 1am lol.. Thank you very much!

Jbird

Posted

6 minutes ago, Infidel said:

Oh i see now, I shouldnt do this at 1am lol.. Thank you very much!

Any time. Let us know if you run into any other questions or issues.

1am is prime time! Well.. sometimes haha.

Noel2997

Posted

On 8/20/2023 at 4:22 AM, Jbird said:
"Remove other NPCs? [true/false]": false,

I missed it completely... Thank you!

By the way, I don't know how to set up the CH47 NPC on the oil rig. Could you please explain it to me?

Another issue has come up... The L96 on the player's side is too powerful. Is there a way to disable damage beyond a certain set distance? I believe this feature is implemented in BetterBoss, but is it impossible with BetterNPC?

I'm sorry, one more thing: Does the Aim Cone Scale setting reduce aiming accuracy when set to a lower value? Snipers seem to have high accuracy. Does aiming accuracy decrease further when removing the scope?

CH47.json

Jbird

Posted

17 hours ago, Noel2997 said:

I missed it completely... Thank you!

Any time no problem.

17 hours ago, Noel2997 said:

By the way, I don't know how to set up the CH47 NPC on the oil rig. Could you please explain it to me?

CH47.json 15.39 kB · 0 downloads

There actually is not a modifier for the Chinook that comes. The Chinook file you referenced is for the Hackable Locked Crates dropped by a Chinook, the default Facepunch event. It will add guards to the Hackable Crates when they are dropped by Chinook.

17 hours ago, Noel2997 said:

Another issue has come up... The L96 on the player's side is too powerful. Is there a way to disable damage beyond a certain set distance? I believe this feature is implemented in BetterBoss, but is it impossible with BetterNPC?

BetterNpc would be difficult to implement this as far as performance, as every NPC on the map would need to be tracked with their distance from players constantly. This is much easier to do for more restricted situations or plugins. This is not an option for BetterNpc.

17 hours ago, Noel2997 said:

I'm sorry, one more thing: Does the Aim Cone Scale setting reduce aiming accuracy when set to a lower value? Snipers seem to have high accuracy. Does aiming accuracy decrease further when removing the scope?

No apologies necessary. Think of it this way, smaller cone in regards to their shots. So making a smaller cone will make it more accurate. A large cone will allow them to miss more.

TacTicToe

Posted

Has anyone got a working section for Ferry Terminal? 

Jbird

Posted

15 hours ago, TacTicToe said:

Has anyone got a working section for Ferry Terminal? 

Just something to keep in mind, this will be a Safe Zone at least when the ferry approaches and leaves. A custom file can be made for the location but I wanted to mention that, although it may be some time yet before it is in effect and it may be some time still after that where non official servers can use it.

Sid

Posted

GETTING THIS

Error while compiling NpcSpawn: ; expected | Line: 3, Pos: 12

Jbird

Posted

3 minutes ago, Sid said:

GETTING THIS

Error while compiling NpcSpawn: ; expected | Line: 3, Pos: 12

You can update the plugin now.

planeat

Posted

npc support shot homing-missile-launcher?

Jbird

Posted

3 hours ago, planeat said:

npc support shot homing-missile-launcher?

Not yet but it's being worked on.

  • Like 1
Yac Vaguer

Posted

How can we add NPC to the Ferry Terminal? 

Jbird

Posted

1 hour ago, yacvaguer said:

How can we add NPC to the Ferry Terminal? 

You can create a Custom set for this location.

When the terminal goes live it will only work on official servers until it is modded to work with other servers. But the ferry itself will be a safe zone so keep that in mind for the future.

  • Like 1
Infidel

Posted

Ever since the update BettterNpc has not been working and been getting this error message


Failed to call hook 'OnServerInitialized' on plugin 'BetterNpc v1.2.5' (ArgumentNullException: Value cannot be null.
Parameter name: input)
  at System.TimeSpan.Parse (System.String s) [0x00003] in <47fc8c70fa834cbf8141d7c1a7589125>:0 
  at Oxide.Plugins.BetterNpc.OnServerInitialized () [0x00051] in <6ceb34dfff314ae3b14d5771f0bba660>:0 
  at Oxide.Plugins.BetterNpc.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x002de] in <6ceb34dfff314ae3b14d5771f0bba660>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e3740cd7ab6f40909737d74eeeaf1a8a>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <032ab7611607468ebf42c14e3cf9df20>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <032ab7611607468ebf42c14e3cf9df20>:0

Jbird

Posted

13 hours ago, Infidel said:

Ever since the update BettterNpc has not been working and been getting this error message

Update to 1.2.6 a patch was released just after 1.2.5. Let us know if you still have any issues then.

BadLandPVE

Posted

hello , how can i fix this please??


Loaded plugin BetterNpc v1.2.6 by KpucTaJl Failed to call hook 'OnSupplyDropDropped' on plugin 'BetterNpc v1.2.6' (KeyNotFoundException: The given key 'AirDrop' was not present in the dictionary.) at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <2161c9885dd04ff291b79db9349c4b9b>:0 at Oxide.Plugins.BetterNpc.OnSupplyDropDropped (SupplyDrop supplyDrop, CargoPlane cargoPlane) [0x0002f] in <8177e8ccf9ea4174a079e75cb935717b>:0 at Oxide.Plugins.BetterNpc.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00304] in <8177e8ccf9ea4174a079e75cb935717b>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <e3740cd7ab6f40909737d74eeeaf1a8a>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <032ab7611607468ebf42c14e3cf9df20>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Objec

Jbird

Posted

14 hours ago, BadLandPVE said:

hello , how can i fix this please??

There are a couple ways but let me explain first why it happens. There are several plugins that use the hook when there is an air supply drop. This error is generally harmless in most instances but it is in regards multiple plugins using that hook at the same time. If you notice specific issues along with the error please let us know.

Otherwise one thing you could do is go into the events folder and disable this one.

TacTicToe

Posted

Got this error. Not sure if it an issue or not. 

 

[Error] Failed to call hook 'OnHelicopterDropCrate' on plugin 'BetterNpc v1.2.8' (KeyNotFoundException: The given key was not present in the dictionary.)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <fb001e01371b4adca20013e0ac763896>:0 
  at Oxide.Plugins.BetterNpc.OnHelicopterDropCrate (CH47HelicopterAIController ai) [0x00000] in <5db7908a796d4629b0a826c8161ef1ca>:0 
  at Oxide.Plugins.BetterNpc.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x007f6] in <5db7908a796d4629b0a826c8161ef1ca>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <8ac83a7b2d904890bbdd626a573e73fe>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b974d7a025404888bcdd55b51f29c440>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b974d7a025404888bcdd55b51f29c440>:0 

 

Jbird

Posted

3 minutes ago, TacTicToe said:

Got this error. Not sure if it an issue or not.

[Error] Failed to call hook 'OnHelicopterDropCrate' on plugin 'BetterNpc v1.2.8' (KeyNotFoundException: The given key was not present in the dictionary.)

Might be nothin but it could be an issue in some circumstances. These errors are usually due to more than one plugin using those hooks at the same time. BetterNpc will give this error to let you know. Most of the time it actually still runs the mini events with NPCs but some times it will not work or it will create NPCs in places you may or may not want. It could be as easy a fix as disabling the related event in BetterNpc, just depends on if there is an error in the plugins running properly and whether that is an issue or not for you.

If you want to dig deeper into it you can jump into the Mad Mapper Discord to create a ticket and share a list of plugins or discuss what plugins you think it would be interacting with the same hook and we could look for a fix.

weaksauce

Posted

The NPC's will 2 tap me. Generic Body shot about 50hp each. Is there a way to reduce their damage across the all NPCs? I've received complaints from players that they're too OP. Looking for some help to balance these guys to maybe around normal NPC difficulty. 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Like 9
  • Love 6

User Feedback

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.