Search found 1849 matches

by JackZ
Wed Jun 09, 2021 8:10 pm
Forum: General Discussion on Anything
Topic: c208
Replies: 18
Views: 251

Re: c208

Hmmm. I think that's the eternal problem: CARE-NADA, as I tend to call them. Nearly all the planes coming from this editor, though very pleasing to the eye, have problem with systems poorly or partly implemented, and, as a side effect few datarefs are published for any specific Addon from this compa...
by JackZ
Wed Jun 09, 2021 4:40 pm
Forum: Instrument Graphics Help
Topic: suggestions for engine control quadrant in pure AM
Replies: 12
Views: 319

Re: suggestions for engine control quadrant in pure AM

Yes, doing touchscreen, and I do expect to use the code to make it "jump" to the middle notch. I was more thinking about how I stop myself from just keeping on sliding passed the notch, and having to do it in 2 phases, like I imagine RL is with these controls. But IDK Even though I never piloted a ...
by JackZ
Wed Jun 09, 2021 4:18 pm
Forum: Instrument Graphics Help
Topic: suggestions for engine control quadrant in pure AM
Replies: 12
Views: 319

Re: suggestions for engine control quadrant in pure AM

Try this, it seems to achieve the effect that you're looking for: -- Background and text img_add("slider.png",-10, -12, 200,342) txt_add("OFF", "font: arimo_bold.ttf; size:20; color: white; halign:left;", 140, 30, 100, 200) txt_add("DIR", "font: arimo_bold.ttf; size:20; color: white; halign:left;", ...
by JackZ
Wed Jun 09, 2021 4:15 pm
Forum: General Discussion on Anything
Topic: c208
Replies: 18
Views: 251

Re: c208

You probably can find a workaround, and find a dataref that is similar, or states the current airplane state.

What is the real meaning of this blue LED on the C208?

Jacques
by JackZ
Tue Jun 08, 2021 10:43 pm
Forum: Instrument Graphics Help
Topic: suggestions for engine control quadrant in pure AM
Replies: 12
Views: 319

Re: suggestions for engine control quadrant in pure AM

Maybe by using the pressed and released properties of the dial.
by JackZ
Tue Jun 08, 2021 6:27 pm
Forum: Instrument Graphics Help
Topic: suggestions for engine control quadrant in pure AM
Replies: 12
Views: 319

Re: suggestions for engine control quadrant in pure AM

In fact this is not needed in that case, as here you’ll physically move the mouse quite a bit until the lever jumps to the next notch.

If you intend to use a touchscreen the feedback loop might be different, though.

Jacques
by JackZ
Mon Jun 07, 2021 9:29 pm
Forum: Instrument Graphics Help
Topic: suggestions for engine control quadrant in pure AM
Replies: 12
Views: 319

Re: suggestions for engine control quadrant in pure AM

My suggestion is also to play with the slider position in your code to emulate the different lever notches. As the lever slider position is varying between 0 and 1.0, one has to include some test to make the image of the lever jump to the three positions allowed as follow: -- Background and text img...
by JackZ
Mon Jun 07, 2021 6:45 pm
Forum: Instrument Graphics Help
Topic: suggestions for engine control quadrant in pure AM
Replies: 12
Views: 319

Re: suggestions for engine control quadrant in pure AM

Yep, roughly one hour of work. You'll have to create the background and the Dial thumb itself separately. My advice is to use nil for the background, as it is easier to adjust the slat of the lever as an image behind the lever.
by JackZ
Mon Jun 07, 2021 2:55 pm
Forum: Instrument Graphics Help
Topic: suggestions for engine control quadrant in pure AM
Replies: 12
Views: 319

Re: suggestions for engine control quadrant in pure AM

You can always use canvas functions to add shadows and effects to achieve some 3D effects out of 2D images, but it's gonna be tricky. For still objects I would suggest you use images done in an imaging software such as Photoshop or Skinman, the later being vector based, so easier to fine tune. The i...