Jump to content

tempspawn issue

Pending 1.2.0

botrespawn tempspawn "Profilname"

 

Dont work as it should. Bots spawns. Yes. But not on the correct spawnlocations.

Spawnlocations are underground (Sewer Branch). Works perfect on Autospawn. But not with tempspawn. They spawn above their locations outside.!

Share this comment


Link to comment

Hi,
The tempspawn command doesn't use your custom spawnpoints - It just spawns npcs at randomly found points around the profile's location.

Setting Off_Terrain to true for the profile may let it find random points underground rather than on the surface, although I'd have to test to be sure.

Share this comment


Link to comment

With Off_Terrain on he can't find Spawnpoints
 

(13:46:37) | [BotReSpawn] Failed to get enough spawnpoints for profile Tunnelratten.

(13:46:37) | [BotReSpawn] Spawned temporary command receieved for profile Tunnelratten.

 

Isnt it possible to use the already existing and working Spawnpoints with tempspawn?

Share this comment


Link to comment

I'm afraid not, no. The custom spawn points are reserved for the maintained population of the profile,
although I may be able to make Off_Terrain work for finding random points in underground areas.
I'll take a look at that.

As a bit of a work around you could have a second profile with custom spawnpoints down there and very long respawn time.
Instead of using tempspawn, you could reload (or enable/disable) that profile when you want additional npcs down there.

Reload profile would have to be done via UI, but enable/disable can be done as a command.

Share this comment


Link to comment

Yes i already try workaround with enable/disable command.

The thing is my server is heavy modded and i try to save performance.

The idea is to set a Zone around a monument or area, define a CustomChatCommand (using your botrespawn enable/disable) with a cooldown. If a player walks into that zone (OnEnter) the CustomCommand triggers (depends on the global cooldown) and loads the BotProfil. And when he leaves the zone (OnExit) the Botprofil will be disbled.

Thats a workaround.

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82k

Files Sold

Total number of files sold.

1.6m

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.