Profile image

I have a question about XML Code

2,305 jdulmer  8.6 years ago

Are the measurements used in XML SAE or Metric?

I am working on a gun project. I want to make sure my mods are as realistic as possible. Particularly the gun caliber, and muzzle velocity. Is caliber in inches or millimeters? Is muzzle velocity in ft/s or m/s?

  • Log in to leave a comment
  • Profile image

    Whaa? Is the comand bulletCaliber? How do you change
    it!?

    +1 3.6 years ago
  • Profile image
    2,305 jdulmer

    @kikasshes ok, thanks.

    8.6 years ago
  • Profile image
    25.2k kikasshes

    1 length unit is 0.5 m

    8.6 years ago
  • Profile image
    2,305 jdulmer

    @Glaceon welcome.

    8.6 years ago
  • Profile image
    2,305 jdulmer

    @Skua thanks for the quick response. I was kind of thinking it was metric. I just wanted to make sure. Thanks again.

    8.6 years ago
  • Profile image
    26.2k Skua

    @jdulmer everything in the xml is metric, there's a file buried elsewhere in the game with all the conversion factors. The (irritating) exception to this is fuselage sizes. Those go by Unity units, which are 0.5m in SP.

    8.6 years ago
  • Profile image
    4,164 Glaceon

    @jdulmer Oke, thx.

    8.6 years ago
  • Profile image
    2,305 jdulmer

    @Glaceon I wanted to make sure that the Devs (being from the U.S.) weren't using SAE in the code, which is the standard in the U.S. There is a HUGE difference between .30 cal and 30mm.

    As far as editing XML, it's pretty simple. You use a text editor to open the files, make the changes, save.

    8.6 years ago
  • Profile image
    4,164 Glaceon

    Muzzle velocity is meters per second, caliber is mm. How do I use XML ._.

    8.6 years ago