Jump to content

Other NPCs

Pending 1.2.7

CTStudios

Sorry Steenamaroo <3, Ive seen you say it before, but im still going to voice my opinion: It would be very, very helpful to have this remove other NPCs in the zone that BotRespawns is active. 

Im afraid without this feature it seems like switching to Better NPCs is the only solution. 

Have you come across anything that works with botrespawn and will remove other NPCS?
Have you heard if Better NPCs will work with botrespawn?

To put it clearly, we really need to be able to run ai.think false on our server.
Your NPCs arent effected by this, AND I LOVE IT!
IT WORKS PERFECT... except that the other NPCS are still standing around.
Yes, yours can just kill them. 
Yes, in some places I like that, a lot.
But in others I really need the defaults gone as its just breaking it for my players, tunnels and artic research mostly. 

Thanks for any ideas or direction you may have! 

Link to comment
  • Administrator

Hi,
It's not something I want to add to BotReSpawn.
I've spent more time than I care to count troubleshooting issues with customers only to find the problem was some scummy plugin just auto-destroying all npcs in an X radius of their thing,
so that's not something I want to inflict on others, even if it is behind a true/false user option.

However, there are other approaches.
The most obvious one I can think of is just letting BotReSpawn npcs kill these guys?
You should be able to set that up on a per-profile basis using the Target_Other_Npcs option, and setting it to Attack.

 

If, for some reason, that's no good I have two other options.
I have written a feature in to NPCLoot (for customising vanilla npcs) that lets you turn them off, by location, but it isn't public yet.
Now it doesn't catch every location kind, for reasons, but it does get a lot of them.
It's still in testing stage but you'd be welcome to test that out and see if it's got you covered.

 

Another option is I could add API to BotReSpawn to return all enabled profile locations as a list,
then write a small plugin, using that, to just kill any spawning npcs which aren't BotReSpawn and are within X distance of any of those locations.
It'd be like 10 lines. I don't mind doing that, if you want.
Essentially what you're asking me to do except not in BotReSpawn plugin itself.

 

Going back a step, is there a reason you need ai.think false?
Maybe there's another approach there?

Edited by Steenamaroo
Link to comment

those are awesome ideas!

the ai.think false just radically increases the server performace. We are talking 14 fps to 90 fps difference, sometimes even well over 100 fps.
We could definetly do some things to prevent using that. (shrink the map, get rid of 200k trees 😛) But we are really trying to exhaust all options to make this map work.

Boy. I would really love to expore that "another option" That sounds wonderful!

I would absolutely test anything for you any time as well. 
However we dont own NPCLoot at this time, next plugin buy session is scheduled for first week on August so, we could get it!

Thank you so much Steenamaroo
Reached out to you on discord for your conviencence, but where ever is best for you works for me.

 

Edited by CTStudios
Link to comment
  • Administrator

No worries. Glad to help, if I can.

Trees wont have an effect on ai.think, performance difference, as far as I know.
Most likely the main contributor is going to be animals.
If that proves to be the case you could reduce animal numbers by convars?
If that's no use maybe there's a reasonably simple way for a plugin to disable animal AI as they spawn, whilst leaving npc ai intact? Thinking out loud here.

NPCLoot is free although, as I say, the option I'm talking about isn't in the public version but I can send it over to you to see if it's any use.

Discord's good. Thanks for that. 👍

Edited by Steenamaroo
  • Love 1
Link to comment

Can be close ❤️
Steenamaroo was able to come up with a better solution for us that I am sure you will all be seeing shortly!

Edited by CTStudios
Link to comment
1.3m

Downloads

Total number of downloads.

6.4k

Customers

Total customers served.

94.7k

Files Sold

Total number of files sold.

1.9m

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.