Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2018-12-10 02:12:55



Reply to topic  [ 2 posts ] 
colours for the avatar names in chat (colors) 
Author Message

Joined: 2016-11-19 17:34:41
Posts: 10
Reply with quote
Hello,

I love your work. My only viewer for 5, 6 years now ? the only one I recommend around in SL.

I often rp in chat a little fast, with 3, 4, 5 different people, and sometimes it is difficult to understand quick who's talking. It's worse when the name lengths are approximately the same. since people are not polite enough to speak always in the same exact turns (^^)
I think what would make it easier is if the names of the avatars (names only , not text) could be automatically optionally colored with a random color


avatar criona : hey how are you ?
avatar bellide : I'm doing fine, you ?
avatar whyni : I like icecream
avatar criona : I prefer sorbets
avatar bellide : lollipops are good
avatar bellide : what about going to the swimming pool
avatar whyni : it's 4am
avatar whyni : I like popsicles
avatar criona : is the swimming pool heated ?
avatar whyni : I don't know
avatar criona : let's ave some ice
avatar bellide : oh yes


avatar criona : hey how are you ?
avatar bellide : I'm doing fine, you ?
avatar whyni : I like icecream
avatar criona : I prefer sorbets
avatar bellide : lollipops are good
avatar bellide : what about going to the swimming pool
avatar whyni : it's 4am
avatar whyni : I like popsicles
avatar criona : is the swimming pool heated ?
avatar whyni : I don't know
avatar criona : let's ave some ice
avatar bellide : oh yes

icecream anyone ?
easier to read ? Maybe the option exists already , but haven't found it, and haven't found the feature request either.

let me know what you think. it would be on option, and viewer chooses the colors. no need for a lot of different colours. as many as avatars rendered, or twice that would be the max. there won"t be more than 20 around talking in chat range ^^

thank you for reading!


2017-06-03 01:50:13
Profile

Joined: 2009-03-17 18:42:51
Posts: 3876
Reply with quote
I won't implement such a feature (too specific, and useless added bloat for 99% of the users, me included).

However, I implemented Lua scripting precisely to cover such needs, and I will add in next release a Lua callback for chat text coloring (not the names, sorry: those are made into SLURL links and are colored as such). Basically, all you will need is scripting something akin to this (here to color Friend's chat text in pink: another kind of feature I won't implement otherwise):
Code:
function OnChatTextColoring(id, name, text)
    if IsAgentFriend(id) then
        return "pink2"
    end
    return ""
end

Of course, you will have to maintain a Lua table (with id/color couples) to achieve what you want, but it's very easy to script.


2017-06-03 17:29:25
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.