theTrav wrote:Nice pic Sidran, I get it, if the world were stored as a big grid and objects existed in that grid it would work.
Unfortunately I do not believe that to be the case (this is an assumption I make based on the data the client gets)
Only the ground is a grid, everything else in the world is just an object with a position.
I doubt there is a trivial way of saying "get me all the objects within this set of tiles". It could probably be done, but I imagine it would come with a hefty computational cost, especially if it's done frequently.
Another issue that just occurred to me now, is that if you have someone opening and closing the gate frequently to an enclosure with lots of stuff in it, there would be a large amount of data that had to be sent to the client, I can see some odd popup effects happening in that case as objects are sent individually, not in single bundles.
Thanks. I fully agree that it depends on actual implementation. Its up to Loftar to say if its feasible or not.
theTrav wrote:Actually, Loftar is really the one to say whether it's computationally expensive or not...
Thats beyond agreeing. Loftar is tech papa of H&H. Knowing that he previously replied to this thread without fully understanding what I meant, it would be interesting to see some feedback at this stage.
theTrav wrote:Separate from technical considerations, do we really WANT to hide what's behind walls? I kind of like looking into other peoples gardens/towns etc, also seeing what is outside my little fort
No. Permanent hiding would be gameplay choke bit time. Thats why I proposed watchtowers which would allow disabling of hidden areas for those players inside them. They should be easy to construct and even easier to destroy. But do need some effort. Player exiting his/her palisade could first check in watchtower if there is anyone outside, or risk being ambushed in front of gate. Many other interesting situations come to mind: Village is expecting raiders. Villagers visit watchtower in shifts in order to see approaching enemies and prepare themselves (or maybe surprise attackers in a way). Attackers, depending on their power and intentions, would need to build another watchtower nearby to see what is happening inside. Archery would naturally be blocked and useless without watchtowers (around enclosed walls)....