Outerra forum

User mods, screenshots & videos => Vehicles => Topic started by: giucam on November 26, 2012, 06:18:20 am

Title: BMW M3 package with improved physics
Post by: giucam on November 26, 2012, 06:18:20 am
Finally today I can release the first version of the BMW posted by cameni here (http://www.outerra.com/forum/index.php?topic=1326.0) with the engine script I made and engine sounds.

Latest version here (http://www.outerra.com/forum/index.php?topic=1352.msg21822#msg21822)!

It has 5+1 gears, with automatic transmission, a torque curve based on real data and engine brakeing.
The support for all these things is there but it needs tuning, so if anyone has the real one, his/her comments are welcome :)
It does 0-100 km/h in roughly 4-5 seconds and a maximum speed of ~250 km/h I think.

Internal view:
(http://i.minus.com/i9IwnyLnDZu5V.jpg)

External view:
(http://i.minus.com/ibpMhHDSMxg2VW.jpg)

Other screenshots here (http://giucam.minus.com/mbkXBRQCdZ4Yle)



Download it from here (http://dl.dropbox.com/u/239530/outerra/bmwm3.7z) and unpack the archive in your packages folder. Then spawn it from the Buildings (F7) dialog, selecting giucam/bmwM3/bmwM3. Hope you'll enjoy it!
Any comment is welcome :)

Credits:
Title: Re: BMW M3 package with improved physics
Post by: cameni on November 26, 2012, 06:21:03 am
Thanks, nice work!
Title: Re: BMW M3 package with improved physics
Post by: Chaoz on November 26, 2012, 08:46:38 am
very nice indeed!
Title: Re: BMW M3 package with improved physics
Post by: ZeosPantera on November 26, 2012, 03:21:41 pm
Damn this netbook and its lacking outerra install or ability to run it at all.
Title: Re: BMW M3 package with improved physics
Post by: giucam on November 26, 2012, 04:51:44 pm
Steering at high speeds behaves oddly. I think i need to fiddle with the values returned by init_chassis(). Unfortunately it's really hard to test it with all the driver crashes i'm getting  >:(
Title: Re: BMW M3 package with improved physics
Post by: giucam on November 27, 2012, 10:22:35 am
After deeper thoughts i think the current vehicle physics model handles high speed turning the same as low speed turning. Is that right?

p.s.: i found an easy yet interesting article on car physics simulation: http://www.asawicki.info/Mirror/Car%20Physics%20for%20Games/Car%20Physics%20for%20Games.html (http://www.asawicki.info/Mirror/Car%20Physics%20for%20Games/Car%20Physics%20for%20Games.html)
Title: Re: BMW M3 package with improved physics
Post by: cameni on November 27, 2012, 10:45:23 am
You have got a very high slip (friction) coefficient there, 40.2 sticks it to the road.
The tire model is quite simple at the moment, but it computes lateral and longitudinal slip and applies the resulting forces on the wheel. Sideways friction is set 2x higher than forward, I think.
I would like to expose this computation into script (as optional) so that someone could toy with it.
Title: Re: BMW M3 package with improved physics
Post by: Sam on November 27, 2012, 11:25:23 am
 :-[ Sorry about my laymen question, but how can I activate that BMW into my Outerra dev version? With the assistance of the importer or just drag and drop into the packages folder? Because it does not work with drag and drop the downloaded folder into the packages folder.  :-\
Title: Re: BMW M3 package with improved physics
Post by: cameni on November 27, 2012, 11:42:14 am
Just putting it into the packages folder (in data). Then it should appear in F7 window as giucam/bmwM3/bmwM3
Title: Re: BMW M3 package with improved physics
Post by: giucam on November 27, 2012, 11:51:59 am
You have got a very high slip (friction) coefficient there, 40.2 sticks it to the road.

I modified some values and i think i got a slightly better setup, but still not comfortable. And that's much more visible with a wheel instead of the keyboard: a really slight turn of the wheel makes the car turn really sharp at high speeds.
Title: Re: BMW M3 package with improved physics
Post by: Sam on November 27, 2012, 01:01:53 pm
Just putting it into the packages folder (in data). Then it should appear in F7 window as giucam/bmwM3/bmwM3
Ahh, that's the point. Thank you cameni.  :)
Title: Re: BMW M3 package with improved physics
Post by: Sam on November 28, 2012, 02:14:57 pm
Just putting it into the packages folder (in data). Then it should appear in F7 window as giucam/bmwM3/bmwM3
No, does not yet working. There are no packages folder in the data folder (there are just the earth folder) The packages folder are in the Anteworld main folder.  :-\

Edit:
Now it works.  :) Sorry, my mistake.  ;)
Title: Re: BMW M3 package with improved physics
Post by: ZeosPantera on November 28, 2012, 02:38:51 pm
i found an easy yet interesting article on car physics simulation: http://www.asawicki.info/Mirror/Car%20Physics%20for%20Games/Car%20Physics%20for%20Games.html (http://www.asawicki.info/Mirror/Car%20Physics%20for%20Games/Car%20Physics%20for%20Games.html)

A .info site with information on it? NOT POSSIBLE!! Also a very nice writeup.
Title: Re: BMW M3 package with improved physics
Post by: Foxiol on December 05, 2012, 07:30:45 am
Thank you very much. Average users like me (I mean, I donĀ“t have a clue in how to do code stuff or anything related) are waiting for some people like you to have more fun in Anteworld while testing every aspect of it.

I know it is hard to make 3D models and then put all together to make it work but it will be great if more people share not only the models but the physics so we can use them in-game. Again people like me that support this but like a mere "tester" of everything.

So thank you again, at least now the game feels like a GTA with the BMW in motion. haha ;)

 
Title: Re: BMW M3 package with improved physics
Post by: Unsurt on April 02, 2013, 10:57:57 am
Thank you  ;)
Title: Re: BMW M3 package with improved physics
Post by: Pollux on April 03, 2013, 09:35:58 pm
Thank you so much giucam for the BMW.  I'm learning to drive it in Outerra  ;)
Title: Re: BMW M3 package with improved physics
Post by: bugsblake on May 21, 2013, 02:28:01 am
hi i put this car into the packages folder where i have put others that work, but the bmw dose not show up in list for cars or objects? any ideas? thanks

EDIT: never mind, its working! thanks :)
Title: Re: BMW M3 package with improved physics
Post by: giucam on May 25, 2013, 08:45:29 am
Glad it's working. I'm gonna tweak it up with the new physics script and i'm gonna create an otx anyway.
Title: Re: BMW M3 package with improved physics
Post by: bugsblake on May 25, 2013, 09:08:24 am
sounds good! i look forward to it. also can you change the sounds to mono otherwise outerra thinks of it as music and keeps playing when you move away from the car. thanks
Title: Re: BMW M3 package with improved physics
Post by: giucam on May 25, 2013, 11:24:22 am
I did, but now i have to reimport the model because i need a bone that doesn't move like the wheel joints, and i don't know if i'm able to. we'll see :P
Title: Re: BMW M3 package with improved physics
Post by: giucam on May 25, 2013, 03:34:23 pm
Does anyone have the original model? The download link here (http://thefree3dmodels.com/stuff/vehicles/bmw_m3/13-1-0-223) doesn't work and i don't have it locally.
Title: Re: BMW M3 package with improved physics
Post by: giucam on May 27, 2013, 01:24:54 pm
Here's the version 2 of the BMW. It uses the latest script from here (http://www.outerra.com/forum/index.php?topic=1721.0), with manual/automatic transmission and clutch, better sounds and much better manoeuvrability.
By default it uses manual transmission, you can switch to automatic using the first auxiliary button. You can also switch between automatix/mixed/manual clutch with the second auxiliary button, but the default is automatic.

Download it from here (https://www.dropbox.com/s/b4uim8b6womks0u/bmwM3.giucam.otx)!

If someone (Zeos, I'm looking at you :P) has tips on how to improve it in any way, you're welcome. :)
Title: Re: BMW M3 package with improved physics
Post by: fulcrumbg on May 30, 2013, 07:41:47 am
How do I import this ? When I click on the importer , cannot find the otx file :( Do I need to place it somewhere special ?
Title: Re: BMW M3 package with improved physics
Post by: giucam on May 30, 2013, 07:53:36 am
No, just execute the otx, outerra will install it automatically.
Title: Re: BMW M3 package with improved physics
Post by: fulcrumbg on May 30, 2013, 07:56:48 am
That's great ! BIG Thank you ! :)
Title: Re: BMW M3 package with improved physics
Post by: ZeosPantera on May 30, 2013, 09:42:39 am
If someone (Zeos, I'm looking at you :P) has tips on how to improve it in any way, you're welcome. :)

Would but can't. something in these last few builds has turned my world to pure white again. So my OT experiences are sidelined indefinitely until I can stomach the cost and time of building a new PC.
Title: Re: BMW M3 package with improved physics
Post by: giucam on July 05, 2013, 12:44:55 pm
Version 3.
It uses the 1.4.0 script, and ships with the V8 sound samples from Sonory: http://www.sonory.org/download-samples/viewdownload/4-creative-commons-free/7-v8-1.html (http://www.sonory.org/download-samples/viewdownload/4-creative-commons-free/7-v8-1.html)

otx package (https://www.dropbox.com/s/273d67wssct1rfj/bmwM3.giucam-v3.otx)
Title: Re: BMW M3 package with improved physics
Post by: Atrax on July 11, 2013, 03:45:23 am
Version 3.
It uses the 1.4.0 script, and ships with the V8 sound samples from Sonory: http://www.sonory.org/download-samples/viewdownload/4-creative-commons-free/7-v8-1.html (http://www.sonory.org/download-samples/viewdownload/4-creative-commons-free/7-v8-1.html)

otx package (https://www.dropbox.com/s/273d67wssct1rfj/bmwM3.giucam-v3.otx)

Giucam, will this overwrite previous installation? Or do I have to go around and search for all bmw files and delete them before I install this?
Title: Re: BMW M3 package with improved physics
Post by: giucam on July 11, 2013, 04:14:20 am
That's  a good question, i don't know.
Title: Re: BMW M3 package with improved physics
Post by: Chaoz on July 11, 2013, 10:35:28 am
well i had two versions after installing this one so i deleted the other cause i had errors
Title: Re: BMW M3 package with improved physics
Post by: thx_nb on January 27, 2014, 07:15:07 pm
Hey guys, it has been quiet for some time here, but I can't find the latest version of this package (the dropbox links are non-existent). It would be nice if someone could reupload it somewhere.
Title: Re: BMW M3 package with improved physics
Post by: M7 on January 27, 2014, 09:22:02 pm
Here you go.

https://drive.google.com/file/d/0B96RrTcNJsI2Z1V5WkdsWmNvLUU/edit?usp=sharing
Title: Re: BMW M3 package with improved physics
Post by: giucam on January 28, 2014, 02:36:40 am
Duh, i have removed the otx from dropbox by mistake. I'll put them back as soon as i can.
Title: Re: BMW M3 package with improved physics
Post by: Jonez69 on January 28, 2014, 06:28:58 am
How do you get it on gear, now it's just revs the engine when pressing W.
It seems to just stay in neutral even when pressing R to initiate reverse.
Title: Re: BMW M3 package with improved physics
Post by: thx_nb on January 28, 2014, 07:09:51 am
It has a manual gearbox(at least that's the default for this car).
Check the controls screen in the menu.  The default controls for up- and down shifting are period (.) and comma(,), respectively.
Title: Re: BMW M3 package with improved physics
Post by: GodotWaits on January 28, 2014, 08:14:56 pm
Chuffed! Thanks for the re-sharing! Won't get to play with it til tomorrow, but what a lovely car none the less!

GodotWaits
Title: Re: BMW M3 package with improved physics
Post by: skyjets on April 13, 2014, 07:13:56 pm
Very good! Love the sound, and shifting manually :D.
Title: Re: BMW M3 package with improved physics
Post by: PytonPago on April 19, 2014, 01:10:38 am
Why is the car turning off the engine every-time it goes between neutral/reverse/first gear ?
Title: Re: BMW M3 package with improved physics
Post by: giucam on April 19, 2014, 05:14:32 am
It should turn off only if it stalls. Are you using the manual clutch?
Title: Re: BMW M3 package with improved physics
Post by: PytonPago on April 19, 2014, 01:24:44 pm
It should turn off only if it stalls. Are you using the manual clutch?

yes, manual - somehow, even standing on place, or at werry low speeds it turns it off ... hmm, is there a function part that simulates the stalling at some RPM/gear ? Maybe to tweak it out somehow. I may be driving just badly but for a truck, that stalling would be a little irrational (would aether jump-move or rip-off the engine compartment out of the frame whyte its power).
Title: Re: BMW M3 package with improved physics
Post by: M7 on April 19, 2014, 11:40:06 pm
Im also interested to hear if the script can be altered to make vehicles less prone to stall.  I know i tried to tweak the script for a 4x4 truck and when i start the engine in neutral, it will stall every time when shifting  to the first gear. So i ended up pretty much having to start the engine in first gear and only then, will it shift up without stalling. So if there was a way to tweak the stalling threshold,  it would be nice to hear about it.





Title: Re: BMW M3 package with improved physics
Post by: giucam on April 20, 2014, 04:20:55 am
Of course there is a way. It's a js script, you just need to modify it. I don't have an outerra-capable pc now though, so i can't.