1. How do you correctly display the new weapon on the ship details page? I found the element on the ship components page that I'm pretty sure controls this:
Code: Select all
tags="turret_small_mg "
But where are the tags defined? For example, if I change it to:
Code: Select all
tags="new_weapon "
2. How do you create new encyclopedia entries without using the diff? I see in other mods they create a /t/0001.xml file and add all their new text there, but when I try the same I receive a text page not found error. I created a random number string for the page id. I match the page id with what is in the turret macro. Is there somewhere I need to define the location of the 0001.xml file?
Thanks in advance for any help!
**Edit**
I may have answered my own question by diff/adding the text to the English language file 0001-L044, and then using the following code in the unit's component file:
Code: Select all
<diff>
<replace sel="//connection[@name='connection_turret_medium_lb01']/@tags">new_weapon </replace>