modding:function:legend
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
modding:function:legend [2013/09/25 19:08] – edited item criteria digdug | modding:function:legend [2017/09/19 04:27] (current) – rpc | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | =====TIPS and TRICKS===== | ||
+ | |||
+ | On Ministry, you can use Inactive + API Spec to see all the updates that George has done. | ||
+ | |||
+ | You can CTRL+CLICK to set the default tab on dockscreens. | ||
=====Function Legend===== | =====Function Legend===== | ||
Line 142: | Line 147: | ||
===== Parameter Notes ===== | ===== Parameter Notes ===== | ||
- | ==== Font Sizes ==== | + | ==== Fonts ==== |
- | When dealing with fonts in DockScreens there are several | + | When dealing with fonts in DockScreens there are several |
< | < | ||
- | Small | + | NAME FONT SIZE BOLD |
- | Text | + | Small Convection 10 No |
- | TextBold | + | Medium Convection 13 No |
- | Medium | + | MediumBold Convection 13 Yes |
- | MediumBold | + | MediumHeavyBold Convection 14 Yes |
- | MediumHeavyBold | + | Large Convection 16 No |
- | Large | + | LargeBold Convection 16 Yes |
- | LargeBold | + | Header Convection 19 No |
- | Header | + | HeaderBold Convection 19 Yes |
- | SubTitle | + | SubTitle Convection 26 No |
- | SubTitleBold | + | SubTitleBold Convection 26 Yes |
- | Title | + | SubTitleHeavyBold Convection 28 Yes |
+ | Title Convection 56 No | ||
+ | LogoTitle Blue Island 60 No | ||
+ | Console Lucida Console 14 No | ||
</ | </ | ||
+ | ===References=== | ||
+ | https:// | ||
====Object Criteria==== | ====Object Criteria==== | ||
+ | =====Criteria===== | ||
+ | |||
+ | These codes are used in various functions that need to check for or list spaceobjects. | ||
+ | |||
+ | < | ||
+ | G | ||
+ | G: | ||
+ | s | ||
+ | t | ||
+ | T | ||
+ | T: | ||
+ | A | ||
+ | B: | ||
+ | D: | ||
+ | E Enemy objects only | ||
+ | F | ||
+ | H Only objects whose base = source | ||
+ | M | ||
+ | N | ||
+ | N:nn; | ||
+ | NN: | ||
+ | O: | ||
+ | P only objects visible to source | ||
+ | J only objects from a given sovereign | ||
+ | J:& | ||
+ | K only objects that cannot attack | ||
+ | R:nn; | ||
+ | V | ||
+ | Z | ||
+ | z Only include player | ||
+ | b Beam Objects | ||
+ | m | ||
+ | X | ||
+ | S:d | ||
+ | S:D | ||
+ | I: | ||
+ | +xyz; | ||
+ | -xyz; | ||
+ | +unid: | ||
+ | +isPlayerClass: | ||
+ | +data: | ||
+ | -data: | ||
+ | </ | ||
+ | Note: Virtual stations are not searched by default through t; therefore you should use V as well if searching for a virtual station. | ||
Moved to [[modding: | Moved to [[modding: | ||
==== TypFind Criteria ==== | ==== TypFind Criteria ==== | ||
+ | =====Criteria===== | ||
+ | |||
+ | These are codes used to enumerate types with the [[modding: | ||
+ | |||
+ | < | ||
+ | * = all types | ||
+ | $ = currency UNID | ||
+ | a = an adventureDesc UNID | ||
+ | b = item table UNID | ||
+ | c = effect type UNID | ||
+ | d = dock screen UNID | ||
+ | e = space environment UNID | ||
+ | f = overlay UNID (apparently original name was ' | ||
+ | g = globals UNID (currently returns nothing?) | ||
+ | h = ship table UNID | ||
+ | i = item type UNID | ||
+ | m = image UNID | ||
+ | n = system node UNID (currently returns nothing?) | ||
+ | p = power UNID | ||
+ | q = system table UNID | ||
+ | s = ship class UNID | ||
+ | t = station type UNID | ||
+ | u = sound UNID (currently returns nothing?) | ||
+ | v = sovereign UNID | ||
+ | w = name generator UNID (currently returns nothing?) | ||
+ | y = system type UNID | ||
+ | z = system map UNID | ||
+ | _ = template type UNID // We don't support enumerating template types (TSE/ | ||
+ | |||
+ | V = Include Virtual types | ||
+ | |||
+ | +isPlayerClass: | ||
+ | +unid:[a unid] = returns the requested unid if extant, or nil | ||
+ | </ | ||
+ | |||
+ | * There is currently no way to get a list of only vitual types except filtering one list against the other. | ||
+ | * Use +attrib and -attrib to select attributes | ||
+ | * Type codes are only additive, e.g., " | ||
+ | * There appears to be some way to use > >= < <= $ # and a number to do aditional filtering. (I haven' | ||
Moved to [[modding: | Moved to [[modding: | ||
Line 363: | Line 455: | ||
0x8F00 -Drain again I'm guessing this would effect powered armor | 0x8F00 -Drain again I'm guessing this would effect powered armor | ||
</ | </ | ||
+ | Enhancements in string form are also supported | ||
+ | < | ||
+ | {number} Interpret as a mod code | ||
+ | +armor: | ||
+ | +hpBonus: | ||
+ | +immunity: | ||
+ | +reflect: | ||
+ | +regen Regenerate | ||
+ | +resist: | ||
+ | +resistDamageClass: | ||
+ | +resistDamageTier: | ||
+ | +resistEnergy: | ||
+ | +resistMatter: | ||
+ | +shield: | ||
+ | +speed: | ||
+ | </ | ||
+ | |||
+ | |||
+ | More enhancements can be [[https:// | ||
====Categories==== | ====Categories==== | ||
Line 626: | Line 737: | ||
category | category | ||
- | Note: typGetDataField is deprecated. Use typGetData instead. | ||
- | Use typGetData instead. | ||
====Sovereigns==== | ====Sovereigns==== | ||
Line 671: | Line 780: | ||
Also, you can use '' | Also, you can use '' | ||
+ | |||
+ | ==== Shield and Level Adjustment curves ==== | ||
+ | [[/ | ||
+ | |||
+ | |||
==== Random Notes ==== | ==== Random Notes ==== | ||
- | Dbglog has a limit of 931 characters. | + | Dbglog has a limit of 931 characters. |
+ | Not in 1.2, dbglog can print past this limit. \\ | ||
+ | sysVectorPolarOffset starts with 0 to the right and rotates counterclockwise \\ | ||
+ | [[http:// |
modding/function/legend.1380136101.txt.gz · Last modified: 2014/12/27 04:40 (external edit)