Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-03-28 17:02:19



Reply to topic  [ 6 posts ] 
View Friends Only (from firestorm) 
Author Message

Joined: 2020-02-03 16:26:04
Posts: 6
Reply with quote
Hello!

Just recently moved from firestorm to Cool Viewer and very happy. As well as two of my online friends that have been given a new (second) life with their weaker computers.

One feature request on the part of one of my friends (avid cross sim-shopper ) would be "Show Only Friends" where all other avatars in view are de-rendered and only friends are visible.

Thank you Henri

Zee


2020-02-04 14:52:13
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
I will not implement this in the code: too specific, and would (slightly) slow down things at rendering time, i.e. it would only add code bloat for a feature almost nobody would use.

But you may perfectly implement it yourself with a few lines of Lua, thanks to the Cool VL Viewer Lua scripting feature (I implemented Lua scripting in the Cool VL Viewer exactly for this kind of purpose). Look for the IsAgentFriend() and DerenderObject() functions as well as the OnAvatarRezzing() callback...


2020-02-04 16:13:04
Profile WWW

Joined: 2020-02-03 16:26:04
Posts: 6
Reply with quote
Hi Henri, thanks for the reply. I will definitely look into this though i have no knowledge of the Lua language or how it is used. i imagine an if statement is involved and perhaps a while statement. Keep you posted.

:)


2020-02-04 16:27:38
Profile

Joined: 2020-02-03 16:26:04
Posts: 6
Reply with quote
Something like this?

function OnlyRenderFriends (id, name, text)

OnAvatarRezzing(id)
if (IsAgentFriend(id)) then
DerenderObject (id, false)
else
DerenderObject (id, true)
end
end


2020-02-04 16:45:14
Profile

Joined: 2020-02-03 16:26:04
Posts: 6
Reply with quote
Upon further examination, the task is too daunting. I will advise my friend to use her firestorm when shopping.


2020-02-04 17:00:02
Profile

Joined: 2016-06-19 21:33:37
Posts: 337
Location: Columbus area, OH, USA
Reply with quote
I have created a post here, which may be useful.


2020-02-07 20:56:48
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 26 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.