ID:138014
 
Hi!

When I set world.view to some other value than the
default, all clients are updated. But if I want to
have a special "observer" character that can see
more than the other players, how can I change the
view range of a specific client?

I have put this question in "General" because I
believe it will become a feature request! :o)

Cheers,

Monteiro
On 5/16/01 8:10 pm Monteiro wrote:

I have put this question in "General" because I
believe it will become a feature request! :o)

You got it! It's on the List.

When I set world.view to some other value than the
default, all clients are updated. How can I change the
view range of a specific client?

The reason we went with the global world.view rather than a per-client view setting was to avoid the question of whether such procedures as view() should take their default values from the global setting or from the user's view settings.

For example, if one guy has a big view and the rest have small views, when a small-view guy says something (broadcasting it to all in view()), you would expect a big-view guy who can see the small-view guy (but who cannot be seen by the small-view guy) to be included in the list.

Also, NPCs pose a problem, because they would not have their own client object, so they would either not have their own view setting (for use by view() and others), or we would have to make that a mob variable rather than a client variable.

In general, the current view() system relys on symmetry between who can be seen by a mob and who can see that mob. Breaking that symmetry introduces some unfortunate complexities, but perhaps they will have to be faced.

The other option is to add client.view and just put up with some slight inconsistencies. If all you care about is being able to see more of the map, then this would be acceptable.

--Dan
In response to Dan
hey if you add that can you add this along with it? i need to make my tile screen like wide screen.. this means something like a 8x14 view... thnaks.

JOBEY!!!!!!!!
In response to jobe
On 5/17/01 7:22 am jobe wrote:
hey if you add that can you add this along with it? i need to make my tile screen like wide screen.. this means something like a 8x14 view... thnaks.

JOBEY!!!!!!!!

I think this stuff is very interesting, but hope it will be put on the 3.0 or 4.0 list...it will complicate the BYOND model, and I'd propose that anything that complicates the model come after all the other cool features that people want.