Jump to content

tempspawn issue

Pending 1.2.0

Merowech
Merowech

Posted

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

  • Administrator
Steenamaroo

Posted

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.

Merowech

Posted

ahhhhh i see. So only the "global" spawn location counts. Not the individual ones.

I will test that.

Merowech

Posted

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?

  • Administrator
Steenamaroo

Posted

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.

Merowech

Posted

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.

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.