ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
Forced Avatar Choice (Sdk)
Forced Avatar Choice // SdkmaksatpaDec 9, 1998, 10:50pm
Does anybody know of any way in which an action such as "click here" could
force a person to adopt a particular avatar? We are working on Alice in Wonderland and want people to be able to shrink and grow big again. It would be so much nicer if it could be associated with the click to "drink me" or "eat me". maksatpa wonderland joshDec 10, 1998, 1:43am
Is currently not possible even with aa bot...
[View Quote] > Does anybody know of any way in which an action such as "click here" could > force a person to adopt a particular avatar? > > We are working on Alice in Wonderland and want people to be able to shrink > and grow big again. It would be so much nicer if it could be associated > with the click to "drink me" or "eat me". > > maksatpa > wonderland roland vilettDec 10, 1998, 1:51am
This is not currently possible. It would require at least two additions to
the AW architecture: 1. The concept of a "click event" that is posted to the server when a user clicks on an object, and then in turn relayed to other client(s) that might be interested to know that an object was just clicked on. While not available yet, this feature is clearly of significant utility and will be included in a future version of the SDK and world servers, probably in the next version after 2.1. 2. The ability of an SDK app to remotely change your avatar for you. It's not immediately clear whether this is a good or idea or not. Obviously controls would have to be in place to regulate who can change whose avatar for them. This may or may not be added at some future point. It occurs to me that the concept of "click here to change your avatar" might better be implemented entirely locally in the client using the "action" command syntax, like with an "avatar" command. Something like "activate avatar 3" to change your avatar to the third avatar on this list...interesting idea, I will consider that. -Roland [View Quote] jeanphiDec 10, 1998, 9:43am
Roland:
There should be also an interesting things is that the avatars file should be donwnloaded as the same the scene is, by this I mean that when it is the first time you enter a world, you think you have cached everything, but when you change your avatar, you have to wait again for the new one to load. Why this remark ? Because I am programming a game on Active Worlds, you guys will have the beta test soon :) It is supposed to be an adventure game, but suppose your character game picks up an object, or a specific clothe, you won't see the difference on the avatar, that's a big problem. Second remark: when you make an activate command that make an object "visible off" , you see the object disapearing, but the other people don't see the even, you should update the code also in the new version as a option in the world setting, that's my suggestion :) jeanphi roland vilettDec 10, 1998, 6:47pm
>Second remark: when you make an activate command that make an object
>"visible off" , you see the object disapearing, but the other people don't >see the even, you should update the code also in the new version as a option >in the world setting, that's my suggestion :) This is far more complex than you may realize. Propagating the "visible off" state to all other clients nearby requires substantial modifications to both the browser and the server. This is exactly the sort of problem that is better solved using the SDK. Instead of using the "visible off" action, you use an SDK application that is monitoring the scene. When something occurs that should make an object disappear to everyone, the SDK app simply deletes the object. Then everyone sees it vanish immediately. The SDK app can always add it back again later. However, since there is currently no click event in the SDK (see recent posts on the topic) it's not currently possible to emulate a global "activate visible off" action via the SDK. But other events, such as an avatar's proximity to an object, could cause that object to disappear/reappear using the current SDK. -Roland |