Jump to content

BotReSpawn 1.2.9

$40.00
   (39 reviews)

10 Screenshots

  • 333.8k
  • 10.9k
  • 320.89 kB

Recommended Comments



Is there no console/RCON command that I can run to spawn a profile on demand? I have an event that I only want the bots to spawn at while the event is running. Looking for a way to set a profile to spawn it's bots via a command and then have them die off after X amount of time. 

I tried the listed command botrespawn enable profilename but nothing happens when that command is run. 

Link to comment
Share on other sites
  • Administrator

Hi,
Does your profile name have spaces in it? If so you'd need to do botrespawn enable "profile name"

There's also API to allow you to spawn a temporary profile which will eventually die off according to suicide timer,
the same way npcs spawned for events do (airdrop, hackedcrate, etc), although you'd need someone would could write that into a plugin.

If there's a need I can add console commands to do the latter. Let me know. 👍

  • Like 1
Link to comment
Share on other sites
  • Administrator
On 10/11/2022 at 4:27 AM, Jeff.Thibault1 said:

Nevermind, i found why.

I had Peace_Keeper set to true for every other bots.

Hey,
With Peace_Keeper true/false they should either 100% ignore you, or properly attack you,
but they should never run at you and not attack, unless you're out of reach...standing on top of something like a foundation or vehicle.

I'd need to check but it's possible one of those weapons is no good - I have a feeling there was something about the sickle not working?
I'll check next time my server is up but you might want to try with just the knife or sword and see if the behaviour becomes predictable.

Edited by Steenamaroo
  • Like 2
Link to comment
Share on other sites
10 hours ago, Steenamaroo said:

Hi,
Does your profile name have spaces in it? If so you'd need to do botrespawn enable "profile name"

There's also API to allow you to spawn a temporary profile which will eventually die off according to suicide timer,
the same way npcs spawned for events do (airdrop, hackedcrate, etc), although you'd need someone would could write that into a plugin.

If there's a need I can add console commands to do the latter. Let me know. 👍

Thanks for the response. My profile does not have a space, but i think the reason why nothing happened was because the profile was not set to true for autospawn. Once autospawn the command works. But i guess it's not really what i'm looking for.  I want a profile to be able to be left false for autospawn, but i can have it spawn via a command, and then once they die off they don't respawn until the command is run again (because autospawn will still be set to false).  Sorta like how the toplayer command works, only with pre-set custom spawn points. 


If that's possible via a command that would be awesome!

Thanks for considering 🙂 

Edited by Zoreeno
Link to comment
Share on other sites
  • Administrator

Hey,
Thanks for the info. That doesn't sound right...If that's what happened I'll have to get in game and make sure I haven't made a mistake or something.
Using console command botrespawn enable profilename or botrespawn disable profilename
should do exactly the same thing as manually toggling autospawn then clicking reload,
meaning it should set autospawn true and spawn the npcs, or set it false and kill them.

No matter - I can do what you're asking for, where profiles are left AutoSpawn false, but you can have them spawn on command, and not respawn, as you say, like toplayer.

Added to to-do list. 👍

  • Love 1
Link to comment
Share on other sites
1 hour ago, Steenamaroo said:

Using console command botrespawn enable profilename or botrespawn disable profilename
should do exactly the same thing as manually toggling autospawn then clicking reload,
meaning it should set autospawn true and spawn the npcs, or set it false and kill them.

Yeah it's definitely not working. I tried with multiple profiles and it doesn't do anything if the profile's autospawn is set to false. If i enable autospawn manually and then run the disable command, it will kill the bots, but they just spawn back up immediately. It almost seems like it's doing the reload part, but not the enabling/disabling autospawn part if that makes sense.

Honestly if you just correct the enable/disable commands to perform as you described it would probably be enough for what i'm wanting to do. 

EDIT:

Had a thought just after posting this. The command actually works for the default profiles, just not the custom profiles. 

Edited by Zoreeno
Link to comment
Share on other sites
  • Administrator

@Zoreeno

Added to V1.1.3 update notes

  • Fixed enable/disable command not working with custom profiles.
  • Added botrespawn tempspawn "Profile Name" console command.
  • Modified bots.count command to indicate temporary, or part temporary, spawn amounts.

Thanks for that!

  • Love 2
Link to comment
Share on other sites
6 hours ago, Steenamaroo said:

Added to V1.1.3 update notes

  • Fixed enable/disable command not working with custom profiles.
  • Added botrespawn tempspawn "Profile Name" console command.
  • Modified bots.count command to indicate temporary, or part temporary, spawn amounts.

That's awesome. Out of curiosity, how will the botrespawn tempspawn command work? Will that allow the suicide timer to work like the hacked crate timers work? So that the NPCs blow up after a set amount of time? 

Link to comment
Share on other sites

[BotReSpawn] FAILED TO GET ENOUGH SPAWN POINTS FOR PROFILE launchsite2.

any idea? this is happening since last update

 

Link to comment
Share on other sites
  • Administrator

Hi,
BotReSpawn needs navmesh for the npcs to walk around on.
This message means BotReSpawn has failed to find random points for that profile.

There's a few scenarios where that can happen.

That could be because the profile is in the wrong place by mistake, or after a map change,
Solution - Use UI to Show All Profiles and check the location of this one is where you expect it to be.
Stand in the correct place and click the Move Profile Here button if it isn't.


It could be that the profile is in the right place but the spawn radius is set quite small
and/or there's a structure or something in the way.
This often happens with Dome and SuperMarkets.
Solution - Increase profile radius, so there's more open ground available.


If you had UseCustomSpawns true and have added custom spawn points manually then
I guess you weren't expecting BotReSpawn to look for random points at all.

That probably means some of your custom placed spawnpoints are no good,
in which case BotReSpawn attempts to fill up the rest of the population with random spawnpoints in the area.


Solution - Both of the above, plus use BotReSpawn UI to Edit + View spawnpoints for that profile.
The spawnpoints will show up in-game as large numbers.

Remove, or replace, any which show red (no navmesh) in game.

Edited by Steenamaroo
  • Like 1
Link to comment
Share on other sites

Hi!

Can't it be solved that when the NPCs chase you and you enter the base, they start shooting the base with rockets?
I saw this solution in the Better npc plugin 🙂

Link to comment
Share on other sites
  • Administrator

Hi,
I never really had plans to make them raiding npcs, to be honest, although if you give them c4 or grenades they will start throwing those when a player breaks line of sight. That would include running inside a base.

  • Like 1
Link to comment
Share on other sites
  • Moderator

The AI for NPC does not include the logic for raiding, that is a massive amount of code (as seen in other plugins). It does seem out of scope for BotReSpawn in its current form.

Link to comment
Share on other sites

There are other plugins (reliable or not) that would encompass that . I would prefer BotRespawn as it is as it is working (for me) with no problems at all.

  • Like 1
Link to comment
Share on other sites

After uploading last update, I have some problems with wipe loot settings

3MQN8td

Every time I kill npc all clothes and weapon from kit are inside corpse. 

 

Link to comment
Share on other sites

Version 1.1.4- Keep_Default_Loadout is set to false for all profiles. Was this planned as part of the Halloween update? 

Link to comment
Share on other sites
  • Administrator

Hi,
The setting itself hasn't changed but the location of the check has, due to the addition of the Frankenstein clothing options.

It used to be this setting was only checked if you had a kit specified whereas now it's checked regardless,
because to give frankenstein clothing you'd need Keep_Default_Loadout false (to get rid of the hazmat suit).

I've just realised this allows people to create profiles with no weapons so I'll have to juggle that a bit.

For now, you'd need to set Keep_Default_Loadout : true for any profiles which aren't being given a kit.
Thanks for flagging this! @Psyonide



 

  • Like 1
Link to comment
Share on other sites

The bots had no weapons or kits of any kind. No Frankenstein clothing on them either, just nakeds running away as you got close. I noticed the new Frankenstein clothing options also being disabled, set to none, was what got me curious.

  • Like 1
Link to comment
Share on other sites

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 12
  • Sad 5
  • Haha 1
  • Love 25

User Feedback

1.3m

Downloads

Total number of downloads.

6.5k

Customers

Total customers served.

95.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.