|
RaptonX Zorger
Registered User
Join date: 26 Jan 2006
Posts: 79
|
04-13-2006 22:26
Ok, my ave has a rather odd body shape, and when he types he reverts while doing so and it looks funny. I know that to correct this would be something to do with get agent info...but I am not exactly sure how to do this.
|
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
04-15-2006 03:44
not sure exactly how it's done, but "Mech Mind" has an interesting chat overrider, that replaces the normal keyboard typing motion and sound with it's own animation and sound... (there's a vendor in furnation skymall 1st or 2nd floor), so it's definitely possible.
after having used it though there is always a delay before it kicks in, where the normal animation/sound plays... you're only other option would be to type "/me: "before your chat... this will eleiminate both the animation and typing sounds.
/me is still wishing LL would add these as a customization.
|
|
Patch Lamington
Blumfield SLuburban
Join date: 2 Nov 2005
Posts: 188
|
04-15-2006 04:48
The typing sound cannot be replaced, but custom sounds can be played as well...
A good startpoint for scripting these is to look at Max Case's Symple Keyboard Script (in Wiki library) and add start and stop animations calls to it...
_____________________
Blumfield - a regular everyday kind of 'burb in an irregular world. This notice brought to you by the Blumfield Visitors and Residents Bureau.
|
|
Kokoro Fasching
Pixie Dust and Sugar
Join date: 23 Dec 2005
Posts: 949
|
04-15-2006 07:08
From: RaptonX Zorger Ok, my ave has a rather odd body shape, and when he types he reverts while doing so and it looks funny. I know that to correct this would be something to do with get agent info...but I am not exactly sure how to do this. You can also start every line with /0 - that way it will show in open chat, but there will not be the typing animation and sound.
|
|
SteveR Whiplash
teh Monkeh
Join date: 24 Sep 2004
Posts: 173
|
04-15-2006 08:32
What you need is an AO that simply stops the typing anim. Normally you'd use llGetAgentInfo to see when the typing anim is being played and then replace it with whatever typing anim you wanted. However, since it seems you just want to stop the typing anim entirely, I wouldn't bother with llGetAgentInfo at all. Just run a loop constantly stopping the typing anim. No need to hit the sim for info that you don't really need. Note: You're still going see the default typing anim for a moment before this kicks in. And don't bother trying to set the timer any faster, the timer can only fire something like 8 times a second anyway, so it's already lower than that at 0.1 seconds. default { attach(key id){ if (id != NULL_KEY){ //attached so get perms llRequestPermissions(id, PERMISSION_TRIGGER_ANIMATION); } } run_time_permissions(integer perm){ if (perm & PERMISSION_TRIGGER_ANIMATION){ //have perms so start timer llSetTimerEvent(0.1); } } timer(){ llStopAnimation("type"); //stop typing } }
|
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
04-15-2006 11:43
Great, another 10 times a second timer script running all the time. 
|