PiBoSo Official Forum

GP Bikes => Mods => Bikes => Topic started by: RiccoChicco on July 05, 2014, 10:46:20 AM

Title: Rain light support
Post by: RiccoChicco on July 05, 2014, 10:46:20 AM
Hi,

In Beta5/5B changelog, we have

new: rain light support

Any hint to implement it?  :)
Title: Re: Rain light support
Post by: Alby46 on July 05, 2014, 10:47:37 AM
rain light? what's that?
Title: Re: Rain light support
Post by: Klax75 on July 05, 2014, 10:56:20 AM
Quote from: Alby46 on July 05, 2014, 10:47:37 AM
rain light? what's that?

Pretty sure it is the rear red light on your bike that is turned on when the rain is heavy, so other riders can see you better throw the water spray. I am curious though if it just a glow on the back of the bike similar to we have on some MOD's gauges or is it a light that can actually cast light behind it?
Title: Re: Rain light support
Post by: RiccoChicco on July 05, 2014, 10:57:01 AM
Quote from: Alby46 on July 05, 2014, 10:47:37 AM
rain light? what's that?

That :)

(http://www.thecheckeredflag.co.uk/wp-content/uploads/2012/04/yamaha_01_original-300x128.jpg)
Title: Re: Rain light support
Post by: PiBoSo on July 05, 2014, 11:36:23 AM

In the gfx.cfg file, add the line

rainlight = texturename

under the "chassis" section.
Title: Re: Rain light support
Post by: Alby46 on July 05, 2014, 11:57:09 AM
wow!
Title: Re: Rain light support
Post by: RiccoChicco on July 05, 2014, 12:32:35 PM
Thanks Boss!  :)
Title: Re: Rain light support
Post by: JC#21 on July 05, 2014, 12:47:37 PM
Quote from: PiBoSo on July 05, 2014, 11:36:23 AM

In the gfx.cfg file, add the line

rainlight = texturename

under the "chassis" section.

I supose it's the same way than the start light, isn't it ?

2 textures light_on and light_off
1 text file with the name of the texture (light_off) and in this file the name of the texture (light_on)

Title: Re: Rain light support
Post by: Arvoss on July 05, 2014, 02:33:06 PM
Is there a brake light too? :)
Title: Re: Rain light support
Post by: PiBoSo on July 05, 2014, 02:43:02 PM
Quote from: Arvoss on July 05, 2014, 02:33:06 PM
Is there a brake light too? :)

No.
Title: Re: Rain light support
Post by: BOBR6 84 on July 05, 2014, 03:14:14 PM
lol
Title: Re: Rain light support
Post by: GhostdogNL on July 06, 2014, 09:27:56 AM
I think its not a bad idee to have brake lights on the road bikes ..
Title: Re: Rain light support
Post by: JC#21 on July 06, 2014, 11:02:33 AM
Quote from: GhostdogNL on July 06, 2014, 09:27:56 AM
I think its not a bad idee to have brake lights on the road bikes ..

yes all lights will be cool, I mean lights on dashboard for roadbike and also front light.

It appears to me that Piboso has already says that management lights is poorly supported in GPBikes.
Title: Re: Rain light support
Post by: PiBoSo on July 06, 2014, 11:08:24 AM
Quote from: GhostdogNL on July 06, 2014, 09:27:56 AM
I think its not a bad idee to have brake lights on the road bikes ..

It will be added in Beta6.
Title: Re: Rain light support
Post by: JC#21 on July 06, 2014, 11:24:20 AM
Quote from: PiBoSo on July 06, 2014, 11:08:24 AM
Quote from: GhostdogNL on July 06, 2014, 09:27:56 AM
I think its not a bad idee to have brake lights on the road bikes ..

It will be added in Beta6.

cool  8)
Title: Re: Rain light support
Post by: Alby46 on July 06, 2014, 12:17:11 PM
great :)
Title: Re: Rain light support
Post by: GhostdogNL on July 06, 2014, 12:41:52 PM
I didnt pay attention to WRS but are the cars not having braking lights Piboso? Sow wouldnt be that the same code kind of??? :D
Title: Re: Rain light support
Post by: RiccoChicco on August 23, 2015, 05:28:45 PM
Quote from: PiBoSo on July 06, 2014, 11:08:24 AM
Quote from: GhostdogNL on July 06, 2014, 09:27:56 AM
I think its not a bad idee to have brake lights on the road bikes ..

It will be added in Beta6.

Maybe I missed something, but it doesn't appear in beta 6 changelog. Is it implemented yet? Preparing some road bikes  8)
Title: Re: Rain light support
Post by: PiBoSo on August 24, 2015, 11:36:58 AM
Quote from: RiccoChicco on August 23, 2015, 05:28:45 PM
Quote from: PiBoSo on July 06, 2014, 11:08:24 AM
Quote from: GhostdogNL on July 06, 2014, 09:27:56 AM
I think its not a bad idee to have brake lights on the road bikes ..

It will be added in Beta6.

Maybe I missed something, but it doesn't appear in beta 6 changelog. Is it implemented yet? Preparing some road bikes  8)

In the "chassis" section of gfx.cfg

rainlight = texturename
Title: Re: Rain light support
Post by: RiccoChicco on August 24, 2015, 02:18:48 PM
Thanks for your reply but I'm talking about brake light on the rear of road bikes.  :-[

Rain light is well implemented (already tested at beta 5 release) but it's not the light I was thinking about :)
Title: Re: Rain light support
Post by: Steven on August 24, 2015, 05:20:48 PM
Brakelights should work already (GPB and WRS). Just try brakelights = texturename instead of "rainlight".

One question though: Brakelights don't seem to work in multiplayer (I can't see somebody else's brakelight; I haven't tried rainlights). Is this a bug or not implemented yet?
Title: Re: Rain light support
Post by: RiccoChicco on August 24, 2015, 05:22:00 PM
Thanks, I'll give it a try :)