BVE WorldWide
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Inbuilt rain drops not working

2 posters

Go down

Inbuilt rain drops not working Empty Inbuilt rain drops not working

Post by Rakago Mon Jan 04, 2021 11:12 am

Hi,

I'm having issues with the new command, because It doesn't works for me. I've downloaded the latest version and still gives me an error in the route .csv file when I put .rain 100. How can I fix that? Thanks in advance.
Rakago
Rakago

Posts : 65
Join date : 2019-10-30
Age : 17
Location : Spain

https://openbveiberia.blogspot.com/

Back to top Go down

Inbuilt rain drops not working Empty Re: Inbuilt rain drops not working

Post by leezer3 Mon Jan 04, 2021 5:53 pm

Can you clarify exactly what error you're seeing please?
Full text of the error and / or a complete log is the most useful.

This appears to work for me.

leezer3

Posts : 1961
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Inbuilt rain drops not working Empty Re: Inbuilt rain drops not working

Post by Rakago Wed Jan 06, 2021 3:07 pm

Hello,

This is the error that appears in the Route Viewer:
Inbuilt rain drops not working Problem1

This is the CSV file of the route:
Inbuilt rain drops not working Problem2

And also I want to clarify that I'm using the latest version available:
Inbuilt rain drops not working Problem3

Do I have anything wrong?
Rakago
Rakago

Posts : 65
Join date : 2019-10-30
Age : 17
Location : Spain

https://openbveiberia.blogspot.com/

Back to top Go down

Inbuilt rain drops not working Empty Re: Inbuilt rain drops not working

Post by leezer3 Wed Jan 06, 2021 7:29 pm

That looks right.

Try the main game first & see if that works, I'll take a look at route viewer later.
(Probably needs the rain intensity showing there now I think about it....)

leezer3

Posts : 1961
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Inbuilt rain drops not working Empty Re: Inbuilt rain drops not working

Post by Rakago Wed Jan 06, 2021 8:20 pm

The main game also loads it as an error so I don't know what's happening confused
Rakago
Rakago

Posts : 65
Join date : 2019-10-30
Age : 17
Location : Spain

https://openbveiberia.blogspot.com/

Back to top Go down

Inbuilt rain drops not working Empty Re: Inbuilt rain drops not working

Post by leezer3 Thu Jan 07, 2021 11:39 am

Nope, you're entirely right, may apologies Sad

(Nobody ever breaks the thing or say anthing before I put out a release Razz )

Try the test build from today & see if that works any better:
https://vps.bvecornwall.co.uk/OpenBVE/Builds/OpenBVE-2021-01-07.zip

This also makes the following improvements:

  • AI now handles the wipers if fitted.
  • Route viewer and the main game have rain intensity added to the overlays.

leezer3

Posts : 1961
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Inbuilt rain drops not working Empty Re: Inbuilt rain drops not working

Post by Rakago Thu Jan 07, 2021 2:49 pm

I have installed the files successfully, the main game and the Route Viewer doesn't load any error but the raindrops are missing... Does that I mean I have to create a 3D model for them myself? Thanks for the help Smile
Rakago
Rakago

Posts : 65
Join date : 2019-10-30
Age : 17
Location : Spain

https://openbveiberia.blogspot.com/

Back to top Go down

Inbuilt rain drops not working Empty Re: Inbuilt rain drops not working

Post by leezer3 Thu Jan 07, 2021 4:11 pm

Correct, this doesn't (at the minute at least) add a 3D model.

leezer3

Posts : 1961
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Inbuilt rain drops not working Empty Re: Inbuilt rain drops not working

Post by Rakago Sat Jan 09, 2021 10:08 am

leezer3 wrote:Correct, this doesn't (at the minute at least) add a 3D model.
How can I add it? I tried to put structure.rain and texture.rain and it didn't worked. Excuse my ignorance Embarassed
Rakago
Rakago

Posts : 65
Join date : 2019-10-30
Age : 17
Location : Spain

https://openbveiberia.blogspot.com/

Back to top Go down

Inbuilt rain drops not working Empty Re: Inbuilt rain drops not working

Post by leezer3 Sat Jan 09, 2021 12:34 pm

Neither of those, you'd have to add it as a wall / dike where you want it.

That's actually a rather good idea mind.

I'm thinking extend the current Rain command as the following:
.Rain(Intensity, RainType)

leezer3

Posts : 1961
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Rakago likes this post

Back to top Go down

Inbuilt rain drops not working Empty Re: Inbuilt rain drops not working

Post by leezer3 Sun Jan 10, 2021 2:49 pm

Extended Smile
https://vps.bvecornwall.co.uk/OpenBVE/Builds/OpenBVE-2021-01-10.zip

New addition to the Structure namespace, Structure.Weather
Works in exactly the same way as a wall, dike etc.

The .Rain command has been extended to take a second (optional) parameter, structureindex.
This should be set to the appropriate set from Structure.Weather



I'm also thinking about a .Snow command to work in an identical manner, but loading a set of snow drops on the windscreen as opposed to rain drops.
Need to see if I can work up something that doesn't look awful.....

leezer3

Posts : 1961
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Rakago likes this post

Back to top Go down

Inbuilt rain drops not working Empty Re: Inbuilt rain drops not working

Post by Rakago Sun Jan 10, 2021 3:40 pm

I got the raindrops correctly displaying on the Route Viewer but in the main game when I select the route file, this message appears on the info. box

Inbuilt rain drops not working 2

Inbuilt rain drops not working 1

Looking forward for the Snow command Very Happy
Rakago
Rakago

Posts : 65
Join date : 2019-10-30
Age : 17
Location : Spain

https://openbveiberia.blogspot.com/

Back to top Go down

Inbuilt rain drops not working Empty Re: Inbuilt rain drops not working

Post by leezer3 Sun Jan 10, 2021 5:55 pm

Fixed Smile

I've also added .Snow to the available routefile commands.

This works identically to the .Rain command.

There's also one other rather neat little feature- Combined rain and snow (That's definitely something that could never be done before)!
This works as following:

  • We take the maximum of the rain and snow intensities. This is the base probability of a drop hitting the windscreen at any given time.
  • The snow intensity is then taken as the probability that it will be a snowflake, as opposed to a raindrop.

leezer3

Posts : 1961
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Rakago likes this post

Back to top Go down

Inbuilt rain drops not working Empty Re: Inbuilt rain drops not working

Post by Rakago Sun Jan 10, 2021 6:13 pm

Nice to hear, can't wait to try it! Razz
Rakago
Rakago

Posts : 65
Join date : 2019-10-30
Age : 17
Location : Spain

https://openbveiberia.blogspot.com/

Back to top Go down

Inbuilt rain drops not working Empty Re: Inbuilt rain drops not working

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum