Resource icon

GumpImageBrowser.cs - SGI Command 1.2

No permission to download
REQUIRES My Custom Gump (CG):

Best used with large Wide-Screen monitor
To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.

/**************************** GumpImageBrowser.cs **************************
*                    (C) 2016, Lokai
* Description: Command that displays a gump that lets you browse
*        the gump images. Only Administrator level to run the
*        command. Only Owners can unlock. If one Administrator has
*        the gump locked, it will not let another run the gump, to
*        prevent accessing the same static objects at the same time.
* Commands:
*        SearchGumpImage or
*        SGI - Opens the gump. If you supply an image ID, it
*            will try to show that image first.
*        SGIunlock or
*        SGIu - If the gump gets locked, this will unlock it.
* Extras:
*        Assumes you have a text file at the following path:
*            "Data/SGI/sgi.txt". This file loads descriptions
*            for some of the gump images, and you can edit those
*             descriptions or add new ones using the Gump.
*        Gump information is stored in a static List of objects
*            called ValidGumps. These are available to other
*            gumps that you write by referencing SGI.ValidGumps
*        Generates a set of Pinned images, so you can visually build
*            a gump. Note, that the order you add them is how the Z
*            is initially set up, but you can move them around, and
*            change the Z, so images will move in front or behind
*            other images displayed. Background pattern can be cycled
*            among several possible backgrounds.
*        Allows you to output Pinned Gump to .cs file. File will
*            automatically be placed in the Data/SGI folder by
*            default.
*        Sample text file included - sgi.txt
*   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 2 of the License, or
*   (at your option) any later version.
First release
Last update
0.00 star(s) 0 ratings

More resources from Lokai

Latest Updates

  1. Gump Image Browser - SGI Command

    Removed reliance on Ultima.Gumps for this version. This may improve compatibility. If you don't...
  2. Fixed gump placement in the .cs template

    I had originally passed the X and Y coordinates of the Gump image, but I forgot I needed to...