Wish: the clock :)

Post any technical issues here. This forum gets priority from our staff.
new reply
User avatar
YoYo
Staff Sergeant
Posts: 256
Joined: 21 Sep 2004, 02:28
Location: Poland
Contact:

Wish: the clock :)

Post by YoYo »

Is it possible to add to the one 2D panel (for example Shift+4) the simply clock with local time (FS time), just digits?
I added new 2D free gauge but from Shift 1 to 9 the are present now. I see both none1 and none2 but they are use grey colour for the rest 2D panels as background I suppose.
Just suggestion but it will be nice to see flying time (Im VR user so I dont know it was 1h or 1,5h already ;) ).
http://yoyosims.pl/
Image
W10, i9 9900K, RTX 3090, RAM32Gb Corsair Vengeance LED OC@3200MHz, SSD M.2 NVMe, Predator XB271HU res.2560x1440 27'' G-sync, TiR5 [MSFS, P3Dv5, DCS, RoF, Condor2, IL-2 CoD/BoX] HP Reverb v2, VR fly only

Hook
Master Sergeant
Posts: 1358
Joined: 31 Dec 2012, 01:38
Location: Bonham, Texas

Re: Wish: the clock :)

Post by Hook »

This is what I did. I replaced the unused Shift-9 with the fs9 clock from the stock Piper Cub.

See the following post:
viewtopic.php?f=62&t=54391#p494199

Hook

User avatar
YoYo
Staff Sergeant
Posts: 256
Joined: 21 Sep 2004, 02:28
Location: Poland
Contact:

Re: Wish: the clock :)

Post by YoYo »

Hook wrote: 07 Jan 2020, 20:37 This is what I did. I replaced the unused Shift-9 with the fs9 clock from the stock Piper Cub.

See the following post:
viewtopic.php?f=62&t=54391#p494199

Hook
Shift+9 is used for colour the rest of panels (background) also I suppose.
Check panel.cfg, this entry is present for P3Dv4 version.

This is for Shift+9 and You cant delete it:
[Window08]
Background_color=0,0,0
size_mm=330,450
pixel_size=330,450
position=5
visible=0
nomenu=1
ident=101
sizable=0

gauge00=dbg!panel, 144,0
When I removed it I saw differences in the rest of panel so this gauge is used by the rest of module.
http://yoyosims.pl/
Image
W10, i9 9900K, RTX 3090, RAM32Gb Corsair Vengeance LED OC@3200MHz, SSD M.2 NVMe, Predator XB271HU res.2560x1440 27'' G-sync, TiR5 [MSFS, P3Dv5, DCS, RoF, Condor2, IL-2 CoD/BoX] HP Reverb v2, VR fly only

Hook
Master Sergeant
Posts: 1358
Joined: 31 Dec 2012, 01:38
Location: Bonham, Texas

Re: Wish: the clock :)

Post by Hook »

There is no code for "dbg!panel" so the shift-9 entry is unused.

Here is what my file looks like and it works for me:

Code: Select all

// LDH change
//Window08=dbg
Window08=Clock

Code: Select all

gauge00=A2A_PiperJ3!keys,  1,1,1,1

//[Window08]
//Background_color=0,0,0 
//size_mm=330,450
//pixel_size=330,450
//position=5
//visible=0
//nomenu=1
//ident=101
//sizable=0
//
//gauge00=dbg!panel,  144,0

// LDH change add clock
[Window08]
size_mm=107,190
visible=0
position=2
BACKGROUND_COLOR=0,0,0
ident=270

gauge00=fs9_clock!Clock, 0, 0, 107, 190


[VCockpit00]
Hook

User avatar
YoYo
Staff Sergeant
Posts: 256
Joined: 21 Sep 2004, 02:28
Location: Poland
Contact:

Re: Wish: the clock :)

Post by YoYo »

Hook wrote: 08 Jan 2020, 09:28 There is no code for "dbg!panel" so the shift-9 entry is unused.
As I wrote before. Model uses this entry in panel.cfg [Window08] even though you can't see it by hitting Shift+9..

With this entry and without:

Image Image

differences are visible here, maybe we can life with this but who knows where this influence too if you remove it.
http://yoyosims.pl/
Image
W10, i9 9900K, RTX 3090, RAM32Gb Corsair Vengeance LED OC@3200MHz, SSD M.2 NVMe, Predator XB271HU res.2560x1440 27'' G-sync, TiR5 [MSFS, P3Dv5, DCS, RoF, Condor2, IL-2 CoD/BoX] HP Reverb v2, VR fly only

User avatar
YoYo
Staff Sergeant
Posts: 256
Joined: 21 Sep 2004, 02:28
Location: Poland
Contact:

Re: Wish: the clock :)

Post by YoYo »

Ok, i did few tests with Shift+2 entry. Here no any gauge in the model and without this the rest 2D panels looks ok (small changes on grey also):

Image

So I used this file from Flightsim (FS2004/FSX Up/Down Timer & Clock it works well in P3Dv4.5):

https://www.flightsim.com/vbfs/fslib.ph ... fid=201721

Here is the result (VR view after my changes):

Image

Red - default entries
//Window01=none1
Window01=Timerz

....

[Window01]
//Background_color=0,0,0
//size_mm=1,1
//position=0
//nomenu=1
//visible=0
//ident=20
//sizable=0


Background_color=0,0,0 // for black background, use 0,0,1
size_mm=166,106 // size of the gauge bitmap plus a border
window_pos=0.15,0.39 // over the clock, but locate to suit
windowsize_ratio=1.6 // size to suit
visible=0 // or =1 to make visible on startup
ident=270 // toggle # used to popup clocks

gauge00=Timerz!timerz, 3,3 // 160 x 100 bkgnd bitmap

3DP_CAMERA_TRANSFORM_REFERENCE=CAMERA
3DP_SIZE=0.15, 0.15 ;YoYo added to adjust size
3DP_WORLDSPACE_POS_OFFSET= -0.25, 0.18, 0.42 ;YoYo added X,Y,Z offsets
3DP_PBH_OFFSET=-12,0,-35 ;YoYo added
For 2D picture (non VR) this clock looks ok also. :)
http://yoyosims.pl/
Image
W10, i9 9900K, RTX 3090, RAM32Gb Corsair Vengeance LED OC@3200MHz, SSD M.2 NVMe, Predator XB271HU res.2560x1440 27'' G-sync, TiR5 [MSFS, P3Dv5, DCS, RoF, Condor2, IL-2 CoD/BoX] HP Reverb v2, VR fly only

Hook
Master Sergeant
Posts: 1358
Joined: 31 Dec 2012, 01:38
Location: Bonham, Texas

Re: Wish: the clock :)

Post by Hook »

I'm not sure what's going on with the grey areas. It seems to be random each time you start the sim. I never noticed it until you posted the pictures.

The way you have done it will work better if you are using VR, so I'm glad you found something that works. I'm not sure why my clock shows up on my system, but does not on yours.

Hook

Hook
Master Sergeant
Posts: 1358
Joined: 31 Dec 2012, 01:38
Location: Bonham, Texas

Re: Wish: the clock :)

Post by Hook »

I've checked under a variety of conditions and have come to the conclusion that the problem with uneven lighting in the grey areas is a problem in P3D, not with the sim. I can't find anything wrong in the code that displays the 2D panels. Some of the lighting differences are pretty bizarre when the sun starts going down, and it's all random. Sometimes there's no problem at all in at least one panel.

Check the Cub manual in the 2D panel area. The Controls (Shift-3) panel shows a lighter box around "HAND" and "TOW", so this is not a new problem.

It may be possible to write the code such that it doesn't have uneven lighting across various elements, but I'm not that familiar with it. I experimented with removing the backgroundcolor entries but only the heading text looked proper, and it was in a different font which might be possible to use everywhere. It may be possible to make the bmp files have a transparent background, similar to the radio graphic, but I didn't try it. I may eventually try to fix the panels.

I'm running P3Dv4.4 rather than 4.5 so that might be an issue. I'd be interested in finding out if anyone else has noticed the problem, and what version they're running.

Hook

User avatar
Lewis - A2A
A2A Lieutenant Colonel
Posts: 33297
Joined: 06 Nov 2004, 23:22
Location: Norfolk UK
Contact:

Re: Wish: the clock :)

Post by Lewis - A2A »

Hook wrote: 10 Jan 2020, 04:42 I've checked under a variety of conditions and have come to the conclusion that the problem with uneven lighting in the grey areas is a problem in P3D, not with the sim. I can't find anything wrong in the code that displays the 2D panels. Some of the lighting differences are pretty bizarre when the sun starts going down, and it's all random. Sometimes there's no problem at all in at least one panel.

Check the Cub manual in the 2D panel area. The Controls (Shift-3) panel shows a lighter box around "HAND" and "TOW", so this is not a new problem.

It may be possible to write the code such that it doesn't have uneven lighting across various elements, but I'm not that familiar with it. I experimented with removing the backgroundcolor entries but only the heading text looked proper, and it was in a different font which might be possible to use everywhere. It may be possible to make the bmp files have a transparent background, similar to the radio graphic, but I didn't try it. I may eventually try to fix the panels.

I'm running P3Dv4.4 rather than 4.5 so that might be an issue. I'd be interested in finding out if anyone else has noticed the problem, and what version they're running.

Hook
Correct, it appeared with a P3D update a while back affects all the A2A P3D fleet, and many other aircraft up to and including P3D default aircraft too. Most noticeable at night.

thanks,
Lewis
A2A Facebook for news live to your social media newsfeed
A2A Youtube because a video can say a thousand screenshots,..
A2A Simulations Twitter for news live to your social media newsfeed
A2A Simulations Community Discord for voice/text chat

Hook
Master Sergeant
Posts: 1358
Joined: 31 Dec 2012, 01:38
Location: Bonham, Texas

Re: Wish: the clock :)

Post by Hook »

Lewis - A2A wrote: 10 Jan 2020, 09:57Correct, it appeared with a P3D update a while back affects all the A2A P3D fleet, and many other aircraft up to and including P3D default aircraft too. Most noticeable at night.
Thanks, Lewis. Appreciate the info.

It always bothers me when someone accuses something I wrote of breaking something else. Even if I know it's impossible I have to investigate it. It didn't help that I never noticed it before seeing his screen shots.

We know it's possible to fix the text with a different font. I experimented with a transparent background on one of the BMP files and it's possible but the results aren't optimal. Someone with more experience or plenty of time might find a way to make it work. Better to wait for LM to fix the problem.

Hook

User avatar
YoYo
Staff Sergeant
Posts: 256
Joined: 21 Sep 2004, 02:28
Location: Poland
Contact:

Re: Wish: the clock :)

Post by YoYo »

Wow! Nice to see explenations, now its clear with some entries. 8)
http://yoyosims.pl/
Image
W10, i9 9900K, RTX 3090, RAM32Gb Corsair Vengeance LED OC@3200MHz, SSD M.2 NVMe, Predator XB271HU res.2560x1440 27'' G-sync, TiR5 [MSFS, P3Dv5, DCS, RoF, Condor2, IL-2 CoD/BoX] HP Reverb v2, VR fly only

new reply

Return to “Piper J-3 Cub Tech Support”

Who is online

Users browsing this forum: No registered users and 5 guests