<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.secondlife.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Pixelherectus+Resident</id>
	<title>Second Life Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.secondlife.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Pixelherectus+Resident"/>
	<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/wiki/Special:Contributions/Pixelherectus_Resident"/>
	<updated>2026-07-28T10:57:35Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=MLPV2_Texture_Changer_Add-on&amp;diff=1191627</id>
		<title>MLPV2 Texture Changer Add-on</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=MLPV2_Texture_Changer_Add-on&amp;diff=1191627"/>
		<updated>2014-06-25T18:55:05Z</updated>

		<summary type="html">&lt;p&gt;Pixelherectus Resident: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* Back to [[MLPV2_Addons]]&lt;br /&gt;
&lt;br /&gt;
* [[MLPV2]]&lt;br /&gt;
* [[MLPV2_Color_Changer_Add-on]]&lt;br /&gt;
* [[MLPV2_Ambiant_Sound_Add-on]]&lt;br /&gt;
* [[MLPV2_Props_Texture_Changer_Add-on]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Simple add on tool for MLPV2 that puts a button on the MLPV2 menu that sets the texture on any number of prims.  Put several in a menu to give a choice of textures.&lt;br /&gt;
&lt;br /&gt;
This script won&#039;t work for props, only for the prim where the MLPV2 scripts are, and the prims linked to it.&lt;br /&gt;
This script should *not* be used for objects with lots of prims that need retexturing.&lt;br /&gt;
&lt;br /&gt;
By Teq Hutchinson, November 2009.&lt;br /&gt;
Simplified by Lear Cale, March 2011.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Steps to use:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
#Create a new script in your inventory.  Name it whatever you want, but LC recommends &amp;quot;~~texture&amp;quot;.&lt;br /&gt;
#Drop this script into every prim that you want retexturable;&lt;br /&gt;
#Add the textures you wish to use into each retexturable prim;&lt;br /&gt;
#Add lines like the following to a menu in your MLPV2 .MENUITEMS.* notecard(s):&lt;br /&gt;
&lt;br /&gt;
 LINKMSG Choice1 | 0,-1,987777,Texture1&lt;br /&gt;
 LINKMSG Choice2 | 0,-1,987777,Texture2&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
Each line creates a menu button.  There are two elements for you to customize:&lt;br /&gt;
&lt;br /&gt;
* Choice1 : the wording that you want to appear for the button on the blue menu.&lt;br /&gt;
* Texture1 :the name (case and spacing sensitive) of the texture you need to use.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;lsl&amp;gt;&lt;br /&gt;
// Texture Changer script&lt;br /&gt;
// add-on by Teq Hutchinson for MLPV2. November 2009.&lt;br /&gt;
// simplified by Lear Cale, March 2011&lt;br /&gt;
&lt;br /&gt;
default&lt;br /&gt;
{ &lt;br /&gt;
    link_message(integer sender_num, integer num, string str, key id)&lt;br /&gt;
    {&lt;br /&gt;
        if (num == 987777 &amp;amp;&amp;amp; llGetInventoryType(str) == INVENTORY_TEXTURE)&lt;br /&gt;
        {&lt;br /&gt;
            // This will apply your texture to all the sides of the prim&lt;br /&gt;
            // SEE https://wiki.secondlife.com/wiki/LlSetTexture if you need something different&lt;br /&gt;
&lt;br /&gt;
            llSetTexture(str, ALL_SIDES);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
} &lt;br /&gt;
&amp;lt;/lsl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Here an other script to use UUID texture.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Steps to use are near the same :&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
# Create a new script in your inventory. Name it whatever you want, but LC recommends &amp;quot;~~texture&amp;quot;.&lt;br /&gt;
# Drop this script into every prim that you want retexturable;&lt;br /&gt;
# Add lines like the following to a menu in your MLPV2 .MENUITEMS.* notecard(s): &lt;br /&gt;
&lt;br /&gt;
    LINKMSG nom1 | 0,-1,987777,Texture1&lt;br /&gt;
    LINKMSG nom2 | 0,-1,987777,Texture2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;lsl&amp;gt;&lt;br /&gt;
// Texture Changer script&lt;br /&gt;
// By Teq Hutchinson, November 2009.&lt;br /&gt;
// Simplified by Lear Cale, March 2011.&lt;br /&gt;
// UUID by Heyter Nitely. June 2014.&lt;br /&gt;
&lt;br /&gt;
string texture1 = &amp;quot;f39ca3bf-0058-9cd6-2a56-dd198a992fc0&amp;quot; ;&lt;br /&gt;
string texture2 = &amp;quot;2d56afdf-9541-70b1-0342-820cd826d635&amp;quot; ;&lt;br /&gt;
string texture3 = &amp;quot;953a7e95-8cdb-c0f7-d251-996564a7dc67&amp;quot; ;&lt;br /&gt;
string texture4 = &amp;quot;1a661817-070d-5f9c-2f00-4d6f0c3e7573&amp;quot; ;&lt;br /&gt;
string texture5 = &amp;quot;a9a32bf2-7085-98f2-ab25-ac5c6854bd19&amp;quot; ;&lt;br /&gt;
// string texture* = &amp;quot;UUID&amp;quot; ; Add more lines if you want&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
default&lt;br /&gt;
{ &lt;br /&gt;
    link_message(integer sender_num, integer num, string str, key id)&lt;br /&gt;
    {&lt;br /&gt;
        if (num == 987777)&lt;br /&gt;
        {&lt;br /&gt;
            if (str == &amp;quot;nom1&amp;quot;)&lt;br /&gt;
                llSetTexture(texture1, ALL_SIDES);&lt;br /&gt;
            else if (str == &amp;quot;nom2&amp;quot;)&lt;br /&gt;
                llSetTexture(texture2, ALL_SIDES);&lt;br /&gt;
            else if (str == &amp;quot;nom3&amp;quot;)&lt;br /&gt;
                llSetTexture(texture3, ALL_SIDES);&lt;br /&gt;
            else if (str == &amp;quot;nom4&amp;quot;)&lt;br /&gt;
                llSetTexture(texture4, ALL_SIDES);&lt;br /&gt;
            else if (str == &amp;quot;nom5&amp;quot;)&lt;br /&gt;
                llSetTexture(texture5, ALL_SIDES);//Add lines while you need as string texture. Change &amp;quot;nom*&amp;quot; as you want to show in main MLVP menu. Must be the same that in the note card.&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/lsl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:MLPV2]]&lt;/div&gt;</summary>
		<author><name>Pixelherectus Resident</name></author>
	</entry>
</feed>