Difference between revisions of "Viewer 2 Tweaks/Beta 4"

From Second Life Wiki
Jump to navigation Jump to search
(adding 1.5-1.9 from B3 Page which work on B4)
Line 75: Line 75:
-- Hitomi Tiponi, 16 March 2010 (updated for release 202711)
-- Hitomi Tiponi, 16 March 2010 (updated for release 202711)


==== Hiding IM popups ====
* Replace '''panel_instant_message.xml''' located in '''skins\default\xui\en'''
With the xml from
http://pastebin.com/7eZhHR82
:this is not a perfect solution but best i can do
''--Alexandrea Fride 22:08, 26 February 2010 (UTC)''
==== Add BUILD option to the rightclick on object menu ====
-->SEE NEXT FOR BUILD+INSPECT<--
*Replace the contents of '''menu_object.xml''' located in '''skins\default\xui\en'''
With the xml from
  http://pastebin.com/RNneHXft
Screenshot
[[File:Build-option-menu.png]]
Patch File (informatieve)
<pre>
Index: indra/newview/skins/default/xui/en/menu_object.xml
===================================================================
--- indra/newview/skins/default/xui/en/menu_object.xml (revision 2)
+++ indra/newview/skins/default/xui/en/menu_object.xml (working copy)
@@ -21,14 +21,15 @@
        <menu_item_call.on_visible
          function="EnableEdit"/>
    </menu_item_call>
-    <menu_item_call
-      label="Build"
-      name="Build">
-      <menu_item_call.on_click
-      function="Object.Edit" />
-      <menu_item_call.on_visible
-      function="VisibleBuild"/>
-    </menu_item_call>
+  <menu_item_call
+    enabled="false"
+    label="Build"
+    name="Create">
+        <menu_item_call.on_click
+        function="Land.Build" />
+        <menu_item_call.on_enable
+        function="EnableEdit" />
+ </menu_item_call>
    <menu_item_call
      enabled="false"
      label="Open"
</pre>
''--Alexandrea Fride 22:08, 26 February 2010 (UTC)''
==== Add Inspect back on objects and avatar objects ====
{{Note|Vote for {{jira|VWR-16978}} if you want this back in the official Viewer or {{jira|SNOW-545}} for Snowglobe 2}}
*note if you have the build patch alredy done this will replace it, use path file below to manualy add it
*Replace the contents of '''menu_object.xml''' located in '''skins\default\xui\en'''
With the xml from
  http://pastebin.com/K1MmbfZm
*Replace the contents of '''menu_attachment_other.xml''' located in '''skins\default\xui\en'''
With the xml from
  http://pastebin.com/EKfBp3ge
Screenshot
[[File:Inspect-v2.0.png]]
Patch File (informatieve)
<pre>
Index: indra/newview/skins/default/xui/en/menu_attachment_other.xml
===================================================================
--- indra/newview/skins/default/xui/en/menu_attachment_other.xml (revision 2)
+++ indra/newview/skins/default/xui/en/menu_attachment_other.xml (working copy)
@@ -104,4 +104,11 @@
          <menu_item_call.on_enable
          function="Object.EnableInspect" />
    </menu_item_call>
+  <menu_item_call
+      label="Inspect"
+      name="Object Inspect">
+        <menu_item_call.on_click
+        function="Floater.Show"
+        parameter="inspect" />
+  </menu_item_call>
</context_menu>
Index: indra/newview/skins/default/xui/en/menu_object.xml
===================================================================
--- indra/newview/skins/default/xui/en/menu_object.xml (revision 2)
+++ indra/newview/skins/default/xui/en/menu_object.xml (working copy)
@@ -57,6 +57,13 @@
          <menu_item_call.on_enable
          function="Object.EnableInspect" />
    </menu_item_call>
+  <menu_item_call
+      label="Inspect"
+      name="Object Inspect">
+        <menu_item_call.on_click
+        function="Floater.Show"
+        parameter="inspect" />
+  </menu_item_call>
  <menu_item_call
        label="Zoom In"
        name="Zoom In">
</pre>
--Alexandrea Fride 14:31, 1 March 2010 (UTC)
==== Make UI components semi-transparent ====
===== Option 1 =====
* Navigate to '''\skins\default\textures\windows'''
* Make a backup copy of Window_Background.png
* Copy Toast_Background.png to Window_Background.png
This will change:
* About Land
* Conversations
* Debug Settings
* Environment Editor
* Find border
* Map
* My Land
* Nearby Chat
* Preferences
* Region/Estate
* Script editor border
* Snapshot Preview
* Statistics
Add more to this list if you discover them.
'''Note:''' You may have to tear off, click, or mess with Nearby Chat once for the change to take effect.
''-- Jonathan Yap 01:46, 1 March 2010 (UTC)''
===== Option 2 =====
This will change most of the popups/windows/widgets/whatever backgrounds (not the sidebar) to semi-transparent.
* Navigate to '''\skins\default\textures\windows'''
* Make a backup copy of Flyout.png, Toast_Over.png, Window_Background.png, Window_Foreground.png, Window_NoTitle_Background.png, Window_NoTitle_Foreground.png
* Download the following files:
[[File:Flyout.png]]
[[File:Toast Over.png]]
[[File:Window Background.png]]
[[File:Window Foreground.png]]
[[File:Window NoTitle Background.png]]
[[File:Window NoTitle Foreground.png]]
* Copy the downloaded files into '''\skins\default\textures\windows''' overwriting the existing files
To make the IM pop-up background transparent:
* Make a backup copy of '''skins/default/xui/en/panel_instant_message.xml'''
* Open '''skins/default/xui/en/panel_instant_message.xml''' in a text editor
* In the third line of the file change the value of "background_visible" to false
* Example:
<pre>
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<panel
background_visible="false"
height="152"
label="im_panel"
...
</pre>
To make the Sidebar tabs semi-transparent:
* Navigate to '''\skins\default\textures\taskpanel'''
* Make a backup copy of TaskPanel_Tab_Off.png, TaskPanel_Tab_Over.png and TaskPanel_Tab_Selected.png
* Download the following files:
[[File:TaskPanel Tab Off.png]]
[[File:TaskPanel Tab Over.png]]
[[File:TaskPanel Tab Selected.png]]
* Copy the downloaded files into '''\skins\default\textures\taskpanel''' overwriting the existing files
'''Note:''' You may have to tear off, click, mess with Nearby Chat or relog for the change to take effect.
-- Hugh Helendale, 5 March 2010
==== Adding About land Button on top navigation bar ====
*Replace the contents of '''panel_navigation_bar.xml''' located in '''skins\default\xui\en'''
With the xml from
  http://pastebin.com/bh7N1dC5
Screenshot
[[File:About-land.png]]
Patch File (informatieve)
<pre>
Index: indra/newview/skins/default/xui/en/panel_navigation_bar.xml
===================================================================
--- indra/newview/skins/default/xui/en/panel_navigation_bar.xml (revision 2)
+++ indra/newview/skins/default/xui/en/panel_navigation_bar.xml (working copy)
@@ -73,6 +73,20 @@
    tool_tip="Teleport to my home location"
    top_delta="0"
    width="32" />
+     <button
+     follows="left|top"
+     height="23"
+     layout="topleft"
+     left_pad="7"
+     name="About_Land"
+ label="About Land"
+     tool_tip="About Land"
+     top_delta="0"
+     width="70">
+ <button.init_callback
+            function="Button.SetFloaterToggle"
+            parameter="about_land" />
+ </button>
    <location_input
    follows="left|right|top"
    halign="right"
@@ -84,7 +98,7 @@
    mouse_opaque="false"
    name="location_combo"
    top_delta="0"
-     width="266">
+     width="195">
    <!-- *TODO: Delete.  Let the location_input use the correct art sizes.
        <location_input.add_landmark_button
        height="18"
</pre>
--Alexandrea Fride 13:07, 27 February 2010 (UTC)
== Debug Settings ==
== Debug Settings ==



Revision as of 12:31, 20 March 2010

A place to share tweaks for Viewer 2

KBwarning.png Warning: These are unofficial and Linden Lab can't guarantee them to work. Use at your own risk.

XML modifications

Changed the way how sidebar works

NOTE sidebar will no longer "crop" your sl view of world, and now is also on top all floaters INCLUDING notification popups... see screenshot.

NOTE if you have anny sugestions to improve more leave message at forums How to improve v2.0 (xml/Graphics mods)

NOTE As alwayse backup your files!

  • Replace the xml inside main_view.xml located in skins\default\xui\en

With the xml from

http://pastebin.com/pcJELPXq 

screenshot: [1]

--Alexandrea Fride 15:10, 18 March 2010 (UTC)

Extend the Nearby Chat bar

UPDATED FIX for viewer 2.0.0 (202711)

  • In skins/default/xui/en/panel_bottomtray.xml

Change the max_width (pixels) from 320 to 768. Change the min_width (pixels) from 216 to 512

        <layout_panel
 	mouse_opaque="false"
         auto_resize="false"
         follows="left|right"
         height="28"
         layout="topleft"
         left="0"
         min_height="23"
         width="310"
         top="4"
         max_width="320"
         min_width="216"
         name="chat_bar"
         user_resize="false"
         filename="panel_nearby_chat_bar.xml" />

You will have to edit this file with administrator privs under MacOS X.

-- Naomah Beaumont March 15,2010

Based on the original fix by Psi Merlin

Extend the width of Chat Toasts

  • In skins/default/xui/en/panel_chat_item.xml

Change the first "width" statement (in pixels) from "315" to a wider value, such as that of your extended chat bar (see above).

   <panel
     name="instant_message"
     width="315"
     height="180"
  follows="all">

-- Michi Lumin, March 2 2010

Buttons for Map, Mini-Map and Inventory added

These buttons have been added on the bottom bar as in 1.23. They all produce the appropriate popup windows, including the 'Inventory' one.

  • Replace panel_bottomtray.xml located in skins\default\xui\en with the xml from
http://pastebin.com/HZ6Vc4pd

-- Hitomi Tiponi, 16 March 2010 (updated for release 202711)

Hiding IM popups

  • Replace panel_instant_message.xml located in skins\default\xui\en

With the xml from

http://pastebin.com/7eZhHR82
this is not a perfect solution but best i can do

--Alexandrea Fride 22:08, 26 February 2010 (UTC)

Add BUILD option to the rightclick on object menu

-->SEE NEXT FOR BUILD+INSPECT<--
  • Replace the contents of menu_object.xml located in skins\default\xui\en

With the xml from

 http://pastebin.com/RNneHXft 

Screenshot Build-option-menu.png

Patch File (informatieve)

Index: indra/newview/skins/default/xui/en/menu_object.xml
===================================================================
--- indra/newview/skins/default/xui/en/menu_object.xml	(revision 2)
+++ indra/newview/skins/default/xui/en/menu_object.xml	(working copy)
@@ -21,14 +21,15 @@
         <menu_item_call.on_visible
          function="EnableEdit"/>
     </menu_item_call>
-    <menu_item_call
-      label="Build"
-      name="Build">
-      <menu_item_call.on_click
-       function="Object.Edit" />
-      <menu_item_call.on_visible
-       function="VisibleBuild"/>
-    </menu_item_call>
+   <menu_item_call
+     enabled="false"
+     label="Build"
+     name="Create">
+        <menu_item_call.on_click
+         function="Land.Build" />
+        <menu_item_call.on_enable
+         function="EnableEdit" />
+	</menu_item_call>
    <menu_item_call
      enabled="false"
      label="Open"

--Alexandrea Fride 22:08, 26 February 2010 (UTC)

Add Inspect back on objects and avatar objects

NOTE: Vote for VWR-16978 if you want this back in the official Viewer or SNOW-545 for Snowglobe 2
  • note if you have the build patch alredy done this will replace it, use path file below to manualy add it
  • Replace the contents of menu_object.xml located in skins\default\xui\en

With the xml from

 http://pastebin.com/K1MmbfZm
  • Replace the contents of menu_attachment_other.xml located in skins\default\xui\en

With the xml from

 http://pastebin.com/EKfBp3ge

Screenshot Inspect-v2.0.png

Patch File (informatieve)

Index: indra/newview/skins/default/xui/en/menu_attachment_other.xml
===================================================================
--- indra/newview/skins/default/xui/en/menu_attachment_other.xml	(revision 2)
+++ indra/newview/skins/default/xui/en/menu_attachment_other.xml	(working copy)
@@ -104,4 +104,11 @@
          <menu_item_call.on_enable
           function="Object.EnableInspect" />
    </menu_item_call>
+   <menu_item_call
+       label="Inspect"
+       name="Object Inspect">
+         <menu_item_call.on_click
+         function="Floater.Show"
+         parameter="inspect" />
+   </menu_item_call>
 </context_menu>
Index: indra/newview/skins/default/xui/en/menu_object.xml
===================================================================
--- indra/newview/skins/default/xui/en/menu_object.xml	(revision 2)
+++ indra/newview/skins/default/xui/en/menu_object.xml	(working copy)
@@ -57,6 +57,13 @@
          <menu_item_call.on_enable
           function="Object.EnableInspect" />
    </menu_item_call>
+   <menu_item_call
+       label="Inspect"
+       name="Object Inspect">
+         <menu_item_call.on_click
+         function="Floater.Show"
+         parameter="inspect" />
+   </menu_item_call>
   <menu_item_call
        label="Zoom In"
        name="Zoom In">

--Alexandrea Fride 14:31, 1 March 2010 (UTC)

Make UI components semi-transparent

Option 1
  • Navigate to \skins\default\textures\windows
  • Make a backup copy of Window_Background.png
  • Copy Toast_Background.png to Window_Background.png

This will change:

  • About Land
  • Conversations
  • Debug Settings
  • Environment Editor
  • Find border
  • Map
  • My Land
  • Nearby Chat
  • Preferences
  • Region/Estate
  • Script editor border
  • Snapshot Preview
  • Statistics

Add more to this list if you discover them.

Note: You may have to tear off, click, or mess with Nearby Chat once for the change to take effect.

-- Jonathan Yap 01:46, 1 March 2010 (UTC)

Option 2

This will change most of the popups/windows/widgets/whatever backgrounds (not the sidebar) to semi-transparent.

  • Navigate to \skins\default\textures\windows
  • Make a backup copy of Flyout.png, Toast_Over.png, Window_Background.png, Window_Foreground.png, Window_NoTitle_Background.png, Window_NoTitle_Foreground.png
  • Download the following files:

Flyout.png Toast Over.png Window Background.png Window Foreground.png Window NoTitle Background.png Window NoTitle Foreground.png

  • Copy the downloaded files into \skins\default\textures\windows overwriting the existing files

To make the IM pop-up background transparent:

  • Make a backup copy of skins/default/xui/en/panel_instant_message.xml
  • Open skins/default/xui/en/panel_instant_message.xml in a text editor
  • In the third line of the file change the value of "background_visible" to false
  • Example:
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<panel
 background_visible="false"
 height="152"
 label="im_panel"
...

To make the Sidebar tabs semi-transparent:

  • Navigate to \skins\default\textures\taskpanel
  • Make a backup copy of TaskPanel_Tab_Off.png, TaskPanel_Tab_Over.png and TaskPanel_Tab_Selected.png
  • Download the following files:

TaskPanel Tab Off.png TaskPanel Tab Over.png TaskPanel Tab Selected.png

  • Copy the downloaded files into \skins\default\textures\taskpanel overwriting the existing files

Note: You may have to tear off, click, mess with Nearby Chat or relog for the change to take effect.

-- Hugh Helendale, 5 March 2010

Adding About land Button on top navigation bar

  • Replace the contents of panel_navigation_bar.xml located in skins\default\xui\en

With the xml from

 http://pastebin.com/bh7N1dC5

Screenshot About-land.png

Patch File (informatieve)

Index: indra/newview/skins/default/xui/en/panel_navigation_bar.xml
===================================================================
--- indra/newview/skins/default/xui/en/panel_navigation_bar.xml	(revision 2)
+++ indra/newview/skins/default/xui/en/panel_navigation_bar.xml	(working copy)
@@ -73,6 +73,20 @@
 	     tool_tip="Teleport to my home location"
 	     top_delta="0"
 	     width="32" />
+	    <button
+	     follows="left|top"
+	     height="23"
+	     layout="topleft"
+	     left_pad="7"
+	     name="About_Land"
+		 label="About Land" 
+	     tool_tip="About Land"
+	     top_delta="0"
+	     width="70">
+			<button.init_callback
+             function="Button.SetFloaterToggle"
+             parameter="about_land" />
+		 </button>
 	    <location_input
 	     follows="left|right|top"
 	     halign="right"
@@ -84,7 +98,7 @@
 	     mouse_opaque="false"
 	     name="location_combo"
 	     top_delta="0"
-	     width="266">
+	     width="195">
 	     <!-- *TODO: Delete.  Let the location_input use the correct art sizes.
 	        <location_input.add_landmark_button
 	         height="18"

--Alexandrea Fride 13:07, 27 February 2010 (UTC)

Debug Settings

Go to the Advanced menu and click on Show Debug Settings.

Things you might want to change:

  • ChannelBottomPanelMargin -- set to 30 to have your popup chats start a little lower
  • mediaControlFadeTime -- Amount of time before the media control window fades out. Increase from 1.5 seconds to 10 or so.
  • NearbyToastLifeTime -- How long popup chats are on the screen
  • PluginInstancesTotal -- set to 0 if you never want media on a prim to play, even if you click on a MoaP, or increase it if you want to see more than the default of 8. (Note that MoaP is not the only place where SLPlugin is used. It will also affect the "Home" panel of the sidebar, the Help Browser and the search. Setting this to 0 will not allow you to use the search anymore!)
  • ToastGap -- set to 0 to close up the gap between popup chats
  • ShowHoverTips -- set to FALSE to turn off in-world hover tips over objects. Alternatively, restore the menu item and the ctrl-shift-T shortcut by editing menu_viewer.xml and removing the two sets of comment markers near the word "hover".

Also see: Debug_settings.