The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.27 (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.27 (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.27 (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.27 (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.27 (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.27 (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.27 (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.27 (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.27 (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 property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(257) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/printthread.php(257) : eval()'d code 2 errorHandler->error
/printthread.php 257 eval
/printthread.php 117 printthread_multipage
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (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.27 (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.27 (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.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (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.27 (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.27 (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.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (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.27 (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.27 (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 1 - Line: 866 - File: inc/class_parser.php PHP 8.1.27 (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.27 (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 1 - Line: 866 - File: inc/class_parser.php PHP 8.1.27 (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.27 (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.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (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.27 (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.27 (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 1 - Line: 866 - File: inc/class_parser.php PHP 8.1.27 (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.27 (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 1 - Line: 866 - File: inc/class_parser.php PHP 8.1.27 (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.27 (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.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (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.27 (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.27 (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.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (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.27 (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.27 (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.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (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.27 (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.27 (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



Forums
Slippery/bumpy surfaces - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Project (https://www.vdrift.net/Forum/forumdisplay.php?fid=4)
+--- Forum: Development (https://www.vdrift.net/Forum/forumdisplay.php?fid=9)
+--- Thread: Slippery/bumpy surfaces (/showthread.php?tid=323)

Pages: 1 2


Slippery/bumpy surfaces - thelusiv - 08-16-2006

Varying degrees of friction are now possible in VDrift again. Last night Joe set up some new features of the track listedit tool which sets the properties of objects on the track. He also added some bumpiness settings. Road Atlanta is the only track which has been updated to work with these new features, so none of the other tracks will load! This is all in the latest SVN so if you want to test it out go ahead, let us know what you think. We'll work to get the tracks updated so they all work again very soon.


Slippery/bumpy surfaces - thelusiv - 08-16-2006

Varying degrees of friction are now possible in VDrift again. Last night Joe set up some new features of the track listedit tool which sets the properties of objects on the track. He also added some bumpiness settings. Road Atlanta is the only track which has been updated to work with these new features, so none of the other tracks will load! This is all in the latest SVN so if you want to test it out go ahead, let us know what you think. We'll work to get the tracks updated so they all work again very soon.


Re: Slippery/bumpy surfaces - alex25 - 08-16-2006

thelusiv Wrote:Varying degrees of friction are now possible in VDrift again. Last night Joe set up some new features of the track listedit tool which sets the properties of objects on the track. He also added some bumpiness settings. Road Atlanta is the only track which has been updated to work with these new features, so none of the other tracks will load! This is all in the latest SVN so if you want to test it out go ahead, let us know what you think. We'll work to get the tracks updated so they all work again very soon.

i'll try to fix the tracks i converted. do these numbers have some equivalent in racer, or do we just have to come up with them? thanks.

--alex--


Re: Slippery/bumpy surfaces - alex25 - 08-16-2006

thelusiv Wrote:Varying degrees of friction are now possible in VDrift again. Last night Joe set up some new features of the track listedit tool which sets the properties of objects on the track. He also added some bumpiness settings. Road Atlanta is the only track which has been updated to work with these new features, so none of the other tracks will load! This is all in the latest SVN so if you want to test it out go ahead, let us know what you think. We'll work to get the tracks updated so they all work again very soon.

i'll try to fix the tracks i converted. do these numbers have some equivalent in racer, or do we just have to come up with them? thanks.

--alex--


- clytle374 - 08-16-2006

Sweet


- clytle374 - 08-16-2006

Sweet


- thelusiv - 08-16-2006

The features were added to the listedit tool but you'll have to go through the code now to see how it works...Joe told me a little about it last night, here's the stuff about friction:
Venzon Wrote:(22:56:48) Venzon: i had to change the object list.txt file format
(22:56:54) Venzon: but converting to the new format isn't too hard
(22:57:05) Venzon: you could even write a script to do it pretty easily
(22:57:26) Venzon: here's how:
(22:57:33) Venzon: open up the list.txt file in a text editor
(22:57:39) Venzon: add 10 to the top of the file
(22:57:45) Venzon: like, the number 10... on its own line
(22:57:56) Venzon: then start up listedit and load the list.txt file
(22:58:04) Venzon: do the following commands:
(22:58:10) Venzon: addparam 1.0
(22:58:12) Venzon: addparam 0.9
(22:58:45) Venzon: that adds the new parameters to the track files. the first one is the friction coefficient for non-treaded (road racing) tires
(22:58:59) Venzon: the second one is the friction coefficient for treaded (rally/off-road) tires
(22:59:23) Venzon: by doing addparam you create a 10 and 11 that you can use with set
(22:59:45) Venzon: and addparam also automatically sets the defaults
(22:59:48) Venzon: then you can save that
(22:59:52) Venzon: and exit listedit
(22:59:57) Venzon: and then oooone more thing
(23:01:11) Venzon: add the following to the track.txt file:
(23:01:14) Venzon: non-treaded friction coefficient = 1.0
(23:01:14) Venzon: treaded friction coefficient = 0.9
(23:01:26) Venzon: that's the default friction for the smooth road surfaces
(23:01:29) Venzon: and then you're done
(23:01:35) Venzon: wow, that sounded like a crazy long number of steps
(23:01:43) Venzon: it seemed simpler in my head :-)
(23:03:21) Venzon: also set 7 (used to be reserved) is now bumpiness
car tire tread stuff:
Venzon Wrote:(01:11:43) Venzon: the [tires-front] and [tires-rear] sections in the .car file contain a new "tread" parameter that defines how much tread is on the tire
(01:11:57) Venzon: G4 has 0.0, TC has something higher, like 0.7...
(01:12:16) Venzon: i have the surfaces set up on road atlanta so that a tire with 1.0 tread has a 0.9 friction coefficient
(01:12:25) Venzon: and 0.0 tread has a 1.0 friction coefficient
(01:12:28) Venzon: on asphalt
(01:12:54) Venzon: off-road, it's 0.7 for no tread, 1.0 for full tread
(01:12:59) Venzon: not totally realistic
(01:13:14) Venzon: but should be in the ball park once bump is in there
and the stuff about bumpiness:
Venzon Wrote:(01:28:58) Venzon: the bumps in the off-road parts are set at 2 meter wavelength with 0.03 meter magnitude
(01:29:15) Venzon: all of the bumpiness and friction stuff can be set per object as they are now parameters in the list.txt file
(01:29:23) Venzon: check the updated format.txt in the listedit folder in the track editor
(01:29:32) Venzon: it probably needs some work
(01:29:37) Venzon: the TC is way too grippy off-road
(01:29:41) Venzon: and probably other cars, too
(01:30:05) Venzon: it's fun to drive the TC around the edges of road atlanta in the cockpit view, though
(01:30:08) Venzon: nice and bumpy
(01:42:20) Venzon: wow, the SB comes alive on the bumps... weird



- thelusiv - 08-16-2006

The features were added to the listedit tool but you'll have to go through the code now to see how it works...Joe told me a little about it last night, here's the stuff about friction:
Venzon Wrote:(22:56:48) Venzon: i had to change the object list.txt file format
(22:56:54) Venzon: but converting to the new format isn't too hard
(22:57:05) Venzon: you could even write a script to do it pretty easily
(22:57:26) Venzon: here's how:
(22:57:33) Venzon: open up the list.txt file in a text editor
(22:57:39) Venzon: add 10 to the top of the file
(22:57:45) Venzon: like, the number 10... on its own line
(22:57:56) Venzon: then start up listedit and load the list.txt file
(22:58:04) Venzon: do the following commands:
(22:58:10) Venzon: addparam 1.0
(22:58:12) Venzon: addparam 0.9
(22:58:45) Venzon: that adds the new parameters to the track files. the first one is the friction coefficient for non-treaded (road racing) tires
(22:58:59) Venzon: the second one is the friction coefficient for treaded (rally/off-road) tires
(22:59:23) Venzon: by doing addparam you create a 10 and 11 that you can use with set
(22:59:45) Venzon: and addparam also automatically sets the defaults
(22:59:48) Venzon: then you can save that
(22:59:52) Venzon: and exit listedit
(22:59:57) Venzon: and then oooone more thing
(23:01:11) Venzon: add the following to the track.txt file:
(23:01:14) Venzon: non-treaded friction coefficient = 1.0
(23:01:14) Venzon: treaded friction coefficient = 0.9
(23:01:26) Venzon: that's the default friction for the smooth road surfaces
(23:01:29) Venzon: and then you're done
(23:01:35) Venzon: wow, that sounded like a crazy long number of steps
(23:01:43) Venzon: it seemed simpler in my head :-)
(23:03:21) Venzon: also set 7 (used to be reserved) is now bumpiness
car tire tread stuff:
Venzon Wrote:(01:11:43) Venzon: the [tires-front] and [tires-rear] sections in the .car file contain a new "tread" parameter that defines how much tread is on the tire
(01:11:57) Venzon: G4 has 0.0, TC has something higher, like 0.7...
(01:12:16) Venzon: i have the surfaces set up on road atlanta so that a tire with 1.0 tread has a 0.9 friction coefficient
(01:12:25) Venzon: and 0.0 tread has a 1.0 friction coefficient
(01:12:28) Venzon: on asphalt
(01:12:54) Venzon: off-road, it's 0.7 for no tread, 1.0 for full tread
(01:12:59) Venzon: not totally realistic
(01:13:14) Venzon: but should be in the ball park once bump is in there
and the stuff about bumpiness:
Venzon Wrote:(01:28:58) Venzon: the bumps in the off-road parts are set at 2 meter wavelength with 0.03 meter magnitude
(01:29:15) Venzon: all of the bumpiness and friction stuff can be set per object as they are now parameters in the list.txt file
(01:29:23) Venzon: check the updated format.txt in the listedit folder in the track editor
(01:29:32) Venzon: it probably needs some work
(01:29:37) Venzon: the TC is way too grippy off-road
(01:29:41) Venzon: and probably other cars, too
(01:30:05) Venzon: it's fun to drive the TC around the edges of road atlanta in the cockpit view, though
(01:30:08) Venzon: nice and bumpy
(01:42:20) Venzon: wow, the SB comes alive on the bumps... weird



- alex25 - 08-16-2006

thelusiv Wrote:(22:58:10) Venzon: addparam 1.0
(22:58:12) Venzon: addparam 0.9
(22:58:45) Venzon: that adds the new parameters to the track files. the first one is the friction coefficient for non-treaded (road racing) tires
(22:58:59) Venzon: the second one is the friction coefficient for treaded (rally/off-road) tires

quick question (before i start updating my tracks). the above would seem to imply that the first coefficient is for non-treaded tires while the second is for treaded ones (backed up by listedit/format.txt). but if i look at road_atlanta/objects/list.txt the coeffcients seem to be in reverse order:

Code:
raroad1.dof-01.joe
grasa.bmp.png
1
0
0
0
2.0
0.03
1
0
0.7
1.0

does that mean road_atlanta is wrong?

also, i guess the coefficients should be different for grass (small) road (i guess around 1) and a gravel pit (10 or so). can the coefficient be greater than 1?

--alex--


- alex25 - 08-16-2006

thelusiv Wrote:(22:58:10) Venzon: addparam 1.0
(22:58:12) Venzon: addparam 0.9
(22:58:45) Venzon: that adds the new parameters to the track files. the first one is the friction coefficient for non-treaded (road racing) tires
(22:58:59) Venzon: the second one is the friction coefficient for treaded (rally/off-road) tires

quick question (before i start updating my tracks). the above would seem to imply that the first coefficient is for non-treaded tires while the second is for treaded ones (backed up by listedit/format.txt). but if i look at road_atlanta/objects/list.txt the coeffcients seem to be in reverse order:

Code:
raroad1.dof-01.joe
grasa.bmp.png
1
0
0
0
2.0
0.03
1
0
0.7
1.0

does that mean road_atlanta is wrong?

also, i guess the coefficients should be different for grass (small) road (i guess around 1) and a gravel pit (10 or so). can the coefficient be greater than 1?

--alex--


- joevenzon - 08-16-2006

Road atlanta is correct. If you'll notice, you're looking at a grassy object, so the friction for non-treaded is 0.7 and treaded is 1.0. These are the values for grass from vamos. I'm not sure what values they had for racer. 0.7 may be too high.

To be clear, here's what I did after the addparam commands on road_atlanta (still in the listedit tool):

Code:
set 0 * 10 0.7
set 0 * 11 1.0
set 1 road* 10 1.0
set 1 road* 11 0.9

The first two lines set every single object to have grass-y friction numbers. The second two lines set all objects with texture names of road* (which, for this particular track, happen to be all of the pavement type surfaces) to have asphalt-y friction numbers. The way this works in the code is that every tire's friction numbers, which are computed each physics frame, end up getting multiplied by a friction coefficient. The friction coefficient is determined by:

Code:
surface_friction_coefficient = (1.0 - tread)*non_treaded_friction + tread*treaded_friction

where "tread" is the tread parameter for the tire as defined in the .car file.

Don't set any friction values larger than 1.0. It's possible to do, but don't -- if you're doing this, then you don't understand how it works because it's not really what you want to do.


- joevenzon - 08-16-2006

Road atlanta is correct. If you'll notice, you're looking at a grassy object, so the friction for non-treaded is 0.7 and treaded is 1.0. These are the values for grass from vamos. I'm not sure what values they had for racer. 0.7 may be too high.

To be clear, here's what I did after the addparam commands on road_atlanta (still in the listedit tool):

Code:
set 0 * 10 0.7
set 0 * 11 1.0
set 1 road* 10 1.0
set 1 road* 11 0.9

The first two lines set every single object to have grass-y friction numbers. The second two lines set all objects with texture names of road* (which, for this particular track, happen to be all of the pavement type surfaces) to have asphalt-y friction numbers. The way this works in the code is that every tire's friction numbers, which are computed each physics frame, end up getting multiplied by a friction coefficient. The friction coefficient is determined by:

Code:
surface_friction_coefficient = (1.0 - tread)*non_treaded_friction + tread*treaded_friction

where "tread" is the tread parameter for the tire as defined in the .car file.

Don't set any friction values larger than 1.0. It's possible to do, but don't -- if you're doing this, then you don't understand how it works because it's not really what you want to do.


- joevenzon - 08-16-2006

For bumpiness, here's what I did in the listedit tool for road atlanta:

Code:
set 0 * 6 2.0
set 0 * 7 0.03
set 1 road* 7 0

The first two lines set all objects to have grass-y bump numbers (from vamos' concept of grass): 2.0 m bump wavelength, 0.03 m bump height. The third line sets all road objects to have 0 m bump height (no bumps).


- joevenzon - 08-16-2006

For bumpiness, here's what I did in the listedit tool for road atlanta:

Code:
set 0 * 6 2.0
set 0 * 7 0.03
set 1 road* 7 0

The first two lines set all objects to have grass-y bump numbers (from vamos' concept of grass): 2.0 m bump wavelength, 0.03 m bump height. The third line sets all road objects to have 0 m bump height (no bumps).


- alex25 - 08-16-2006

joevenzon Wrote:Don't set any friction values larger than 1.0. It's possible to do, but don't -- if you're doing this, then you don't understand how it works because it's not really what you want to do.

i guess i was looking for the drag coefficient (in vamos-speak).

--alex--