Alexware
|
  |
| Joined: 07 May 2010 |
| Total Posts: 661 |
|
|
| 02 Jul 2017 02:41 PM |
| I'm making a massive zombie game with hundreds of pathfinding zombies (the pathfinding is based off of whether or not a player is in a certain region) Considering the size of the map ########################### that's just too much pathfinding so I divided it all up by 512 and now I have 1073 different regions I'm not very skilled with math unfortunately so I've come here for help. How can I find out what region a player is without having to enter the region3 of each and every 1073 different regions? |
|
|
| Report Abuse |
|
|
Alexware
|
  |
| Joined: 07 May 2010 |
| Total Posts: 661 |
|
|
| 02 Jul 2017 02:43 PM |
| The size of the map is two-hundred eighty-five million, four-hundred seventy-four thousand, eight-hundred sixteen studs squared |
|
|
| Report Abuse |
|
|
96mg
|
  |
| Joined: 15 May 2017 |
| Total Posts: 775 |
|
|
| 02 Jul 2017 02:47 PM |
dont, you will render everyones PC useless.
ˢºᵐᵉ ʳºᵇˡºˣ ᵈᵘᵈᵉ |
|
|
| Report Abuse |
|
|
Alexware
|
  |
| Joined: 07 May 2010 |
| Total Posts: 661 |
|
|
| 02 Jul 2017 02:51 PM |
No? I'm making it so if a player is in the region, the server checks the region and enables pathfinding and reactions to noises, sights, etc. basically disabling zombies when nobody is in the region said zombies are in, and enabling them when someone enters the region |
|
|
| Report Abuse |
|
|