Profile image

Changing damage and impact force from gun

8 Oxcart  3.6 years ago

I came across an XML guide:
https://www.simpleplanes.com/Forums/View/686553/New-XML-properties

In the xml file, there's a value called "damage". Does anyone know what the default value is?

What's the default value of "impactForce"? What's the difference between damage and impactForce?

If I wanted to model real guns (like WW2 fighter guns or the modern Vulcan cannon), any idea what damage and impactForce I should use?

  • Log in to leave a comment
  • Profile image
    15.3k Darkmoon

    What unit is the impact force in, foot-pounds or joules?
    @rexzion

    +1 2.3 years ago
  • Profile image
    8 Oxcart

    @rexrexThezion I didn't know it did that. Thanks for the tip!

    3.6 years ago
  • Profile image
    41.7k rexzion

    @Oxcart no thats dumb, the attribute will disappear if it's the default value
    so when you set damage to 30 it will disappear because that is the default value

    +1 3.6 years ago
  • Profile image
    8 Oxcart

    @rexrexThezion Thanks for doing this research! So you just fired a bunch of modded guns along with the default gun and saw which modded gun did the same amount of damage to a target?

    3.6 years ago
  • Profile image
    41.7k rexzion

    @Oxcart no I just straight up put numbers into the damage attribute til I got the right one

    3.6 years ago
  • Profile image
    8 Oxcart

    @rexrexThezion Thanks! Just curious, where did you get these numbers from? Are all the default values published somewhere?

    3.6 years ago
  • Profile image
    8 Oxcart

    Thanks to everyone for the info!

    3.6 years ago
  • Profile image
    55.5k PapaKernels

    Impact force would be how hard the round is impacting an object, while damage is what is the result of this impact.

    3.6 years ago
  • Profile image
    41.7k rexzion

    the stock gun has 30 damage and 10 impactForce

    +2 3.6 years ago
  • Profile image
    29.6k TriStar

    So, if you want to use XML cannons, you have to enable overload. Do this by going to mods > enable overload.
    I dont know the default value of damage and impactForce as they are not in the weapons

    3.6 years ago