noxworld-dev / opennox

OpenNox main repository.
GNU General Public License v3.0
451 stars 25 forks source link

Add a function to add a "player" into the game. #590

Open Ephreaym opened 1 year ago

Ephreaym commented 1 year ago

The idea is to add a "fake" player to the game so that it can be used as an owner for a bot. That way it'll show op on the scoreboard and show server population.

dennwc commented 1 year ago

We discussed a few options that we have here:

  1. Use regular player object type (NewPlayer), but drop networking.
  2. Research how the Player-NPC emulation functions work (engine has them already).
  3. Check if we can use PhantomPlayer for it.