I got some questions about the armor plates:
Mainly about this particular piece of code:
Code: Select all
<ArmorDisplay>
<ArmorSection name="forward"
imageID="&rsArmourHUD;"
imageX="0" imageY="0" imageWidth="52" imageHeight="5"
destX="42" destY="32" hpX="55" hpY="27"
nameY="0" nameBreakWidth="360" nameDestX="12" nameDestY="0" />
</ArmorDisplay>

I can guess, but I'd like to know for sure.
And then I'd like to know:
- How do I change it in such a way that each armor plate gets it's own spot on my ship and gets it's own damage based on the location of the armor?
ie: if I change the hpX and hpY locations, it probably means I change the locations at which you see the armor points still left for that particular part. Does it also change the way how those armors are damaged?
Crazy example: could I set the front armor's HP at the back of the ship, so that the front armor gets damaged if an enemy hits the back of the ship?
- how do I decide where to place my armor plates? what are the limitations on the X and Y of the armor location on the display, and is there an easy way to calculate where to place those armor plates?
- 12 armor plates are a lot of text next to the display of your shield/armor... any way to make some (or all) of them simply invisible? For example, by just removing the nameY, nameBreakWidth, nameDestX, and nameDestY line from this code?
Thanks if someone can help me out with this, it's quite important for me to know, y'know, as a ship designer who can't be creative with XML code xD