Jump to content

Move compass elements


nana

Recommended Posts

Would you add a new variation of Move compass elements like the screenshot?

I edit battle_layout.xml and change distanceFromGlue value in "shipDollClip", "gunRotatorClips" and "frustumClip" elements like this:

 

<element>
  <id>shipDollClip</id>
  <hasAnimationInside>false</hasAnimationInside>
 <vglue>
    <type>0</type>
    <glueElementID>vertCenter</glueElementID>
    <glueElementCoord>0</glueElementCoord>
    <elementConstraintType>1</elementConstraintType>
<!--    <distanceFromGlue>-250</distanceFromGlue> -->
    <distanceFromGlue>-100</distanceFromGlue>
  </vglue>
   <hglue>
   <type>0</type>
    <glueElementID>horizCenter</glueElementID>
    <glueElementCoord>0</glueElementCoord>
    <elementConstraintType>4</elementConstraintType>
<!--    <distanceFromGlue>50</distanceFromGlue> -->
    <distanceFromGlue>100</distanceFromGlue>
  </hglue>
  <scaleX>1.0</scaleX>
  <scaleY>1.0</scaleY>
  <active>True</active>
</element>

 

move compass elements.jpg

Edited by nana
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.