Question on XML (Weapons)

GC2Types.xml

Okay I written a small parser for processing of the "GC2Types.xml".
Now while browsing through the weapons I came up with some questions:
Weapon.Type: what is that? what is it used for?
Weapon.SizeMod: same question. I guess it has to do with the size of the weapon after some more tech discovery. Is it the amount by which the number is reduced? Or the lowest value?

Any help is appreciated edit: okay, just looked at some cannons ingame in battle of gods mode (all sciences available): A space cannon has a normal size of 16. On a Tiny ship it has size 17. On the biggest ship size 24. It seems that a weapon increases in size by ship hulls base capacity divided by 10 rounded down. Is that true?
6,817 views 3 replies
Reply #1 Top
The Sizemod relates to an extra amount of size the part gains/loses based on the size of Hull you put it on.. I'm not exactly sure how the final size is determined based on it though.
Reply #2 Top
the closest thing to a formula I could com up with is this so far:

size = base_size + round( round_down(base_hull_size / 10) * 5 / size_mod )

Is that even close to the true formula?
Reply #3 Top
I'm in *Bump* mood today...