Difference between revisions of "User:Anylyn Hax"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 41: Line 41:




=== Dedicated to the Pirates===
=== [[User:Anylyn_Hax#llSetPrimitiveParams|Dedicated to the Pirates]]===
 
#llSetPrimitiveParams


<pre>
<pre>
// This ugly hack gives out a peace of Human Readable Code, as demanded
// This ugly hack gives out a peace of Human Readable Code, as demanded
// by llSetprimitiveParams. The result of this program comes via llOwnerSay
// by llSetPrimitiveParams. The result of this program comes via llOwnerSay
// on the chat channel, Its a good ideea to cut your name and date out ;)
// on the chat channel, Its a good ideea to cut your name and date out ;)
// created by Anylyn Hax in the hot summer of 2007
// created by Anylyn Hax in the hot summer of 2007

Revision as of 15:08, 8 August 2007

Anylyn Hax, 500 L$ / 30 min


woaw, cool I have my own page!!!

Hi My name is Anylyn, you can call me Any, and I am born on 2/1/2007, and studied Undressing and Escorting in Jungreung. My brain is 19 years old. My gender: FEMALE. IM me if you are older the 18 years and your wife knows about it;)

Walk my way

For those avatars who need to use another walking animation, other then the one supplied by LL here is a small goodie.

// I like to use Antoinette Lioncourt's sexywalk
// UUID:51e4d6c1-0bf0-f7b9-2cc7-8d7b46baf35b
// place this script in one of your shoes together with the sexywalk
default
{
    state_entry()
    {
        llRequestPermissions(llGetOwner(),PERMISSION_TRIGGER_ANIMATION );
    }

    run_time_permissions(integer perm)
    {
        if(PERMISSION_TRIGGER_ANIMATION & perm)
        {
            llSetTimerEvent(.1);
        }
    }
    timer()
    {
        vector vel = llGetVel();
            if( llFabs(vel.x) > 0.1)llStartAnimation("sexywalk");
            if( llFabs(vel.x)<= 0.1)llStopAnimation("sexywalk");
    }   
}

Anylyn Hax 21:43, 1 June 2007 (PDT)


Dedicated to the Pirates

  1. llSetPrimitiveParams
// This ugly hack gives out a peace of Human Readable Code, as demanded
// by llSetPrimitiveParams. The result of this program comes via llOwnerSay
// on the chat channel, Its a good ideea to cut your name and date out ;)
// created by Anylyn Hax in the hot summer of 2007
// 
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// 
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
// 
// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

list booleans = ([
"FALSE",					// 0
"TRUE"						// 1
]);

list holeshape = ([
"PRIM_HOLE_DEFAULT", 		//   0  default (matches the prim type: square for box, circle for cylinder, etc.)
"","","","","","","","","","","","","","","",
"PRIM_HOLE_CIRCLE", 		//   16  circle
"","","","","","","","","","","","","","","",
"PRIM_HOLE_SQUARE", 		//   32  square
"","","","","","","","","","","","","","","", 
"PRIM_HOLE_TRIANGLE" 		//   48  triangle
]);

list sculpttype = ([
"PRIM_SCULPT_TYPE_SPHERE", 	//   1  sphere (Converge top & bottom, stitch left side to right)  
"PRIM_SCULPT_TYPE_TORUS", 	//   2  torus (Stitch top to bottom, stitch left side to right)  
"PRIM_SCULPT_TYPE_PLANE", 	//   3  plane (No stitching or converging)  
"PRIM_SCULPT_TYPE_CYLINDER" //   4  cylinder (Stitch left side to right, leave top and bottom open) 
]);

list bumpmapping = ([
"PRIM_BUMP_NONE", 			//   0  none: no bump map  
"PRIM_BUMP_BRIGHT", 		//   1  brightness: generate bump map from highlights  
"PRIM_BUMP_DARK", 			//   2  darkness: generate bump map from lowlights  
"PRIM_BUMP_WOOD", 			//   3  woodgrain  
"PRIM_BUMP_BARK", 			//   4  bark  
"PRIM_BUMP_BRICKS", 		//   5  bricks  
"PRIM_BUMP_CHECKER", 		//   6  checker  
"PRIM_BUMP_CONCRETE", 		//   7  concrete  
"PRIM_BUMP_TILE", 			//   8  crustytile  
"PRIM_BUMP_STONE", 			//   9  cutstone: blocks  
"PRIM_BUMP_DISKS", 			//   10  discs: packed circles  
"PRIM_BUMP_GRAVEL", 		//   11  gravel  
"PRIM_BUMP_SIDING", 		//   13  siding  
"PRIM_BUMP_LARGETILE", 		//   14  stonetile  
"PRIM_BUMP_STUCCO", 		//   15  stucco  
"PRIM_BUMP_SUCTION", 		//   16  suction: rings  
"PRIM_BUMP_WEAVE" 			//   17  weave  
]);

list shiny = ([
"PRIM_SHINY_NONE", 			//   0  none  
"PRIM_SHINY_LOW", 			//   1  low  
"PRIM_SHINY_MEDIUM", 		//   2  medium 
"PRIM_SHINY_HIGH" 			//   3  high  
]);

list material =([
"PRIM_MATERIAL_STONE", 		//  0  stone  
"PRIM_MATERIAL_METAL", 		//  1  metal  
"PRIM_MATERIAL_GLASS", 		//  2  glass  
"PRIM_MATERIAL_WOOD", 		//  3  wood  
"PRIM_MATERIAL_FLESH", 		//  4  flesh  
"PRIM_MATERIAL_PLASTIC",	//  5  plastic  
"PRIM_MATERIAL_RUBBER", 	//  6  rubber  
"PRIM_MATERIAL_LIGHT" 		//  7  light 
]);


default
{
	state_entry()
	{
		list ce_prim_bump_shiny = 	llGetPrimitiveParams([PRIM_BUMP_SHINY]);		// 19
		list ce_prim_color = 		llGetPrimitiveParams([PRIM_COLOR]);				// 18
		list ce_prim_flexible = 	llGetPrimitiveParams([PRIM_FLEXIBLE]);			// 21
		list ce_prim_fullbright = 	llGetPrimitiveParams([PRIM_FULLBRIGHT]);		// 20
		list ce_prim_material = 	llGetPrimitiveParams([PRIM_MATERIAL]);			// 2
		list ce_prim_phantom = 		llGetPrimitiveParams([PRIM_PHANTOM]);			// 5
		list ce_prim_physiks = 		llGetPrimitiveParams([PRIM_PHYSICS]);			// 3
		list ce_prim_point_light = 	llGetPrimitiveParams([PRIM_POINT_LIGHT]);		// 23
		list ce_prim_position = 	llGetPrimitiveParams([PRIM_POSITION]);			// 6
		list ce_prim_rotation = 	llGetPrimitiveParams([PRIM_ROTATION]);			// 8
		list ce_prim_size = 		llGetPrimitiveParams([PRIM_SIZE]);				// 7
		list ce_prim_temp_on_rez = 	llGetPrimitiveParams([PRIM_TEMP_ON_REZ]);		// 4
		list ce_prim_type = 		llGetPrimitiveParams([PRIM_TYPE]);				// 9	
		list ce_prim_texgen = 		llGetPrimitiveParams([PRIM_TEXGEN ]);			// 22	
		list ce_prim_texture = 		llGetPrimitiveParams([PRIM_TEXTURE]);			// 17
		
		llOwnerSay("llSetPrimitiveParams([");
				
		llOwnerSay("PRIM_BUMP_SHINY"+
			", "+(string)llList2Integer(ce_prim_bump_shiny,1)+ 										// face
			", "+(string)llList2String(shiny,llList2Integer(ce_prim_bump_shiny,2))+					// shiny
			", "+(string)llList2String(bumpmapping ,llList2Integer(ce_prim_bump_shiny,3))+", ");	// bumpmaping
		
		llOwnerSay("PRIM_COLOR"+
			", "+(string)llList2Integer(ce_prim_color,1)+											// face
			", "+(string)llList2Vector(ce_prim_color,2)+											// color
			", "+(string)llList2Float(ce_prim_color,3)+", ");										// alpha

		llOwnerSay("PRIM_FLEXIBLE"+
			", "+(string)llList2String(booleans ,llList2Integer(ce_prim_flexible,1))+				// true / false
			", "+(string)llList2Float(ce_prim_flexible,2)+											// softness
			", "+(string)llList2Float(ce_prim_flexible,3)+											// gravity
			", "+(string)llList2Float(ce_prim_flexible,4)+											// friction
			", "+(string)llList2Float(ce_prim_flexible,5)+											// tension
			", "+(string)llList2Vector(ce_prim_flexible,6)+", ");									// force
		
		llOwnerSay("PRIM_FULLBRIGHT"+
			", "+(string)llList2Integer(ce_prim_fullbright,1)+										// face
			", "+(string)llList2String(booleans ,llList2Integer(ce_prim_fullbright,2))+", ");		// TRUE / FALSE
		
		llOwnerSay("PRIM_MATERIAL, "+(string)llList2String(material ,llList2Integer(ce_prim_material,1))+", ");

		llOwnerSay("PRIM_PHANTOM, "+(string)llList2String(booleans ,llList2Integer(ce_prim_phantom ,1))+", ");

		llOwnerSay("PRIM_PHYSICS, "+(string)llList2String(booleans ,llList2Integer(ce_prim_physiks ,1))+", ");

		llOwnerSay("PRIM_POINT_LIGHT"+
			", "+(string)llList2String(booleans ,llList2Integer(ce_prim_point_light,1))+			// true / false
			", "+(string)llList2Vector(ce_prim_point_light,2)+										// color
			", "+(string)llList2Float(ce_prim_point_light,3)+										// intensity
			", "+(string)llList2Float(ce_prim_point_light,4)+										// radius
			", "+(string)llList2Float(ce_prim_point_light,5)+", ");									// falloff


		llOwnerSay("PRIM_POSITION, "+(string)llList2Vector(ce_prim_position ,1)+", ");

		llOwnerSay("PRIM_ROTATION, "+(string)llList2Rot(ce_prim_rotation ,1)+", ");

		llOwnerSay("PRIM_SIZE, "+(string)llList2Vector(ce_prim_size ,1)+", ");
		
		llOwnerSay("PRIM_TEMP_ON_REZ"+(string)llList2String(booleans ,llList2Integer(ce_prim_temp_on_rez ,1))+", ");
		
		if(llList2Integer(ce_prim_type,1)==0){llOwnerSay("PRIM_TYPE, PRIM_TYPE_BOX"+", "+(string)llList2Integer(ce_prim_type,1)+", "+(string)llList2Vector(ce_prim_type,2)+", "+(string)llList2Float(ce_prim_type,3)+", "+(string)llList2Vector(ce_prim_type,4)+", "+(string)llList2Vector(ce_prim_type,5)+", "+(string)llList2Vector(ce_prim_type,6)+", ");}
		if(llList2Integer(ce_prim_type,1)==1){llOwnerSay("PRIM_TYPE, PRIM_TYPE_CYLINDER"+", "+(string)llList2Integer(ce_prim_type,1)+", "+(string)llList2Vector(ce_prim_type,2)+", "+(string)llList2Float(ce_prim_type,3)+", "+(string)llList2Vector(ce_prim_type,4)+", "+(string)llList2Vector(ce_prim_type,5)+", "+(string)llList2Vector(ce_prim_type,6)+", ");}
		if(llList2Integer(ce_prim_type,1)==2){llOwnerSay("PRIM_TYPE, PRIM_TYPE_PRISM"+", "+(string)llList2Integer(ce_prim_type,1)+", "+(string)llList2Vector(ce_prim_type,2)+", "+(string)llList2Float(ce_prim_type,3)+", "+(string)llList2Vector(ce_prim_type,4)+", "+(string)llList2Vector(ce_prim_type,5)+", "+(string)llList2Vector(ce_prim_type,6)+", ");}
		if(llList2Integer(ce_prim_type,1)==3){llOwnerSay("PRIM_TYPE, PRIM_TYPE_SPHERE"+", "+(string)llList2Integer(ce_prim_type,1)+", "+(string)llList2Vector(ce_prim_type,2)+", "+(string)llList2Float(ce_prim_type,3)+", "+(string)llList2Vector(ce_prim_type,4)+", "+(string)llList2Vector(ce_prim_type,5)+", ");}
		if(llList2Integer(ce_prim_type,1)==4){llOwnerSay("PRIM_TYPE, PRIM_TYPE_TORUS"+", "+(string)llList2Integer(ce_prim_type,1)+", "+(string)llList2Vector(ce_prim_type,2)+", "+(string)llList2Float(ce_prim_type,3)+", "+(string)llList2Vector(ce_prim_type,4)+", "+(string)llList2Vector(ce_prim_type,5)+", "+(string)llList2Vector(ce_prim_type,6)+", "+(string)llList2Vector(ce_prim_type,7)+", "+(string)llList2Vector(ce_prim_type,8)+", "+(string)llList2Float(ce_prim_type,9)+", "+(string)llList2Float(ce_prim_type,10)+", "+(string)llList2Float(ce_prim_type,11)+", ");}
		if(llList2Integer(ce_prim_type,1)==5){llOwnerSay("PRIM_TYPE, PRIM_TYPE_TUBE"+", "+(string)llList2Integer(ce_prim_type,1)+", "+(string)llList2Vector(ce_prim_type,2)+", "+(string)llList2Float(ce_prim_type,3)+", "+(string)llList2Vector(ce_prim_type,4)+", "+(string)llList2Vector(ce_prim_type,5)+", "+(string)llList2Vector(ce_prim_type,6)+", "+(string)llList2Vector(ce_prim_type,7)+", "+(string)llList2Vector(ce_prim_type,8)+", "+(string)llList2Float(ce_prim_type,9)+", "+(string)llList2Float(ce_prim_type,10)+", "+(string)llList2Float(ce_prim_type,11)+", ");}
		if(llList2Integer(ce_prim_type,1)==6){llOwnerSay("PRIM_TYPE, PRIM_TYPE_RING"+", "+(string)llList2Integer(ce_prim_type,1)+", "+(string)llList2Vector(ce_prim_type,2)+", "+(string)llList2Float(ce_prim_type,3)+", "+(string)llList2Vector(ce_prim_type,4)+", "+(string)llList2Vector(ce_prim_type,5)+", "+(string)llList2Vector(ce_prim_type,6)+", "+(string)llList2Vector(ce_prim_type,7)+", "+(string)llList2Vector(ce_prim_type,8)+", "+(string)llList2Float(ce_prim_type,9)+", "+(string)llList2Float(ce_prim_type,10)+", "+(string)llList2Float(ce_prim_type,11)+", ");}
		if(llList2Integer(ce_prim_type,1)==7){llOwnerSay("PRIM_TYPE, PRIM_TYPE_SCULPT"+", "+(string)llList2String(ce_prim_type,1)+", "+(string)llList2Integer(ce_prim_type,2)+", ");}
		
		llOwnerSay("PRIM_TEXGEN"+
			", "+(string)llList2Integer(ce_prim_texgen,1)+									// face
			", "+(string)llList2Integer(ce_prim_texgen,2)+", ");							// type
		
		llOwnerSay("PRIM_TEXTURE"+
			", "+(string)llList2Integer(ce_prim_texture,1)+									// face
			", "+(string)llList2String(ce_prim_texture,2)+									// name
			", "+(string)llList2Vector(ce_prim_texture,3)+									// repeats
			", "+(string)llList2Vector(ce_prim_texture,4)+									// offsets
			", "+(string)llList2Float(ce_prim_texture,5)+" ");								// rotation
		
		llOwnerSay("]);");			
	}
}

Anylyn Hax 15:58, 8 August 2007 (PDT)



View the issues Anylyn Hax has filed at jira.secondlife.com