project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Tales from the Front > PR In-Game Tactics and Strategies > Infantry Tactics
23 Aug 2024, 00:00:00 (PRT)
Register Developer Blogs Members List Search Quick Links

Reply
 
Thread Tools Display Modes
Old 2010-11-04, 19:02   #1
SkyJumpy
Default SkyJumpys MortarCalc - Mortar Calculator

some people had problems finding the calculator on the forum, so this is why i move my post into this new thread:


Here's how I calculate at the moment: Using the ImageJ analyzing software and a selfmade macro-script.

*calculates direction to target based on mortar position and target
*calculates barrel elevation based on distance (mil and deg) and height-to-target
*easy corrections by manipulating top or base of arrow
*incl. minimaps of all maps

biggest benefit here is that you can communicate all settings to the mortarteam without them having to calculate anything or setting markers. = speed increase.


I uploaded the version i use so if someone wants to give it a try:
Download:

Mirror 1
Mirror 2
!requires java runtime environment!

v1.2:
*added relative height to target to the calculator.


followed by a quick guide on what to do:

open a map


select image ("program folder / minimaps")


select the macro!


notice the log-window.



drag arrows on map and see what happens.


so yeah, its all put together pretty sloppy for now but it works - faster than a spreadsheet i'd guess (no typing) so i'm happy. Still some stuff to do thought (like displaying grids and keypads so you know where u are while zoomed in etc.)

pls tell me what you think.


edit*
notes on what to add in the future:

*fix for maps with higher res than 1024x1024 (reset first digit of mapname to 1km or 2km for now)
*performance optimisations (calculations are done when left mousebtn is pressed, not the best way i imagine..)
*grid/kp-system features
*multible arrows if possible? (just open 2nd window for now)
*target-manager = caching of predefined or saved target pos. and access to fast switching
* ...

-------------------------------------------------------------------------------------------------
formulas used in the script:

Distance to Target
Barrel Elevation with v=121.306 and g=9.81 and x = distance, y = height
direction to target := atan2(vectorX,vectorY) * (180/PI)


-------------------------------------------------------------------------------------------------
some notes about using the mortars:

The fastest way for me to use the mortars is still using a list with chosen distances and the correct elevation for that distance. (not very precise tough)



So when you sit inside the mortar you usually wait there with the calculator selected and the squad-map open, so you get the distance as soon as the marker is changed. after that you get the correct elevation from the list, close the map and start shifting the mortar horizontally and vertically. (experienced mortards will do everything at the same time after getting the distance)

Also remember that firing more than 2 rounds each on the same position is mostly waste of ammo as most targets are in cover by then. Better send more rounds after a short break.
SkyJumpy is offline
Last edited by SkyJumpy; 2010-11-05 at 14:50..
Reply With Quote
Old 2010-11-04, 19:04   #2
qsmith
Default Re: SkyJumpys MortarCalc - Mortar Calculator

this guy is awsome, gives us pin point mortor distances. downloading this now
qsmith is offline Reply With Quote
Old 2010-11-04, 19:06   #3
Jigsaw

Jigsaw's Avatar
Default Re: SkyJumpys MortarCalc - Mortar Calculator

Moved to In-game Tactics & Strategies
Jigsaw is offline Reply With Quote
Old 2010-11-04, 20:12   #4
Gozjh
Default Re: SkyJumpys MortarCalc - Mortar Calculator

Awesome sauce. thanks alot for this gem. where did you find the elevation maps?
Gozjh is offline Reply With Quote
Old 2010-11-04, 20:38   #5
SkyJumpy
Default Re: SkyJumpys MortarCalc - Mortar Calculator

Quote:
Originally Posted by Gozjh View Post
Awesome sauce. thanks alot for this gem. where did you find the elevation maps?
in your pr-folder under levels -> *mapname* -> server.zip -> HeightmapPrimary.raw
you can open that in photoshop. (might need a special plugin though, not sure anymore)

you can get most info about heightmaps from this thread afaik: (2nd post)
https://www.realitymod.com/forum/f38...-minimaps.html
SkyJumpy is offline
Last edited by SkyJumpy; 2010-11-04 at 21:07..
Reply With Quote
Old 2010-11-04, 21:48   #6
Wh33lman
Default Re: SkyJumpys MortarCalc - Mortar Calculator

were you the guy i was playing with the other night?
"all hail my spreadsheet of win"?
Wh33lman is offline Reply With Quote
Old 2010-11-04, 22:00   #7
SkyJumpy
Default Re: SkyJumpys MortarCalc - Mortar Calculator

Quote:
Originally Posted by Wh33lman View Post
..."all hail my spreadsheet of win"
well i moved away from spreadsheets pretty fast cause any kind of typing slows you down. One thing i might add in the future though is a field where the grid/keypad of target can be typed and final calculations come out. For that to be precise enough you'd need to use a refinded grid/keypad system though. (another keypad inside a keypad etc)
SkyJumpy is offline Reply With Quote
Old 2010-11-04, 22:36   #8
Gozjh
Default Re: SkyJumpys MortarCalc - Mortar Calculator

thanks alot
Gozjh is offline Reply With Quote
Old 2010-11-05, 16:01   #9
Andy[EEF]
Default Re: SkyJumpys MortarCalc - Mortar Calculator

Quote:
Originally Posted by Wh33lman View Post
were you the guy i was playing with the other night?
"all hail my spreadsheet of win"?
No that was me, I was using a different spreadsheet made for EEF. You still have to type the values in but it's still just as accurate as this one is.
Andy[EEF] is offline Reply With Quote
Old 2010-11-06, 01:21   #10
illidur
Default Re: SkyJumpys MortarCalc - Mortar Calculator

you know of a program that increases your aim? oh and nobody likes walking, i want to teleport.
illidur is offline Reply With Quote
Reply


Tags
calculator, mortar, mortarcalc, skyjumpys

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 21:30.