FG Spreadshirt Swag
  1. #1

    Join Date
    Apr 2010
    Location
    Australia
    Posts
    897

    The <imagesettings> tag

    Are there any undocumented elements of the <imagesettings> tag?

    Code:
    <imagesettings >	
       <shortcut >	
          <icon > ... </icon>
          <iconpublic > ... </iconpublic>
          <hotspot > ... </hotspot>
       </shortcut>	
    </imagesettings>
    I have been able to find <pointer>, but I want to know if there are any more. It would be great if something like the following was available:

    Code:
    <imagesettings >	
       <shortcut >	
          <icon > ... </icon>
          <iconpublic > ... </iconpublic>
          <hotspot > ... </hotspot>
       </shortcut>
    
       
       <default>
          <gridtype> ... </gridtype>
          <snap> ... </snap>
          <snapsquare> ... </snapsquare>
          <snaphex> ... </snaphex>
       </default>
    
    </imagesettings>
    I know these values can be set via the <imagecontrol> tag, but the ability to override the default values would be useful in defining ruleset defaults without having to modify the campaign/record_image.xml.
    Timezone: Australian EST (GMT +10).
    Systems/Rulesets: GURPS 4th Edition.
    Campaigns (Ultimate License Holder)
    GURPS Traveller - The Empty Peace
    GURPS Shadowrun - Power Plays
    GURPS Banestorm - Dark Clouds Rising

  2. #2
    Currently, there is only shortcut.icon, shortcut.iconpublic, shortcut.hotspot and pointer.defaultconeangle

    JPG

  3. #3
    Varsuuk's Avatar
    Join Date
    Dec 2015
    Location
    New York
    Posts
    2,075
    Old one, sorry - but I see when searched to find how this is used that there were two defined values in the rulesets I had: "5E" and "30", I presume 30 = 30degrees. What is the value for 5E and why was it chosen as a string? Is there some string resource where 5E translates to a number?

  4. #4
    Varsuuk's Avatar
    Join Date
    Dec 2015
    Location
    New York
    Posts
    2,075
    AHA, a little more reading on the time-machine subject and I see Moon answered this (it didn't impact anything, I was just curious)


    The default cone angles can be adjusted per ruleset. Valid values are (180, 120, 90, 60, 45, 30, 5E). The 5E version is equal width/distance (~53 degrees).

    <imagesettings>
    <pointer defaultconeangle="30" />
    </imagesettings>
    If you want more than one cone, then you'll still need to write the Lua code.

    Regards,
    JPG

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
STAR TREK 2d20

Log in

Log in