User Tools

Site Tools


modding:xml:listoptions
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


modding:xml:listoptions [2014/12/27 04:40] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +Discuss this page on this page's [[ListOptions Talk Page|Talk Page]].
  
 +FIXME Please correct any inaccuracies.
 +
 +===<ListOptions>===
 +
 +From the [[http://xelerus.de/index.php?s=mod&id=324|XML'd elementDocument]]
 +
 +  <ListOptions Attributes="dataFrom,list,initialItem" />
 +
 +ListOptions is a child element of [[<DockScreen>]]
 +
 +For actual example of use see a mod like [[http://xelerus.de/index.php?s=mod&id=690|Conduct no-buy]].
 +
 + <DockScreen UNID="&dsExchangeBuy;"
 + name= "=(objGetName gSource)"
 + type= "itemPicker"
 + backgroundID= "&rsItemListScreen;"
 + >
 + <ListOptions
 + dataFrom= "station"
 + list= "fmtuvrd~was"
 + >
 + </ListOptions>
 + <Panes>
 + ... etc. ...
 +
 +===Sub elements and attributes===
 +
 +  * dataFrom
 +
 +One of "station" and "player".
 +
 +This denotes where the list items are to be found.
 +
 +  * list
 +
 +A string built up from the following elements.
 +
 +''Categories''
 +
 +<code>  * all categories
 + a armor
 + d device (weapon, shield, drive, etc.)
 + f fuel
 + l launcher weapon only
 + m missile
 + r reactor
 + s shields
 + t miscellaneous
 + u useful (armor coating, ROM, etc.)
 + v drive
 + w weapon (including launchers)</code>
 +
 +''Condition''
 +
 +<code> I is installed
 + D is damaged
 + N is not damaged
 + S is usable
 + U is not installed</code>
 +
 +A ~ before a letter means not.  e.g. w~l = Weapons, but not launchers.
 +
 +After a string of the codes given above you can also include a number of modifiers that the item must (or must not) have.
 +
 +"U* +info; -id"
 +
 +Include all categories of items, as long as they are uninstalled.  They must have the modifier 'info' but not have the modifier 'id'.
 +
 +[[modding:xml:listoptions]]).
 +
 +Go back to list of [[..:XML|tags]]
modding/xml/listoptions.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1