Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Client side AI(SERIOUS TOPIC)
#10
Each client will handle the exact same AI, however the tricky thing is that when you login to the game. The whole AI needs to be filled with information. This data needs to be sent to the client from the server obviously - hence the server needs to get the data from another client right away OR: the server could store all the data which would be the best option. Just imagine if the AI is handled in the client and no client is connected, if a new client connect he will have no actual data to work with. Unless you reset all the data and all npcs/bosses would respawn right away. Good way to respawn monsters and this would happen if you don't store all the data. So obviously the server will need all the data. So, let's say 2 players are online. Both are on the same map. The strange thing in this scenario is that you would need a planned AI for the monsters if you don't want to process movement in the server. If you don't have planned movement for all NPCs your ai would still be server based because it will have to decide what way the npc walks and send that to both clients. Seriously, the more I think about making it client based. The more angry I get that it's not really possible in a good way. It's a terrible idea to have the AI in the client unless the clients communicate directly to eachother or something like that. Anyway, someone else will have to brainstorm now.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)