September 6, 200223 yr i've just finished a F-18A/C panel, looking great (it'll be released very soon), but it has 10 windows besides the main panel. obviously only 8 of these are switchable using the SHIFT+number keystroke, so i want to use some toggle switches (like the default ones for GPS etc.).are there any around that will open these windows? i've tried experimenting with the default ones, but no luck.http://www.ai-uk.net/VUSN/f-18.jpg
September 7, 200223 yr >are there any around that will open these windows? i've >tried experimenting with the default ones, but no luck. Why not simply create your own in XML? You can create as many 'switchable windows' as you have patience for... :)Here is an example:- [Gauge Name=Yoke Icon" Version="1.0] [image Name="Icon_Yoke.bmp" ImageSizes="19,19,30,30" /] - [Mouse] [Tooltip]Toggle Yoke Window[/Tooltip] [Cursor Type="Hand" /] [Click]60 (]K:PANEL_ID_TOGGLE)[/Click] [/Mouse] [/Gauge]NOTE: I've replaced all > and < with [ and ], so that they won't be interpreted as HTLM code... :)The 'key' to making it work is the number (or name) following the [Click] keyword. It is the Panel ID number you assign in the panel.cfg fileThe plain text inbetween the [Tooltip] and [/Tooltip] keywords is what will show when the cursor hovers over the button.Simply create your icon artwork in 30x30 pixels and store in a 1024 folder, scale them down to 19x19 and put those in a 640 folder. Create a set of XML gauges using the above as a template, and put into a folder named appropriately.F18A Icons panel1.xml panel2.xml ect. 1024 panel1.bmp panel2.bmp etc. 640 panel1.bmp panel2.bmp
September 7, 200223 yr ARGGHHH!!!I *despise* web based forums! They make simple things more difficult... Here it is again:Here is an example: {Gauge Name="Yoke Icon" Version="1.0"} {Image Name="Icon_Yoke.bmp" ImageSizes="19,19,30,30" /}{Mouse}{Tooltip]Toggle Yoke Window[/Tooltip}{Cursor Type="Hand" /}{Click]60 (}K:PANEL_ID_TOGGLE){/Click}{/Mouse} {/Gauge} NOTE: I've replaced all > and :)
September 7, 200223 yr I don't have anything to add to this, but if you want proper indentifiably XML code here try to replaxe any & by &, any > and < by > and <. And don't try to preview or edit (just like me know)!!Or try to attach it as text file.Arne Bartels
September 7, 200223 yr >I don't have anything to add to this, but if you want proper >indentifiably XML code here try to replaxe any & by >&, any > and :)
Create an account or sign in to comment