Dirtbike handling fixed!

Suggestions from our community members for PR:BF2. Read the stickies before posting.
Flan
Posts: 67
Joined: 2007-06-02 12:40

Dirtbike handling fixed!

Post by Flan »

ok, it took me a few minutes of testing the bf2 editor but i have a dirtbike that leans in theory, only thing thats holding me back at the moment is the fact that i dont know how to shift an objects center of gravity.

Heres how to do it: the dirtbike at present has 6 wheels, 2 that you can see and four invisible stablisers. All you need to do (in the bf2 object editor) is set the strength of the stabliser wheels to around 4 or 5, and the strength of the two visable wheels to around 100 to compensate (or mabe more to fix the annoying damage from terrain that it always receives). the dirtbike will now lean on a corner and right itself but it will lean the wrong way, all that now needs to be done is to shift the centre of gravity to below where the wheels touch the ground. This would create a realistic turning effect but it is also where im stuck, i have no idea how to move the centre of gravity in the editor, i have also read that it may have to be done in 3dsmax but i dont know how. If anyone can help i will go on improving its handling.

My "suggestion" is that we add this system to the existing dirtbike for reality.
Danthesandman
Posts: 85
Joined: 2007-06-04 03:21

Post by Danthesandman »

ow good idea mate. i find the dirtbikes stupid so that would help. but just checkn but because u turn with keys its a full turn or nothing. doesnt that bugger up things?
Image
ljufmennid+1
Posts: 23
Joined: 2007-07-21 22:47

Post by ljufmennid+1 »

nice, always fell like the dirt bikes are retarded rockets or somethink, but the quad bikes are excelent, use one just like you guys have for brithis for hunting here in iceland and damn just the same felling ;)
Reddish Red
Posts: 545
Joined: 2007-08-02 10:56

Post by Reddish Red »

Quads are too weak sometimes.

Anyway, Nice Job (Can you Post a Video of it as well?)
Flan
Posts: 67
Joined: 2007-06-02 12:40

Post by Flan »

i have sort of given up on moving the center of gravity of the vehicle. instead i have decided to add a rudder from an aircraft above it, this will help with lean responsiveness and also the effect will be less at low speeds.

now how do i get the damn thing to work! :?

ill post a video if it works when im done.
e-Gor
Retired PR Developer
Posts: 3752
Joined: 2006-03-06 22:40

Post by e-Gor »

The centre of gravity cannot be underground. (the vehicle would just spawn up in the air) If it could, we'd already have them working like that. ;)
Flan
Posts: 67
Joined: 2007-06-02 12:40

Post by Flan »

Yeah i can see that now, it uses the centre of the object for every single calculation it does, stupid bf2 engine. Any idea how jet rudders work? im getting some strange handling out of my bike + jet tail rudder :-P

I can now do flatland tricks :D

Edit:
ok scrapped the center of gravity and rudder ideas, used the two front guide wheels to tip bike by moving them when the bike turns. heres a video

http://www.megaupload.com/?d=N1JYR566

Advantages: bike works very well at low/medium speeds, looks more realistic, feels much more like a 2 wheeled vehicle, less damage taken from terrain.
Disadvantages: now harder to climb hills and some stability issues.

if anyone wants the files for my version so they can try it out and refine it ill upload them for yah. ill keep working on this.
Last edited by Flan on 2007-08-29 17:37, edited 1 time in total.
Reason: Uploaded a video
TexLax
Posts: 541
Joined: 2007-02-14 01:38

Post by TexLax »

Flan wrote:Yeah i can see that now, it uses the centre of the object for every single calculation it does, stupid bf2 engine. Any idea how jet rudders work? im getting some strange handling out of my bike + jet tail rudder :-P

I can now do flatland tricks :D

Edit:
ok scrapped the center of gravity and rudder ideas, used the two front guide wheels to tip bike by moving them when the bike turns. heres a video

http://www.megaupload.com/?d=N1JYR566

Advantages: bike works very well at low/medium speeds, looks more realistic, feels much more like a 2 wheeled vehicle, less damage taken from terrain.
Disadvantages: now harder to climb hills and some stability issues.

if anyone wants the files for my version so they can try it out and refine it ill upload them for yah. ill keep working on this.
upload it to youtube, i would rather not download something
Image
Soalic
Posts: 71
Joined: 2007-05-05 02:30

Post by Soalic »

when i downnload it, its just sound and nothing else.
Flan
Posts: 67
Joined: 2007-06-02 12:40

Post by Flan »

Sigh... here you go then

http://www.youtube.com/watch?v=GkW6x8lk6OU

as you can see its not perfect, but it is improving - if very slowly.
j5mello
Posts: 15
Joined: 2006-11-09 05:01

Post by j5mello »

can something be done about how it seems the bike is skating/floating???
BAD BEN
Posts: 332
Joined: 2007-04-21 22:28

Post by BAD BEN »

cool pimped up motor bike I like the way it randomly bounces near the end.
Good work, keep it up
Desertfox
Posts: 5886
Joined: 2006-08-15 06:41

Post by Desertfox »

How are you in third person?
Image
Flan
Posts: 67
Joined: 2007-06-02 12:40

Post by Flan »

[R-CON]Desertfox wrote:How are you in third person?
just added a camera view or two for the benifit of testing.

and yeah the handling still needs some work, part of the problem is the fact that it goes so fast, if i slowed it down a bit then it would be much more stable and i could reduce the wheel strenght so it would have less random bouncing. but the whole point of it is that it should be fast, manovarable and weak. but ill keep working at it.

The problem with it sliding about so much is because it goes so fast,im sure there is a way to increase the friction on the wheels, but i havnt found it yet ;)

Edit: This thing is giving me a headache, anyone know how to turn an existing "bundle" into a "rotationalbundle"? or bundle with rotation? If i can do this i can totally fix all the stability issues with the bike.
Last edited by Flan on 2007-08-30 15:11, edited 1 time in total.
Flan
Posts: 67
Joined: 2007-06-02 12:40

Post by Flan »

ok i have finished! dirtbike is pretty much perfect, no more random bouncing :D , less damage from terrain and now you can actually control it ;) + It now leans like a lean leaning machine.

I have just noticed the community modding section - sry i think this should be in there, my bad. If a moderator could move this post to that section it would be great.

I am in the final process of testing the bike but i need to try out things with the passenger which i cant do on my own. If anyone that has / can create servers and who wants to help it would be much apreciated (and fun for them also ;) ). Add me on xfire: flandan if you want to help.

Ill upload a new video later on.
Berry[13thmeu]
Posts: 68
Joined: 2007-08-03 06:47

Post by Berry[13thmeu] »

For the sake of realism i feel i should first ask if any of you have ever ridden a dirt bike then ask what engine it supposedly has, then tell you that a 250 cc dirt bike will be lucky to get up to 50-60 mph at this point that thing is out running normal armored humv's at top speed witch isnt any where near real. the thing goes almost as fast as the little bird does. its insane you need to lower the speed. But other than that your lean system looks 10 times better than whats in the game top notch work man if the community had more people like you this mod would be much better off and a lot more advanced.

Oh yeah and the drifting on a dirt bike. not quite any one whos ridden a bike will tell you that when both wheels loose traction, you meet the ground very very quickly.
Flan
Posts: 67
Joined: 2007-06-02 12:40

Post by Flan »

'Berry[13thmeu wrote:;473158']For the sake of realism i feel i should first ask if any of you have ever ridden a dirt bike then ask what engine it supposedly has, then tell you that a 250 cc dirt bike will be lucky to get up to 50-60 mph at this point that thing is out running normal armored humv's at top speed witch isnt any where near real. the thing goes almost as fast as the little bird does. its insane you need to lower the speed. But other than that your lean system looks 10 times better than whats in the game top notch work man if the community had more people like you this mod would be much better off and a lot more advanced.

Oh yeah and the drifting on a dirt bike. not quite any one whos ridden a bike will tell you that when both wheels loose traction, you meet the ground very very quickly.
Yeah im aware theres still going to be many things wrong with the dirtbike. 1st of all its still a six wheeled vehicle, so things like falling off cant be added and drifting cant be prevented. as for the speed, i know the thing is way too fast atm but i am not convinced that reducing this will go down well as it is one of its only strengths. I think i have made it very nearly as realistic as possible in the bf2 engine but if someone else wants to try a very advanced version that actually has 2 wheels i will help and support them as much as i can.
KingofCamelot
Retired PR Developer
Posts: 2365
Joined: 2006-01-07 18:17

Post by KingofCamelot »

Flan wrote:Edit: This thing is giving me a headache, anyone know how to turn an existing "bundle" into a "rotationalbundle"? or bundle with rotation? If i can do this i can totally fix all the stability issues with the bike.
Edit the actual CON and TWEAK files and its a simple case of changing the word from Bundle to RotationalBundle.
Ruthless Executioner of 280 SpamBots
Image
Retired Lead Coder for Project Reality - 0.25 through 0.4
Flan
Posts: 67
Joined: 2007-06-02 12:40

Post by Flan »

[R-DEV]KingofCamelot wrote:Edit the actual CON and TWEAK files and its a simple case of changing the word from Bundle to RotationalBundle.
yeah ty but i already did it ;) woke up 1 morning and just knew exactly how to do it. Thing is running like a dream now.

New video:
http://www.youtube.com/watch?v=BXnRm6AW6pY

complete with terrible driving on my part, ill upload the files for the bike in a little while so you can try it out for yourselves.
Last edited by Flan on 2007-09-01 15:06, edited 1 time in total.
Post Reply

Return to “PR:BF2 Suggestions”