Welcome to symthic forums! We would love if you'd register!
You don't have to be expert in bit baking, everyone is more than welcome to join our community.

You are not logged in.

## Plotic - Graphical representation of weapon deadliness

Hey! If this is your first visit on symthic.com, also check out our weapon damage charts.
Currently we have charts for Battlefield 3, Call of Duty: Black Ops 2, Medal of Honor: Warfighter and Call of Duty: Modern Warfare 3

Posts: 965

Date of registration
: Nov 29th 2011

Platform: PC

Location: Finland

Battlelog:

Reputation modifier: 11

Sunday, December 18th 2011, 11:40pm

### Plotic - Graphical representation of weapon deadliness

-- Edit --
RobotMonkey is taking care of developing the Plotic forward right now.
The latest builds and source can be found from GitHub
View Source
---

Aight, let's make an own thread for Plotic.
As you may already know, it's the program that I made for drawing the accuracy plots.
I'm going to take it to the next level now.

On the list for next:
- Scaling the plot for specific distances
- Adding an algorithm to calculate average hit rate, time to kill and so on for targets at specific distance.
- Make the program contain all the data so user doesn't have to type in any values
- Comparison utility for two or more weapons
- Totally new way for calculating the randoms for better performance
- Make the program decrypt the data directly from BF3's files so it's always up to date.

So far it doesn't have too many confusing options, just the ones needed.
The 'Scale radius' might be only one that's unclear.
It means that the length of radius for random point in circle is scaled with square root so dots are evenly distributed in the circle.
Without scaling the dots will more likely go to center than to the sides.

Random points in circle with scaled radius:

### Source code

1
2
3
4

radius = spread * Sqrt(rnd(mul, 0) / mul)
angle = rnd(360 * mul, 0) / mul
x = centerx + radius * Cos(angle)
y = centy + radius * Sin(angle)

And without scaling the radius:

### Source code

1
2
3
4

radius = rnd(spread * mul, 0) / mul
angle = rnd(360 * mul, 0) / mul
x = centerx + radius * Cos(angle)
y = centy + radius * Sin(angle)

Mul being high value number since the way randoms are generated only returns integers.
---
BF3: Objective per minute: World top 1%

Posts: 249

Date of registration
: Dec 19th 2011

Platform: PC

Location: Ohio

Battlelog:

Reputation modifier: 5

Monday, December 19th 2011, 4:15am

### Re: Plotic - Graphical representation of weapon accuracy

You sir, are quite the overachiever!

Posts: 965

Date of registration
: Nov 29th 2011

Platform: PC

Location: Finland

Battlelog:

Reputation modifier: 11

Monday, December 19th 2011, 1:06pm

### Re: Plotic - Graphical representation of weapon accuracy

The randoms are generated way faster now so drawing the plot won't take long anymore.

### Source code

1

Random = lower + CLng(Rnd() * 1000000) Mod (upper - lower) + 1

Also added option to draw grid in degrees or meters at some specific range.

### Source code

1

gridX = (Atan((Distance / Meters)) * (180 / PI))
BF3: Objective per minute: World top 1%

Posts: 72

Date of registration
: Dec 20th 2011

Platform: PC

Battlelog:

Reputation modifier: 5

Tuesday, December 20th 2011, 12:25am

### Re: Plotic - Graphical representation of weapon deadliness

Really digging this program.

I've re-written it to be threaded, allowing you to stop the graphing process at any point.

I also added spinners for attachment adjustment percentages. I will be adding your adjustments as well once I go through the code.

I was wondering if you would be interested in allowing me to add this to a GitHub repo.

It would allow for others to help improve on the program while allowing you to continue to make improvements as well.

If you are interested in the code as it is to see how the threading is being worked out, let me know and I can use pastebin or something along those lines.
I can't be in love if it's plastic, To live on my own just seems tragic
But we'll raise our swords high when our day comes, You thought it was gold but it was bronze.
But if i see you again back in detox, put my remains in my snuff box!

Posts: 1

Date of registration
: Dec 20th 2011

Platform: PC

Battlelog:

Reputation modifier: 5

Tuesday, December 20th 2011, 1:08pm

### Plotic source

Hay just wondering I may be asking at the wrong place but I'm looking for the sourcecode from the plotic project.

regards

Posts: 48

Date of registration
: Dec 1st 2011

Platform: PC

Battlelog:

Reputation modifier: 5

Tuesday, December 20th 2011, 6:20pm

### Re: Plotic source

<!-- m --><a class="postlink" href="http://symthic.com/?s=forum&pa=viewforum.php?f=3" onclick="window.open(this.href);return false;">http://symthic.com/?s=forum&pa=viewforum.php?f=3</a><!-- m -->
Bottom of the first post.

Posts: 965

Date of registration
: Nov 29th 2011

Platform: PC

Location: Finland

Battlelog:

Reputation modifier: 11

Tuesday, December 20th 2011, 6:51pm

### Re: Plotic - Graphical representation of weapon deadliness

@ RobotMonkey and everyone else

I'll be busy ~4-5 weeks from now with girlfriend & holidays and have zero time for Plotic.

Who ever wants to improve and develop it forward, go ahead.
Feel free to publish new versions and do what ever you want as long as you keep the small link pointing here and keep the source open! -:>-

I'll upload the full source of 0.6 tomorrow.
Edit: Nvm, RobotMonkey has the sources below with some nice changes.
BF3: Objective per minute: World top 1%

Posts: 72

Date of registration
: Dec 20th 2011

Platform: PC

Battlelog:

Reputation modifier: 5

Wednesday, December 21st 2011, 1:09pm

### Re: Plotic - Graphical representation of weapon deadliness

Here is an idea of what I am rolling with so far. There is still some work to be done, but the heatmaps render correctly, albeit slow. I might be able to have that map generated along side the main one, That could be something you could toggle too.

Something keeps eating the status bar, but a progressbar, statuslabel. and hyperlink should be there. They will be re-added.

http://i.imgur.com/DdG0J.png
http://i.imgur.com/ZaIIz.jpg

Here is my Git Repo with the source if anyone is interested.
https://github.com/endofzero/Plotic/
I can't be in love if it's plastic, To live on my own just seems tragic
But we'll raise our swords high when our day comes, You thought it was gold but it was bronze.
But if i see you again back in detox, put my remains in my snuff box!

Posts: 201

Date of registration
: Dec 21st 2011

Platform: PC

Battlelog:

Reputation modifier: 5

Wednesday, December 21st 2011, 2:53pm

### Re: Plotic - Graphical representation of weapon deadliness

Impressive work here guys!

Odd question but are all the class models the same size in terms of hit detection? I.e if I was a Recon would I be less of a target than a bulky Engineer in the same position?

Obviously they all look different but I wondered if they were all the same model just reskinned for appearance?

Also makes me wonder if the hit box includes your weapon? (No Pun). So again could an Engineer be shot in the Javellin he carries (which are quite sizeable).

Probably not worth plotting but curious in any case.
I've personally flown over 194 missions... and I was shot down every one of them. Come to think of it, ...I've never landed a plane in my life!

On Battlelog I'm PhilTheForce-Z - Add me if you aren't a bushwookie.

Posts: 72

Date of registration
: Dec 20th 2011

Platform: PC

Battlelog:

Reputation modifier: 5

Wednesday, December 21st 2011, 8:38pm

### Re: Plotic - Graphical representation of weapon deadliness

From my experience, everyone is pretty much the same size. Changing the hitbox for each class wouldn't be very productive. That is the main reason I changed to a standard human outline for mine.

In game, I highly doubt the models are the same, but they wouldn't have the variance too big.
I can't be in love if it's plastic, To live on my own just seems tragic
But we'll raise our swords high when our day comes, You thought it was gold but it was bronze.
But if i see you again back in detox, put my remains in my snuff box!

1 guests