The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 752 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(959) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(959) : eval()'d code 34 errorHandler->error
/global.php 959 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 1024 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5308 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5308 errorHandler->error
/global.php 1024 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1474 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1474 errorHandler->error
/inc/functions.php 1429 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key 1 - Line: 866 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_parser.php 866 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP] postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key 1 - Line: 885 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_parser.php 885 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP] postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Forums
Time/Weather Options - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: Feature Requests (https://www.vdrift.net/Forum/forumdisplay.php?fid=6)
+--- Thread: Time/Weather Options (/showthread.php?tid=1270)



Time/Weather Options - henderson155 - 04-13-2010

There should be an option to drive tracks with different weather conditions, such as Nuerburgring at night or rainy Monaco ect.


- NaN - 04-14-2010

Dynamic daytime is planned.

I am not sure about the weather/rain. Don't know how to implement it realistically. :?


- henderson155 - 05-17-2010

Aye. I see. What about if it was right after it rained or snowed?


- portets - 05-17-2010

open up vdrift/data/tracks/(your favorite track here)/surfaces.txt

in surfaces.txt, change the sections to reduce traction.

example:

Code:
[ ASPHALT ]

ID = 1
BumpWaveLength = 0.0
BumpAmplitude = 0.0
FrictionNonTread = 1.0
FrictionTread = 0.9
RollResistanceCoefficient = 1.0
RollingDrag = 0.0

becomes:

Code:
[ ASPHALT ]

ID = 1
BumpWaveLength = 0.0
BumpAmplitude = 0.0
FrictionNonTread = 0.7
FrictionTread = 0.6
RollResistanceCoefficient = 1.0
RollingDrag = 0.0

taking about 0.3 points away from every friction number feels like rain to me. also makes grass feel like mud.

i've been thinking about how to implement changing this automatically from the track selection screen.
maybe friction presets?
and then later on, we can add graphical effects to the track according to which weather preset you select. (rain falling, water spray from tires, mud spray, glossy asphalt).

the hardest part i see in that is implementing actual falling rain in the air.

snow would come later because that would require much more graphical work.


- vdriftfan - 02-25-2012

Sorry for mixing in an old thread again but can't you take some part of the rain and time code that is in Speed-Dreams/TORCS since they are open source? Those are pretty realistic. It doesn't look good but the change in handling is pretty close to what you expect on a wet road.
Is it a good base to build upon or implementing that is way to much work?


- zimluura - 02-26-2012

hmm, we could start doing it visually by implementing a composite skybox.

right now my vdrift data is hopelessy out of date. but if i were to get the latest (which is preferred now same old svn or git??). then do hand painted alpha on all the non-terrain parts of the skybox...

...then someone makes a clear-sky skybox (not that hard)...

...would we then have very rudimentary day/night/clear/cloudy support?

if this is desirable i'd be happy to do it. just a bit of a trudge through all the track skyboxes. my guess is, that if it messes with anyone's ip that we just revert that track...but maybe we just give the images new filenames like: composite_sybox.png. so if someone's ip feels infringed we just delete the derivative file.


- Timo 6 - 02-26-2012

zimluura Wrote:(which is preferred now same old svn or git??)
We still use svn for the data at the moment Smile


- vdriftfan - 02-26-2012

If someone needs testing of such feature I'm kinda open. I'll submit feedback as soon as I can. I usually visit the site every weekend.