 |
 |
 |
 |
| Author |
Message |
ncrsn
Joined: 10 Feb 2006 Posts: 165
|
Posted: Sun Apr 27, 2008 4:56 pm Post subject: Multis and object info packet (0x1A) |
|
|
When client gets close to an object (default distance is 18 or less tiles), server sends object info packet to inform of the object ahead. The distance is calculated using the objects' x and y members.
Problem is, when it comes to multis, the distance is calculated the very same way. If multi is physically large (think of a castle for an example), it might appear just in front of the player. Or even worse, player might not even get to see with what he/she collided with!
The feature request is: in case of multi, could behaviour of object info packet sending be changed so that the distance is calculated using the multi's footprint instead of the coordinates it is built? So if player is 18 tiles from the closest wall of the house, server would send the object info packet to him/her.
--
I created a test command to send the object info when my character was 20 tiles from the multi's center, under 18 tiles from its closest point, and the multi correctly appeared into minimap. When I walked few tiles away from it, the building disappeared from map. So, (v5) client already seems to work that way and shouldn't cause any problems if this feature is added. |
|
 |
|
|
 |
 |
|
|