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 property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(257) : eval()'d code PHP 8.1.31 (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.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
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



Forums
Motorcycle in Zmodeler - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: Cars & Tracks (https://www.vdrift.net/Forum/forumdisplay.php?fid=11)
+--- Thread: Motorcycle in Zmodeler (/showthread.php?tid=1433)

Pages: 1 2


- NaN - 01-31-2011

Yes. One mesh per texture. The game supports unique brake disk, wheel, tire meshes/textures. Although I've never really tested it.


- asasinuxp - 01-31-2011

This is the models with textures converted: http://fisierulmeu.ro/23WPEDEZR7IJ/aprilia-vdrift-zip.html
How it can be made the fork to be mobile and to rotate in game?And at wheel I have 3 models,it can be made to rotate the wheel and tire?


- NaN - 01-31-2011

The meshes of the tire, wheel and brake component are rotating(hardcoded). A wheel can have a non rotating component(fender).
Code:
[wheel.fl.fender]
texture = body00.png, body-misc1.png
mesh = floating_front.joe

I've added support for a steering wheel mesh. You could use it for the upper part of the fork.
Code:
[steering]
texture = foo.png
mesh = bar.joe
position = 0, 0, 0
rotation = 0, 0, 0 #in degrees
max-angle = 50 # steering axis(local z-axis) rotation limit [-max-angle, max-angle]



- asasinuxp - 03-02-2011

http://www.mediafire.com/?y4jenase9eyrn6i What I'm doing wrong here?(the chain is not declared yet,and I will need to position the components correctly )


- cologne - 03-02-2011

NaN Wrote:The meshes of the tire, wheel and brake component are rotating(hardcoded). A wheel can have a non rotating component(fender).
Code:
[wheel.fl.fender]
texture = body00.png, body-misc1.png
mesh = floating_front.joe
Don´t forget the mass of this non rotating unsprung component! Is "fender" a good name??? Something as "notrotating"...?


- NaN - 03-02-2011

Quote:What I'm doing wrong here?(the chain is not declared yet,and I will need to position the components correctly )
Looks quite good. There are some issues in VDrift to be fixed.

- VDrift wants an about.txt in the folder(just create one). Need to change it to look for the car files instead.

- There has to be a body texture named body00.png due to the way skins are handled atm. I think I should add a [skins] section into car config so that we can name the body textures explicitly.
Code:
[skins]
foo = bodywork.png
bar = fancybodywork.png

- The wheel mesh has to have unit size(diameter = 1.0), will be scaled to fit the tire dimensions.

- The tire mesh is not loaded properly I think, will look into it.

- Looks like there is an issue with tire squeal for the case when the wheels are not touching the ground but rotating.


Quote:mass of this non rotating unsprung component
Unsprung mass is not simulated. But component masses might be in the next future(right now only engine, tank, driver and wheels).

Quote:notrotating
OK. It would be cool if we could attach multiple meshes to the components. Not sure what is the most readable way to implement this.


- zimluura - 03-03-2011

Quote:- There has to be a body texture named body00.png due to the way skins are handled atm. I think I should add a [skins] section into car config so that we can name the body textures explicitly.

in theory this would increase the effort required to make a skin. i think maybe a body.png for the default. and then body_skinname.png for others. or even a sub-directory for custom skins. at some point there could be quite allot of them. if/when that happens and vdrift automatically downloads a client's custom skin in a multiplayer game it would make it easy to clean up ones you don't need (without touching the .car files to make them out of sync with the data svn). mostly depends on how popular it gets.


- NaN - 03-03-2011

I've been trying to get rid of such constructs "body_skinname.png" although not fully successful. An optional skins directory looks like a workable solution.


- asasinuxp - 04-17-2011

How I can balance the bike?
And this is the bike: https://sites.google.com/site/vdriftcars/testing-place/AP.zip?attredirects=0&d=1


- NaN - 04-18-2011

There is no way unfortunately. The game was not created with two wheel support. You could try to fake it by lowering center of mass below wheel contacts/road surface.

Btw the bike config is a wild mixture of old and new parameters. I've updated the wiki to reflect the currently supported parameters: http://wiki.vdrift.net/Car_parameters

Feedback is appreciated.


- asasinuxp - 04-18-2011

I can't balance the bike Sad .