[NK*] Matsumoto Netrunner MK2 Version 2.0
Original mesh and materials.
One sit animation.
Mod: Use 'select face' in the edit menu to change color.
Set: Unlink to adjust pieces to your liking.
Includes:
Net Chair (.5 LI)
Displays (.5 LI)
Wires (.5 LI)
Display Rods (.5 LI)
Amazing chair.
For those that have been using avsitter they were cool enough to leave the sit script modify so I went ahead and made it where I could keep saving the script while sitting changing the Target variable over and over to taste.
I'll put it here :)
vector Target = <0,.27,.25>;
vector Rot = <0,0,90>;
vector vsitoffs=<0,0,0.35>; //This seems to be the universal difference between llSitTarget and llSetLinkPrimParamsFast
default
{
on_rez(integer r){llResetScript();}
state_entry()
{
integer n=llGetNumberOfPrims();
key sit=llGetLinkKey(n);
vector sz=llGetAgentSize(sit);
if(sz.z>0)
{
list d=llGetLinkPrimitiveParams(n,[PRIM_POS_LOCAL]);
vector vp=llList2Vector(d,0);
llSetLinkPrimitiveParamsFast(n,[PRIM_POS_LOCAL,Target,PRIM_ROT_LOCAL,llEuler2Rot(Rot*DEG_TO_RAD)]);
}
llSitTarget(Target-vsitoffs, llEuler2Rot(Rot * DEG_TO_RAD));
}
run_time_permissions(integer r)
{
if(r&PERMISSION_TRIGGER_ANIMATION){llStartAnimation("NetSit");}
}
changed(integer c)
{
if(c&CHANGED_LINK)
{
key i = llAvatarOnSitTarget();
if(i) llRequestPermissions(i,PERMISSION_TRIGGER_ANIMATION);
}
}
}