Search found 58 matches
- Tue Aug 03, 2021 6:02 pm
- Forum: Lua and API Scripting Help
- Topic: Course Deviation line in 'dots'
- Replies: 5
- Views: 2456
Re: Course Deviation line in 'dots'
Yep a bit of trig maths is how it’s done in a few instruments. Take a look at the store instruments to see exactly how it’s done. A word of caution though. If you plan to use the new animation features the trig method produces some weird cdi bar movements while in transition. I’ve recently come up ...
- Wed Jul 21, 2021 8:16 pm
- Forum: Lua and API Scripting Help
- Topic: Course Deviation line in 'dots'
- Replies: 5
- Views: 2456
Course Deviation line in 'dots'
Doing an HSI and I see the relevent XP11 datarefs are nav1_hdef_dot and gps_hdef_dot (and others etc) I have yet to do the maths on moving the deviation line the "percent" these datarefs represent, thats not a big deal. The issue I have is how is it normally done when the course is rotated...
- Tue Jun 29, 2021 9:18 pm
- Forum: Instrument Graphics Help
- Topic: VERY vertical switch
- Replies: 7
- Views: 5484
Re: VERY vertical switch
Most (if not all) of the buttons I've seen dont really give you an indication of how "tall" they are. I havent seen anyone do a switch that is in/out either. It just may not be possible to give that "feeling" of how far out the "switch" is in 2D. In XP11, sure, I can lo...
- Tue Jun 29, 2021 9:08 pm
- Forum: Instrument Graphics Help
- Topic: VERY vertical switch
- Replies: 7
- Views: 5484
Re: VERY vertical switch
From the Operation Manual ... uh60_engine_igniters.png Under opertation, it pops out when the igniter(s) are disabled/deactivated (sim/cockpit2/engine/actuators/igniter_on[8]) Press it in half way to enable the igniter And press it all the way in (and hold for 5 secs) to activate the igniter the air...
- Tue Jun 29, 2021 8:24 pm
- Forum: Instrument Graphics Help
- Topic: VERY vertical switch
- Replies: 7
- Views: 5484
Re: VERY vertical switch
Sorry, vertical, I mean "out of the page" vertical
https://www.g200kg.com/en/webknobman/data/gal/1312.png is something like what I'm looking at.
Since its a button/switch, I dont have to worry about the "rotating" effects, just the up and down look
https://www.g200kg.com/en/webknobman/data/gal/1312.png is something like what I'm looking at.
Since its a button/switch, I dont have to worry about the "rotating" effects, just the up and down look
- Tue Jun 29, 2021 7:26 pm
- Forum: Instrument Graphics Help
- Topic: VERY vertical switch
- Replies: 7
- Views: 5484
VERY vertical switch
Has anyone done a VERY vertical switch in skinman that might suggest how to make it look good ? (I'm no artist) The UH-60 Blackhawk engine igniters are an off-on-momentary 3-way switch that is vertical All the way out is off In is "active" ? And push-and-hold for 5s to fire them up I have ...
- Tue Jun 22, 2021 5:09 pm
- Forum: Lua and API Scripting Help
- Topic: General Helper Library
- Replies: 6
- Views: 3311
Re: General Helper Library
I added hardlinks to my libraries yesterday and it zips up fine.
But when I CLONE an Instrument, AM takes a copy of the files in the lib, so they dont get the changes coz they are unique copies.
But when I CLONE an Instrument, AM takes a copy of the files in the lib, so they dont get the changes coz they are unique copies.
- Wed Jun 16, 2021 2:55 am
- Forum: Lua and API Scripting Help
- Topic: General Helper Library
- Replies: 6
- Views: 3311
Re: General Helper Library
if only Windows had *nix symlinking ... holy crap, it turns out they do !?!? I didnt know that !! In an Administrator console (need elevated priveleges it seems - although there is an Explorer plugin to add the ability) : mklink <instrumentid>/lib/functions.lua /path/to/helper_functions.lua I tested...
- Tue Jun 15, 2021 10:30 pm
- Forum: General Instrument Help
- Topic: 3-way switch without Knobster
- Replies: 13
- Views: 5484
3-way switch without Knobster
My panel is using Knobster. But I dont want to use Knobster for any of my 3-way switches (or rocker switches, are they called ?). Is there a way to do that ? I'm using button_add(nil,nil) just above and just below the switch for me to switch up/down without Knobster. I guess I could create a small p...
- Tue Jun 15, 2021 10:22 pm
- Forum: Lua and API Scripting Help
- Topic: General Helper Library
- Replies: 6
- Views: 3311
General Helper Library
I see the wiki where we can create a lib/ for an instrument.
Is there a place we can create library code for all instruments ?
Personal helper code
Is there a place we can create library code for all instruments ?
Personal helper code