Page 1 of 5

[Code] Deployable Mortar (M252 81mm)

Posted: 2010-05-23 20:43
by Sniperdog
*Updated*


Watch on YouTube

As of recently I've been working on the Deployable Mortar, a project that has been very long in the running. When I started working on it a good deal of work had been done on it by the following folks:

Model: [R-DEV]Wybl (retired)
Skinning: [R-DEV]Matrox
Initial Coding: [R-DEV]Guedoe
Ballistics Calculator: [R-DEV]Mosquill

The max and min angles of the weapon to be 88.4 and 45 degrees. To be scaled properly for PR maps the maximum range for the weapon will be 1500 meters with a travel time of ~14 seconds while the minimum range will be 83 meters with a travel time of ~20 seconds

All the content you see here is subject to possible change. Currently you are able to pick from firing HE Point Det, Air burst, Or Smoke rounds.

The precise configuration of the weapons and the targeting screens is still a bit up in the air but it will be good and easy to use.

Also I'd like to give a personal thanks to [R-CON]Rudd as he provided the map being used for testing and has been helping me test it out himself :D . ( he'll also be helping me with some target practice soon enough ;) ). Also special thanks to [R-DEV]Mosquill for both making the calculator and providing insight with some of the coding I've had to do.

Cheers,
Sniperdog

re: [Code] Deployable Mortar (M252 81mm)

Posted: 2010-05-23 20:58
by Tte.oteo
awsome work.... and please sell me ur car :)

re: [Code] Deployable Mortar (M252 81mm)

Posted: 2010-05-23 21:06
by AcornBeing
Outstanding work - absolutely love the jet car, well, and the mortar too!!!! :D :D :D

re: [Code] Deployable Mortar (M252 81mm)

Posted: 2010-05-23 21:12
by KiNg828
Im guessing theres going to be a proper mortar round sound when it fires and not the artillery one lol :D

re: [Code] Deployable Mortar (M252 81mm)

Posted: 2010-05-23 21:12
by sweedensniiperr
will militia have have this?

oh i forgot gj.. :)

re: [Code] Deployable Mortar (M252 81mm)

Posted: 2010-05-23 21:14
by Zimmer
WIll there be a smaller deviation on the round, so you dont get pin point accuracy everytime, I am not only thinking realism, but with the pointing method we have now with a symbol who gives you 100% accuray on the actual target I guess some randomness to the round would not hurt? But I guess the long travel time makes up for it.

But I really like this good work :)

re: [Code] Deployable Mortar (M252 81mm)

Posted: 2010-05-23 21:17
by Wilkinson
What was your Bf2 Equation? For the Greater good of the community ;)

Excellent work SniperDog, from CA's work to this, a tremendous help I'm sure to the PR Team. Great work.

Re: [Code] Deploayble Mortar (M252 81mm)

Posted: 2010-05-23 21:36
by Sniperdog
KiNg828 wrote:Im guessing theres going to be a proper mortar round sound when it fires and not the artillery one lol :D
Yep
Zimmer wrote:WIll there be a smaller deviation on the round, so you dont get pin point accuracy everytime, I am not only thinking realism, but with the pointing method we have now with a symbol who gives you 100% accuray on the actual target I guess some randomness to the round would not hurt? But I guess the long travel time makes up for it.

But I really like this good work :)
Adding devation is very easy and its really up to the devs. You have a good point, IRL the M252 is actually extremely accurate, but then again IRL it is no where near as easy to get range with an accuracy of 1m, not to mention things like wind.
Wilkinson wrote:What was your Bf2 Equation?
The actual physics equation came out to:
Angle = 90 - sin^-1 (-14.70235*Range/(projectile velocity)^2)/2.
Where -14.7 is the acceleration due to gravity in BF2 (with the gravity modifier set to 1)

This allowed me to compute the maximum range just fine but for some reason it didn't work correctly with some of the other angles.

The equation I modeled after doing some measurements is:

Range = -8.869232072*10^(-22)*x^8 + 5.863078464*10^(-1 8) *x^7 - 1.645660969*10^(-14)*x^6 + 2.552955503*10^(-11)*x^5 - 2.385872722*10^(- 8) *x^4 + 1.370373343*10^(-5)*x^3 - 4.712480004*10^(-3)*x^2 + 8.691949397*10^(-1)*x + 19.70789909

where x is the range. This equation worked to an accuracy of within about 2 meters.

This equation is only really useful to angles for this weapon though :p

Re: [Code] Deployable Mortar (M252 81mm)

Posted: 2010-05-23 21:42
by Sniper77shot
Looks sweet good job.

Re: [Code] Deployable Mortar (M252 81mm)

Posted: 2010-05-23 21:48
by Amok@ndy
nice battleracer :)
will you also include this one for pr pleaaaaaseeeeeeeee <3

Re: [Code] Deployable Mortar (M252 81mm)

Posted: 2010-05-23 22:59
by Hotrod525
holy ****, this is AWESOME !

Re: [Code] Deployable Mortar (M252 81mm)

Posted: 2010-05-23 23:07
by Foxxy
DAMN ,nice dude keep up the good work.

Re: [Code] Deployable Mortar (M252 81mm)

Posted: 2010-05-23 23:21
by Jordanb716
Damn nice work I cant wait to try one out! :D

Re: [Code] Deployable Mortar (M252 81mm)

Posted: 2010-05-23 23:48
by Jigsaw
Very good work Sniper_Dog, mighty impressive.

Re: [Code] Deployable Mortar (M252 81mm)

Posted: 2010-05-23 23:52
by ReadMenace
*rubs chin*

A new "Gary" variant -- mobile mortar for insurgency? ;)

You're the man now, Dog.

-REad

Re: [Code] Deployable Mortar (M252 81mm)

Posted: 2010-05-23 23:59
by Oskar
Great job, I'm sure this will be awesome once it gets in-game. I've always dreamed about having a mortar squad!

Re: [Code] Deployable Mortar (M252 81mm)

Posted: 2010-05-24 00:04
by RememberTheAlamo
Who needs mortars when u can have a jet car? :D
Great job man! I love it

Re: [Code] Deployable Mortar (M252 81mm)

Posted: 2010-05-24 00:23
by Jaymz
Nothing short of amazing work, mate! I can't wait to try them out!
Sniper_dog14 wrote: I still have yet to fix some of the other bundles on the mortar, fix the mortar projectile to have proper damage values
The current in-game (off-map) mortars that are on small map layers have damage directly representative of an 81mm HE round so use them :-)

Can you adjust the minimum/maximum ranges at all? I'd say 80m - 2000m +

Re: [Code] Deployable Mortar (M252 81mm)

Posted: 2010-05-24 00:32
by BloodBane611
Wow Sniper, that's just sexy

Re: [Code] Deployable Mortar (M252 81mm)

Posted: 2010-05-24 00:51
by dunem666
nice! all we need now is a laser targetted Javelin and i think PR has complete collection of weapons lol