Search the Community
Showing results for tags 'rscpicture'.
Found 4 results
-
onMouseButtonDblClick doesn't work for me as a control event handler on a RscPicture control (and all others except RscMapControl for that matter) I've tried looking at this solution but to no avail. Any ideas?
- 1 reply
-
- onmousebuttondblclick
- dialogs
-
(and 1 more)
Tagged with:
-
RscPicture transparency issue -again-
Devastator_cm posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I am trying to make a GUI and having trouble with the PAA file... I tried - Saving the picture as PNG and then make it PAA via textview 2 (DTX 5) - Saving the picture as PNG 24 and then make it PAA via textview 2 (DTX 5) none of them worked. It works only if I use jpg format but then I am having white area in picture as it is not a square picture... I am checking the similar issues but they simply do not help to solve this headache.. -
Weird RscPicture Color Change Problem [solved]
nomisum posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
I have an issue with two Pictures laying on top of each other. The second one (Carrier Strength) gets a yellowish tone. Carrier-Strength is an opaque picture without Alpha Channel, I tried removing its background too but got even worse results (faint, faded overlay). There is no color-difference in the source pic (PNG), so the mistake must happen either in conversion to PAA or in the config. The phone is RGBA DXT5 with Alpha Channel. The carrier pic I cant get to DXT5, it always snaps to ARGB1555 (thank you TexView UX -.-). I can imagine this being the cause, but cant get them to have exactly the same setting. Both PAA use RscPicture with the following settings (x,y,w,h differ obviously): class RscBackPicture { access = 0; type = 0; idc = -1; style = 48; colorBackground[] = { 0, 0, 0, 0 }; colorText[] = { 1, 1, 1, 1 }; font = "TahomaB"; sizeEx = 0; lineSpacing = 0; text = ""; fixedWidth = 0; shadow = 0; x = 0; y = 0; w = 0.2; h = 0.15; moving = 1; }; Things I tried: * different RGB schemes in TexView but it seems to take its own setting (at least it resets when reopening the PAA) * playing around with colorBackground * Moving the phone-pic to controlsBackground while putting the carrier-pic to controls I'd be grateful for any hint!- 1 reply
-
- rscpicture
- color
-
(and 2 more)
Tagged with:
-
Trying to display weapon picture in dialog
beno_83au posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Ok, so this post was previously asking why I couldn't get a weapon picture displaying in a RscPicture. Kinda got that working except that the picture flashes on and off constantly and I don't know why. I haven't encountered this before with displaying pictures (albeit custom .jpgs). Dialog: class loadoutMenu { idd = 2000; movingenable = false; onLoad = "nul = [] execVM 'blufor\loadouts\weaponPictures.sqf';"; class Controls { class MainRole_Primary: RscPicture { idc = 2002; text = ""; x = 5 * GUI_GRID_W + GUI_GRID_X; y = 7.5 * GUI_GRID_H + GUI_GRID_Y; w = 8 * GUI_GRID_W; h = 8 * GUI_GRID_H; }; }; }; weaponPictures.sqf: params ["_mainPri"]; waitUntil {!isNull (findDisplay 2000)}; _mainPri = getText (configfile >> 'CfgWeapons' >> 'arifle_MX_GL_ACO_pointer_F' >> 'picture'); ctrlSetText [2002,_mainPri]; So how do I stop it flashing?