01-19-2012, 09:48 AM,
|
|
berzingue
Member
|
Posts: 103
Threads: 13
Joined: Aug 2010
|
|
Karting KF1
Hello,
my project is a Kart. Short name will be "KF1".
I've made basic meshes for chassis, driver, tires, steer-wheel, I'll make better graphisms later. My goal for now : import this basic kart in Vdrift.
For now, nothing works. I use modified 350Z.car for KF1. I didn't change body position, tire positions, etc. I would like to see the kart imported in game before write good coordinates.
But for now I'm not able to drive the kart in game.
Here are my questions :
- Why kart don't appear in Vdrift menu ?
- Kart have specifics tires meshes and dimensions. How must I name it, where must I save it ? (is it cars/KF1/Fwheel.joe ?)
- Must I give a texture to the collision box ?
- does it exist a video tutorial for car import, as for tracks ?
- can you have a look and explain me what's wrong ? here is the link to download the kart :
http://dl.free.fr/fZJyHBtXX
Thanks for your help !
|
|
01-19-2012, 02:41 PM,
|
|
NaN
Posting Freak
|
Posts: 2,024
Threads: 120
Joined: Jan 2010
|
|
Quote:Why kart don't appear in Vdrift menu ?
Under windows check C:\Users\<username>\My Documents\My Games\VDrift\VDrift.config It will tell that it failed to load body.png texture for steering wheel mesh.
Quote:Kart have specifics tires meshes and dimensions. How must I name it, where must I save it ? (is it cars/KF1/Fwheel.joe ?)
As it is now you have to provide wheel dimensions (we need to add support for custom wheels back)11 x 7.10 â 5 should be something like size = 180, 85, 5
The wheel mesh is actually the rim mesh which is scaled to fit tire dimensions, has to have radius=0.5
Quote:Must I give a texture to the collision box ?
collision.joe is unused. A default shape is calculated from cart bounding box. You can define your own shapes(box, capsule) but that is usually not required(advanced stuff).
Quote:does it exist a video tutorial for car import, as for tracks ?
Unfortunately not. Would be great to have one. Usually you start with an existing car as template.
|
|
01-19-2012, 05:23 PM,
|
|
berzingue
Member
|
Posts: 103
Threads: 13
Joined: Aug 2010
|
|
Thanks, now the kart is imported !
But the chassis is not linked to the wheels : chassis stays on the ground.
How can I fix it ?
here is the link if you want to have a look :
http://dl.free.fr/g7cQVqZq9
|
|
01-19-2012, 06:11 PM,
|
|
NaN
Posting Freak
|
Posts: 2,024
Threads: 120
Joined: Jan 2010
|
|
I've tried it. Looks nice. The mass has to be reduced(160kg with driver hehe). And a few other things adjusted.
Run "vdrift -debug" to see some parameters.
Btw did you create the kart? Would you be OK with adding it to VDrift? Maybe under a CC license http://creativecommons.org/
|
|
01-19-2012, 07:42 PM,
|
|
berzingue
Member
|
Posts: 103
Threads: 13
Joined: Aug 2010
|
|
ok, kart is good positionned.
Here is link with modifications :
http://dl.free.fr/hv3bOtpj3
How I edit mass ? is it particles ? I try to changes values (engine, particle mass) but it don't give good results...
No problem for adding kart on Vdrift !
Very soon, I'll give better graphisms to the kart. Here, this is a kart from season 1991. I want to give it appearence of a kart from season 2012.
Just one condition : please help me with KF1.car !
As I said, I know how make texturing and modeling but I'm not good with code...
Will you accept to edit KF1.car and send it back to me? here are specs :
Kart mass : 158kg with driver, 75kg without driver and fuel.
engine : 125cm3, 40hp at 14.000rpm
Fuel Tank : 8 liters
only 1 gear
no suspension
4 brake discs.
|
|
01-20-2012, 08:09 AM,
|
|
NaN
Posting Freak
|
Posts: 2,024
Threads: 120
Joined: Jan 2010
|
|
Quote:No problem for adding kart on Vdrift !
Great, I'll take care of the config. Shall we call it KF1-91?
Btw it is a great testbed for the simulation code with its special parameters(low weight, low power, high rpm), has already helped to spot some issues in the engine logic.
|
|
01-20-2012, 08:43 AM,
|
|
NaN
Posting Freak
|
Posts: 2,024
Threads: 120
Joined: Jan 2010
|
|
Here is an initial version: https://gist.github.com/1647193
You will notice that the clutch only locks at about 15000rpm. This is an issue in the auto-clutch code.
We have not enough grip on the front. Need slicks and maybe some tuning.
I'll try to fix this.
I've set the idle rpm to 8000. The gear ratio is 7.5(top speed about 130kph). Do you know if this is correct?
|
|
01-20-2012, 02:16 PM,
|
|
berzingue
Member
|
Posts: 103
Threads: 13
Joined: Aug 2010
|
|
Can you give more stability during braking ?
The kart make spin immediatly when I touch brakes...(I'm playing with keyboard)
If you can make the kart stable as Lotus Elise, it will be great.
Like this I will be able to test my kart tracks easier !
About KF1 performances, here is what I've found :
0 to 100 kph -> 4 sec.
100 to 0 kh -> 5 sec.
top speed : 137kph
And here is a point of detail I've found on FIA-CIK technical regulation :
"The engine clutch must be triggered at 3,000 rpm maximum
and make the kart with the Driver on board move
forward; it must be in direct drive (and 100% engaged) at
5,000 rpm maximum under all circumstances."
If you wish, you can read the complete technical rules on this link (but I think I've written the essential about all you need to know...) :
http://www.cikfia.com/fileadmin/user_upl...011_01.pdf
|
|
01-20-2012, 03:14 PM,
|
|
berzingue
Member
|
Posts: 103
Threads: 13
Joined: Aug 2010
|
|
No, I don't know...
If you can approach real kart performances, that's nice.
But the most important for now : I'm looking for a kart as stable as Lotus Elise (especially on brakings). If kart can accelerate stronger at start, that's nice too.
I modelise kart tracks and I need to see if bankings, bumps and elevations are realistic...
Last request : is it possible to obtain this view for onboard cam ?
I positionned camera exactly on helmet visor, but I can't see front tires and steering wheel... It should be great to edit camera rotation and focal distance (24-28mm?)
|
|
01-20-2012, 04:09 PM,
|
|
NaN
Posting Freak
|
Posts: 2,024
Threads: 120
Joined: Jan 2010
|
|
Quote:I'm looking for a kart as stable as Lotus Elise (especially on brakings).
Are you running with this setup https://gist.github.com/1647193 ? For me it is heavily understeering, too stable. You can lower brake bias in the config to make them less agressive.
Quote:It should be great to edit camera rotation and focal distance (24-28mm?)
The code for camera rotation is there but disabled, can't remember why. Field of view can be changed in the options somewhere.
|
|
01-20-2012, 07:27 PM,
|
|
berzingue
Member
|
Posts: 103
Threads: 13
Joined: Aug 2010
|
|
Yes, I copied your KF1.car...but when I push on throttle, kart don't go ahead...it seem like I try to start on 6th gear !
|
|
01-20-2012, 08:43 PM,
|
|
berzingue
Member
|
Posts: 103
Threads: 13
Joined: Aug 2010
|
|
I mean, I can't go faster than 5kph !
Note : on my computer kart don't run without this line code :
fuel-consumption = 1e-9
Anyway, the kart goes like it have a too high gear...I change values but nothing change, my max speed stays around 5kph...
it starts "normaly" when "start RPM" is on value 15000...
|
|
|