Skip to content

Instantly share code, notes, and snippets.

@roman-yagodin
Last active August 29, 2015 14:12
Show Gist options
  • Save roman-yagodin/e67a25b55e76853af2d5 to your computer and use it in GitHub Desktop.
Save roman-yagodin/e67a25b55e76853af2d5 to your computer and use it in GitHub Desktop.
PAWS patches
--- /A/data/gui/charcreate.xml
+++ /B/data/gui/charcreate.xml
@@ -166,14 +166,14 @@
<!-- Face customization area -->
<widget name="customization" factory="pawsWidget" >
<frame x="565" y="170" width="200" height="100"/>
- <widget name="Custom Choice Set 1 <" factory="pawsButton" toggle="no">
+ <widget name="Custom Choice Set 1 &lt;" factory="pawsButton" toggle="no">
<frame x="0" y="0" width="25" height="20"/>
<buttonup resource="arrowLeft"/>
<buttondown resource="arrowLeftDown"/>
<text string="" position="right"/>
</widget>
- <widget name="Custom Choice Set 1 >" factory="pawsButton" toggle="no">
+ <widget name="Custom Choice Set 1 &gt;" factory="pawsButton" toggle="no">
<frame x="35" y="0" width="25" height="20"/>
<buttonup resource="arrowRight"/>
<buttondown resource="arrowRightDown"/>
@@ -188,13 +188,13 @@
<!-- Hair Style customization area -->
- <widget name="Custom Choice Set 2 <" factory="pawsButton" toggle="no">
+ <widget name="Custom Choice Set 2 &lt;" factory="pawsButton" toggle="no">
<frame x="0" y="20" width="25" height="20"/>
<buttonup resource="arrowLeft"/>
<buttondown resource="arrowLeftDown"/>
</widget>
- <widget name="Custom Choice Set 2 >" factory="pawsButton" toggle="no">
+ <widget name="Custom Choice Set 2 &gt;" factory="pawsButton" toggle="no">
<frame x="35" y="20" width="25" height="20"/>
<buttonup resource="arrowRight"/>
<buttondown resource="arrowRightDown"/>
@@ -209,13 +209,13 @@
<!-- Beard Style customization area -->
- <widget name="Custom Choice Set 3 <" factory="pawsButton" toggle="no">
+ <widget name="Custom Choice Set 3 &lt;" factory="pawsButton" toggle="no">
<frame x="0" y="40" width="25" height="20"/>
<buttonup resource="arrowLeft"/>
<buttondown resource="arrowLeftDown"/>
</widget>
- <widget name="Custom Choice Set 3 >" factory="pawsButton" toggle="no">
+ <widget name="Custom Choice Set 3 &gt;" factory="pawsButton" toggle="no">
<frame x="35" y="40" width="25" height="20"/>
<buttonup resource="arrowRight"/>
<buttondown resource="arrowRightDown"/>
@@ -228,13 +228,13 @@
<!-- END Beard customization area -->
<!-- Hair Colour customization area -->
- <widget name="Custom Choice Set 4 <" factory="pawsButton" toggle="no">
+ <widget name="Custom Choice Set 4 &lt;" factory="pawsButton" toggle="no">
<frame x="0" y="60" width="25" height="20"/>
<buttonup resource="arrowLeft"/>
<buttondown resource="arrowLeftDown"/>
</widget>
- <widget name="Custom Choice Set 4 >" factory="pawsButton" toggle="no">
+ <widget name="Custom Choice Set 4 &gt;" factory="pawsButton" toggle="no">
<frame x="35" y="60" width="25" height="20"/>
<buttonup resource="arrowRight"/>
<buttondown resource="arrowRightDown"/>
@@ -247,13 +247,13 @@
<!-- END Hair Colour customization area -->
<!-- Skin Colour customization area -->
- <widget name="Custom Choice Set 5 <" factory="pawsButton" toggle="no">
+ <widget name="Custom Choice Set 5 &lt;" factory="pawsButton" toggle="no">
<frame x="0" y="80" width="25" height="20"/>
<buttonup resource="arrowLeft"/>
<buttondown resource="arrowLeftDown"/>
</widget>
- <widget name="Custom Choice Set 5 >" factory="pawsButton" toggle="no">
+ <widget name="Custom Choice Set 5 &gt;" factory="pawsButton" toggle="no">
<frame x="35" y="80" width="25" height="20"/>
<buttonup resource="arrowRight"/>
<buttondown resource="arrowRightDown"/>
--- /A/data/gui/configspellchecker.xml
+++ /B/data/gui/configspellchecker.xml
@@ -41,7 +41,7 @@
</widget>
<widget name="ErrorLabel3" factory="pawsTextBox" style="Header Font" visible="no">
<frame x="10" y="150" width="420" height="20" />
- <text string="unzip it in &quot;<PlaneShift-Installation-Directory>/data/dict&quot;." />
+ <text string="unzip it in &quot;&lt;PlaneShift-Installation-Directory&gt;/data/dict&quot;." />
</widget>
</widget>
--- /A/data/gui/control_styles.xml
+++ /B/data/gui/control_styles.xml
@@ -1,160 +1,162 @@
-<style1>
- <!-- The whole toolbar, add border="yes" in the control.xml if you want to see a border -->
- <!-- Default for new players, used in tutorial -->
- <bar width="1094" height="70" min_w="360" min_h="30" always_resize="yes" />
- <buttons width="64" height="64" hide_width="16" hide_height="16" />
- <!-- Standard values -->
- <button name="ShowButtonUp" x="0" y="0" />
- <button name="ShowButtonDown" x="0" y="0" />
- <button name="ChatButton" x="64" y="1" />
- <button name="BuddyButton" x="128" y="1" />
- <button name="GroupButton" x="192" y="1" />
- <button name="GuildButton" x="256" y="1" />
- <button name="SkillsButton" x="320" y="1" />
- <button name="InventoryButton" x="384" y="1" />
- <button name="QuestButton" x="448" y="1" />
- <button name="SpellBookButton" x="512" y="1" />
- <button name="AttackButton" x="576" y="1" />
- <button name="ShortcutButton" x="640" y="1" />
- <button name="InfoButton" x="704" y="1" />
- <button name="ActiveMagicButton" x="768" y="1" />
- <button name="OptionsButton" x="832" y="1" />
- <button name="PetitionButton" x="896" y="1" />
- <button name="HelpButton" x="960" y="1" />
- <button name="QuitButton" x="1024" y="1" />
+<control_styles>
+ <style name="style1">
+ <!-- The whole toolbar, add border="yes" in the control.xml if you want to see a border -->
+ <!-- Default for new players, used in tutorial -->
+ <bar width="1094" height="70" min_w="360" min_h="30" always_resize="yes" />
+ <buttons width="64" height="64" hide_width="16" hide_height="16" />
+ <!-- Standard values -->
+ <button name="ShowButtonUp" x="0" y="0" />
+ <button name="ShowButtonDown" x="0" y="0" />
+ <button name="ChatButton" x="64" y="1" />
+ <button name="BuddyButton" x="128" y="1" />
+ <button name="GroupButton" x="192" y="1" />
+ <button name="GuildButton" x="256" y="1" />
+ <button name="SkillsButton" x="320" y="1" />
+ <button name="InventoryButton" x="384" y="1" />
+ <button name="QuestButton" x="448" y="1" />
+ <button name="SpellBookButton" x="512" y="1" />
+ <button name="AttackButton" x="576" y="1" />
+ <button name="ShortcutButton" x="640" y="1" />
+ <button name="InfoButton" x="704" y="1" />
+ <button name="ActiveMagicButton" x="768" y="1" />
+ <button name="OptionsButton" x="832" y="1" />
+ <button name="PetitionButton" x="896" y="1" />
+ <button name="HelpButton" x="960" y="1" />
+ <button name="QuitButton" x="1024" y="1" />
+ </style>
-</style1>
+ <style name="style2">
+ <bar width="520" height="654" min_w="210" min_h="185" always_resize="no" />
+ <!-- always_resize="no" makes the resize box show only if you press shift and move the mouse over the widget -->
+ <buttons width="64" height="64" hide_width="16" hide_height="16" />
+ <!-- Standard values -->
+ <button name="ShowButtonUp" x="70" y="70" />
+ <button name="ShowButtonDown" x="0" y="0" />
+ <!-- Right -->
+ <button name="ChatButton" x="5" y="5" />
+ <button name="SkillsButton" x="69" y="5" />
+ <button name="InventoryButton" x="133" y="5" />
+ <button name="QuestButton" x="197" y="5" />
+ <button name="SpellBookButton" x="261" y="5" />
+ <button name="AttackButton" x="325" y="5" />
+ <button name="GuildButton" x="389" y="5" />
+ <button name="InfoButton" x="453" y="5" />
+ <!-- Down -->
+ <button name="BuddyButton" x="5" y="134" />
+ <button name="GroupButton" x="5" y="198" />
+ <button name="PetitionButton" x="5" y="262" />
+ <button name="ShortcutButton" x="5" y="326" />
+ <button name="ActiveMagicButton" x="5" y="390" />
+ <button name="OptionsButton" x="5" y="454" />
+ <button name="HelpButton" x="5" y="518" />
+ <button name="QuitButton" x="5" y="582" />
+ </style>
-<style2>
- <bar width="520" height="654" min_w="210" min_h="185" always_resize="no" />
- <!-- always_resize="no" makes the resize box show only if you press shift and move the mouse over the widget -->
- <buttons width="64" height="64" hide_width="16" hide_height="16" />
- <!-- Standard values -->
- <button name="ShowButtonUp" x="70" y="70" />
- <button name="ShowButtonDown" x="0" y="0" />
- <!-- Right -->
- <button name="ChatButton" x="5" y="5" />
- <button name="SkillsButton" x="69" y="5" />
- <button name="InventoryButton" x="133" y="5" />
- <button name="QuestButton" x="197" y="5" />
- <button name="SpellBookButton" x="261" y="5" />
- <button name="AttackButton" x="325" y="5" />
- <button name="GuildButton" x="389" y="5" />
- <button name="InfoButton" x="453" y="5" />
- <!-- Down -->
- <button name="BuddyButton" x="5" y="134" />
- <button name="GroupButton" x="5" y="198" />
- <button name="PetitionButton" x="5" y="262" />
- <button name="ShortcutButton" x="5" y="326" />
- <button name="ActiveMagicButton" x="5" y="390" />
- <button name="OptionsButton" x="5" y="454" />
- <button name="HelpButton" x="5" y="518" />
- <button name="QuitButton" x="5" y="582" />
-</style2>
+ <style name="style3">
+ <bar width="1094" height="70" min_w="360" min_h="30" always_resize="yes" />
+ <buttons width="64" height="64" hide_width="16" hide_height="16" />
+ <!-- Standard values -->
+ <button name="ShowButtonUp" x="0" y="0" />
+ <button name="ShowButtonDown" x="0" y="0" />
+ <button name="ChatButton" x="64" y="1" />
+ <button name="SkillsButton" x="128" y="1" />
+ <button name="InventoryButton" x="192" y="1" />
+ <button name="QuestButton" x="256" y="1" />
+ <button name="SpellBookButton" x="320" y="1" />
+ <button name="AttackButton" x="384" y="1" />
+ <button name="GuildButton" x="448" y="1" />
+ <button name="InfoButton" x="512" y="1" />
+ <button name="BuddyButton" x="576" y="1" />
+ <button name="GroupButton" x="640" y="1" />
+ <button name="PetitionButton" x="704" y="1" />
+ <button name="ShortcutButton" x="768" y="1" />
+ <button name="ActiveMagicButton" x="832" y="1" />
+ <button name="OptionsButton" x="896" y="1" />
+ <button name="HelpButton" x="960" y="1" />
+ <button name="QuitButton" x="1024" y="1" />
+ </style>
-<style3>
- <bar width="1094" height="70" min_w="360" min_h="30" always_resize="yes" />
- <buttons width="64" height="64" hide_width="16" hide_height="16" />
- <!-- Standard values -->
- <button name="ShowButtonUp" x="0" y="0" />
- <button name="ShowButtonDown" x="0" y="0" />
- <button name="ChatButton" x="64" y="1" />
- <button name="SkillsButton" x="128" y="1" />
- <button name="InventoryButton" x="192" y="1" />
- <button name="QuestButton" x="256" y="1" />
- <button name="SpellBookButton" x="320" y="1" />
- <button name="AttackButton" x="384" y="1" />
- <button name="GuildButton" x="448" y="1" />
- <button name="InfoButton" x="512" y="1" />
- <button name="BuddyButton" x="576" y="1" />
- <button name="GroupButton" x="640" y="1" />
- <button name="PetitionButton" x="704" y="1" />
- <button name="ShortcutButton" x="768" y="1" />
- <button name="ActiveMagicButton" x="832" y="1" />
- <button name="OptionsButton" x="896" y="1" />
- <button name="HelpButton" x="960" y="1" />
- <button name="QuitButton" x="1024" y="1" />
-</style3>
+ <style name="style4">
+ <bar width="1094" height="70" min_w="360" min_h="20" always_resize="yes" />
+ <buttons width="64" height="64" hide_width="16" hide_height="16" />
+ <!-- Standard values -->
+ <button name="ShowButtonUp" x="0" y="0" />
+ <button name="ShowButtonDown" x="0" y="0" />
-<style4>
- <bar width="1094" height="70" min_w="360" min_h="20" always_resize="yes" />
- <buttons width="64" height="64" hide_width="16" hide_height="16" />
- <!-- Standard values -->
- <button name="ShowButtonUp" x="0" y="0" />
- <button name="ShowButtonDown" x="0" y="0" />
+ <button name="ChatButton" x="64" y="0" />
+ <button name="InfoButton" x="128" y="0" />
+ <button name="ShortcutButton" x="192" y="0" />
+ <button name="ActiveMagicButton" x="256" y="0" />
- <button name="ChatButton" x="64" y="0" />
- <button name="InfoButton" x="128" y="0" />
- <button name="ShortcutButton" x="192" y="0" />
- <button name="ActiveMagicButton" x="256" y="0" />
+ <button name="BuddyButton" x="320" y="0" />
+ <button name="GroupButton" x="384" y="0" />
+ <button name="GuildButton" x="448" y="0" />
- <button name="BuddyButton" x="320" y="0" />
- <button name="GroupButton" x="384" y="0" />
- <button name="GuildButton" x="448" y="0" />
+ <button name="InventoryButton" x="512" y="0" />
+ <button name="SkillsButton" x="576" y="0" />
+ <button name="QuestButton" x="640" y="0" />
+ <button name="SpellBookButton" x="704" y="0" />
+ <button name="AttackButton" x="768" y="0" />
- <button name="InventoryButton" x="512" y="0" />
- <button name="SkillsButton" x="576" y="0" />
- <button name="QuestButton" x="640" y="0" />
- <button name="SpellBookButton" x="704" y="0" />
- <button name="AttackButton" x="768" y="0" />
+ <button name="PetitionButton" x="832" y="0" />
+ <button name="HelpButton" x="896" y="0" />
+ <button name="OptionsButton" x="960" y="0" />
+ <button name="QuitButton" x="1024" y="0" />
+ </style>
- <button name="PetitionButton" x="832" y="0" />
- <button name="HelpButton" x="896" y="0" />
- <button name="OptionsButton" x="960" y="0" />
- <button name="QuitButton" x="1024" y="0" />
-</style4>
+ <style name="style5">
+ <bar width="130" height="540" min_w="30" min_h="60" always_resize="yes" />
+ <buttons width="64" height="64" hide_width="16" hide_height="16" />
-<style5>
- <bar width="130" height="540" min_w="30" min_h="60" always_resize="yes" />
- <buttons width="64" height="64" hide_width="16" hide_height="16" />
+ <!-- Here you align your buttons, using X and Y cords NOTE: 1 = 1px in 800x600 -->
+ <button name="ShowButtonUp" y="0" x="0" />
+ <button name="ShowButtonDown" y="0" x="0" />
+ <button name="ChatButton" y="20" x="1" />
+ <button name="SkillsButton" y="84" x="1" />
+ <button name="InventoryButton" y="148" x="1" />
+ <button name="QuestButton" y="212" x="1" />
+ <button name="SpellBookButton" y="276" x="1" />
+ <button name="GuildButton" y="340" x="1" />
+ <button name="InfoButton" y="404" x="1" />
+ <button name="QuitButton" y="468" x="1" />
- <!-- Here you align your buttons, using X and Y cords NOTE: 1 = 1px in 800x600 -->
- <button name="ShowButtonUp" y="0" x="0" />
- <button name="ShowButtonDown" y="0" x="0" />
- <button name="ChatButton" y="20" x="1" />
- <button name="SkillsButton" y="84" x="1" />
- <button name="InventoryButton" y="148" x="1" />
- <button name="QuestButton" y="212" x="1" />
- <button name="SpellBookButton" y="276" x="1" />
- <button name="GuildButton" y="340" x="1" />
- <button name="InfoButton" y="404" x="1" />
- <button name="QuitButton" y="468" x="1" />
+ <!-- Start on new row -->
+ <button name="BuddyButton" y="20" x="65" />
+ <button name="GroupButton" y="84" x="65" />
+ <button name="PetitionButton" y="148" x="65" />
+ <button name="ShortcutButton" y="212" x="65" />
+ <button name="AttackButton" y="276" x="65" />
+ <button name="ActiveMagicButton" y="340" x="65" />
+ <button name="OptionsButton" y="404" x="65" />
+ <button name="HelpButton" y="468" x="65" />
+ </style>
- <!-- Start on new row -->
- <button name="BuddyButton" y="20" x="65" />
- <button name="GroupButton" y="84" x="65" />
- <button name="PetitionButton" y="148" x="65" />
- <button name="ShortcutButton" y="212" x="65" />
- <button name="AttackButton" y="276" x="65" />
- <button name="ActiveMagicButton" y="340" x="65" />
- <button name="OptionsButton" y="404" x="65" />
- <button name="HelpButton" y="468" x="65" />
-</style5>
+ <style name="style6">
+ <!-- The whole toolbar, add border="yes" in the control.xml if you want to see a border -->
-<style6>
- <!-- The whole toolbar, add border="yes" in the control.xml if you want to see a border -->
+ <!-- Default for new players, used in tutorial -->
+ <bar width="770" height="70" min_w="360" min_h="30" always_resize="yes" />
+ <buttons width="64" height="64" hide_width="16" hide_height="16" />
+ <!-- Mini values -->
+ <button name="ShowButtonUp" x="0" y="0" />
+ <button name="ShowButtonDown" x="0" y="0" />
+ <button name="ChatButton" x="64" y="1" />
+ <button name="SkillsButton" x="128" y="1" />
+ <button name="InventoryButton" x="192" y="1" />
+ <button name="QuestButton" x="256" y="1" />
+ <button name="SpellBookButton" x="320" y="1" />
+ <button name="AttackButton" x="384" y="1" />
+ <button name="InfoButton" x="448" y="1" />
+ <button name="ActiveMagicButton" x="512" y="1" />
+ <button name="OptionsButton" x="576" y="1" />
+ <button name="HelpButton" x="640" y="1" />
+ <button name="QuitButton" x="705" y="1" />
- <!-- Default for new players, used in tutorial -->
- <bar width="770" height="70" min_w="360" min_h="30" always_resize="yes" />
- <buttons width="64" height="64" hide_width="16" hide_height="16" />
- <!-- Mini values -->
- <button name="ShowButtonUp" x="0" y="0" />
- <button name="ShowButtonDown" x="0" y="0" />
- <button name="ChatButton" x="64" y="1" />
- <button name="SkillsButton" x="128" y="1" />
- <button name="InventoryButton" x="192" y="1" />
- <button name="QuestButton" x="256" y="1" />
- <button name="SpellBookButton" x="320" y="1" />
- <button name="AttackButton" x="384" y="1" />
- <button name="InfoButton" x="448" y="1" />
- <button name="ActiveMagicButton" x="512" y="1" />
- <button name="OptionsButton" x="576" y="1" />
- <button name="HelpButton" x="640" y="1" />
- <button name="QuitButton" x="705" y="1" />
+ <button name="GuildButton" x="-500" y="-500" />
+ <button name="PetitionButton" x="-500" y="-500" />
+ <button name="BuddyButton" x="-500" y="-500" />
+ <button name="GroupButton" x="-500" y="-500" />
+ <button name="ShortcutButton" x="-500" y="-500" />
+ </style>
- <button name="GuildButton" x="-500" y="-500" />
- <button name="PetitionButton" x="-500" y="-500" />
- <button name="BuddyButton" x="-500" y="-500" />
- <button name="GroupButton" x="-500" y="-500" />
- <button name="ShortcutButton" x="-500" y="-500" />
-</style6>
+</control_styles>
--- /A/data/gui/credits_config.xml
+++ /B/data/gui/credits_config.xml
@@ -1,7 +1,7 @@
<credits_config>
<color name="standard" r="255" g="255" b="255" />
<color name="@" r="255" g="0" b="0" />
- <color name="&" r="150" g="150" b="255" />
+ <color name="&amp;" r="150" g="150" b="255" />
<!-- Speed = ms it takes for 1 line to move 1 line upwards -->
<area width="500" height="300" x="150" y="140" speed="1000" loop="no" boxed="no" />
<!-- If we don't loop, show this message -->
--- /A/data/gui/questnotebook.xml
+++ /B/data/gui/questnotebook.xml
@@ -1,7 +1,7 @@
<credits_config>
<color name="standard" r="255" g="255" b="255" />
<color name="@" r="255" g="0" b="0" />
- <color name="&" r="150" g="150" b="255" />
+ <color name="&amp;" r="150" g="150" b="255" />
<!-- Speed = ms it takes for 1 line to move 1 line upwards -->
<area width="500" height="300" x="150" y="140" speed="1000" loop="no" boxed="no" />
<!-- If we don't loop, show this message -->
--- /A/data/gui/scripthirednpcwindow.xml
+++ /B/data/gui/scripthirednpcwindow.xml
@@ -1,7 +1,7 @@
<widget_description>
<widget name="ScriptHiredNPCWindow" factory="pawsScriptHiredNPCWindow"
- visible="no" savepositions="yes" movable="yes" configurable="yes" savepositions="yes" resizable="no" style="New Standard GUI" >
+ visible="no" savepositions="yes" movable="yes" configurable="yes" resizable="no" style="New Standard GUI" >
<frame x="100" y="100" width="440" height="500" border="yes" />
<title resource="Scaling Title Bar" text="Script" align="left" close_button="yes"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment