7erra – User

From Bohemia Interactive Community
Jump to navigation Jump to search
m (→‎Status of each CT: table explanation)
Line 1: Line 1:
= BIKI Related =
= BIKI Related =
== Overhaul of the control types pages ==
== Overhaul of the control types pages ==
If you want to help out with updating the pages you can follow these steps:
# Download (or even better clone) [https://github.com/7erra/BIKI.VR this repository] into your mission directory
# Start an '''UNMODDED''' version of Arma 3 v2.00 or above
# Open the mission in 3den
# Preview the mission
# Here you can execute the steps for each page as described below
Procedure for each page:
# Follow a red link in the column "New page"
# Execute {{Inline code|CT execVM "fnc\generateCTPage.sqf";}} in the debug console (substitute CT with the number from the "Decimal" column)
# Paste the generated code into the new page
# Adjust the template according to the arguments
# Move all information from the old page (column 2) to the new one, eg. introduction text, attribute descriptions, images, ...
# The default base classes can be found in MISSION\ui\DefaultGUIBaseClasses.hpp. Copy all classes that use the CT as a new example over.
You can take a look at the source of [[Template:CT]] itself. On that page there is example code how it should be used.
=== Status of each CT ===
=== Status of each CT ===
Blue links in the New page column means that the page has been created.
Blue links in the New page column means that the page has been created.

Revision as of 14:26, 10 November 2020

BIKI Related

Overhaul of the control types pages

If you want to help out with updating the pages you can follow these steps:

  1. Download (or even better clone) this repository into your mission directory
  2. Start an UNMODDED version of Arma 3 v2.00 or above
  3. Open the mission in 3den
  4. Preview the mission
  5. Here you can execute the steps for each page as described below

Procedure for each page:

  1. Follow a red link in the column "New page"
  2. Execute CT execVM "fnc\generateCTPage.sqf"; in the debug console (substitute CT with the number from the "Decimal" column)
  3. Paste the generated code into the new page
  4. Adjust the template according to the arguments
  5. Move all information from the old page (column 2) to the new one, eg. introduction text, attribute descriptions, images, ...
  6. The default base classes can be found in MISSION\ui\DefaultGUIBaseClasses.hpp. Copy all classes that use the CT as a new example over.

You can take a look at the source of Template:CT itself. On that page there is example code how it should be used.

Status of each CT

Blue links in the New page column means that the page has been created.

New page Old page Decimal
CT_STATIC CT_STATIC 0
CT_BUTTON CT_BUTTON 1
CT_EDIT CT_EDIT 2
CT_SLIDER CT_SLIDER 3
CT_COMBO CT_COMBO 4
CT_LISTBOX CT_LISTBOX 5
CT_TOOLBOX CT_TOOLBOX 6
CT_CHECKBOXES CT_CHECKBOXES 7
CT_PROGRESS CT_PROGRESS 8
CT_HTML CT_HTML 9
CT_STATIC_SKEW CT_STATIC_SKEW 10
CT_ACTIVETEXT CT_ACTIVETEXT 11
CT_TREE CT_TREE 12
CT_STRUCTURED_TEXT CT_STRUCTURED_TEXT 13
CT_CONTEXT_MENU CT_CONTEXT_MENU 14
CT_CONTROLS_GROUP CT_CONTROLS_GROUP 15
CT_SHORTCUTBUTTON CT_SHORTCUTBUTTON 16
CT_HITZONES CT_HITZONES 17
CT_VEHICLETOGGLES CT_VEHICLETOGGLES 18
CT_CONTROLS_TABLE CT_CONTROLS_TABLE 19
CT_XKEYDESC CT_XKEYDESC 40
CT_XBUTTON CT_XBUTTON 41
CT_XLISTBOX CT_XLISTBOX 42
CT_XSLIDER CT_XSLIDER 43
CT_XCOMBO CT_XCOMBO 44
CT_ANIMATED_TEXTURE CT_ANIMATED_TEXTURE 45
CT_MENU CT_MENU 46
CT_MENU_STRIP CT_MENU_STRIP 47
CT_CHECKBOX CT_CHECKBOX 77
CT_OBJECT CT_OBJECT 80
CT_OBJECT_ZOOM CT_OBJECT_ZOOM 81
CT_OBJECT_CONTAINER CT_OBJECT_CONTAINER 82
CT_OBJECT_CONT_ANIM CT_OBJECT_CONT_ANIM 83
CT_LINEBREAK CT_LINEBREAK 98
CT_USER CT_USER 99
CT_MAP CT_MAP 100
CT_MAP_MAIN CT_MAP_MAIN 101
CT_LISTNBOX CT_LISTNBOX 102
CT_ITEMSLOT CT_ITEMSLOT 103
CT_LISTNBOX_CHECKABLE CT_LISTNBOX_CHECKABLE 104
CT_VEHICLE_DIRECTION CT_VEHICLE_DIRECTION 105

Template for page generation

The BIKI template used for the pages:
Template:CT

Some code to automatically create the backbone of the page:
https://github.com/7erra/BIKI.VR/blob/master/fnc/generateCTPage.sqf

Link to GUI related commands:
Category:Command Group: GUI Control

Linkt to UIEH:
User Interface Event Handlers

About Me

Template:User de
Template:User en-3

ArmA player since ArmA2. Scripting since A3. Fluent in German, English and sqf.

Connect with me!

My Content

My abominations creations:

Useful Links

Links which I abuse a lot:

(づ。◕‿‿◕。)づ

(づ。◕‿‿◕。)づ