Jump to content

Victorian Houses are always touch sensitive?


Pussycat Catnap
 Share

You are about to reply to a thread that has been inactive for 1592 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Double click TP only responds if the object you click on doesn't have some other action set, and isn't set to 'none'.

So basically objects set to 'touch' but where the root prim is NOT set to touch...

I need to examine how they did that on the old homes... because normally the mailbox / preserver / sign IS the root prim...

 

Edited by Pussycat Catnap
Link to comment
Share on other sites

  • Moles

When we first released the Traditional homes and Houseboats, we had touch scripts in all the links that would receive touches to trigger things -- doors, blinds and windows.   

That's why you could touch the floors to double-click tp  around -- there was no script in them.  

However, as the houses grew more and more complex, it became clear this meant each house would require an unsustainable number of scripts in the child links, so we completely rescripted the system to control all the windows, doors, blinds, and all the tinting and texturing, from a few scripts in the root prim (we had to use several scripts in the root because of script memory limitations).   

However, this does, of course, mean that one of the scripts in the root prim has to detect touches from every link in the linkset in order to determine which face of which link was touched (and by whom) in order to decide what, if any,  response is needed.

That's what's happened, and I am sure it was the right design choice, since it greatly decreases unnecessary demands on the simulator.

On a related point, the housecontroller (mailbox/preserver/sign) isn't the root prim.   It's not part of the house at all.   Its main function is to communicate with the house, the owner of the parcel, and several remote servers and relays.   

The actual root prim is positioned several metres up in the air above the housecontroller -- it could be anywhere so long as it's not on the parcel, but positioning it like that makes positioning the house easier when it arrives from the remote rezzer.

  • Like 5
  • Thanks 9
Link to comment
Share on other sites

5 hours ago, Quartz Mole said:

However, as the houses grew more and more complex, it became clear this meant each house would require an unsustainable number of scripts in the child links, so we completely rescripted the system to control all the windows, doors, blinds, and all the tinting and texturing, from a few scripts in the root prim (we had to use several scripts in the root because of script memory limitations).   

However, this does, of course, mean that one of the scripts in the root prim has to detect touches from every link in the linkset in order to determine which face of which link was touched (and by whom) in order to decide what, if any,  response is needed.

Thanks. And makes sense. Fewer scripts, less lag, better experience. 👍

  • Like 2
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 1592 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...