Author Topic: ATTENTION CRAFTERS  (Read 2034 times)

Caarrie

  • Forum Addict
  • *
  • Posts: 3369
  • We want no UNFIXED bugs!!!!!!!!!!!!!
    • View Profile
    • PlaneShift3dMods
ATTENTION CRAFTERS
« on: March 29, 2008, 08:09:40 am »
i know many of you have wanted a better window for working on your crafting [the container window] Well here it is
Put this code in /data/gui/containerdesc.xml [open with any text editor] over ride all that is there with the new info here. THIS HAS NOT BEEN TESTED ON ALL SKINS

Code: [Select]
<widget_description>

    <widget name="ContainerDescWindow" factory="pawsContainerDescWindow"
            visible="no" movable="yes">
        <frame x="100" y="100" width="310" height="280" border="yes"/>
        <bgimage resource="Container Desc Background" />
        <title resource="Blue Title" text="Examine" align="left" close_button="yes"/>       
       
        <widget name="SmallInvButton" factory="pawsButton" tooltip="Open Inventory">
            <frame x="16" y="92" width="32" height="32"/>
            <bgimage resource="InventoryBulk" alpha="0"/>
        </widget>

        <widget name="View" factory="pawsButton" id="11">
            <frame x="16" y="0" width="32" height="32" />
            <bgimage resource="view" />
        </widget>

        <widget name="Combine" factory="pawsButton" id="13" tooltip="Combine items in container">
            <frame x="48" y="92" width="32" height="32" />
            <bgimage resource="ButtonCombine" />
        </widget>

        <widget name="Inventory" factory="pawsButton" id="12" tooltip="Transfer to inventory">
            <frame x="48" y="0" width="32" height="32" />
            <bgimage resource="ExchangeAccept" />
        </widget>


        <widget name="ItemImage" factory="pawsWidget"
            visible="yes" >
            <frame x="17" y="41" width="43.57" height="43.57" border="no"/>
        </widget>

        <widget name="ItemName" factory="pawsTextBox" >
            <frame x="116" y="2" width="270" height="20"/>   
    <font name="/planeshift/data/ttf/LiberationSans-Regular.ttf" r="225" g="225" b="255" size="10" />
        </widget>


        <widget name="ItemDescription" factory="pawsMultiLineTextBox" >
            <frame x="107" y="27" width="215" height="73" border="no"/>
    <font name="/planeshift/data/ttf/LiberationSans-Regular.ttf" r="225" g="255" b="225" size="10" />
        </widget>
       
        <widget name="BulkList" factory="pawsListBox" selectable="0">
            <frame x="26" y="145" width="260" height="133" border="no"/>
            <scrollbar heightmod="-1" />
            <columns height="43.57" headings="no" >
                <column width="43.57" >
                    <widget name="Bulk0" factory="pawsSlot">
                        <frame x="0" y="0" width="43.57" height="43.57" />
                        <bgimage resource="ContainerBulk" alpha="0"/>
                    </widget>
                </column>
                <column width="43.57" >
                    <widget name="Bulk1" factory="pawsSlot">
                        <frame x="0" y="0" width="43.57" height="43.57" />
                        <bgimage resource="ContainerBulk" alpha="0"/>
                    </widget>
                </column>
                <column width="43.57" >
                    <widget name="Bulk2" factory="pawsSlot">
                        <frame x="0" y="0" width="43.57" height="43.57" />
                        <bgimage resource="ContainerBulk" alpha="0"/>
                    </widget>
                </column>
                <column width="43.57" >
                    <widget name="Bulk3" factory="pawsSlot">
                        <frame x="0" y="0" width="43.57" height="43.57" />
                        <bgimage resource="ContainerBulk" alpha="0"/>
                    </widget>
                </column>
                <column width="43.57" >
                    <widget name="Bulk4" factory="pawsSlot">
                        <frame x="0" y="0" width="43.57" height="43.57" />
                        <bgimage resource="ContainerBulk" alpha="0"/>
                    </widget>
                </column>
                <column width="43.57" >
                    <widget name="Bulk5" factory="pawsSlot">
                        <frame x="0" y="0" width="43.57" height="43.57" />
                        <bgimage resource="ContainerBulk" alpha="0"/>
                    </widget>
                </column>
            </columns>
        </widget>               
    </widget>

</widget_description>

« Last Edit: March 29, 2008, 10:50:23 am by Caarrie »

Donari Tyndale

  • Hydlaa Notable
  • *
  • Posts: 748
    • View Profile
Re: ATTENTION CRAFTERS
« Reply #1 on: March 29, 2008, 08:17:30 am »
Works fine on the elven skin and looks good!

Dajoji

  • Veteran
  • *
  • Posts: 1058
    • View Profile
Re: ATTENTION CRAFTERS
« Reply #2 on: March 29, 2008, 09:14:21 am »
Good job Caarrie! :)


Caarrie

  • Forum Addict
  • *
  • Posts: 3369
  • We want no UNFIXED bugs!!!!!!!!!!!!!
    • View Profile
    • PlaneShift3dMods
Re: ATTENTION CRAFTERS
« Reply #3 on: March 29, 2008, 01:09:48 pm »
has been commited, so will be in the next release.

Prolix

  • Guest
Re: ATTENTION CRAFTERS
« Reply #4 on: March 29, 2008, 01:44:31 pm »
I am guessing that that is off the PS install directory, I haven't looked at it yet. Would there be any point in making usable in the user directory and perhaps having a per character toggle somewhere within the file?

Ah no, looking at the screenshot belatedly, I see there is no point. All it does is make the three rows visible at the same time. How much trouble does tweaking cause? It seems the itembox scrollbar is no longer necessary and might be removed and I was thinking it might be nice to widen the itembox frame so they fit on two rows and reduce the height somewhat.

If it is easily customizable in this manner there might be a point in having a per user option.

Looks good, though, thank you for the effort.

Caarrie

  • Forum Addict
  • *
  • Posts: 3369
  • We want no UNFIXED bugs!!!!!!!!!!!!!
    • View Profile
    • PlaneShift3dMods
Re: ATTENTION CRAFTERS
« Reply #5 on: March 29, 2008, 02:06:35 pm »
If it is easily customizable in this manner there might be a point in having a per user option.

there is a work in progress [bug report] for per user options but that does not include the gui.

Also you can modify the hight and width of the bulklist but keep in mind that they were 61x61 before so dont get off that aspect ratio or you will run into problems with the icons.

Prolix

  • Guest
Re: ATTENTION CRAFTERS
« Reply #6 on: March 29, 2008, 02:24:02 pm »
Ok so the bulklist is where the individual slots are 'configured'. I am a little confused though as the numbers in your original post seem to bear little relation to the 61x61 but if you are thinking I was planning on changing the slot size, I am not. I was thinking of changing the frame size so that more slots will fit on a row and only having two rows.

The third partial row has always seemed unfinished to me -- either fill it out (add more slots) or remove it, preferably by adding its slots to the first two rows and not reducing the total amount of slots. The number of slots seems arbitrary to me to begin with but I understand you are tinkering with the display and not with the essence of the functionality.

Caarrie

  • Forum Addict
  • *
  • Posts: 3369
  • We want no UNFIXED bugs!!!!!!!!!!!!!
    • View Profile
    • PlaneShift3dMods
Re: ATTENTION CRAFTERS
« Reply #7 on: March 29, 2008, 02:31:55 pm »
I did not add anymore to it [slots] as i am not a dev and i dont know how that is handled in the database. as for keeping in the ratio 61/1.5=43.57

Prolix

  • Guest
Re: ATTENTION CRAFTERS
« Reply #8 on: March 29, 2008, 02:47:52 pm »
my calculator comes up with 61/1.5=40.66666, 43.57 x 1.5 =65.535.
However I think if you keep Width and Height equal it will work out fine.

Caarrie

  • Forum Addict
  • *
  • Posts: 3369
  • We want no UNFIXED bugs!!!!!!!!!!!!!
    • View Profile
    • PlaneShift3dMods
Re: ATTENTION CRAFTERS
« Reply #9 on: March 29, 2008, 02:59:13 pm »
my calculator comes up with 61/1.5=40.66666, 43.57 x 1.5 =65.535.
However I think if you keep Width and Height equal it will work out fine.

i see why it was 1.4 not 1.5

Tuxide

  • Hydlaa Notable
  • *
  • Posts: 715
    • View Profile
    • Banker
Re: ATTENTION CRAFTERS
« Reply #10 on: March 30, 2008, 02:00:31 am »
Nice one, but how the hell is this fan art I wonder?  Well, uhmm, yeah I suppose that's a really nice picture of a DOM tree you have :P  Very expressive and has no functional value...or is it the other way around?

neko kyouran

  • Guest
Re: ATTENTION CRAFTERS
« Reply #11 on: March 30, 2008, 04:03:12 am »
Quote
Post your fan art about PlaneShift here! Pictures, models, sketches, maps are all encouraged. Comments and improvements are welcome. Try to be somewhat nice.

essentially, anything from a drawing, to a game mod is considered appropriate for this section.