Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Motorcycle in Zmodeler
01-31-2011, 10:12 AM,
#16
 
Yes. One mesh per texture. The game supports unique brake disk, wheel, tire meshes/textures. Although I've never really tested it.
Reply
01-31-2011, 10:47 AM,
#17
 
This is the models with textures converted: http://fisierulmeu.ro/23WPEDEZR7IJ/april...t-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?
Reply
01-31-2011, 12:22 PM,
#18
 
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]
Reply
03-02-2011, 03:29 AM,
#19
 
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 )
Reply
03-02-2011, 07:15 AM,
#20
 
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"...?
Reply
03-02-2011, 08:13 AM,
#21
 
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.
Reply
03-03-2011, 01:24 PM,
#22
 
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.
Reply
03-03-2011, 09:09 PM,
#23
 
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.
Reply
04-17-2011, 12:39 AM,
#24
 
How I can balance the bike?
And this is the bike: https://sites.google.com/site/vdriftcars...ects=0&d=1
Reply
04-18-2011, 08:06 AM,
#25
 
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.
Reply
04-18-2011, 11:08 AM,
#26
 
I can't balance the bike Sad .
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)