Jump to content

IPM damage


trd

Recommended Posts

hi, was wondering if anyone here knew a rough equation for a calculating damage done by ipms on defense. was looking to integrate it into a program for number of ipms to take out a defense given techs and counts. as usual, search on oof is about useless or I am completely inept as usual.

 

thanks ahead of time

Link to comment
That is what I was going to suggest as well. Or talk to a GA, or a programmer guy. :drinks:

 

thx ike, got me part of the info I was missing. pain was right to ask the ipm experts of uni9.

 

realized that speedsim was open source, so I dug around in the source code and got their formulas. pseudocode is below:

 

 

1. MaxDamage = 12500 * ( 1 + ( myWeapons / 10 ) )

2. MaxDef = ( 1 + ( defArmour / 10 ) ) * SumOfAll [ DefenseUnitTypesCountEachUnit * MaxFirePowerAbsorbedByEachUnitInOneShot ]

where MaxFirePowerAbsorbedByEachUnitInOneShot is defined below from info Ike pointed me towards:

RL 220

LL 225

HL 900

Gauss 3700

Ion 1300

Plasma 10300

SmallDome 4000

LargeDome 20000

 

3. NumIpmsNeeded = CountAbms + Ceil( MaxDef / MaxDamage )

where Ceil is a delphi function ceiling which would take say 2.1 then round up to 3 and 0.75 and round up to 1.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...
Please Sign In or Sign Up