Jump to content

All Activity

This stream auto-updates     

  1. Today
  2. Yesterday
  3. BIKIsetUserMFDvalue

    ← Older revision Revision as of 14:54, 26 July 2017 (2 intermediate revisions by the same user not shown) Line 7: Line 7: ____________________________________________________________________________________________ ____________________________________________________________________________________________ − | Store user value in MFD, limit is 10, user0...user9. |= Description + | When MFD is using user controllers, this command can set values on them. For example, MFD config for Blackfoot has an entry + <syntaxhighlight lang=cpp> + ... + class Draw + { + alpha = "user3"; + color[] = {"user0","user1","user2"}; + ... + </syntaxhighlight> + which could control color of the MFD. See Example 2-3-4 on how to set different colors of the Blackfoot MFD |= Description ____________________________________________________________________________________________ ____________________________________________________________________________________________ Line 19: Line 28: | [[Nothing]] |= Return value | [[Nothing]] |= Return value − − | s2= vehicle '''setUserMFDvalue''' MFDColor |= Syntax − − |p21= vehicle: [[Object]] - an vehicle with MFD |= Parameter 1 − − |p22= MFDColor: [[Array]] - in format [r, g, b, a] |= Parameter 2 − − | r2= [[Nothing]] |= Return value ____________________________________________________________________________________________ ____________________________________________________________________________________________ |x1= <code> BIS_Plane [[setUserMFDvalue]] [0,1]; // user0 in MFD will return 1</code> |= Example 1 |x1= <code> BIS_Plane [[setUserMFDvalue]] [0,1]; // user0 in MFD will return 1</code> |= Example 1 − |x2= Change MFD color to red: <code> BIS_Plane [[setUserMFDvalue]] [1,0,0,1];</code> |= Example 2 + |x2= Set MFD Red:<code>Blackfoot [[setUserMFDvalue]] [0, 1]; // "user0" - 1 + Blackfoot [[setUserMFDvalue]] [1, 0]; // "user1" - 0 + Blackfoot [[setUserMFDvalue]] [2, 0]; // "user2" - 0 + Blackfoot [[setUserMFDvalue]] [3, 1]; // "user3" - 1</code> |= Example 2 + + |x3= Set MFD pale Blue:<code>Blackfoot [[setUserMFDvalue]] [0, 0]; // "user0" - 0 + Blackfoot [[setUserMFDvalue]] [1, 0]; // "user1" - 0 + Blackfoot [[setUserMFDvalue]] [2, 1]; // "user2" - 1 + Blackfoot [[setUserMFDvalue]] [3, 0.1]; // "user3" - 0.1</code> |= Example 3 + + |x4= Hide MFD:<code>Blackfoot [[setUserMFDvalue]] [3, 0]; // "user3" - 0</code> |= Example 4 ____________________________________________________________________________________________ ____________________________________________________________________________________________ View the full article
  4. BIKIsetUserMFDvalue

    correct usage ← Older revision Revision as of 14:46, 26 July 2017 (One intermediate revision by the same user not shown) Line 7: Line 7: ____________________________________________________________________________________________ ____________________________________________________________________________________________ − | Store user value in MFD, limit is 10, user0...user9. |= Description + | When MFD is using user controllers, this command can set values on them. For example, MFD config for Blackfoot has an entry + <syntaxhighlight lang=cpp> + ... + class Draw + { + alpha = "user3"; + color[] = {"user0","user1","user2"}; + ... + </syntaxhighlight> + which could control color of the MFD. See Example 2-3-4 on how to set different colors of the Balckfoot HUD |= Description ____________________________________________________________________________________________ ____________________________________________________________________________________________ Line 19: Line 28: | [[Nothing]] |= Return value | [[Nothing]] |= Return value − − | s2= vehicle '''setUserMFDvalue''' MFDColor |= Syntax − − |p21= vehicle: [[Object]] - an vehicle with MFD |= Parameter 1 − − |p22= MFDColor: [[Array]] - in format [r, g, b, a] |= Parameter 2 − − | r2= [[Nothing]] |= Return value ____________________________________________________________________________________________ ____________________________________________________________________________________________ |x1= <code> BIS_Plane [[setUserMFDvalue]] [0,1]; // user0 in MFD will return 1</code> |= Example 1 |x1= <code> BIS_Plane [[setUserMFDvalue]] [0,1]; // user0 in MFD will return 1</code> |= Example 1 − |x2= Change MFD color to red: <code> BIS_Plane [[setUserMFDvalue]] [1,0,0,1];</code> |= Example 2 + |x2= Set MFD Red:<code>Blackfoot [[setUserMFDvalue]] [0, 1]; // "user0" - 1 + Blackfoot [[setUserMFDvalue]] [1, 0]; // "user1" - 0 + Blackfoot [[setUserMFDvalue]] [2, 0]; // "user2" - 0 + Blackfoot [[setUserMFDvalue]] [3, 1]; // "user3" - 1</code> |= Example 2 + + |x3= Set MFD pale Blue:<code>Blackfoot [[setUserMFDvalue]] [0, 0]; // "user0" - 0 + Blackfoot [[setUserMFDvalue]] [1, 0]; // "user1" - 0 + Blackfoot [[setUserMFDvalue]] [2, 1]; // "user2" - 1 + Blackfoot [[setUserMFDvalue]] [3, 0.1]; // "user3" - 0.1</code> |= Example 3 + + |x4= Hide MFD:<code>Blackfoot [[setUserMFDvalue]] [3, 0]; // "user3" - 0</code> |= Example 4 ____________________________________________________________________________________________ ____________________________________________________________________________________________ View the full article
  5. (2)

    (2) (RSS generated with FetchRss)View the full article
  6. (0)

    (0) (RSS generated with FetchRss)View the full article
  7. HALs Store by HallyG

    HALs Store by HallyG (RSS generated with FetchRss)View the full article
  8. Snow Storm Script by aliascartoons (RSS generated with FetchRss)View the full article
  9. BIKIsetUserMFDvalue

    Undo revision 104021 by Killzone Kid (talk) Apparently not how it is done, go figure ← Older revision Revision as of 10:42, 26 July 2017 Line 19: Line 19: | [[Nothing]] |= Return value | [[Nothing]] |= Return value − − | s2= vehicle '''setUserMFDvalue''' MFDColor |= Syntax − − |p21= vehicle: [[Object]] - an vehicle with MFD |= Parameter 1 − − |p22= MFDColor: [[Array]] - in format [r, g, b, a] |= Parameter 2 − − | r2= [[Nothing]] |= Return value ____________________________________________________________________________________________ ____________________________________________________________________________________________ |x1= <code> BIS_Plane [[setUserMFDvalue]] [0,1]; // user0 in MFD will return 1</code> |= Example 1 |x1= <code> BIS_Plane [[setUserMFDvalue]] [0,1]; // user0 in MFD will return 1</code> |= Example 1 − − |x2= Change MFD color to red: <code> BIS_Plane [[setUserMFDvalue]] [1,0,0,1];</code> |= Example 2 ____________________________________________________________________________________________ ____________________________________________________________________________________________ View the full article
  10. BIKIDialog Control

    ‎Controls: moving explained ← Older revision Revision as of 09:10, 26 July 2017 (3 intermediate revisions by the same user not shown) Line 67: Line 67: | '''movingEnable''' | '''movingEnable''' | boolean | boolean − | Specifies whether the dialog can be moved or not (if enabled one of the dialogs controls should have the ''moving'' property set to 1 so it becomes the "handle" the dialog can be moved with) + | Specifies whether the dialog can be moved or not (if enabled one of the dialogs controls should have the ''moving'' property set to 1 so it becomes the "handle" the dialog can be moved with). Doesn't seem to matter in Arma 3 |- |- | '''enableSimulation''' | '''enableSimulation''' Line 204: Line 204: | '''moving''' | '''moving''' | boolean | boolean − | whether the dialog will be moved if this control is dragged (requires "movingEnable" to be 1 in the dialog) + | whether the dialog will be moved if this control is dragged (may require "movingEnable" to be 1 in the dialog. In Arma 3 works regardless). Another way of allowing moving of the dialog is to have control of style ST_TITLE_BAR |- |- | '''type''' | '''type''' Line 506: Line 506: {| class="bikitable" {| class="bikitable" ! Define !! Decimal !! Hexadecimal !! Remark ! Define !! Decimal !! Hexadecimal !! Remark − |- − | SL_DIR || 1024 || 0x0400 || |- |- | SL_VERT || 0 || 0x00 || | SL_VERT || 0 || 0x00 || Line 514: Line 512: |- |- | SL_TEXTURES || 16 || 0x10 || | SL_TEXTURES || 16 || 0x10 || − |} + |} ===[[CT_PROGRESS]] Specific Styles=== ===[[CT_PROGRESS]] Specific Styles=== Line 545: Line 543: ===Control Styles Defines=== ===Control Styles Defines=== <syntaxhighlight lang=cpp> <syntaxhighlight lang=cpp> − #define ST_POS 0x0F − #define ST_HPOS 0x03 − #define ST_VPOS 0x0C #define ST_LEFT 0x00 #define ST_LEFT 0x00 #define ST_RIGHT 0x01 #define ST_RIGHT 0x01 Line 554: Line 549: #define ST_UP 0x08 #define ST_UP 0x08 #define ST_VCENTER 0x0C #define ST_VCENTER 0x0C − #define ST_TYPE 0xF0 #define ST_SINGLE 0x00 #define ST_SINGLE 0x00 #define ST_MULTI 0x10 #define ST_MULTI 0x10 Line 574: Line 568: #define ST_KEEP_ASPECT_RATIO 0x0800 #define ST_KEEP_ASPECT_RATIO 0x0800 #define ST_TITLE ST_TITLE_BAR + ST_CENTER #define ST_TITLE ST_TITLE_BAR + ST_CENTER − #define SL_DIR 0x400 #define SL_VERT 0 #define SL_VERT 0 #define SL_HORZ 0x400 #define SL_HORZ 0x400 View the full article
  11. BIKIDialog Control

    ‎CT_SLIDER Specific Styles: sl dir is not a style but helper ← Older revision Revision as of 09:00, 26 July 2017 (One intermediate revision by the same user not shown) Line 506: Line 506: {| class="bikitable" {| class="bikitable" ! Define !! Decimal !! Hexadecimal !! Remark ! Define !! Decimal !! Hexadecimal !! Remark − |- − | SL_DIR || 1024 || 0x0400 || |- |- | SL_VERT || 0 || 0x00 || | SL_VERT || 0 || 0x00 || Line 514: Line 512: |- |- | SL_TEXTURES || 16 || 0x10 || | SL_TEXTURES || 16 || 0x10 || − |} + |} ===[[CT_PROGRESS]] Specific Styles=== ===[[CT_PROGRESS]] Specific Styles=== Line 545: Line 543: ===Control Styles Defines=== ===Control Styles Defines=== <syntaxhighlight lang=cpp> <syntaxhighlight lang=cpp> − #define ST_POS 0x0F − #define ST_HPOS 0x03 − #define ST_VPOS 0x0C #define ST_LEFT 0x00 #define ST_LEFT 0x00 #define ST_RIGHT 0x01 #define ST_RIGHT 0x01 Line 554: Line 549: #define ST_UP 0x08 #define ST_UP 0x08 #define ST_VCENTER 0x0C #define ST_VCENTER 0x0C − #define ST_TYPE 0xF0 #define ST_SINGLE 0x00 #define ST_SINGLE 0x00 #define ST_MULTI 0x10 #define ST_MULTI 0x10 Line 574: Line 568: #define ST_KEEP_ASPECT_RATIO 0x0800 #define ST_KEEP_ASPECT_RATIO 0x0800 #define ST_TITLE ST_TITLE_BAR + ST_CENTER #define ST_TITLE ST_TITLE_BAR + ST_CENTER − #define SL_DIR 0x400 #define SL_VERT 0 #define SL_VERT 0 #define SL_HORZ 0x400 #define SL_HORZ 0x400 View the full article
  12. BIKIArmaverse Timeline

    ← Older revision Revision as of 08:19, 26 July 2017 Line 337: Line 337: |1983|07&nbsp;/&nbsp;04| |1983|07&nbsp;/&nbsp;04| [http://www.arma2.com/arma-2-pmc-characters/patrick-dixon_en.html Patrick Dixon] is born in Anna Bay, Australia. [http://www.arma2.com/arma-2-pmc-characters/patrick-dixon_en.html Patrick Dixon] is born in Anna Bay, Australia. + |start=2}} + {{Timeline_Item + |Person|MacDade + |1983|07&nbsp;/&nbsp;11| + Nathan MacDade is born. |start=2}} |start=2}} <!--- COLD WAR CRISIS ----------------------------------------------------------------------------------------------->{{Timeline_Item <!--- COLD WAR CRISIS ----------------------------------------------------------------------------------------------->{{Timeline_Item View the full article
  13. BIKIDialog Control

    ‎Inheritance ← Older revision Revision as of 07:59, 26 July 2017 (2 intermediate revisions by the same user not shown) Line 598: Line 598: * '''Example:''' * '''Example:''' − <code><nowiki>class RscText { + <code><nowiki>class RscText //Base definition used for inheritance + { type = CT_STATIC; type = CT_STATIC; idc = -1; idc = -1; Line 610: Line 611: }; }; − class My_BlueText : RscText { + class My_BlueText : RscText //My_BlueText inherits all attributes from RscText defined above, thus only x,w & colorText need to be changed + { colorText[] = {0, 0, 1, 1}; colorText[] = {0, 0, 1, 1}; x = 0.1; x = 0.1; Line 616: Line 618: }; }; − class My_Dialog { + class My_Dialog + { //... //... Line 624: Line 627: }; }; − class My_Text_1 : My_BlueText { + class My_Text_1 : My_BlueText //My_Text_1 inherits all attribute from My_BlueText, therefore only text & y attributes have to be changed + { text = "Line 1"; text = "Line 1"; y = 0.2; y = 0.2; }; }; − class My_Text_2 : My_BlueText { + class My_Text_2 : My_BlueText + { text = "Line 2"; text = "Line 2"; y = 0.25; y = 0.25; Line 637: Line 642: === Preprocessor instructions === === Preprocessor instructions === − Note that you can also add your own preprocessor instructions for commonly used data, eg. for colors, to save yourself the hassle of writing it in several different places and then adapt each of them if you want to change them afterwards (especially if class inheritance isn't applicable). Also it can make your code look more readable sometimes. + Note that you can also add your own [[PreProcessor_Commands|preprocessor instructions]] for commonly used data, eg. for colors, to save yourself the hassle of writing it in several different places and then adapt each of them if you want to change them afterwards (especially if class inheritance isn't applicable). Also it can make your code look more readable sometimes. * '''Example:''' * '''Example:''' View the full article
  14. When nothing is going right. Go left.

    1. PeterBush1997

      PeterBush1997

      Instructions not clear, Crashed into water

  15. BIKIDialogControls-Text

    ‎CT_STATIC=0 ← Older revision Revision as of 00:24, 26 July 2017 (2 intermediate revisions by the same user not shown) Line 14: Line 14: | '''autoplay''' | '''autoplay''' | boolean | boolean − | video only + | Whether or not to autostart .ogv/.ogg file set as texture − |- + − | '''blinkingPeriod''' + − | float (Seconds) + − | Makes the text start transparent, go to full opacity and back to full transparent in the amount of time specified. + − |- + − | '''key''' + − | string + − | a possibly quite useless xbox value + |- |- | '''loops''' | '''loops''' | integer | integer − | video only + | How many times to play video |- |- | '''lineSpacing''' | '''lineSpacing''' | float | float − | line spacing. Required, if the style was set to <tt>ST_MULTI</tt>. + | Line spacing, required if the style was set to <tt>ST_MULTI</tt> |- |- | '''fixedWidth''' | '''fixedWidth''' − | boolean? + | boolean − | + | Makes normal text like "LALALA" appear like "L A L A L A" |- |- | '''shadow''' | '''shadow''' − | float + | integer − | optional shadow style: 0 = none (default), 1 = drop shadow, 2 = outline + | Optional shadow style: 0 = none (default), 1 = drop shadow, 2 = outline |- |- + | '''colorShadow''' + | array + | Sets color of the shadow under text, when '''shadow''' = 1; + |- + | '''blinkingPeriod''' + | float + | Speed with which control blinks, i.e. smoothly and repeatedly changes opacity from 1 to 0 and back |}<br clear="all"> |}<br clear="all"> View the full article
  16. BIKIDialogControls-Text

    ‎CT_STATIC=0 ← Older revision Revision as of 00:12, 26 July 2017 (One intermediate revision by the same user not shown) Line 15: Line 15: | boolean | boolean | video only | video only − |- − | '''blinkingPeriod''' − | float (Seconds) − | Makes the text start transparent, go to full opacity and back to full transparent in the amount of time specified. − |- − | '''key''' − | string − | a possibly quite useless xbox value |- |- | '''loops''' | '''loops''' Line 30: Line 22: | '''lineSpacing''' | '''lineSpacing''' | float | float − | line spacing. Required, if the style was set to <tt>ST_MULTI</tt>. + | line spacing, required, if the style was set to <tt>ST_MULTI</tt> |- |- | '''fixedWidth''' | '''fixedWidth''' − | boolean? + | boolean − | + | makes normal text like "LALALA" appear like "L A L A L A" |- |- | '''shadow''' | '''shadow''' Line 40: Line 32: | optional shadow style: 0 = none (default), 1 = drop shadow, 2 = outline | optional shadow style: 0 = none (default), 1 = drop shadow, 2 = outline |- |- + | '''colorShadow''' + | array + | Sets color of the shadow under text, when '''shadow''' = 1; |}<br clear="all"> |}<br clear="all"> View the full article
  17. Last week
  18. BIKIDialog Control

    ‎Control Types Defines ← Older revision Revision as of 23:48, 25 July 2017 (8 intermediate revisions by the same user not shown) Line 338: Line 338: | [[CT_HTML]] || 9 || 0x09 || | [[CT_HTML]] || 9 || 0x09 || |- |- − | [[CT_STATIC_SKEW]] || 10 || 0x0A || + | CT_STATIC_SKEW || 10 || 0x0A || |- |- | [[CT_ACTIVETEXT]] || 11 || 0x0B || | [[CT_ACTIVETEXT]] || 11 || 0x0B || Line 352: Line 352: | [[CT_SHORTCUTBUTTON]] || 16 || 0x10 || | [[CT_SHORTCUTBUTTON]] || 16 || 0x10 || |- |- − | [[CT_HITZONES]] || 17 || 0x11 || + | CT_HITZONES || 17 || 0x11 || |- |- − | [[CT_VEHICLETOGGLES]] || 18 || 0x12 || + | CT_VEHICLETOGGLES || 18 || 0x12 || |- |- − | [[CT_CONTROLS_TABLE]] || 19 || 0x13 || + | CT_CONTROLS_TABLE || 19 || 0x13 || |- |- | [[CT_XKEYDESC]] || 40 || 0x28 || | [[CT_XKEYDESC]] || 40 || 0x28 || |- |- − | [[CT_XBUTTON]] || 41 || 0x29 || + | CT_XBUTTON || 41 || 0x29 || |- |- | [[CT_XLISTBOX]] || 42 || 0x2A || | [[CT_XLISTBOX]] || 42 || 0x2A || Line 370: Line 370: | [[CT_ANIMATED_TEXTURE]] || 45 || 0x2D || | [[CT_ANIMATED_TEXTURE]] || 45 || 0x2D || |- |- − | [[CT_MENU]] || 46 || 0x2E || Arma 3 (EDEN) + | CT_MENU || 46 || 0x2E || Arma 3 (EDEN) |- |- − | [[CT_MENU_STRIP]] || 47 || 0x2F || Arma 3 (EDEN) + | CT_MENU_STRIP || 47 || 0x2F || Arma 3 (EDEN) |- |- − | [[CT_RADIAL_MENU]] || 48 || 0x30 || + | CT_CHECKBOX || 77 || 0x4D || Arma 3 − |- + − | [[CT_CHECKBOX]] || 77 || 0x4D || Arma 3 + |- |- | [[CT_OBJECT]] || 80 || 0x50 || | [[CT_OBJECT]] || 80 || 0x50 || Line 384: Line 382: | [[CT_OBJECT_CONTAINER]] || 82 || 0x52 || | [[CT_OBJECT_CONTAINER]] || 82 || 0x52 || |- |- − | [[CT_OBJECT_CONT_ANIM]] || 83 || 0x53 || + | CT_OBJECT_CONT_ANIM || 83 || 0x53 || |- |- | [[CT_LINEBREAK]] || 98 || 0x62 || | [[CT_LINEBREAK]] || 98 || 0x62 || Line 396: Line 394: | [[CT_LISTNBOX]] || 102 || 0x66 || | [[CT_LISTNBOX]] || 102 || 0x66 || |- |- − | [[CT_ITEMSLOT]] || 103 || 0x67 || + | CT_ITEMSLOT || 103 || 0x67 || |- |- − | [[CT_LISTNBOX_CHECKABLE]] || 104 || 0x68 || + | CT_LISTNBOX_CHECKABLE || 104 || 0x68 || |- |- − | [[CT_VEHICLE_DIRECTION]] || 105 || 0x69 || + | CT_VEHICLE_DIRECTION || 105 || 0x69 || |} |} ===Control Types Defines=== ===Control Types Defines=== Line 432: Line 430: #define CT_MENU 46 #define CT_MENU 46 #define CT_MENU_STRIP 47 #define CT_MENU_STRIP 47 − #define CT_RADIAL_MENU 48 #define CT_CHECKBOX 77 #define CT_CHECKBOX 77 #define CT_OBJECT 80 #define CT_OBJECT 80 Line 449: Line 446: ==CONTROL STYLES== ==CONTROL STYLES== − ===Common Styles=== + ===[[CT_STATIC]] Specific Styles=== + + {| class="bikitable" {| class="bikitable" ! Define !! Decimal !! Hexadecimal !! Remark ! Define !! Decimal !! Hexadecimal !! Remark |- |- − | ST_POS || 15 || 0x0F || + | ST_LEFT || 0 || 0x00 || Default, text left aligned |- |- − | ST_HPOS || 3 || 0x03 || + | ST_RIGHT || 1 || 0x01 || Modifier, adding this to another style will force text to be aligned to the right |- |- − | ST_VPOS || 12 || 0x0C || + | ST_CENTER || 2 || 0x02 || Modifier, adding this to another style will force text to be centered − |- + − | ST_LEFT || 0 || 0x00 || + − |- + − | ST_RIGHT || 1 || 0x01 || + − |- + − | ST_CENTER || 2 || 0x02 || + |- |- | ST_DOWN || 4 || 0x04 || | ST_DOWN || 4 || 0x04 || Line 469: Line 462: | ST_UP || 8 || 0x08 || | ST_UP || 8 || 0x08 || |- |- − | ST_VCENTER || 12 || 0x0C || + | ST_VCENTER || 12 || 0x0C || ST_DOWN + ST_UP − |- + − | ST_TYPE || 240 || 0xF0 || + |- |- − | ST_SINGLE || 0 || 0x00 || + | ST_SINGLE || 0 || 0x00 || Plain single line box without a border |- |- − | ST_MULTI || 16 || 0x10 || + | ST_MULTI || 16 || 0x10 || Plain multiple line box with a slight border. To remove border add 512 (+ ST_NO_RECT) to the style (style 528, 529 and 530 are therefore border-less). Additional parameter ''lineSpacing'' is required for this style. ''lineSpacing'' = 1; is normal line spacing. Any '''\n''' character in the text string will be interpreted as new line. |- |- − | ST_TITLE_BAR || 32 || 0x20 || + | ST_TITLE_BAR || 32 || 0x20 || Plain single line box with semi-transparent background and somewhat embossed border. When this style is used, the dialog containing control becomes draggable by this control |- |- − | ST_PICTURE || 48 || 0x30 || + | ST_PICTURE || 48 || 0x30 || Border-less picture box. Text string is treated as a path to a texture. Alignment has no effect. The texture is stretched to fit the box by default. To force original aspect ratio add 2048 (+ ST_KEEP_ASPECT_RATIO) to the style. Background is ignored, ''colorText'' controls texture colour and opacity |- |- | ST_FRAME || 64 || 0x40 || Legend like frame without background with text showing over the frame edge. Alignment has no effect. ''colorText'' defines both text and frame colour | ST_FRAME || 64 || 0x40 || Legend like frame without background with text showing over the frame edge. Alignment has no effect. ''colorText'' defines both text and frame colour Line 489: Line 480: | ST_GROUP_BOX2 || 112 || 0x70 || Plain single line box, same as ST_SINGLE, only with a slight border similar to ST_MULTI box border | ST_GROUP_BOX2 || 112 || 0x70 || Plain single line box, same as ST_SINGLE, only with a slight border similar to ST_MULTI box border |- |- − | ST_HUD_BACKGROUND || 128 || 0x80 || + | ST_HUD_BACKGROUND || 128 || 0x80 || Sets special texture for corners. It was used for rounded corners in OFP, Arma and Arma 2. In Arma 3, square corners are used everywhere, so the texture is adapted to the unified style, but the technology is not removed. In Arma 3 it looks the same as normal ST_SINGLE. Corner textures are defined in <tt>[[configFile]] >> "CfgInGameUI" >> "imageCornerElement"</tt> (can be set only globally for the whole game, not per control)” |- |- − | ST_TILE_PICTURE || 144 || 0x90 || ''tileH'' and ''tileW'' params required for tiled image + | ST_TILE_PICTURE || 144 || 0x90 || The picture is tiled according to ''tileH'' and ''tileW'' values. To force tiled picture to keep aspect ratio of original image, add 2048 (+ ST_KEEP_ASPECT_RATIO) to the style. |- |- | ST_WITH_RECT || 160 || 0xA0 || Single line box frame, similar to ST_FRAME box. The text however is displayed inside the frame. Frame and text colour are set with ''colorText'' | ST_WITH_RECT || 160 || 0xA0 || Single line box frame, similar to ST_FRAME box. The text however is displayed inside the frame. Frame and text colour are set with ''colorText'' Line 497: Line 488: | ST_LINE || 176 || 0xB0 || Diagonal line going from left top corner to bottom right corner. To control line direction, width ''w'' and height ''h'' parameters of the box could be negative. Line and text colour are set with ''colorText'' | ST_LINE || 176 || 0xB0 || Diagonal line going from left top corner to bottom right corner. To control line direction, width ''w'' and height ''h'' parameters of the box could be negative. Line and text colour are set with ''colorText'' |- |- − | ST_UPPERCASE || 192 || 0xC0 || forces all control text to upper case + | ST_UPPERCASE || 192 || 0xC0 || Forces control text to upper case |- |- − | ST_LOWERCASE || 208 || 0xD0 || forces all control text to lower case + | ST_LOWERCASE || 208 || 0xD0 || Forces control text to lower case |- |- − | ST_ADDITIONAL_INFO || 3840 || 0x0F00 || + | ST_ADDITIONAL_INFO || 3840 || 0x0F00 || ST_SHADOW + ST_NO_RECT + SL_HORZ + ST_KEEP_ASPECT_RATIO |- |- | ST_SHADOW || 256 || 0x0100 || | ST_SHADOW || 256 || 0x0100 || Line 507: Line 498: | ST_NO_RECT || 512 || 0x0200 || this style works for [[CT_STATIC]] in conjunction with ST_MULTI | ST_NO_RECT || 512 || 0x0200 || this style works for [[CT_STATIC]] in conjunction with ST_MULTI |- |- − | ST_KEEP_ASPECT_RATIO || 2048 || 0x0800 || + | ST_KEEP_ASPECT_RATIO || 2048 || 0x0800 || When used with image or texture, stops it from stretching to fit the control |- |- | ST_TITLE || 34 || 0x22 || ST_TITLE_BAR + ST_CENTER | ST_TITLE || 34 || 0x22 || ST_TITLE_BAR + ST_CENTER Line 540: Line 531: | LB_TEXTURES || 16 || 0x10 || | LB_TEXTURES || 16 || 0x10 || |- |- − | LB_MULTI || 32 || 0x20 || + | LB_MULTI || 32 || 0x20 || Makes [[CT_LISTBOX]] multi-selectable (see also [[lbSetCurSel]], [[lbCurSel]], [[lbSetSelected]], [[lbSelection]]) − |} + |} ===[[CT_TREE]] Specific Styles=== ===[[CT_TREE]] Specific Styles=== View the full article
  19. BIKIDialog Control

    ‎CT_STATIC Specific Styles ← Older revision Revision as of 23:29, 25 July 2017 (5 intermediate revisions by the same user not shown) Line 449: Line 449: ==CONTROL STYLES== ==CONTROL STYLES== − ===Common Styles=== + ===[[CT_STATIC]] Specific Styles=== + + {| class="bikitable" {| class="bikitable" ! Define !! Decimal !! Hexadecimal !! Remark ! Define !! Decimal !! Hexadecimal !! Remark |- |- − | ST_POS || 15 || 0x0F || + | ST_LEFT || 0 || 0x00 || Default, text left aligned − |- + − | ST_HPOS || 3 || 0x03 || + − |- + − | ST_VPOS || 12 || 0x0C || + − |- + − | ST_LEFT || 0 || 0x00 || + |- |- − | ST_RIGHT || 1 || 0x01 || + | ST_RIGHT || 1 || 0x01 || Modifier, adding this to another style will force text to be aligned to the right |- |- − | ST_CENTER || 2 || 0x02 || + | ST_CENTER || 2 || 0x02 || Modifier, adding this to another style will force text to be centered |- |- | ST_DOWN || 4 || 0x04 || | ST_DOWN || 4 || 0x04 || Line 469: Line 465: | ST_UP || 8 || 0x08 || | ST_UP || 8 || 0x08 || |- |- − | ST_VCENTER || 12 || 0x0C || + | ST_VCENTER || 12 || 0x0C || ST_DOWN + ST_UP |- |- − | ST_TYPE || 240 || 0xF0 || + | ST_SINGLE || 0 || 0x00 || Plain single line box without a border |- |- − | ST_SINGLE || 0 || 0x00 || + | ST_MULTI || 16 || 0x10 || Plain multiple line box with a slight border. To remove border add 512 (+ ST_NO_RECT) to the style (style 528, 529 and 530 are therefore border-less). Additional parameter ''lineSpacing'' is required for this style. ''lineSpacing'' = 1; is normal line spacing. Any '''\n''' character in the text string will be interpreted as new line. |- |- − | ST_MULTI || 16 || 0x10 || + | ST_TITLE_BAR || 32 || 0x20 || Plain single line box with semi-transparent background and somewhat embossed border. When this style is used, the dialog containing control becomes draggable by this control |- |- − | ST_TITLE_BAR || 32 || 0x20 || + | ST_PICTURE || 48 || 0x30 || Border-less picture box. Text string is treated as a path to a texture. Alignment has no effect. The texture is stretched to fit the box by default. To force original aspect ratio add 2048 (+ ST_KEEP_ASPECT_RATIO) to the style. Background is ignored, ''colorText'' controls texture colour and opacity − |- + − | ST_PICTURE || 48 || 0x30 || + |- |- | ST_FRAME || 64 || 0x40 || Legend like frame without background with text showing over the frame edge. Alignment has no effect. ''colorText'' defines both text and frame colour | ST_FRAME || 64 || 0x40 || Legend like frame without background with text showing over the frame edge. Alignment has no effect. ''colorText'' defines both text and frame colour Line 489: Line 483: | ST_GROUP_BOX2 || 112 || 0x70 || Plain single line box, same as ST_SINGLE, only with a slight border similar to ST_MULTI box border | ST_GROUP_BOX2 || 112 || 0x70 || Plain single line box, same as ST_SINGLE, only with a slight border similar to ST_MULTI box border |- |- − | ST_HUD_BACKGROUND || 128 || 0x80 || + | ST_HUD_BACKGROUND || 128 || 0x80 || Sets special texture for corners. It was used for rounded corners in OFP, Arma and Arma 2. In Arma 3, square corners are used everywhere, so the texture is adapted to the unified style, but the technology is not removed. In Arma 3 it looks the same as normal ST_SINGLE. Corner textures are defined in <tt>[[configFile]] >> "CfgInGameUI" >> "imageCornerElement"</tt> (can be set only globally for the whole game, not per control)” |- |- − | ST_TILE_PICTURE || 144 || 0x90 || ''tileH'' and ''tileW'' params required for tiled image + | ST_TILE_PICTURE || 144 || 0x90 || The picture is tiled according to ''tileH'' and ''tileW'' values. To force tiled picture to keep aspect ratio of original image, add 2048 (+ ST_KEEP_ASPECT_RATIO) to the style. |- |- | ST_WITH_RECT || 160 || 0xA0 || Single line box frame, similar to ST_FRAME box. The text however is displayed inside the frame. Frame and text colour are set with ''colorText'' | ST_WITH_RECT || 160 || 0xA0 || Single line box frame, similar to ST_FRAME box. The text however is displayed inside the frame. Frame and text colour are set with ''colorText'' Line 497: Line 491: | ST_LINE || 176 || 0xB0 || Diagonal line going from left top corner to bottom right corner. To control line direction, width ''w'' and height ''h'' parameters of the box could be negative. Line and text colour are set with ''colorText'' | ST_LINE || 176 || 0xB0 || Diagonal line going from left top corner to bottom right corner. To control line direction, width ''w'' and height ''h'' parameters of the box could be negative. Line and text colour are set with ''colorText'' |- |- − | ST_UPPERCASE || 192 || 0xC0 || forces all control text to upper case + | ST_UPPERCASE || 192 || 0xC0 || Forces control text to upper case |- |- − | ST_LOWERCASE || 208 || 0xD0 || forces all control text to lower case + | ST_LOWERCASE || 208 || 0xD0 || Forces control text to lower case |- |- − | ST_ADDITIONAL_INFO || 3840 || 0x0F00 || + | ST_ADDITIONAL_INFO || 3840 || 0x0F00 || ST_SHADOW + ST_NO_RECT + SL_HORZ + ST_KEEP_ASPECT_RATIO |- |- | ST_SHADOW || 256 || 0x0100 || | ST_SHADOW || 256 || 0x0100 || Line 507: Line 501: | ST_NO_RECT || 512 || 0x0200 || this style works for [[CT_STATIC]] in conjunction with ST_MULTI | ST_NO_RECT || 512 || 0x0200 || this style works for [[CT_STATIC]] in conjunction with ST_MULTI |- |- − | ST_KEEP_ASPECT_RATIO || 2048 || 0x0800 || + | ST_KEEP_ASPECT_RATIO || 2048 || 0x0800 || When used with image or texture, stops it from stretching to fit the control |- |- | ST_TITLE || 34 || 0x22 || ST_TITLE_BAR + ST_CENTER | ST_TITLE || 34 || 0x22 || ST_TITLE_BAR + ST_CENTER Line 540: Line 534: | LB_TEXTURES || 16 || 0x10 || | LB_TEXTURES || 16 || 0x10 || |- |- − | LB_MULTI || 32 || 0x20 || + | LB_MULTI || 32 || 0x20 || Makes [[CT_LISTBOX]] multi-selectable (see also [[lbSetCurSel]], [[lbCurSel]], [[lbSetSelected]], [[lbSelection]]) − |} + |} ===[[CT_TREE]] Specific Styles=== ===[[CT_TREE]] Specific Styles=== View the full article
  20. BIKIDialog Control

    ‎CT_STATIC Specific Styles ← Older revision Revision as of 22:53, 25 July 2017 (4 intermediate revisions by the same user not shown) Line 449: Line 449: ==CONTROL STYLES== ==CONTROL STYLES== − ===Common Styles=== + ===[[CT_STATIC]] Specific Styles=== {| class="bikitable" {| class="bikitable" ! Define !! Decimal !! Hexadecimal !! Remark ! Define !! Decimal !! Hexadecimal !! Remark |- |- − | ST_POS || 15 || 0x0F || + | ST_POS || 15 || 0x0F || This is not a valid style, but rather value used for bitwise filtering of other ST_ positionings |- |- | ST_HPOS || 3 || 0x03 || | ST_HPOS || 3 || 0x03 || Line 459: Line 459: | ST_VPOS || 12 || 0x0C || | ST_VPOS || 12 || 0x0C || |- |- − | ST_LEFT || 0 || 0x00 || + | ST_LEFT || 0 || 0x00 || Default, text left aligned |- |- − | ST_RIGHT || 1 || 0x01 || + | ST_RIGHT || 1 || 0x01 || Modifier, adding this to another style will force text to be aligned to the right |- |- − | ST_CENTER || 2 || 0x02 || + | ST_CENTER || 2 || 0x02 || Modifier, adding this to another style will force text to be centered |- |- | ST_DOWN || 4 || 0x04 || | ST_DOWN || 4 || 0x04 || Line 471: Line 471: | ST_VCENTER || 12 || 0x0C || | ST_VCENTER || 12 || 0x0C || |- |- − | ST_TYPE || 240 || 0xF0 || + | ST_TYPE || 240 || 0xF0 || Just like ST_POS, this is also a helper and not a proper style |- |- − | ST_SINGLE || 0 || 0x00 || + | ST_SINGLE || 0 || 0x00 || Plain single line box without a border |- |- − | ST_MULTI || 16 || 0x10 || + | ST_MULTI || 16 || 0x10 || Plain multiple line box with a slight border. To remove border add 512 (+ ST_NO_RECT) to the style (style 528, 529 and 530 are therefore border-less). Additional parameter ''lineSpacing'' is required for this style. ''lineSpacing'' = 1; is normal line spacing. Any '''\n''' character in the text string will be interpreted as new line. |- |- − | ST_TITLE_BAR || 32 || 0x20 || + | ST_TITLE_BAR || 32 || 0x20 || Plain single line box with semi-transparent background and somewhat embossed border. When this style is used, the dialog containing control becomes draggable by this control |- |- − | ST_PICTURE || 48 || 0x30 || + | ST_PICTURE || 48 || 0x30 || Border-less picture box. Text string is treated as a path to a texture. Alignment has no effect. The texture is stretched to fit the box by default. To force original aspect ratio add 2048 (+ ST_KEEP_ASPECT_RATIO) to the style. Background is ignored, ''colorText'' controls texture colour and opacity |- |- | ST_FRAME || 64 || 0x40 || Legend like frame without background with text showing over the frame edge. Alignment has no effect. ''colorText'' defines both text and frame colour | ST_FRAME || 64 || 0x40 || Legend like frame without background with text showing over the frame edge. Alignment has no effect. ''colorText'' defines both text and frame colour Line 489: Line 489: | ST_GROUP_BOX2 || 112 || 0x70 || Plain single line box, same as ST_SINGLE, only with a slight border similar to ST_MULTI box border | ST_GROUP_BOX2 || 112 || 0x70 || Plain single line box, same as ST_SINGLE, only with a slight border similar to ST_MULTI box border |- |- − | ST_HUD_BACKGROUND || 128 || 0x80 || + | ST_HUD_BACKGROUND || 128 || 0x80 || Sets special texture for corners. It was used for rounded corners in OFP, Arma and Arma 2. In Arma 3, square corners are used everywhere, so the texture is adapted to the unified style, but the technology is not removed. In Arma 3 it looks the same as normal ST_SINGLE. Corner textures are defined in <tt>[[configFile]] >> "CfgInGameUI" >> "imageCornerElement"</tt> (can be set only globally for the whole game, not per control)” |- |- − | ST_TILE_PICTURE || 144 || 0x90 || ''tileH'' and ''tileW'' params required for tiled image + | ST_TILE_PICTURE || 144 || 0x90 || The picture is tiled according to ''tileH'' and ''tileW'' values. To force tiled picture to keep aspect ratio of original image, add 2048 (+ ST_KEEP_ASPECT_RATIO) to the style. |- |- | ST_WITH_RECT || 160 || 0xA0 || Single line box frame, similar to ST_FRAME box. The text however is displayed inside the frame. Frame and text colour are set with ''colorText'' | ST_WITH_RECT || 160 || 0xA0 || Single line box frame, similar to ST_FRAME box. The text however is displayed inside the frame. Frame and text colour are set with ''colorText'' Line 497: Line 497: | ST_LINE || 176 || 0xB0 || Diagonal line going from left top corner to bottom right corner. To control line direction, width ''w'' and height ''h'' parameters of the box could be negative. Line and text colour are set with ''colorText'' | ST_LINE || 176 || 0xB0 || Diagonal line going from left top corner to bottom right corner. To control line direction, width ''w'' and height ''h'' parameters of the box could be negative. Line and text colour are set with ''colorText'' |- |- − | ST_UPPERCASE || 192 || 0xC0 || forces all control text to upper case + | ST_UPPERCASE || 192 || 0xC0 || Forces control text to upper case |- |- − | ST_LOWERCASE || 208 || 0xD0 || forces all control text to lower case + | ST_LOWERCASE || 208 || 0xD0 || Forces control text to lower case |- |- | ST_ADDITIONAL_INFO || 3840 || 0x0F00 || | ST_ADDITIONAL_INFO || 3840 || 0x0F00 || Line 507: Line 507: | ST_NO_RECT || 512 || 0x0200 || this style works for [[CT_STATIC]] in conjunction with ST_MULTI | ST_NO_RECT || 512 || 0x0200 || this style works for [[CT_STATIC]] in conjunction with ST_MULTI |- |- − | ST_KEEP_ASPECT_RATIO || 2048 || 0x0800 || + | ST_KEEP_ASPECT_RATIO || 2048 || 0x0800 || When used with image or texture, stops it from stretching to fit the control |- |- | ST_TITLE || 34 || 0x22 || ST_TITLE_BAR + ST_CENTER | ST_TITLE || 34 || 0x22 || ST_TITLE_BAR + ST_CENTER Line 540: Line 540: | LB_TEXTURES || 16 || 0x10 || | LB_TEXTURES || 16 || 0x10 || |- |- − | LB_MULTI || 32 || 0x20 || + | LB_MULTI || 32 || 0x20 || Makes [[CT_LISTBOX]] multi-selectable (see also [[lbSetCurSel]], [[lbCurSel]], [[lbSetSelected]], [[lbSelection]]) − |} + |} ===[[CT_TREE]] Specific Styles=== ===[[CT_TREE]] Specific Styles=== View the full article
  21. BIKIDialog Control

    ‎Common Styles ← Older revision Revision as of 22:45, 25 July 2017 (2 intermediate revisions by the same user not shown) Line 453: Line 453: ! Define !! Decimal !! Hexadecimal !! Remark ! Define !! Decimal !! Hexadecimal !! Remark |- |- − | ST_POS || 15 || 0x0F || + | ST_POS || 15 || 0x0F || This is not a valid style, but rather value used for bitwise filtering of other ST_ positionings |- |- | ST_HPOS || 3 || 0x03 || | ST_HPOS || 3 || 0x03 || Line 459: Line 459: | ST_VPOS || 12 || 0x0C || | ST_VPOS || 12 || 0x0C || |- |- − | ST_LEFT || 0 || 0x00 || + | ST_LEFT || 0 || 0x00 || Default, text left aligned |- |- − | ST_RIGHT || 1 || 0x01 || + | ST_RIGHT || 1 || 0x01 || Modifier, adding this to another style will force text to be aligned to the right |- |- − | ST_CENTER || 2 || 0x02 || + | ST_CENTER || 2 || 0x02 || Modifier, adding this to another style will force text to be centered |- |- | ST_DOWN || 4 || 0x04 || | ST_DOWN || 4 || 0x04 || Line 473: Line 473: | ST_TYPE || 240 || 0xF0 || | ST_TYPE || 240 || 0xF0 || |- |- − | ST_SINGLE || 0 || 0x00 || + | ST_SINGLE || 0 || 0x00 || Plain single line box without a border |- |- − | ST_MULTI || 16 || 0x10 || + | ST_MULTI || 16 || 0x10 || Plain multiple line box with a slight border. To remove border add 512 (+ ST_NO_RECT) to the style (style 528, 529 and 530 are therefore border-less). Additional parameter ''lineSpacing'' is required for this style. ''lineSpacing'' = 1; is normal line spacing. Any '''\n''' character in the text string will be interpreted as new line. |- |- − | ST_TITLE_BAR || 32 || 0x20 || + | ST_TITLE_BAR || 32 || 0x20 || Plain single line box with semi-transparent background and somewhat embossed border. When this style is used, the dialog containing control becomes draggable by this control |- |- − | ST_PICTURE || 48 || 0x30 || + | ST_PICTURE || 48 || 0x30 || Border-less picture box. Text string is treated as a path to a texture. Alignment has no effect. The texture is stretched to fit the box by default. To force original aspect ratio add 2048 (+ ST_KEEP_ASPECT_RATIO) to the style. Background is ignored, ''colorText'' controls texture colour and opacity |- |- | ST_FRAME || 64 || 0x40 || Legend like frame without background with text showing over the frame edge. Alignment has no effect. ''colorText'' defines both text and frame colour | ST_FRAME || 64 || 0x40 || Legend like frame without background with text showing over the frame edge. Alignment has no effect. ''colorText'' defines both text and frame colour Line 489: Line 489: | ST_GROUP_BOX2 || 112 || 0x70 || Plain single line box, same as ST_SINGLE, only with a slight border similar to ST_MULTI box border | ST_GROUP_BOX2 || 112 || 0x70 || Plain single line box, same as ST_SINGLE, only with a slight border similar to ST_MULTI box border |- |- − | ST_HUD_BACKGROUND || 128 || 0x80 || + | ST_HUD_BACKGROUND || 128 || 0x80 || Sets special texture for corners. It was used for rounded corners in OFP, Arma and Arma 2. In Arma 3, square corners are used everywhere, so the texture is adapted to the unified style, but the technology is not removed. In Arma 3 it looks the same as normal ST_SINGLE. Corner textures are defined in <tt>[[configFile]] >> "CfgInGameUI" >> "imageCornerElement"</tt> (can be set only globally for the whole game, not per control)” |- |- − | ST_TILE_PICTURE || 144 || 0x90 || ''tileH'' and ''tileW'' params required for tiled image + | ST_TILE_PICTURE || 144 || 0x90 || The picture is tiled according to ''tileH'' and ''tileW'' values. To force tiled picture to keep aspect ratio of original image, add 2048 (+ ST_KEEP_ASPECT_RATIO) to the style. |- |- | ST_WITH_RECT || 160 || 0xA0 || Single line box frame, similar to ST_FRAME box. The text however is displayed inside the frame. Frame and text colour are set with ''colorText'' | ST_WITH_RECT || 160 || 0xA0 || Single line box frame, similar to ST_FRAME box. The text however is displayed inside the frame. Frame and text colour are set with ''colorText'' Line 497: Line 497: | ST_LINE || 176 || 0xB0 || Diagonal line going from left top corner to bottom right corner. To control line direction, width ''w'' and height ''h'' parameters of the box could be negative. Line and text colour are set with ''colorText'' | ST_LINE || 176 || 0xB0 || Diagonal line going from left top corner to bottom right corner. To control line direction, width ''w'' and height ''h'' parameters of the box could be negative. Line and text colour are set with ''colorText'' |- |- − | ST_UPPERCASE || 192 || 0xC0 || forces all control text to upper case + | ST_UPPERCASE || 192 || 0xC0 || Forces control text to upper case |- |- − | ST_LOWERCASE || 208 || 0xD0 || forces all control text to lower case + | ST_LOWERCASE || 208 || 0xD0 || Forces control text to lower case |- |- | ST_ADDITIONAL_INFO || 3840 || 0x0F00 || | ST_ADDITIONAL_INFO || 3840 || 0x0F00 || Line 507: Line 507: | ST_NO_RECT || 512 || 0x0200 || this style works for [[CT_STATIC]] in conjunction with ST_MULTI | ST_NO_RECT || 512 || 0x0200 || this style works for [[CT_STATIC]] in conjunction with ST_MULTI |- |- − | ST_KEEP_ASPECT_RATIO || 2048 || 0x0800 || + | ST_KEEP_ASPECT_RATIO || 2048 || 0x0800 || When used with image or texture, stops it from stretching to fit the control |- |- | ST_TITLE || 34 || 0x22 || ST_TITLE_BAR + ST_CENTER | ST_TITLE || 34 || 0x22 || ST_TITLE_BAR + ST_CENTER Line 540: Line 540: | LB_TEXTURES || 16 || 0x10 || | LB_TEXTURES || 16 || 0x10 || |- |- − | LB_MULTI || 32 || 0x20 || + | LB_MULTI || 32 || 0x20 || Makes [[CT_LISTBOX]] multi-selectable (see also [[lbSetCurSel]], [[lbCurSel]], [[lbSetSelected]], [[lbSelection]]) − |} + |} ===[[CT_TREE]] Specific Styles=== ===[[CT_TREE]] Specific Styles=== View the full article
  22. BIKIDialog Control

    ‎CT_LISTBOX Specific Styles ← Older revision Revision as of 22:28, 25 July 2017 (One intermediate revision by the same user not shown) Line 459: Line 459: | ST_VPOS || 12 || 0x0C || | ST_VPOS || 12 || 0x0C || |- |- − | ST_LEFT || 0 || 0x00 || + | ST_LEFT || 0 || 0x00 || Default, text left aligned |- |- − | ST_RIGHT || 1 || 0x01 || + | ST_RIGHT || 1 || 0x01 || Modifier, adding this to another style will force text to be aligned to the right |- |- − | ST_CENTER || 2 || 0x02 || + | ST_CENTER || 2 || 0x02 || Modifier, adding this to another style will force text to be centered |- |- | ST_DOWN || 4 || 0x04 || | ST_DOWN || 4 || 0x04 || Line 473: Line 473: | ST_TYPE || 240 || 0xF0 || | ST_TYPE || 240 || 0xF0 || |- |- − | ST_SINGLE || 0 || 0x00 || + | ST_SINGLE || 0 || 0x00 || Plain single line box without a border |- |- − | ST_MULTI || 16 || 0x10 || + | ST_MULTI || 16 || 0x10 || Plain multiple line box with a slight border. To remove border add 512 (+ ST_NO_RECT) to the style (style 528, 529 and 530 are therefore border-less). Additional parameter ''lineSpacing'' is required for this style. ''lineSpacing'' = 1; is normal line spacing. Any '''\n''' character in the text string will be interpreted as new line. |- |- − | ST_TITLE_BAR || 32 || 0x20 || + | ST_TITLE_BAR || 32 || 0x20 || Plain single line box with semi-transparent background and somewhat embossed border. When this style is used, the dialog containing control becomes draggable by this control |- |- − | ST_PICTURE || 48 || 0x30 || + | ST_PICTURE || 48 || 0x30 || Border-less picture box. Text string is treated as a path to a texture. Alignment has no effect. The texture is stretched to fit the box by default. To force original aspect ratio add 2048 (+ ST_KEEP_ASPECT_RATIO) to the style. Background is ignored, ''colorText'' controls texture colour and opacity |- |- | ST_FRAME || 64 || 0x40 || Legend like frame without background with text showing over the frame edge. Alignment has no effect. ''colorText'' defines both text and frame colour | ST_FRAME || 64 || 0x40 || Legend like frame without background with text showing over the frame edge. Alignment has no effect. ''colorText'' defines both text and frame colour Line 489: Line 489: | ST_GROUP_BOX2 || 112 || 0x70 || Plain single line box, same as ST_SINGLE, only with a slight border similar to ST_MULTI box border | ST_GROUP_BOX2 || 112 || 0x70 || Plain single line box, same as ST_SINGLE, only with a slight border similar to ST_MULTI box border |- |- − | ST_HUD_BACKGROUND || 128 || 0x80 || + | ST_HUD_BACKGROUND || 128 || 0x80 || Sets special texture for corners. It was used for rounded corners in OFP, Arma and Arma 2. In Arma 3, square corners are used everywhere, so the texture is adapted to the unified style, but the technology is not removed. In Arma 3 it looks the same as normal ST_SINGLE. Corner textures are defined in <tt>[[configFile]] >> "CfgInGameUI" >> "imageCornerElement"</tt> (can be set only globally for the whole game, not per control)” |- |- − | ST_TILE_PICTURE || 144 || 0x90 || ''tileH'' and ''tileW'' params required for tiled image + | ST_TILE_PICTURE || 144 || 0x90 || The picture is tiled according to ''tileH'' and ''tileW'' values. To force tiled picture to keep aspect ratio of original image, add 2048 (+ ST_KEEP_ASPECT_RATIO) to the style. |- |- | ST_WITH_RECT || 160 || 0xA0 || Single line box frame, similar to ST_FRAME box. The text however is displayed inside the frame. Frame and text colour are set with ''colorText'' | ST_WITH_RECT || 160 || 0xA0 || Single line box frame, similar to ST_FRAME box. The text however is displayed inside the frame. Frame and text colour are set with ''colorText'' Line 497: Line 497: | ST_LINE || 176 || 0xB0 || Diagonal line going from left top corner to bottom right corner. To control line direction, width ''w'' and height ''h'' parameters of the box could be negative. Line and text colour are set with ''colorText'' | ST_LINE || 176 || 0xB0 || Diagonal line going from left top corner to bottom right corner. To control line direction, width ''w'' and height ''h'' parameters of the box could be negative. Line and text colour are set with ''colorText'' |- |- − | ST_UPPERCASE || 192 || 0xC0 || forces all control text to upper case + | ST_UPPERCASE || 192 || 0xC0 || Forces control text to upper case |- |- − | ST_LOWERCASE || 208 || 0xD0 || forces all control text to lower case + | ST_LOWERCASE || 208 || 0xD0 || Forces control text to lower case |- |- | ST_ADDITIONAL_INFO || 3840 || 0x0F00 || | ST_ADDITIONAL_INFO || 3840 || 0x0F00 || Line 507: Line 507: | ST_NO_RECT || 512 || 0x0200 || this style works for [[CT_STATIC]] in conjunction with ST_MULTI | ST_NO_RECT || 512 || 0x0200 || this style works for [[CT_STATIC]] in conjunction with ST_MULTI |- |- − | ST_KEEP_ASPECT_RATIO || 2048 || 0x0800 || + | ST_KEEP_ASPECT_RATIO || 2048 || 0x0800 || When used with image or texture, stops it from stretching to fit the control |- |- | ST_TITLE || 34 || 0x22 || ST_TITLE_BAR + ST_CENTER | ST_TITLE || 34 || 0x22 || ST_TITLE_BAR + ST_CENTER Line 540: Line 540: | LB_TEXTURES || 16 || 0x10 || | LB_TEXTURES || 16 || 0x10 || |- |- − | LB_MULTI || 32 || 0x20 || + | LB_MULTI || 32 || 0x20 || Makes [[CT_LISTBOX]] multi-selectable (see also [[lbSetCurSel]], [[lbCurSel]], [[lbSetSelected]], [[lbSelection]]) − |} + |} ===[[CT_TREE]] Specific Styles=== ===[[CT_TREE]] Specific Styles=== View the full article
  23. BIKIDialog Control

    ‎Common Styles ← Older revision Revision as of 20:54, 25 July 2017 Line 459: Line 459: | ST_VPOS || 12 || 0x0C || | ST_VPOS || 12 || 0x0C || |- |- − | ST_LEFT || 0 || 0x00 || + | ST_LEFT || 0 || 0x00 || Default, text left aligned |- |- − | ST_RIGHT || 1 || 0x01 || + | ST_RIGHT || 1 || 0x01 || Modifier, adding this to another style will force text to be aligned to the right |- |- − | ST_CENTER || 2 || 0x02 || + | ST_CENTER || 2 || 0x02 || Modifier, adding this to another style will force text to be centered |- |- | ST_DOWN || 4 || 0x04 || | ST_DOWN || 4 || 0x04 || Line 473: Line 473: | ST_TYPE || 240 || 0xF0 || | ST_TYPE || 240 || 0xF0 || |- |- − | ST_SINGLE || 0 || 0x00 || + | ST_SINGLE || 0 || 0x00 || Plain single line box without a border |- |- − | ST_MULTI || 16 || 0x10 || + | ST_MULTI || 16 || 0x10 || Plain multiple line box with a slight border. To remove border add 512 (+ ST_NO_RECT) to the style (style 528, 529 and 530 are therefore border-less). Additional parameter ''lineSpacing'' is required for this style. ''lineSpacing'' = 1; is normal line spacing. Any '''\n''' character in the text string will be interpreted as new line. |- |- − | ST_TITLE_BAR || 32 || 0x20 || + | ST_TITLE_BAR || 32 || 0x20 || Plain single line box with semi-transparent background and somewhat embossed border. When this style is used, the dialog containing control becomes draggable by this control |- |- − | ST_PICTURE || 48 || 0x30 || + | ST_PICTURE || 48 || 0x30 || Border-less picture box. Text string is treated as a path to a texture. Alignment has no effect. The texture is stretched to fit the box by default. To force original aspect ratio add 2048 (+ ST_KEEP_ASPECT_RATIO) to the style. Background is ignored, ''colorText'' controls texture colour and opacity |- |- | ST_FRAME || 64 || 0x40 || Legend like frame without background with text showing over the frame edge. Alignment has no effect. ''colorText'' defines both text and frame colour | ST_FRAME || 64 || 0x40 || Legend like frame without background with text showing over the frame edge. Alignment has no effect. ''colorText'' defines both text and frame colour Line 489: Line 489: | ST_GROUP_BOX2 || 112 || 0x70 || Plain single line box, same as ST_SINGLE, only with a slight border similar to ST_MULTI box border | ST_GROUP_BOX2 || 112 || 0x70 || Plain single line box, same as ST_SINGLE, only with a slight border similar to ST_MULTI box border |- |- − | ST_HUD_BACKGROUND || 128 || 0x80 || + | ST_HUD_BACKGROUND || 128 || 0x80 || Sets special texture for corners. It was used for rounded corners in OFP, Arma and Arma 2. In Arma 3, square corners are used everywhere, so the texture is adapted to the unified style, but the technology is not removed. In Arma 3 it looks the same as normal ST_SINGLE. Corner textures are defined in <tt>[[configFile]] >> "CfgInGameUI" >> "imageCornerElement"</tt> (can be set only globally for the whole game, not per control)” |- |- − | ST_TILE_PICTURE || 144 || 0x90 || ''tileH'' and ''tileW'' params required for tiled image + | ST_TILE_PICTURE || 144 || 0x90 || The picture is tiled according to ''tileH'' and ''tileW'' values. To force tiled picture to keep aspect ratio of original image, add 2048 (+ ST_KEEP_ASPECT_RATIO) to the style. |- |- | ST_WITH_RECT || 160 || 0xA0 || Single line box frame, similar to ST_FRAME box. The text however is displayed inside the frame. Frame and text colour are set with ''colorText'' | ST_WITH_RECT || 160 || 0xA0 || Single line box frame, similar to ST_FRAME box. The text however is displayed inside the frame. Frame and text colour are set with ''colorText'' Line 497: Line 497: | ST_LINE || 176 || 0xB0 || Diagonal line going from left top corner to bottom right corner. To control line direction, width ''w'' and height ''h'' parameters of the box could be negative. Line and text colour are set with ''colorText'' | ST_LINE || 176 || 0xB0 || Diagonal line going from left top corner to bottom right corner. To control line direction, width ''w'' and height ''h'' parameters of the box could be negative. Line and text colour are set with ''colorText'' |- |- − | ST_UPPERCASE || 192 || 0xC0 || forces all control text to upper case + | ST_UPPERCASE || 192 || 0xC0 || Forces control text to upper case |- |- − | ST_LOWERCASE || 208 || 0xD0 || forces all control text to lower case + | ST_LOWERCASE || 208 || 0xD0 || Forces control text to lower case |- |- | ST_ADDITIONAL_INFO || 3840 || 0x0F00 || | ST_ADDITIONAL_INFO || 3840 || 0x0F00 || Line 507: Line 507: | ST_NO_RECT || 512 || 0x0200 || this style works for [[CT_STATIC]] in conjunction with ST_MULTI | ST_NO_RECT || 512 || 0x0200 || this style works for [[CT_STATIC]] in conjunction with ST_MULTI |- |- − | ST_KEEP_ASPECT_RATIO || 2048 || 0x0800 || + | ST_KEEP_ASPECT_RATIO || 2048 || 0x0800 || When used with image or texture, stops it from stretching to fit the control |- |- | ST_TITLE || 34 || 0x22 || ST_TITLE_BAR + ST_CENTER | ST_TITLE || 34 || 0x22 || ST_TITLE_BAR + ST_CENTER View the full article
  24. BIKIsetUserMFDvalue

    ← Older revision Revision as of 18:53, 25 July 2017 Line 19: Line 19: | [[Nothing]] |= Return value | [[Nothing]] |= Return value + + | s2= vehicle '''setUserMFDvalue''' MFDColor |= Syntax + + |p21= vehicle: [[Object]] - an vehicle with MFD |= Parameter 1 + + |p22= MFDColor: [[Array]] - in format [r, g, b, a] |= Parameter 2 + + | r2= [[Nothing]] |= Return value ____________________________________________________________________________________________ ____________________________________________________________________________________________ |x1= <code> BIS_Plane [[setUserMFDvalue]] [0,1]; // user0 in MFD will return 1</code> |= Example 1 |x1= <code> BIS_Plane [[setUserMFDvalue]] [0,1]; // user0 in MFD will return 1</code> |= Example 1 + + |x2= Change MFD color to red: <code> BIS_Plane [[setUserMFDvalue]] [1,0,0,1];</code> |= Example 2 ____________________________________________________________________________________________ ____________________________________________________________________________________________ View the full article
  25. BIKIDialog Control

    ‎Common Styles ← Older revision Revision as of 18:17, 25 July 2017 Line 481: Line 481: | ST_PICTURE || 48 || 0x30 || | ST_PICTURE || 48 || 0x30 || |- |- − | ST_FRAME || 64 || 0x40 || + | ST_FRAME || 64 || 0x40 || Legend like frame without background with text showing over the frame edge. Alignment has no effect. ''colorText'' defines both text and frame colour |- |- − | ST_BACKGROUND || 80 || 0x50 || + | ST_BACKGROUND || 80 || 0x50 || Single line box with always black opaque background and thick raised beveled border |- |- − | ST_GROUP_BOX || 96 || 0x60 || + | ST_GROUP_BOX || 96 || 0x60 || Single line box with delicate semi-transparent background and slight border. Only text colour can be controlled |- |- − | ST_GROUP_BOX2 || 112 || 0x70 || + | ST_GROUP_BOX2 || 112 || 0x70 || Plain single line box, same as ST_SINGLE, only with a slight border similar to ST_MULTI box border |- |- | ST_HUD_BACKGROUND || 128 || 0x80 || | ST_HUD_BACKGROUND || 128 || 0x80 || |- |- − | ST_TILE_PICTURE || 144 || 0x90 || tileH and tileW params required for tiled image + | ST_TILE_PICTURE || 144 || 0x90 || ''tileH'' and ''tileW'' params required for tiled image |- |- − | ST_WITH_RECT || 160 || 0xA0 || + | ST_WITH_RECT || 160 || 0xA0 || Single line box frame, similar to ST_FRAME box. The text however is displayed inside the frame. Frame and text colour are set with ''colorText'' |- |- − | ST_LINE || 176 || 0xB0 || + | ST_LINE || 176 || 0xB0 || Diagonal line going from left top corner to bottom right corner. To control line direction, width ''w'' and height ''h'' parameters of the box could be negative. Line and text colour are set with ''colorText'' |- |- − | ST_UPPERCASE || 192 || 0xC0 || + | ST_UPPERCASE || 192 || 0xC0 || forces all control text to upper case |- |- − | ST_LOWERCASE || 208 || 0xD0 || + | ST_LOWERCASE || 208 || 0xD0 || forces all control text to lower case |- |- | ST_ADDITIONAL_INFO || 3840 || 0x0F00 || | ST_ADDITIONAL_INFO || 3840 || 0x0F00 || Line 510: Line 510: |- |- | ST_TITLE || 34 || 0x22 || ST_TITLE_BAR + ST_CENTER | ST_TITLE || 34 || 0x22 || ST_TITLE_BAR + ST_CENTER − |} + |} ===[[CT_SLIDER]] Specific Styles=== ===[[CT_SLIDER]] Specific Styles=== View the full article
  26. BIKIdisableSerialization

    ← Older revision Revision as of 18:15, 25 July 2017 Line 72: Line 72: [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] + + <!-- CONTINUE Notes --> + <dl class="command_description"> + <dd class="notedate">Posted on July 25, 2017 - 18:15 (UTC)</dd> + <dt class="note">[[User:IT07|IT07]]</dt> + <dd class="note"> + In ArmA 3 1.72.142223, a scripted FSM does somehow not work with [[disableSerialization]]. As a workaround, store a display inside an array. + Example: <code>_d = [ findDisplay idd ];</code> + </dd> + </dl> + <!-- DISCONTINUE Notes --> View the full article
  27. You should come back and harass Aerik and Digi with me.

  28. BIKIDialog Control

    ‎CONTROL STYLES Show changesView the full article
  1. Load more activity
×

Important Information

City Life RPG mod for ARMA 3
Copyright © 2017 City Life RPG. All rights reserved.
Registered with the UK Copyright Service. Registration No: 284659128

Positive SSL on a transparent background ipv6 ready DMCA.com Protection Status