PiBoSo Official Forum

GP Bikes => Mods => Bikes => Topic started by: Obelix90 on October 01, 2016, 01:11:12 PM

Title: Support for steer mounted analog gauges in GPB Beta9
Post by: Obelix90 on October 01, 2016, 01:11:12 PM
Hi PiBoSo,
in the last beta of GPB it was possible to mount gauges to the steer.
It's not working anymore. The needle stays in its original position. I already tried to put it in the chassis and that's working.
Did something change in the .gfx-file structure?
Title: Re: Support for steer mounted analog gauges in GPB Beta9
Post by: PiBoSo on October 01, 2016, 01:33:16 PM

Now the scene must be set for every element, to allow, for example, to have analog gauges on the chassis and also a digital dash mounted on the steer.

- "cockpit/gauges/analog_scene" for the analog gauges
- "cockpit/gauges/gearup_led/scene" for the gear shift light
- "cockpit/gauges/rpm_lights/scene" for the rpm lights
- "cockpit/gauges/pit_limiter/scene" for the pit limiter light
- "cockpit/gauges/lcd/scene" for the LCD
- "cockpit/gauges/lcd2/scene" for the second LCD
- "cockpit/gauges/lcd3/scene" for the third LCD

The possible values are 0 ( chassis, the default ) and 1 ( steer ).
Title: Re: Support for steer mounted analog gauges in GPB Beta9
Post by: Obelix90 on October 01, 2016, 02:55:20 PM
Thank you for the quick reply. Unfortunately it's still not working. First of all, is there a typing error in:
Quote from: PiBoSo on October 01, 2016, 01:33:16 PM
- "cockpit/gauges/analog_scene" for the analog gauges
Should it say "cockpit/gauges/speed_analog/scene" for analog speed?
I tried a LCD with "cockpit/gauges/lcd/scene and scene=1 and this is working.
Title: Re: Support for steer mounted analog gauges in GPB Beta9
Post by: PiBoSo on October 01, 2016, 02:58:42 PM
Quote from: Obelix90 on October 01, 2016, 02:55:20 PM
Thank you for the quick reply. Unfortunately it's still not working. First of all, is there a typing error in:
Quote from: PiBoSo on October 01, 2016, 01:33:16 PM
- "cockpit/gauges/analog_scene" for the analog gauges
Should it say "cockpit/gauges/speed_analog/scene" for analog speed?
I tried a LCD with "cockpit/gauges/lcd/scene and scene=1 and this is working.

"cockpit/gauges/analog_scene = 1". All analog gauges must be linked to the same scene.
Title: Re: Support for steer mounted analog gauges in GPB Beta9
Post by: Obelix90 on October 01, 2016, 03:21:47 PM
It's working, thank you. :)
Title: Re: Support for steer mounted analog gauges in GPB Beta9
Post by: h106frp on October 28, 2016, 12:09:55 AM
Quote from: PiBoSo on October 01, 2016, 01:33:16 PM

Now the scene must be set for every element, to allow, for example, to have analog gauges on the chassis and also a digital dash mounted on the steer.

- "cockpit/gauges/analog_scene" for the analog gauges
- "cockpit/gauges/gearup_led/scene" for the gear shift light
- "cockpit/gauges/rpm_lights/scene" for the rpm lights
- "cockpit/gauges/pit_limiter/scene" for the pit limiter light
- "cockpit/gauges/lcd/scene" for the LCD
- "cockpit/gauges/lcd2/scene" for the second LCD
- "cockpit/gauges/lcd3/scene" for the third LCD

The possible values are 0 ( chassis, the default ) and 1 ( steer ).

By trial and error it appears to be;
- "cockpit/gauges/lcd/scene" for the LCD
- "cockpit/gauges/lcd1/scene" for the second LCD not 2 as described

Title: Re: Support for steer mounted analog gauges in GPB Beta9
Post by: PiBoSo on October 28, 2016, 10:27:34 AM
Quote from: h106frp on October 28, 2016, 12:09:55 AM
Quote from: PiBoSo on October 01, 2016, 01:33:16 PM

Now the scene must be set for every element, to allow, for example, to have analog gauges on the chassis and also a digital dash mounted on the steer.

- "cockpit/gauges/analog_scene" for the analog gauges
- "cockpit/gauges/gearup_led/scene" for the gear shift light
- "cockpit/gauges/rpm_lights/scene" for the rpm lights
- "cockpit/gauges/pit_limiter/scene" for the pit limiter light
- "cockpit/gauges/lcd/scene" for the LCD
- "cockpit/gauges/lcd2/scene" for the second LCD
- "cockpit/gauges/lcd3/scene" for the third LCD

The possible values are 0 ( chassis, the default ) and 1 ( steer ).

By trial and error it appears to be;
- "cockpit/gauges/lcd/scene" for the LCD
- "cockpit/gauges/lcd1/scene" for the second LCD not 2 as described

Thank you for the report.
It will be fixed in Beta10.