Author Topic: PV-Calculator  (Read 1957 times)

LordVanquish

  • Corporal
  • *
  • Posts: 63
PV-Calculator
« on: 19 September 2018, 10:03:48 »
Hey guys,

if anyone is intersted, i quickly threw together a PV Calculator with Visual Studio
https://drive.google.com/open?id=1z_O_FIQU77kN-1bqXuUwZXwl0LIScFV0

Movement has to be entered in points, not in inch, as i was mainly aiming for BF.
Artillery doesn't work yet because I am lazy and there is no table for Artillery PV.

Bug Reports are appreciated

Changelog v0.2

Added Protomech Unit-Type
Added Reset Button
Added PV Modification for Skill
Fixed Error where JMP would be used instead of MP for DIR calculation
Fixed Bug where Jump Modifier was used for DIR calculation even if Unit had Damage > 0


Changelog v0.2.1
Fixed Error where full Size-Mod would be added incorrectly to Mech and Protomech OV
« Last Edit: 01 October 2018, 08:40:32 by LordVanquish »

sadlerbw

  • Captain
  • *
  • Posts: 1679
Re: PV-Calculator
« Reply #1 on: 19 September 2018, 20:00:57 »
I pulled down a copy and it did run without crashing, so yay for that! I’m not sure it is super useful to me in the current form since I have to already have so many of the AS stats calculated to make it work, but it does appear to work as advertised. Thanks for sharing.

LordVanquish

  • Corporal
  • *
  • Posts: 63
Re: PV-Calculator
« Reply #2 on: 20 September 2018, 05:54:58 »
Yeah, but anything more and I would have to make my own version of SSW/MML.

I love to try various designs in SSW/SAW but it uses the horrible BV/100 method and I got tired of calculating the PV by hand.

Thunder

  • Master Sergeant
  • *
  • Posts: 241
Re: PV-Calculator
« Reply #3 on: 22 September 2018, 12:07:48 »
VTOL Battle armor is not an available option.  Protomechs are missing.

Jumping "TMM" is being added inappropriately to the DIR calculation.  (Plug in a summoner prime from the MUL for example.) Rules for this calculation are in the errata.
Related problems with units that have Jumping>ground movement. (Plus conditions.) (Like the Gyrfalcon) They would still use their ground movement TMM for DIR calculations

I think something is being rounded oddly.  Plugging in a Timberwolf Prime I'm getting a 1 PV difference between the program and the MUL/my own calculations/spreadsheet

If you intend to expand this program, which overall is very nice and what the community needs, features I'd want: 
reset all button to clear all the abilities at once
Show me the math button
Print card ability.
A section for skills to be modified/calculated.

LordVanquish

  • Corporal
  • *
  • Posts: 63
Re: PV-Calculator
« Reply #4 on: 30 September 2018, 13:07:19 »
Ok, I implemented Skillpoint adjustment and the reset button. I already had the code for Protomechs but forgot to add the option.
VTOL stuff and the show me the math button will require a bit of rework, but in the meantime i made the option to show the debug-label which shows the Offensive Value(OV), Movement Value (MV), Defensive Special Ability Factor (DSAF) and the DIR.
Also had some Errors in the DIR calculation, thanks to Thunder for pointing them out.

Updates will be irregular because of University.
New Link: https://drive.google.com/open?id=1hh2_r1JK5-JnwXVURtk6HI3EuQgYZmS2
First Post will be Updated.

BTW I'm pretty sure I have some rounding Errors because a lot of Units are 1 or 2 points off compared to the MUL but I can't figure out where.

To use the Above Example Thor(Summoner) Prime

OV = Short + 2*Medium + Long + Size (because Mech) + IF = 4+8+4+3+1 = 20
This value would be multiplied by the Offensive Blanket Modifier (which is 1) and not rounded

MV = Speed/8 + 0.5 (because Jump Capable) = 10/8 + 0.5 = 1.75 (no rounding here)
DSAF = 0 (because no defensive special abilities)
DIR = (2*Armor + Structure) * Defense Factor = (2*6 + 4) * 1.2 = 19.2 = 19 (rounding to nearest halfpoint)
DV = MV + DSAF + DIR = 1.75 + 0 + 19 = 20.75 (no rounding here)

PV subtotal = OV + DV = 20 + 20.75 = 40.75
Agile Modifier = TMM-1 * MediumDamage = 1*4 = 4

PV final = PV subtotal + Agile = 40.75 + 4 = 44.75 = 45 (rounding normally, min 1)

The MUL says it should be 43, can someone please point out my error(s)
I'm using errata v1.2

nckestrel

  • Scientia Bellator
  • Freelance Writer
  • Lieutenant Colonel
  • *
  • Posts: 11030
Re: PV-Calculator
« Reply #5 on: 30 September 2018, 13:16:11 »
The BattleMech Size should be divided by 2.
Alpha Strike Introduction resources
Left of Center blog - Nashira Campaign for A Game of Armored Combat, TP 3039 Vega Supplemental Record Sheets

LordVanquish

  • Corporal
  • *
  • Posts: 63
Re: PV-Calculator
« Reply #6 on: 01 October 2018, 08:38:33 »
Patched

Thanks, now the PV seems to match with MUL

Descronan

  • Master Sergeant
  • *
  • Posts: 218
  • "No multi-pass."
Re: PV-Calculator
« Reply #7 on: 16 October 2018, 08:27:25 »
Using version 0.2 I've done some tests and the PV is way off.

Summoner Prime came to 67 PV vs MUL 43
Atlas D came to 62 vs 52

And if you change the skill its way off. Skill 4 gives you the lowest PV. All others are way higher. I'm not sure where your math has gone wrong though.


nckestrel

  • Scientia Bellator
  • Freelance Writer
  • Lieutenant Colonel
  • *
  • Posts: 11030
Re: PV-Calculator
« Reply #8 on: 16 October 2018, 08:35:34 »
Using 0.2.1, I got 43 for the Summoner Prime.
skill does seem weird, Skill 3 jumped to 76 PV.
Alpha Strike Introduction resources
Left of Center blog - Nashira Campaign for A Game of Armored Combat, TP 3039 Vega Supplemental Record Sheets

Xochi

  • Sergeant
  • *
  • Posts: 112
  • Three strengths he gave us.
Re: PV-Calculator
« Reply #9 on: 13 January 2019, 15:28:49 »
So I would like to also add that I believe that C3 is not being calculated correctly.

I think its missing the new C3 Ground Unit Force Bonus of PV Subtotal*.05.

When I had a unit with C3S, and unchecked it, the PV stayed the same which it should of decreased by 1 or 2. (The base PV subtotal was 51.5)

EDIT: I should give you my math incase its me..

Warhawk-

DMG is 6/5/5 Attack Factor 21.
Unit Size 4
Offensive SAF of 1 for IF1
Blanket Modifier of 1
This gives me an OV of 26

Movement Factor is 1 (8 divided by 8.)
Defensive SAF of 0
Armor Factor of 18 (9 Armor)
Struct Factor of 5 (5 Structure)
Defense Factor of 1.1 (TMM 1*.1)
DIR 25.3
DIR Rounded is 25.5
This gives me a DV of 26.5

This makes the subtotal 52.5
C3S - 2.625
GUFB- 4 (LPRB, MHQ1, RCN)

This makes my total 59.125 so a PV of 59.

The calculator is showing it as 57.


I forgot the unit is divided by half... frick me.
« Last Edit: 13 January 2019, 16:18:53 by Xochi »

 

Register